Code: Select all
Inputs: startEntry(1800), stopEntry(0200);
if Time >= startEntry and Time <= stopEntry then
begin
etc.
Whilst , for example, there's a problem concerning the session of a forex's cross opening at 17 o'clock of day x and closing at 16:59 o'clock of day y. The problem that occurs is : I can't optimize a time frame starting on day x and closing on day y. I mean that I have to optimize the 18:00(day x)- 12:00 (day y) time frame. Is there a way to solve it?
Thanks to whoever is going to help me.