Ok I have a question for anyone who's good at this indicator stuff.
I'm trying to set this indicator to capture the Asian open.
I'm changing the times to periodBegin: 23:00 periodEnd: 2:00 and Boxend: 12:00 for example. But the boxes get really messed up.
Somehow the red box starts at 2 and then ends the next day at 23:00 and it all gets reversed.
Would anyone know what needs to be changed in the code to have this work with the Asian session since under GMT is starts in one day and ends in the next?
I'm just curious if this method would work similarly during the Asian as it does for the London. (or if anyone has already looked into this and has some thoughts that would be great too)
Thanks!
Tom
EDIT: Never mind.... The hours I was inputting are wrong anyway. Realised this when I woke up today.
I'm trying to set this indicator to capture the Asian open.
I'm changing the times to periodBegin: 23:00 periodEnd: 2:00 and Boxend: 12:00 for example. But the boxes get really messed up.
Somehow the red box starts at 2 and then ends the next day at 23:00 and it all gets reversed.
Would anyone know what needs to be changed in the code to have this work with the Asian session since under GMT is starts in one day and ends in the next?
I'm just curious if this method would work similarly during the Asian as it does for the London. (or if anyone has already looked into this and has some thoughts that would be great too)
Thanks!
Tom
EDIT: Never mind.... The hours I was inputting are wrong anyway. Realised this when I woke up today.