Hi guys I am sorry but I need your help to code this simple indicator:
I am talking about an indicator based on the difference between two CMA (Centered Movig Average) more precisely the difference between a Fast CMA less a Slow CMA (obviously with the possibility to set MA periods), shown in a separate window as an oscillator_
this is the first indicator we call CTLM...
The second indicator, which derives directly from the first indicator, with the following characteristics:
CTLM-(CTLM -1) the difference between the value of CTLM less the value of CTLM's previous bar... Clearly on separate window as an oscillator and we call this second indicator CTLMSpeedOscillator_
Now it must be said that this type of MA (centered MA) is rarely used because it has a structural defect, probably few traders know and use this type MA, then I attack this indicator by which we can start to develop CTLM and CTLMSpeedOscillator oscillators_
The following indicator should be a good formula to start, of course if someone knows a better formula of CMA this would be much appreciated!
Thanks in advance for your willingness, my best regards.
Stake