candle id help pls
-
hi , i want ea to open buy when candle id1 is higher than candle id2-50 ( by 2 pips ) , how do i do that ,
see my ea https://fxdreema.com/shared/YPST5z71c
-
@ralph What mean 2 til 50?
when you checked ID 50 the ID 2 also included.
but your style type (2-50) is incorrect. you cant write 2 numbers in that field.
if you want exactly check one by one ID you need to write a special code.
if not then ID 50 working for you -
what is your adjust field? 0.0002?
-
2 pips above candle 2 - 50
-
- Substitute that 0.0002 value for +2 pips or -2 pips. Yor value is doing nothing rught now.
- Ffire is right. That '2-50' notation doesn't work. Do you need to know the highest hidh for the last 50 candles?
-
@l-andorrà yes please
-
The you need this:
