|
Need help about trade time control
I need some help:
If I closed a order in a bar, then I need no operation in this bar any more.
the next time for opening a position would be in the next bar.I wrote as fowling:
OrderSelect(ticket, SELECT_BY_TICKET);
if (OrderCloseTime()>Time[0]) return(0);
but it doesnot work at all in back test,
so ,I need some help, please help me
|