if (ToTime(Time[0]) >= ToTime(13,00,00)&& ToTime(Time[0]) <= ToTime(14,30,00 ));
For some reason is not working within the time requested. Order either gets placed before time or not placed at all. If I take out the ToTime condition then strategy works fine, but I'll like it to work in a specific Time frame.
Am I missing something?
Thanks,
Comment