Retrace from Support/Resistant
-
Hellow, totally newbie here. Looking to test the European Breakin.
Need a general suggestion to:
1- Price touch the higher price.
2- Then retrace, first 5-minute candle complete bellow the higher price will trigger a sale.Thanks.
-
What I can suggest is to look at the situation from the current moment to the past. Start from the last conditions. Something like - if CandleHigh(5min) is lower than the breakout price and CandleHigh(1hour) is above, then "Once per Bar" go to Sell.
I know that it's more human friendly to look at things starting from the oldest moment - this hapens, then this happens, then do that - but in MQL4/MQL5 this is the hardest way to do things. I even created a new working field where the blocks are supposed to work that way (one after another in time), but I used some tricks and the result is too slow, so I decided to not publish this.
-
Make sense, let me try. Thanks.