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) { if(!IsTesting()) { //Code to delete objects } //--- }
GumRai:
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.
Hello,
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 ?
06710671f: Please, could you have a look to the attached file ?
| What attached file?
![]() |

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
Hello,
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 ?