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

Pivot Breakout Scanner for Amibroker (AFL)
amitabh
almost 14 years ago
Amibroker (AFL)

Rating:
3 / 5 (Votes 4)
Tags:
amibroker, exploration

Simple but effective trading system for floor trading. Find stocks where the pivot has broken out.

Similar Indicators / Formulas

Three Day Balance Points
Submitted by nvkha over 9 years ago
Deel - Average Dollar Price Volatility
Submitted by kaiji over 14 years ago
DIX50,20,10
Submitted by morgen over 13 years ago
4-Day-Range Switch
Submitted by santho_sd over 13 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("PivotBreakOut-Scanner");

xH = Ref(H,-1);
xO = Ref(O,-1);
xC = Ref(C,-1);
xL = Ref(L,-1);

VolMin=1000000;

Pv = (xH + xL + xC) / 3;
R1 = (Pv * 2) - xL;
S1 = (Pv * 2) - xH;
R2 = Pv + (R1 - S1); 
S2 = Pv - (R1 - S1); R3 = xH + 2*(Pv - xL);
S3 = xL - 2*(xH - Pv);

Filter = Buy = (((Open < S3) AND (Close> S3) AND (Volume >VolMin)) OR
                    ((Open < S2) AND (Close> S2) AND (Volume >VolMin)) OR
                    ((Open < S1) AND (Close> S1) AND (Volume >VolMin)) OR
                    ((Open < Pv) AND (Close> Pv) AND (Volume >VolMin)) OR
                    ((Open < R1) AND (Close> R1) AND (Volume >VolMin)) OR
                    ((Open < R2) AND (Close> R2) AND (Volume >VolMin))) AND
                   (Low == Open) ;

AddColumn( Close, "Close" );
AddColumn( Pv, "Pivot" );
AddColumn( Open, "Open" );

AddColumn( (Close-Open)/Open*100, "OC-R" );
AddColumn( (High-Low)/Low*100, "HL-R" );
AddColumn( (Close-Open)/(High-Low)*100, "CS-R" );

AddColumn( Volume*Close, "Value" );
AddColumn( Volume, "Volume" );



_SECTION_END();

2 comments

1. Alok

This AFL gives syntax error 31

Please rectify

2. administrator

Fixed thanks for pointing it out.

Leave Comment

Please login here to leave a comment.

Back