Hello,
i try to create an EA, where i want to check whether the close of the 1M Candle (or Tick) is above the Close of the last 1H Candle (this is simple because i can choose 1H in the block) AND (this is more difficult) the 1M Candle (or Tick) is above the Close of the last 2H Candle. In MT and fxdreema, i can choose 1H and 4H but not 2H maybe.
How can i do this.
With 2H it can mean the candles between 8-10, 10-12, 12-14 and so on or it can also mean 8-10, 9-11, 10-12, 11-13 o`clock and so on. I hope you see the different between both Styles. First one is fix like 4H (8-12, 12-16, 16-20) and the second one is every last 2 Hours continuesly.
I know, that the chart in MT can only show the first version, i mean every 2 Hours a candle, otherwise we would have redundant Values.
So, i hope someone can help me to create this condition.
Thanks a lot.