Is it possible to use the debugger with historical data with MQL4? I see the button for it and the tab in the options menu to set it up but the 'Start on History Data' button is greyed out.
- MQL4 Debugger using history
- start debug with historical data is disabled (gray) ... how to enable ???
- Debugging Backtests?
1) You can't use the strategy tester (and its historic data) with the debugger.
2) In your EA you can start the calculation at the beginning of your chart (Bars - n).
Gooly,
Can you give a code example of how to do this?
Thanks.
Can you give a code example of how to do this?
Thanks.
like (untested!)
int OnTick() { int bar = Bars; while (--bar>=0) { ... } }
This calculates always the available bars of the actual chart!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register