OK i have found the mode codes
https://docs.mql4.com/indicators/iMA
but there is no code for applied_price = First Indicators Data
MA1 = iMA(NULL, 0, 11, 0, MODE_LWMA, PRICE_First,0); MA2 = iMA(NULL, 0, 34, 0, MODE_EMA, PRICE_First,0);
As far as I know, you can't.
You have to get the values of the indicator into a buffer and then use iMAOnArray.
If I am wrong then I will be more than happy to find out how to do it :)

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
how do I use special modes in MA settings like:
MA-Method = Linear Weighted
MA-Method = Exponetial
Apply to = First Indicators Data