Scan. Rank. Ask AI. Act with clarity — not impulse.
MarketEnvNavi is not a signal tool. It does not predict prices.
Every time you open a chart, there's a pull to do something — to enter, to act. This tool puts an objective layer between that impulse and your execution. It scans 12 major pairs, ranks them by how well conditions align, and lets you ask Claude AI for a plain-English breakdown of what's actually happening.
When the setup isn't there, it says so clearly. "Wait" and "Skip" are valid outputs — not failures. The goal is to help you trade less, but better.
When you ask a person for advice, they read your mood and tell you what you want to hear. This tool doesn't. It evaluates the same data regardless of what you're hoping for — and returns the same answer whether you're long, short, or flat. That's the point.
Ranking uses price change rate, multi-timeframe direction, range position, and realized volatility — not lagging indicators.
Buying at a high zone or selling at a low zone reduces the score. If conditions don't align, it says "Wait" or "Skip" — clearly.
All 12 pairs are scanned at once and ranked by setup quality. Best conditions rise to the top. "Nothing is worth it today" is a valid result.
Press 1st / 2nd / 3rd to get Claude AI's breakdown: current state, directional bias with invalidation level, and a concrete action guide.
EMA 20/50/200, ATR, and Bollinger Bands are calculated from live data and included in the AI analysis — with specific prices and pip values.
This tool doesn't know what will happen next. It organizes what is happening now and gives you a structured view. The final call is always yours.
| Item | Details |
|---|---|
| Platform | MetaTrader 5 (MT5) ※ MT4 is not supported |
| Type | EA (Expert Advisor) — analysis only, no trades placed |
| Required | Anthropic API key ※ Needed for AI analysis. See Chapter 6 for setup. |
| Internet | Required (AI analysis communicates with api.anthropic.com) |
The scan and ranking features (Scan Markets button) work without an API key. Only the AI analysis (1st / 2nd / 3rd buttons) requires one.
Copy MarketEnvNavi_EN.mq5 into MT5's MQL5 / Experts folder. Open MetaEditor and press F7 to compile. Confirm "0 errors".
Find MarketEnvNavi_EN in the Navigator under Expert Advisors and drag it onto any chart. The button panel will appear in the upper-left corner.
Click the Algo Trading button in the MT5 toolbar (it must be green / ON). Without this, the AI communication will not work.
※ This EA does not place any orders. Algo Trading is required only for WebRequest access.
Go to Tools → Options → Expert Advisors and add the following URL to the WebRequest allowed list:
This is the most common setup mistake. If AI analysis returns a connection error, check this first.
Double-click the EA on the chart (or right-click → Expert List) to open settings. In the Inputs tab, find InpApiKey and paste your Anthropic API key. Click OK.
Press [Scan Markets]. The tool evaluates all 12 pairs using the current moment's data and displays a ranked list — best conditions at the top. If you feel the urge to enter a trade, press this button first and see where your pair actually ranks.
If the top pairs look interesting, press [1st], [2nd], or [3rd]. The tool sends that pair's data to Claude AI and returns a breakdown within a few seconds.
※ In most cases, only the top 1–2 pairs are worth examining. If everything is ranked "Wait", that is information too — today may not be the day.
The AI response is split into three tabs. The ★ Action tab is the most actionable.
| Tab | Content |
|---|---|
| Status | Current trend direction, range position, EMA alignment, and volatility state. |
| Direction | One clear main bias (not both-sided) and the specific price level that would invalidate it. |
| ★ Action | Enter now / Wait / Skip — with the price to wait for, stop-loss guide in pips (ATR-based), and reasoning. |
Press the small ≡ button in the top-left corner to hide all panels and buttons. Press again to restore. Use this to see the chart without obstruction.
Visit console.anthropic.com, create an account, and go to API Keys to generate a new key. The key starts with sk-ant-. It is shown only once — copy it immediately and store it somewhere safe.
Your API key is equivalent to a password. Do not post it in screenshots, share it with others, or paste it anywhere public. If compromised, revoke it immediately from the Anthropic console.
Each time you press 1st / 2nd / 3rd, one API call is made — billed to your Anthropic account. The tool does not collect any additional fees.
| Model | Estimated cost per call | Notes |
|---|---|---|
Haiku 4.5(default) | ~$0.001 | Fastest and cheapest. Concise output. |
Sonnet 4.6 | ~$0.004 | Recommended. Good balance of detail and cost. |
Opus 4.7 | ~$0.007 | Highest quality. Difference vs Sonnet is subtle. |
※ Costs vary with token usage, exchange rates, and Anthropic's pricing. A few calls per session typically costs less than $0.01/day. Check your exact usage in the Anthropic console dashboard.
Each row: rank · pair · signal · score · basis.
| Label | Meaning |
|---|---|
| Buy setup | Multiple timeframes align upward and buy-side conditions are met. |
| Sell setup | Multiple timeframes align downward and sell-side conditions are met. |
| Wait | No direction / high volatility / timeframes mixed. Skip is the safe choice. |
| Score (number) | How well conditions align. Not a buy/sell recommendation. High-zone buys and low-zone sells are penalized. |
Even the top-ranked pair doesn't meet minimum conditions. "Doing nothing" is a valid decision. Wait for the market to develop before acting.
"Wait" doesn't mean do nothing forever. It means wait for a specific price — and the AI tells you which one, with concrete numbers from actual live data.
Default values work out of the box. Adjust to suit your trading style.
| Parameter | Details |
|---|---|
InpTimeframe | Reference timeframe (default: H1). All calculations use this timeframe. |
InpLookback | Bars to look back (default: 24 ≈ 1 day on H1). |
InpTopN | Number of pairs shown in ranking (default: 6). |
InpFontSize / InpPanelW | Font size and panel width. Adjust if display looks too large or small. |
InpAiFontSize | Font size for the AI analysis panel (default: 10). |
InpAiRowsPerPage | Lines per page in AI panel. If longer, use ▲Prev / ▼Next to page through. |
| Parameter | Details |
|---|---|
InpApiKey | Your Anthropic API key. Never share this. |
InpModelSelect | AI model: Haiku (fast/cheap) / Sonnet (recommended) / Opus (highest quality). |
| Parameter | Details |
|---|---|
InpPosHigh / InpPosLow | Range position % considered "high zone" or "low zone" (default: 72 / 28). Controls chase-prevention sensitivity. |
InpVolHot | Volatility ratio considered "volatile" (default: 1.35). |
InpWaitBelow | Score below this is labeled "Wait" (default: 25). Lower = more signals, higher = more conservative. |
Tools → Options → Expert Advisors and confirm that https://api.anthropic.com is in the allowed URL list, and that Algo Trading is enabled (green) in the toolbar.sk-ant- is pasted without extra spaces. Also check your Anthropic console for remaining credit balance.InpWaitBelow slightly to make the threshold less strict.GOLD#, XAUUSD.m). The tool auto-detects common variants, but if it fails, set InpSuffix to your broker's suffix (e.g. m or #).This tool is for informational purposes only. It does not constitute financial advice and does not guarantee any specific trading results.
All signals, scores, and AI analysis are reference materials only. The final trading decision and all resulting gains or losses are entirely the responsibility of the user.
Foreign exchange trading involves substantial risk of loss and may not be suitable for all investors. Only trade with capital you can afford to lose.
The developer accepts no liability for any losses arising from use of this tool.
AI analysis is powered by Anthropic's Claude API. AI output is not perfect — wording and interpretation may vary between calls. Always verify numerical levels on your chart before making any trading decision.