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

Stochastic divergence - Negative for Amibroker (AFL)

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

This is a very simple stochastic divergence. It does not show graph it only shows a vertical line when there is a divergence. This is a negative divergence chart.

I am not the original programmer.

Similar Indicators / Formulas

Febo RSI ..real indicator
Submitted by abhinavsingh about 13 years ago
Trading Volume Statistic
Submitted by tuanstock1 over 10 years ago
Ergodic Oscillator
Submitted by dljtrader about 14 years ago
3 Days Track
Submitted by janet0211 over 14 years ago
Chande Momentum Oscillator
Submitted by klimpek about 14 years ago

Indicator / Formula

Copy & Paste Friendly
/*Negative Stochastic divergence for use in 
Indicator Builder and Automatic Analysis (scan mode)*/

ST33=StochD(14);
TR1=HHVBars(ST33,4);
TR2=IIf(ST33>70 AND TR1>0 AND Ref(TR1,-1)==0,Ref(ST33,-1),0);
TRC=IIf(TR2>0,C,0);
vs=ValueWhen(tr2, Ref(st33,-1), 1);
dvs=vs-Ref(vs,-1);
vc=ValueWhen(trc, HHV(H,3), 1);
dvc=vc-Ref(vc,-1);
diver=IIf(dvs<0 AND dvc>0,90,0);
DAS=BarsSince(Ref(TR2,-1)>0);
ddd=IIf(DAS<20 AND C<Ref(C,-1),DIVER,0);
Graph1=TR2;
Graph0=ddd;
Graph0BarColor=4;
Graph1Style=2;
Graph1BarColor=1;
Sell=ddd==90;

1 comments

1. shariful

great formula eurosiva, It is almost accurate, May I Call it a holy grail AFL???

Leave Comment

Please login here to leave a comment.

Back