Topic: Help code Vidya and Dynamic zone stochastique
Hello,
First of all I wanted to thank you for the FSB. It is really helping me to backtest my own strategies. It is always a pleasure for me to see others bulgarians working on the capital markets.
I wanted just to ask you if you can help me to recode in C# the next code:
REM Vidya Moving Average
REM Paramètres :
REM periods = Période (défaut = 21)
REM Smooth = Coefficient de lissage (défaut = 5)
ONCE SC = 2/(Smooth+1)
AbsCMO = (Abs(Chandle[periods](Close)))/100
IF BarIndex <= periods THEN
Vidya = Close
ELSE
Vidya = (SC*AbsCMO*Close)+(1-(SC*AbsCMO))*Vidya
ENDIF
RETURN Vidya AS "Vidya Indicator"
Blagodarq ti predvaritelno, pozdravi ot Sluncheva Nitsa, Mass Trade Services