13.30 to 6.30 = overnight session
6.30 to 13.15 = retail session.
What I'm trying to figure out is the high and low between 13.30 and 6.30. The standard PriorDay OHLC ninja indicator shows the high/low for the full 24 hour session. I am able to do this from midnight but how do I start it from 13.30 from the day before.
if(ToTime(Time[0]) > 000000 && ToTime(Time[0]) < 133000)
Also the SampleGetHighLowByTimeRange works for the current day but not for the start time being 13.30 from the day before.
Thanks
DJ
Comment