Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

VIDYA for Amibroker (AFL)

Rating:
3 / 5 (Votes 2)
Tags:
amibroker, oscillator

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

Debu Market Efficiency Ratio
Submitted by agent301 over 6 years ago
MACD (new timing)
Submitted by tigernifty over 6 years ago
3 Days Track
Submitted by janet0211 over 8 years ago
KILL THE OPERATOR MACD
Submitted by prasadmuni over 6 years ago
%R ++
Submitted by reb over 8 years ago
DMI Spread
Submitted by pipstar over 8 years ago

Indicator / Formula

Copy & Paste Friendly
// 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

1. jeanmuller

Thanks for the formula, i will test!

Leave Comment

Please login here to leave a comment.

Back