Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
TMA CrossOver for Amibroker (AFL)
This is a TMA crossover strategy.Use the Time Frame 15 min.Combined With MACD It Will Generate good Signal.
Indicator / Formula
_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", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); _SECTION_END(); _SECTION_BEGIN("TMA"); P = ParamField("Price field",-1); period = Param("Periods", 15, 2, 200, 1, 10 ); if ( (period % 2) > 0) { // odd Coef1=(period+1)/2; Coef2=Coef1; } else { //Even Coef1=(period/2)+1; Coef2=period/2; } TriangularMA=MA(MA(C,Coef1),Coef2); Plot(TriangularMA, _DEFAULT_NAME() ,ParamColor( "Color", colorCycle )); _SECTION_END(); _SECTION_BEGIN("TMA1"); P = ParamField("Price field",-1); period = Param("Periods", 15, 2, 200, 1, 10 ); if ( (period % 2) > 0) { // odd Coef1=(period+1)/2; Coef2=Coef1; } else { //Even Coef1=(period/2)+1; Coef2=period/2; } TriangularMA1=MA(MA(C,Coef1),Coef2); Plot(TriangularMA1, _DEFAULT_NAME() ,ParamColor( "Color", colorCycle )); _SECTION_END(); _SECTION_BEGIN("SIGNAL"); Buy = Cross (TriangularMA,TriangularMA1); Sell = Cross (TriangularMA1,TriangularMA); shape = Buy * shapeUpArrow + Sell * shapeDownArrow; PlotShapes( shape, IIf( Buy, colorWhite, colorYellow ),0, IIf( Buy, Low, High ) ); _SECTION_END();
1 comments
Leave Comment
Please login here to leave a comment.
Back
Can u pls provide the SMA 30 crossover with TMA 20 AFL