how to apply an indicator to another indicator?
-
I made a custom indicator that has ATR and its moving average. Hope this helps others.
0_1496012268230_ma_atr.mq4 -
i know how to apply a moving average onto another indicator in MT4. how do i do this in fxdreema? must it be programmed in the custom indicator or is there a series of blocks that would do the trick?
-
This is not possible with blocks. At least not in Condition, because it allows only 1 indicator to be selected on a side, while indicator over indicator - this is two indicators.
And by the way I'm not sure if that is possible in the EA. I know that function: http://docs.mql4.com/indicators/imaonarray but all the examples with it are for some custom indicators
-
Are you able to demonstrate how this can be done/achieved?
-
I have no idea to be honest, I never tested this function and I'm not even 100% sure if this is the right function

-
I was looking at iMaOnArray(), but I don't think that it's a good idea to use it into an EA. This function does not change anything on the chart, it will not even create it's own Moving Average. This function just does some calculations in the code only. So, even if it works in the EA, there will be no visual representation of what is going on, no MA line will be created on the chart.
I was looking at some topic in mql4.com and there is a custom indicator that can be used as a template: http://forum.mql4.com/45803/page2#1010508
I know that this requires a little bit of programming, but at the end it will at least print the actual line and everything can be seen. -
@ptejerina Thank you, really great indicator. Much needed. THANKS!!!

How can this be done? Does the mt4 wizard help?
Also, ... the indicators have to be MT4 default, or it can be done with custom indicators as well.
Indicator on indicator is very requested, so any help would be great. -
if you have source code of both indicators you want to use, you can calculate the first one, and then use it's buffer for the source of the other indicator, within one indicator file I mean. this required some basic coding knowledge tho
-
@spuzy Thanks
Great to know the steps, and when want to do one, will look into the details of coding. Thanks.