Forums › ProRealTime English forum › ProOrder support › Division by Zero Error: Trading system was stopped › Reply To: Division by Zero Error: Trading system was stopped
06/22/2020 at 4:00 PM
#136791
I have use 1/10th of a pip or 0.00001. Like in the in example below:
(close[1]-close[2])/MAX(0.00001,(open[2]-close[2]))>0.92
So, if understand correctly, if open=close only then the value 0.00001 is used. Right?
I just saw that there are more trades that have not been executed but show up in ProBacktest. But for three trades I’ve checked and there was no open=close which means the problem must come from somewhere else.