Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
VIDYA for Amibroker (AFL)
VIDYA (Variable Index DYnamic Average) by Tushar Chande
This is a moving average that changes its length according to price movement.
Screenshots
Similar Indicators / Formulas
Indicator / Formula
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | // VIDYA (Variable Index DYnamic Average) by Tushar Chande // This is a moving average that changes its length according to price movement. Length= Param ( "Length" , 8, 1, 100, 1); Smooth= Param ( "Smooth" , 3, 1, 100, 1); Change = C - Ref ( C , -1 ); SU = Sum ( C - Ref ( C , -1 ) > 0, Length ); SD = Sum ( C - Ref ( C , -1 ) < 0, Length ); CMO = 100 * ( SU - SD ) / ( SU + SD ); AbsCMO=( abs (CMO) )/100; SC=2/(Smooth+1); VIDYA= AMA ( C , SC*AbsCMO ); Plot ( Close , "Price" , 4, 64 ); Plot ( VIDYA, "Vidya" , 5 ); |
1 comments
Leave Comment
Please login here to leave a comment.
Back
Thanks for the formula, i will test!