[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time statement



PureBytes Links

Trading Reference Links

Because the times should be 0900 and 1030 not 9000 and 1030.  The first
time you have provided is 90 oclock instead of 09 oclock.

Hope this helps.


John

GABRIAL775@xxxxxxx wrote:

> Why does the current code not buy the high between 9 AM and 10:30 AM?
>
> If currenttime > 9000 and currenttime < 1030 then
>    Buy H + 1 point stop;
> End;