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

Breakout AFL for Amibroker (AFL)

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

Displays alerts for breakout studies

Indicator / Formula

Copy & Paste Friendly
chartid = Param("Chart ID",0,1000,9999);

resistance = Study("RE",IIf(chartid>GetChartID(),chartid,GetChartID()));
support = Study("SU",IIf(chartid>GetChartID(),chartid,GetChartID()));

Buy = Cross(H,resistance);
Sell = Cross(support,L);

signalcolor = IIf(Buy,colorGreen,IIf(Sell,colorRed,colorGrey40));

PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-40);
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-50);
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorWhite, 0, L, Offset=-45);
PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorRed, 0, H, Offset=40);
PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorOrange, 0, H, Offset=50);
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorWhite, 0, H, Offset=-45);

0 comments

Leave Comment

Please login here to leave a comment.

Back