henry86 wrote:
If you don't want to show your code, I assume, there is nothing someone could say.
To me it seems to be that the trades are opening and closed suddenly. (real time) Afterwards, the same reason, the algorithms are opened at first are still valild, so it opens (and close) again.
You should look for the reason, why the trades have been closed immediately.
hi bro thanks for replay
i wanted to say that the historical test is for today and that orders of demo account for today also
the problem that in historical test the orders going as i planned but in real is something different
i ran strategy in demo account today and then made historical test for today also but results is different