Makes Tread Perfect : GRID MONTH WEEK QUARTER Afl
GRID MONTH WEEK QUARTER FOR AMIBROKER AFL
Grid Month Week Quarter AFL for Amibroker is saying everything for Forex Trading. Formula is very useful for intraday traders. This AFL has an option of Month Week Quarter grid. That why its option is useful for trader. If you use this system you can easily watch where the price break out or break down. Also use support & Resistance over the chart you can follow the price action. Price break option catch in eyes.
Image of GRID MONTH WEEK QUARTER AFL [amibroker formula language].
GRID MONTH WEEK QUARTER 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 | //------------------------------------------------------------------------------ // Formula Name : GRID – MONTH WEEK QUARTER FOR AMIBROKER AFL by pipschart // Author : KrT group // Up-loader : 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("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("Grid_Month_Week_Quarter"); ShowGrid = ParamList("Grid", "Off|Grid_Quarter|Grid_Week|Grid_Month|Grid_year",1); color_Grid = ParamColor("Color_Grid",colorBlue); Style_Grid = ParamStyle("Style_Grid ",styleHistogram|styleNoLabel|styleNoRescale|styleOwnScale,maskAll); switch (ShowGrid ) { case "Grid_Quarter": LastDayofQuarter = Month() != Ref(Month(), 1) AND (Month() == 3 OR Month() == 6 OR Month() == 9 OR Month() == 12); Last_Quarter = IIf(Ref(LastDayofQuarter,-1), 1, 0); Plot(Last_Quarter, "", color_Grid, Style_Grid); break; case "Grid_Month": Grid_Month = IIf(Month() != Ref(Month(),-1), 1, 0); Plot(Grid_Month, "", color_Grid, Style_Grid ); break; case "Grid_year": Grid_year = IIf(Year() != Ref(Year(),-1), 1, 0); Plot(Grid_year, "", color_Grid, Style_Grid ); break; case "Grid_Week": Grid_Week = IIf(DayOfWeek() < Ref(DayOfWeek(), -1), 1, 0); Plot(Grid_Week, "", color_Grid, Style_Grid ); break; case "Off": 0; break; } Plot(C,"",colorBlack,styleCandle); _SECTION_END(); |
Download AFL
How to use Amibroker AFL
Tags amibroker afl
0 thoughts on “Makes Tread Perfect : GRID MONTH WEEK QUARTER Afl”