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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | _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