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 ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Trendlines for Amibroker (AFL)
Rating:
2 / 5 (Votes 3)
Tags:
amibroker
Trendlines
Similar Indicators / Formulas
Kavach Of Karna v2
Submitted
by hbkwarez over 11 years ago
Advanced Elliott Waves
Submitted
by MarcosEn about 14 years ago
3_6Day GuaiLiLv
Submitted
by motorfly almost 14 years ago
Williams Alligator System
Submitted
by durgesh1712 about 14 years ago
*Level Breakout system*
Submitted
by Tinych about 14 years ago
Horizontal Live Priceline Tool
Submitted
by northstar about 14 years ago
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("Trend Lines");
p1 = Param("TL 1 Periods", 20, 5, 50, 1);
p2 = Param("TL 2 Periods", 5, 3, 25, 1);
TL1 = LinearReg(C, p1);
TL2 = EMA(TL1, p2);
Col1 = IIf(TL1 > TL2, ParamColor("TL Up Colour", colorGreen), ParamColor("TL Dn Colour", colorRed));
Plot(TL1, "TriggerLine 1", Col1, styleLine|styleThick|styleNoLabel);
Plot(TL2, "TriggerLine 2", Col1, styleLine|styleThick|styleNoLabel);
_SECTION_END();
_SECTION_BEGIN("Close Line");
Col2 = IIf((C > TL1), ParamColor("CL Up Colour", colorBlue), ParamColor("CL Dn Colour", colorRed));
PlotShapes(shapeSmallCircle, Col2, 0, C, 0);
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | styleLine);
_SECTION_END();0 comments
Leave Comment
Please login here to leave a comment.
Back