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 ....
Find Out More Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

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

RSI Positive Divergence for Amibroker (AFL)

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

RSI positive divergence finder.

Screenshots

Indicator / Formula

Copy & Paste Friendly
x0 = LLV(RSI(14),30);
x1 = Ref(x0,-3) <33;
x2 = MA(RSI(14),5)<40;
x3 = MA(RSI(14),5)>35;
x4 = MA(C,5);
x5 = ValueWhen(Cross(40,RSI(14)),C,1);
x6 = ((x4-x5)/x5*100)<0 ;
a0 = x1 AND x2 AND x3 AND x6;

y1 = Ref(x0,-3)<33;
y2 = MA(RSI(14),5)<45;
y3 =  MA(RSI(14),5)>35;
y4 = MA(C,5);
y5 = ValueWhen(Cross(40,RSI(14)),C,1);
y6 = ((y4-y5)/y5*100) <-5;
a1 = y1 AND y2 AND y3 AND y6;

b1 = a0 + a1 >0;
Plot(RSI(14),"RSI14",colorBlue,styleLine);
PlotGrid(30,colorLightGrey,7,1);
PlotGrid(70,colorLightGrey,7,1);
Buy = b1;
PlotShapes(Buy*shapeUpArrow,colorGreen);

4 comments

1. mdsayeem

error in ln 20 and ln 21,
pls solve

2. parfumeur

Works fine on my installed v6.26 beta. No errors.

3. rainking

if you are using an older version of the amibroker try this:

Plot(30,"",colorLightGrey,styleDashed);
Plot(70,"",colorLightGrey,styleDashed);
4. t.viswanath

very nice

Leave Comment

Please login here to leave a comment.

Back