For MetaTrader 5 — Analysis Tool

MarketEnvNavi UNBIASED MARKET SCANNER WITH AI ANALYSIS

Scan. Rank. Ask AI. Act with clarity — not impulse.

VERSION 5.00 / User Manual
01

About This ToolOVERVIEW

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.

◆ Why "unbiased"?

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.

02

Key FeaturesFEATURES

01 / RAW DATA

Signal from raw data only

Ranking uses price change rate, multi-timeframe direction, range position, and realized volatility — not lagging indicators.

02 / NO FLATTERY

Stops you from chasing

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.

03 / RANKING

See all options at once

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.

04 / AI INSIGHT

Plain-English analysis

Press 1st / 2nd / 3rd to get Claude AI's breakdown: current state, directional bias with invalidation level, and a concrete action guide.

05 / NUMBERS

Concrete levels, not vague guidance

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.

— PRINCIPLE

No predictions

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.

03

RequirementsREQUIREMENTS

ItemDetails
PlatformMetaTrader 5 (MT5)
※ MT4 is not supported
TypeEA (Expert Advisor) — analysis only, no trades placed
RequiredAnthropic API key
※ Needed for AI analysis. See Chapter 6 for setup.
InternetRequired (AI analysis communicates with api.anthropic.com)
◆ Using without an API key

The scan and ranking features (Scan Markets button) work without an API key. Only the AI analysis (1st / 2nd / 3rd buttons) requires one.

04

SetupINSTALLATION

1

Place the file

Copy MarketEnvNavi_EN.mq5 into MT5's MQL5 / Experts folder. Open MetaEditor and press F7 to compile. Confirm "0 errors".

2

Attach to chart

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.

3

Enable Algo Trading

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.

4

Allow WebRequest

Go to Tools → Options → Expert Advisors and add the following URL to the WebRequest allowed list:

https://api.anthropic.com

This is the most common setup mistake. If AI analysis returns a connection error, check this first.

5

Enter your API key

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.

05

How to UseHOW TO USE

STEP 1 | Scan the market

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.

STEP 2 | Choose a pair

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.

STEP 3 | Read the analysis

The AI response is split into three tabs. The ★ Action tab is the most actionable.

TabContent
StatusCurrent trend direction, range position, EMA alignment, and volatility state.
DirectionOne clear main bias (not both-sided) and the specific price level that would invalidate it.
★ ActionEnter now / Wait / Skip — with the price to wait for, stop-loss guide in pips (ATR-based), and reasoning.
◆ About the ≡ toggle button

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.

06

API Key & CostAPI KEY & COST

Getting your API key

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.

⚠ Never share your API key

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.

Cost per use

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.

ModelEstimated cost per callNotes
Haiku 4.5
(default)
~$0.001Fastest and cheapest. Concise output.
Sonnet 4.6~$0.004Recommended. Good balance of detail and cost.
Opus 4.7~$0.007Highest 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.

07

Reading the PanelPANEL GUIDE

Ranking panel

▪ MARKET NAVI 2026.05.31 13:58 [PERIOD_H1] ▲ 1. USDCAD [Buy setup] 50 4/4 TF Up ▼ 2. USDCHF [Sell setup] 30 3/4 TF Down·Low zone·CHF dominant ◦ 3. XAUUSD [Wait] 16 Insufficient setup ◦ Not a forecast. Always apply your own judgment.

Each row: rank · pair · signal · score · basis.

LabelMeaning
Buy setupMultiple timeframes align upward and buy-side conditions are met.
Sell setupMultiple timeframes align downward and sell-side conditions are met.
WaitNo 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.
◆ When "No valid setups found" appears

Even the top-ranked pair doesn't meet minimum conditions. "Doing nothing" is a valid decision. Wait for the market to develop before acting.

AI Analysis panel (★ Action tab example)

▪ AI ANALYSIS USDCHF ・Action: Wait → Price is ~10 pips from BB Lower (0.77988), in a low zone. Jumping in now carries high reversal risk. Wait for a pullback to EMA20 (0.78230) before considering sells. SL guide: ATR×1.5 ≈ 19 pips. ※ Not a forecast. Always apply your own judgment.

"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.

08

SettingsPARAMETERS

Default values work out of the box. Adjust to suit your trading style.

Display

ParameterDetails
InpTimeframeReference timeframe (default: H1). All calculations use this timeframe.
InpLookbackBars to look back (default: 24 ≈ 1 day on H1).
InpTopNNumber of pairs shown in ranking (default: 6).
InpFontSize / InpPanelWFont size and panel width. Adjust if display looks too large or small.
InpAiFontSizeFont size for the AI analysis panel (default: 10).
InpAiRowsPerPageLines per page in AI panel. If longer, use ▲Prev / ▼Next to page through.

AI

ParameterDetails
InpApiKeyYour Anthropic API key. Never share this.
InpModelSelectAI model: Haiku (fast/cheap) / Sonnet (recommended) / Opus (highest quality).

Thresholds (advanced)

ParameterDetails
InpPosHigh / InpPosLowRange position % considered "high zone" or "low zone" (default: 72 / 28). Controls chase-prevention sensitivity.
InpVolHotVolatility ratio considered "volatile" (default: 1.35).
InpWaitBelowScore below this is labeled "Wait" (default: 25). Lower = more signals, higher = more conservative.
09

TroubleshootingFAQ

AI analysis shows "Connection Error"
Almost always a WebRequest issue. Go to 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.
"API Error (HTTP 401)" appears
Your API key is invalid or entered incorrectly. Make sure the full key starting with sk-ant- is pasted without extra spaces. Also check your Anthropic console for remaining credit balance.
Scores show 0 or "Loading data..." after attaching
MT5 needs time to load historical data for pairs not currently on screen. Wait 1–2 minutes and press Scan Markets again. Pairs you don't normally chart will take longer to initialize.
Everything shows "Wait" every time I scan
During low-activity sessions (e.g. early morning), this is correct behavior. If it persists during active markets, try lowering InpWaitBelow slightly to make the threshold less strict.
Gold (XAUUSD) shows "Symbol not found"
Broker symbol names for Gold vary (e.g. GOLD#, XAUUSD.m). The tool auto-detects common variants, but if it fails, set InpSuffix to your broker's suffix (e.g. m or #).
The AI numbers don't match what I see on the chart
AI constructs its response from the data sent to it, and rarely may express values slightly differently. Always verify key levels on the chart before acting. This tool is a reference — not an instruction.
Does this tool place trades automatically?
No. This is a pure analysis tool. It never places, modifies, or closes orders. All execution is done manually by you.
10

DisclaimerDISCLAIMER

⚠ Please read before use

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.

◆ Note on AI analysis

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.