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 ....
Ema Corssover with SAR as stop loss for Amibroker (AFL)
Rating:
5 / 5 (Votes 1)
Tags:
trading system, amibroker
Ema Corssover with SAR as stop loss
Similar Indicators / Formulas
EMA crossover
Submitted
by Ketan-0 almost 14 years ago
Kase Peak Osc. V2 batu
Submitted
by batu1453 over 10 years ago
Kase CD V2batu
Submitted
by batu1453 over 10 years ago
Ichimoku
Submitted
by prashantrdx over 10 years ago
buy and sell two EMAS
Submitted
by mundo0007 over 12 years ago
Adaptive Price Zone (APZ)
Submitted
by AndrewThomas almost 14 years ago
Indicator / Formula
Copy & Paste Friendly
_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(); _SECTION_BEGIN("SAR"); acc = Param("Acceleration", 0.02, 0, 1, 0.001 ); accm = Param("Max. acceleration", 0.2, 0, 1, 0.001 ); Plot( SAR( acc, accm ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style", styleDots | styleNoLine, maskDefault | styleDots | styleNoLine ) ); _SECTION_END(); _SECTION_BEGIN("EMA CROSSOVER CHART"); LongPer = Param("Long Period", 25, 30, 100, 5); ShortPer = Param("Short Period", 50, 30, 100, 5); LongMA = EMA(C, LongPer); ShortMA = EMA(C, ShortPer); LastHigh = HHV(H, LongPer); GraphXSpace = 10; Plot(LongMA, " EMA(C, " + WriteVal(LongPer, 1) + ")", colorBrightGreen, styleLine); Plot(ShortMA, " EMA(C, " + WriteVal(ShortPer, 1) + ")", colorRed, styleLine); Buy = Cross(LongMA, ShortMA); Short=SAR( acc, accm )>C; Sell = Cross(ShortMA, LongMA); Cover=SAR( acc, accm )<C; Buy=ExRem(Buy,Sell); Short=ExRem(Short,Cover); Sell=ExRem(Sell,Buy); Cover=ExRem(Cover,Short); PlotShapes(Buy*shapeSmallUpTriangle,colorBlue ,0,L,-51); PlotShapes(Short*shapeHollowDownTriangle,colorPink , 0,L,-45); PlotShapes(Sell*shapeSmallDownTriangle,colorRed,0, H,-51); PlotShapes(Cover*shapeHollowUpTriangle,colorSkyblu e,0,H,-45); _SECTION_END();
1 comments
Leave Comment
Please login here to leave a comment.
Back
*Simple yet good script !!! Parabolic / Ema combined.. !!
Note :
2nd Last Line
PlotShapes(Cover*shapeHollowUpTriangle,colorSkyblu e,0,H,-45);
Corrected :
PlotShapes(Cover*shapeHollowUpTriangle,colorSkyblue,0,H,-45);
The Space of colorSkyblue is corrected ..
*