This must be simple for programmers, but is hard for me...
I am looking for a Ema cross indicator, but one ema for example ema6 must have shift -1. All i find is the regular cross of ema's but without shift option.
Can someone help me please?In the below example line of code, the 0 value represents the ma_shift.
double Ema1 = iMA(NULL,0,Ema_1, 0,MODE_EMA, PRICE_CLOSE, EmaShift);
If you doubleclick your .mq4 file, you can change this value in your source to your liking and finaly hit the compile button.
In the below example line of code, the 0 value represents the ma_shift.
double Ema1 = iMA(NULL,0,Ema_1, 0,MODE_EMA, PRICE_CLOSE, EmaShift);
If you doubleclick your .mq4 file, you can change this value in your source to your liking and finaly hit the compile button.Dam i am such a nerd with mt4... can you change this for me please? Only when you have some free time. Thanks a lot Herbert. Here attached is the indicator.
Really Appreciate that!
Indicator EMA shift made adjustable
Dam i am such a nerd with mt4... can you change this for me please? Only when you have some free time. Thanks a lot Herbert. Here attached is the indicator. Really Appreciate that!
No problem MigMan, here you go.
The shift can now be changed within the indicators settings (default=0)
Regards
No problem MigMan, here you go.
The shift can now be changed within the indicators settings (default=0)
RegardsHerbert you are very kind. That you so much! All the best and take care
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
This must be simple for programmers, but is hard for me...
I am looking for a Ema cross indicator, but one ema for example ema6 must have shift -1. All i find is the regular cross of ema's but without shift option.
Can someone help me please?