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 ....
DIsplacement average Ribbon for Amibroker (AFL)
Copy & Paste Friendly
Back
_SECTION_BEGIN("Price"); 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 | ParamStyle("Style") | GetPriceStyle() ); _SECTION_END(); _SECTION_BEGIN("Unnamed 1"); Type = ParamList("Type", "Simple,Exponential,Double Exponential,Tripple Exponential,Wilders,Weighted"); Periods = Param("Periods", 6, 2, 300 ); Displacement = Param("Displacement", 4, -50, 50 ); m1 = 0; m2 = 0; if( Type == "Simple" ) { m1 = MA( H, Periods ); m2 = MA( L, Periods); } if( Type == "Exponential" ) { m1 = EMA( H, Periods ); m2 = EMA( L, Periods); } if( Type == "Double Exponential" ) { m1 = DEMA( H, Periods ); m2 = DEMA( L, Periods); } if( Type == "Tripple Exponential" ) { m1 = TEMA( H, Periods ); m2 = TEMA( L, Periods); } if( Type == "Wilders" ) { m1 = Wilders( H, Periods ); m2 = Wilders( L, Periods); } if( Type == "Weighted" ) { m1 = WMA( H, Periods ); m2 = WMA( L, Periods); } Plot( m1, _DEFAULT_NAME(), ParamColor("ColorTop", colorGreen), ParamStyle("Style"), 0, 0, Displacement ); Plot( m2, _DEFAULT_NAME(), ParamColor("ColorBottom", colorRed), ParamStyle("Style"), 0, 0, Displacement ); PlotOHLC(m1,m1,m2,m2,"DMACloud",ParamColor("ColorChannel", colorYellow),styleCloud,Null,Null,Displacement); // Uncomment line below to plot price if Indicator is not overlaid a Price chart //Plot(C,"Close",colorBlack,styleCandle); _SECTION_END();