Return monday range but starting from 3am
So i made a strategy wich uses data gathered by me manually , and for this i need my EA to calculate on tuesday morning (3am ) my monday range (high-low) but doing this taking into consideration only the candles printed starting from 3 am (server time) , i tried doing this using a static value by taking the time at wich the market opens and adding seconds until it's 3am , and that being my monday start , and monday end being monday start + the rest of the hours but divided to seconds (usually 21) my problem is that somethimes the trading day ends at 21:00 instead on 23:59 and that makes my Ea calculate the wrong value ? any idea how can i do this batter? i will post my function here . Thanks!!
- High/Low Breakout Scalper
- Trading Times Enhancement
- MQL4 Learning