Hi,

I am testing a intraday system, where all the trades must be closed on
the end of the day.

For now, i am using these conditions:

Buy=IIf(TimeNum() > 193000,0,Buy);
Sell=IIf(TimeNum() > 193000,1,Sell);
Short=IIf(TimeNum() > 193000,0,Short);
Cover=IIf(TimeNum() > 193000,1,Cover);

But as you can imagine, this fails on several days.

Can you suggest me a better alternative?

Many thanks.


Reply via email to