Testing against real data
marc.insight-fx: I can't find a way to simply "attach" to a chart and receive live data continuously (most likely in the OnTick() function).
What am I missing here? Is it even possible while debugging? Any pointers are greatly appreciated.
- Stop debugging. That is part of the editor, not the terminal.
- Compile your EA.
- In the terminal, open the navigator (control+N) and drag your EA on to a chart.
William Roeder #:
Thanks so much! That also explains why I was receiving OnDeinit() event with reason 1, as after receiving the historical data, I was not actually attached to any chart, thus getting terminated, which makes perfect sense.
- Stop debugging. That is part of the editor, not the terminal.
- Compile your EA.
- In the terminal, open the navigator (control+N) and drag your EA on to a chart.
Hello everyone, total beginner here :
I'm trying to develop an Expert Advisor, and while I am able to test against historical data (backtesting) using the strategy tester, I can't find a way to simply "attach" to a chart and receive live data continuously (most likely in the OnTick() function).
What am I missing here? Is it even possible while debugging? Any pointers are greatly appreciated.