
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
Hey,
I'm currently working on an EA, for that I need a Moving Average from a certain Indicator value. For that I used the iMA function, but now I am facing a problem that I have not yet bee able to solve. The indicator returns two values in the data window and the specific indicator window which I both want to have a Moving Average value from. If I use the handle from the indicator inside the iMA function I only get the first value, which is what I exspected, because when using CopyBuffer for example I have to give a certain index so the Copy Bufffer ,,knows" which Data, either one or two, to pick. How can I do that with the iMA function, or is there any other way I will get my Moving Average from BOTH indicator values, which I have not yet found. I'm new to working with buffers and handles so please be gentle when there is general misunderstanding, I tried very hard for several hours to solve this.