MA of accelerator oscillator
-
Hi Guys
Any way to base a condition on the moving average of the accelerator oscillator? I found a few posts saying it is not possible, so just wanted to check if anyone has an indicator or out of the box solution?
-
If there is an indicator, it should be possible, because the indicator will do the calculations. In MetaTrader you can put MA over the oscillator, but I don't know how to do that from the EA.
-
Thanks for the response. I figured the best way to do it would then be to calculate the values using the formula blocks which is working fine. Just one question (I have no coding knowledge). I need to calculate the square root of the results of one of the formula blocks but I am unsure how to type this into a value or formula block ?
(trying to put a standard deviation indicator on volume if anyone has an indicator for that)
-
Just a follow up on this one. Does anyone know how to work out the square root of a buffer of a custom indicator, would really appreciate it.
-
This function? https://www.mql5.com/en/docs/math/mathsqrt