WMA Cross for Amibroker AFL
WMA CROSS FOR AMIBROKER AFL
WMA Cross afl give you a clear idea about price movement. weight-age moving average basically use for price movement. Up trend or down trend measure by it. By this afl traders caught out the trend of currency or stock movement.
In this amiroker afl WMA use 20, 50, 100, 200 and 360 days of time. For different different time day WMA uses measure perfect trend of a stock. Also its helps to determine short term and long terms trend movements.
When Long time WMA cross Short time WMA from below than its a buy signal. And when long time WMA cross short time WMA upper from below than its a sell signal.
In this article what you get for?
- Get clear Image of Amibroker Afl
- Download WMA Cross Amibroker AFL.
- Raw code of this formula.
- How to set Amibroker Afl in platform.
- And much more………..
Here is the Image of AFL [amibroker formula language].
In picture See the drawing tools deeply. You can find out where to buy signal. Also you can find out the sell signal. As a mention WMA Cross Afl gives you perfect taking profit signal. When Signal appears, you may take signal without any hesitation.
HERE IS WMA CROSS FOR AMIBROKER AFL CODE
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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | //------------------------------------------------------------------------------ // Formula Name : WMA CROSS FOR AMIBROKER AFL by pipschart // Author : KrT group // Uploader : www.pipschart.com // E-mail : info@pipschart.com // Amibroker Blog : www.pipschart.com/amibroker // Origin : Modified & Collected from different sources. //------------------------------------------------------------------------------ _SECTION_BEGIN("KrT group"); GfxSetBkMode(1); X=750; Y=1; Font=10; GfxSelectFont("Impact",Font*2.2, 550);GfxSetTextColor(colorRed);GfxTextOut("KrT group",x,y); GfxSelectFont("Impact",Font*2.2, 550);GfxSetTextColor(colorGreen);GfxTextOut("RESEARCH",x+120,Y); _SECTION_END(); //------------------------------------------------------------------------------ _SECTION_BEGIN("pipschart.com"); GfxSelectFont("Arial Bold", Status("pxheight")/20); GfxSetTextAlign( 6 );// center alignment GfxSetTextColor( ParamColor("Text Color", ColorHSB( 42, 42, 42 ) )); GfxSetBkMode(0); // transparent GfxTextOut( Name(), Status("pxwidth")/2, Status("pxheight")/10); GfxSelectFont("Arial Bold", Status("pxheight")/30); GfxTextOut( "", Status("pxwidth")/2, Status("pxheight")/30); GfxSelectFont("Arial Bold", Status("pxheight")/20); _SECTION_END(); 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("WMA"); Periods1 = Param("Periods1",20,1,750,2); Periods2 = Param("Periods2",50,2,750,2); Periods3 = Param("Periods3",100,3,750,2); Periods4 = Param("Periods4",200,4,750,2); Periods5 = Param("Periods5",360,5,750,2); WMA1 = WMA(C,Periods1); WMA2 = WMA(C,Periods2); WMA3 = WMA(C,Periods3); WMA4 = WMA(C,Periods4); WMA5 = WMA(C,Periods5); Plot(WMA1,"wma1",ParamColor("color1",colorBlue),styleLine); Plot(WMA2,"wma2",ParamColor("color2",colorGreen),styleLine); Plot(WMA3,"wma3",ParamColor("color3",colorGold),styleLine); Plot(WMA4,"wma4",ParamColor("color4",colorCustom12),styleLine); Plot(WMA5,"wma5",ParamColor("color5",colorRed),styleLine); Buy = Cross(WMA1,WMA2); Sell = Cross(WMA2,WMA1); Short = Sell; Cover = Buy; shape = Buy * shapeUpArrow + Sell * shapeDownArrow; PlotShapes(shape, IIf(Buy,colorBlue,colorBlue), 0, IIf(Buy,Low,High)); _SECTION_END(); |
Download AFL
How to use Amibroker AFL
- Download the Amibroker AFL.
- Now copy the afl file and paste it to \Program Files\AmiBroker\Formulas\Custom. [For 32 bit]
- If You have 64 bit operating system than paste it to \Program Files(x86)\AmiBroker\Formulas\Custom.
- Go to formula section of Amibroker and you will get the afl in Custom folder.
Tags amibroker afl
0 thoughts on “WMA Cross for Amibroker AFL”