Does anyone know the name or the formula for this kind of SMA?
I have a picture if anyone is interested taken from two different programs of the same stock and same time period.
I'm willing to pay real money for a usable formula. Original program it was developed in was written in Delphi and I have not been able to extract the code.
I think I devised a way that I can achieve this. What I need is a SMA that its max data that it looks back is N. N = User defined bars to look back. I know Ninja Trader has the option for indicators to look back Infinite or 250 bars back.
A script for a Simple Moving average that its max bars that it looks back is going to be user defined value. Not limited to infinite or 250 might work.

Comment