Using the Tools
In MetaTrader 5, follow these steps:
- Go to
ViewโSymbols - Select your symbol and click
Chart Bars - Choose the timeframe and date range
- Click
Export Barsto save as CSV
All standard MT4/MT5 timeframes are supported:
M1, M5, M15, H1, H4, and D1. You can switch between timeframes after loading your CSV data.
Yes, all tools on FX Strategy Analyzer are completely free. No registration, no subscription, no hidden fees. Just open the tool and start using it.
The tools run entirely in your browser. Mac compatibility has not been fully verified โ if you experience any issues, please let us know.
On mobile, most tools can be viewed in the browser, but with limitations:
On mobile, most tools can be viewed in the browser, but with limitations:
- Chart-based tools may be difficult to use on small screens
- StratForge MT5 code is displayed as text only โ MQL compilation requires a desktop environment
AI Signal Trainer
The minimum is around 5,000 bars, but for reliable results we recommend 50,000โ200,000 bars (M1 timeframe). More data generally produces a more robust model that generalizes better to unseen market conditions.
As a rough guide by timeframe:
As a rough guide by timeframe:
M1โ 1โ3 years of data (โ 50,000โ150,000 bars) recommendedM5โ 2โ5 years (โ 30,000โ80,000 bars)H1โ 3โ10 years (โ 5,000โ20,000 bars)
MT5 Build 3370 or higher is required for
Most up-to-date MT5 installations already meet this requirement. If your build is older, update MT5 via
Note: MT4 does not support ONNX. AI Signal Trainer is MT5-only.
OnnxLoad() support. You can check your build number in MetaTrader 5 under Help โ About.Most up-to-date MT5 installations already meet this requirement. If your build is older, update MT5 via
Help โ Check for Updates.Note: MT4 does not support ONNX. AI Signal Trainer is MT5-only.
Any broker that provides MT5 is compatible. The AI model runs entirely within MT5's native environment using
The generated EA has been tested with major MT5 brokers. If you encounter any broker-specific issues, please let us know.
OnnxLoad() and OnnxRun() โ no external connections or third-party plugins are required.The generated EA has been tested with major MT5 brokers. If you encounter any broker-specific issues, please let us know.
Place
sfm5_ai_model.onnx in your MT5 Files folder before compiling your EA:- In MT5, go to
File โ Open Data Folder - Navigate to
MQL5 โ Files - Copy
sfm5_ai_model.onnxinto this folder - Open your EA in MetaEditor and compile (
F7)
"AI_Init: cannot load sfm5_ai_model.onnx" in the MT5 Journal tab and disable the AI filter automatically.
Typical validation accuracy for M1 financial data ranges from 50โ56%. This may sound low, but financial time series are inherently noisy โ even a small edge applied consistently can improve a strategy's Sharpe ratio over time.
The AI works best as a filter alongside your existing StratForge entry conditions, not as a standalone signal. Use the Confidence Threshold setting (0.40โ0.90) to control how selective the filter is.
The AI works best as a filter alongside your existing StratForge entry conditions, not as a standalone signal. Use the Confidence Threshold setting (0.40โ0.90) to control how selective the filter is.
No. All training runs entirely in your browser using TensorFlow.js with WebGL GPU acceleration. Your CSV data, trained weights, and normalization constants never leave your device. Everything is processed locally and stays completely private.
Trading Concepts
Profit Factor is the ratio of gross profit to gross loss. A Profit Factor above 1.0 means the strategy is profitable. Generally:
- 1.0โ1.5 โ Marginal, needs improvement
- 1.5โ2.0 โ Good, tradeable
- 2.0+ โ Excellent
Win rate alone doesn't determine profitability โ it depends on your reward-to-risk ratio. A strategy with a 40% win rate can be highly profitable with a 1:2 R:R ratio. Focus on Expectancy and Profit Factor rather than win rate alone.
Use our free Position Size Calculator. The basic formula is:
Always define your stop loss before calculating position size.
Lot Size = (Account Balance ร Risk%) รท (Stop Loss in pips ร Pip Value)Always define your stop loss before calculating position size.
About the Site
FX Strategy Analyzer is built by an independent solo developer who got tired of the gap between what serious traders need and what free tools actually offer. Learn more on our About page.
No. All tools run entirely in your browser. Your CSV files and trade data are processed locally on your device and are never uploaded to any server. Your data stays private.
We'd love to hear from you! Send an email to fxstrategyanalyzer@gmail.com. Bug reports and feature suggestions are always welcome.