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

Hook Reversals for Amibroker (AFL)

Rating:
5 / 5 (Votes 3)
Tags:
amibroker

Hook Trend Reversals AFL

Similar Indicators / Formulas

Kavach Of Karna v2
Submitted by hbkwarez almost 6 years ago
Advanced Elliott Waves
Submitted by MarcosEn over 8 years ago
3_6Day GuaiLiLv
Submitted by motorfly over 8 years ago
Williams Alligator System
Submitted by durgesh1712 over 8 years ago
*Level Breakout system*
Submitted by Tinych over 8 years ago
Horizontal Live Priceline Tool
Submitted by northstar over 8 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Hook Reversals");

slow =  LLV(Low, 6);
shigh = HHV(High, 6);

BFStp = Ref(Low,-1) == LLV(Low, 21); // Full Stop Buy
SFStp = Ref(High,-1) == HHV(High, 21); // Full Stop Sell

Buy3=HRbuy=BFStp AND O<(L+0.2*(H-L)) AND C>(H-0.2*(H-L)) AND H<Ref(H,-1) AND L>Ref(L,-1);
Short3=HRsell=SFStp AND O>(L+0.8*(H-L)) AND C<(H-0.8*(H-L)) AND H<Ref(H,-1) AND L>Ref(L,-1);

Sell3=C<O;
Cover3=C>O;

Buy3=ExRem(Buy3,Sell3);
Short3=ExRem(Short3,Cover3);
Sell3=ExRem(Sell3,Buy3);
Cover3=ExRem(Cover3,Short3);

PlotShapes(Buy3*shapeSquare, colorBlue, 0, L,Offset=-40);
PlotShapes(Buy3*shapeSquare,colorBlue, 0,L, Offset=-50); 
PlotShapes(Buy3* shapeUpArrow,colorWhite, 0,L, Offset=-45); 
PlotShapes(Short3* shapeSquare,colorRed, 0, H, Offset=40);
PlotShapes(Short3* shapeSquare,colorRed, 0,H, Offset=50); 
PlotShapes(Short3* shapeDownArrow,colorWhite, 0,H, Offset=-45);

PlotShapes(Sell3*shapeHollowDownArrow,colorPink,0,L,-45);
PlotShapes(Cover3*shapeHollowUpArrow,colorSkyblue,0,H,-45);

 
_SECTION_END();

_SECTION_BEGIN( "Price" );
SetChartOptions( 0, chartShowDates | chartShowArrows | chartLogarithmic | chartWrapTitle );
_N( Title = StrFormat( "{{NAME}} - " + SectorID( 1 ) + " - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " + WriteVal( V, 1.0 ) + " {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) );
Plot( C, "Close", colorRose, styleCandle | styleNoTitle | ParamStyle( "Style" ) | GetPriceStyle() );
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back