Hello.
Pls if somebody can help me:
On MQL5 we use handles and we can calculate an MA of another MA:
On MQL4 i try this:
and i see the warning: "possible loss of data due to type conversion AIC.mq4 281 62"Probably it does not accept other indicator on "ENUM_APPLIED_PRICE" place of iMA command.
How can I do it??
Thanks!
PS: I see on new MQL4 that I can select all timeframes as on MQL5!! Is this true????? Can I use 2, 3, 4 etc. minutes TF???????????
Thanks for your answer.
Of course I had read both 4 and 5 Docs
MQL4:
applied_price
[in] Applied price. It can be any of ENUM_APPLIED_PRICE enumeration values.
MQL5:
applied_price
[in] The price used. Can be any of the price constants ENUM_APPLIED_PRICE or a handle of another indicator.
This is the reason that I ask IF I can take a MA of another MA in MQL4!!! Pls, Can you help me if I can do it???
Thanks.
This is the reason that I ask IF I can take a MA of another MA in MQL4!!! Pls, Can you help me if I can do it???
Thanks.
You can use iMAOnArray()
Thank you very much!! I'll look for it!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello.
Pls if somebody can help me:
On MQL5 we use handles and we can calculate an MA of another MA:
On MQL4 i try this:
and i see the warning: "possible loss of data due to type conversion AIC.mq4 281 62"Probably it does not accept other indicator on "ENUM_APPLIED_PRICE" place of iMA command.
How can I do it??
Thanks!
PS: I see on new MQL4 that I can select all timeframes as on MQL5!! Is this true????? Can I use 2, 3, 4 etc. minutes TF???????????