when I launch an expert advisor based on divergences, it draws lines on price and on stochastic but when I backtest it, the lines are not displayed on the stochastic. Could you help me with that ?
Are they drawn if you use visual mode?
Often, when you open the chart after the EA has finished testing , the EA has deleted the objects.
You may need to amend the code for the deinit.
void OnDeinit(const int reason)
//Code to delete objects
great thanks to GumRai for his answer.
If fact i would like to have in my backtest the same lines i have il real, and i don't know why.
Please, could you have a look to the attached file ?
To add comments, please log in or register