hey how do i make a MA Crossover EA Work with the same Period but one MA has a Shift of -5? i can do negatives in the shift on MT4 so it has to work in an EA, right?
Unsolved Negative Shift Doesn't Work
-
hey how do i make a MA Crossover EA Work with the same Period but one MA has a Shift of -5? i can do negatives in the shift on MT4 so it has to work in an EA, right?
-
-5 is no 5 candles forward, if yo want to look at 5 candles ago it's 5
-
-
i will use is with a second MA with no Shift,
so an sell example:MA1 Period 9 with shift -5
x<
MA2 Period 9 with shift 0see this sell example in the screenshot.
i tried using the candle ID 5, but unlike the -5 shift, the signal crossover comes 5 candles too late.
with the -5 shift the signal comes 5 candles earlier.
i want to use the crossover like the example i mentioned
-
@Remco-Rich you get that result by comparing ID 1 and ID 2.
ID 1 crosses below ID 2
-
i don't realy understand... i want a shift of 5 , how will that look like?
when will the signal be, the same as what my example looked like ?
-
@roar
i don't realy understand... i want a shift of 5 , how will that look like?when will the signal be, the same as what my example looked like ?
-
@Remco-Rich sorry, I thought the lines are only 1 candle apart.
Compare MAs on candle IDs 1 and 6 then.