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

Chande's Adaptive Stochastic Oscillator for Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
oscillator, amibroker

Chande’s Adaptive Stochastic Oscillator translated from Metastock formula

Similar Indicators / Formulas

3 Days Track
Submitted by janet0211 over 14 years ago
Trading Volume Statistic
Submitted by tuanstock1 over 10 years ago
Ergodic Oscillator
Submitted by dljtrader about 14 years ago
BoH Risk Aversion Indicator
Submitted by genkumag almost 13 years ago
Chande Momentum Oscillator
Submitted by klimpek almost 14 years ago
%R ++
Submitted by reb over 14 years ago

Indicator / Formula

Copy & Paste Friendly
//Chande's Adaptive Stochastic Oscillator

n=Param("Volatility** lookback length",55,1,377,1);
lenmax=Param(" length Max",34,1,377,1);
lenmin=Param(" length Min",13,1,50,1);
v1=StDev(C,n);
v2=HHV(v1,n);
v3=LLV(v1,n);
v4=((v1-v3)/(v2-v3));
currlen=(int(lenmin+(lenmax-lenmin)*(1-v4)));
hh=HHV(H,LastValue(currlen));
ll=LLV(L,LastValue(currlen));
RawStoch=((C-ll)/(hh-ll))*100;
for( i= 1; i < BarCount; i++ ){
stochma[i]=(.5*RawStoch[i])+(.5*RawStoch[i-1]);
}
Plot(RawStoch, "adapt_stoch",colorBlue,styleLine| styleNoLabel) ;
Plot(stochma, "stochma",colorRed,styleLine| styleNoLabel) ;
Upper = Param("%Upper Level", 80, 0, 100);
Lower = Param("%Lower Level", 20, 0, 100);
Plot(Upper, "", colorBlack, styleDashed| styleNoLabel);
Plot(Lower, "", colorBlack, styleDashed| styleNoLabel);
PlotOHLC( RawStoch, RawStoch,50, RawStoch,"",IIf( RawStoch > 50, ParamColor( "Color1", colorCycle ),ParamColor( "Color2", colorCycle )),styleCloud | styleClipMinMax| styleNoLabel, Lower,Upper);

2 comments

1. siht_that

Good One .. some Description Needed with trading ..

2. administrator

You can always look up the indicator in google.

Leave Comment

Please login here to leave a comment.

Back