Forex Linear Regression Channel AFL For Amibroker
Forex Linear Regression Channel AFL For Amibroker
Forex Linear Regression Channel AFL For Amibroker, is a amibroker formula language which is use for Forex trading. Forex Linear Regression Channel AFL For Amibroker is the most powerful afl in the world.This is a modifier afl. It includes support resistance level as well as price indication or trend direction indicator .
In Forex Linear Regression Channel AFL For Amibroker there is a signal bar. If the price is out of bar than you may take diction where is price going on. If the candle go to outside of the level than it must come back soon. Also it shows you the direction of price trend. By confirming buy and sell decision you may please see the picture which i mention.
By definition Linear regression is a statistical tool used to predict the future from past data. It is used to determine when prices are overextended. A Linear Regression trend line is simply a trend line drawn between two points using the least squares fit method. The trend line is displayed in the exact middle of the prices. If you think of this trend line as the “equilibrium” price, any move above or below the trend line indicates overzealous buyers or sellers.
Here is the Image of AFL [amibroker formula language].
The Benefits of Channel Trading
Price Channels are a simple tool to show you the overall direction a price is heading for a specific duration of your choosing. This allows you to see the big picture that many traders tend to ignore in hopes of catching “the turn”. The often seen occurrence is that the turn is rare and most corrections can be weathered with low-enough leverage without hurting your account. Overtime, this method of following the overall trend as soon-to-be-identified by the channel can outperform in-and-out trading often performed by traders thinking they can guess when the market will turn.
How to entry:
Buy Signal show the picture. Sell Signal
show the picture.
Stops & Targets
For stops and targets we’re going to use the support/resistance levels/areas indicators or bands of the polynomial regression. On the other hand we always prefer 2%-6% money management tool.Use it to create your profit maximize.
_________Happy Trading_______
Amibroker AFL [Amibroker Formula Language] 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 | //------------------------------------------------------------------------------ // Formula Name : Trade with Target Indicator 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("The Fighter4 Logo"); 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(); SetChartBkColor(ParamColor("Background Color",colorBlack)); SetChartOptions(0,chartShowDates); SetBarFillColor(IIf(C>O,ParamColor("Candle UP Color",colorGreen),IIf(C<=O,ParamColor("Candle Down Color",colorRed),colorLightGrey))); Plot(C,"Price",IIf(C>O,ParamColor("Wick UP Color",colorDarkGreen),IIf(C<=O,ParamColor("Wick Down Color",colorDarkRed),colorLightGrey)),64,0,0,0,0); _SECTION_BEGIN("Linear Reg Channel"); //Plot(Close, "", 55, GetPriceStyle()); P = ParamField("Price field", -1); Daysback = Param("Period for Linear Regression Channel", 50, 1, 300, 1); SDP1 = Param("Standard Deviation 1", 1.0, 0, 6, 0.05); SDP2 = Param("Standard Deviation 2", 2.0, 0, 6, 0.05); SDP3 = Param("Standard Deviation 3", 3.0, 0, 6, 0.05); ext = Param("extend Linear Regression Channel", 15, 0, 50, 1); shift = Param("Look back period", 0, 0, 240, 1); Collg = ParamColor("Color Linear Reg Line", colorRed); Colsd1 = ParamColor("Color StDev 1", colorBlue); Colsd2 = ParamColor("Color StDev 2", colorLime); Colsd3 = ParamColor("Color StDev 3", colorGold); SDP1 = SDP1/2; SDP2 = SDP2/2; SDP3 = SDP3/2; pds = Daysback; x = BarIndex() + 1; sx = SelectedValue(x)-shift; aa = SelectedValue(Ref(LinRegIntercept(P, pds), -shift)); bb = SelectedValue(Ref(LinRegSlope(P, pds), -shift)); StDev0 = StDev(P, pds); fd1 = SelectedValue(Ref(SDP1 * StDev0, -shift) ); fd2 = SelectedValue(Ref(SDP2 * StDev0, -shift) ); fd3 = SelectedValue(Ref(SDP3 * StDev0, -shift) ); ys = SelectedValue(ValueWhen(x, aa, 1)); yi = SelectedValue(ValueWhen(x, bb, 1)); xs = sx - pds; d = ext;//Shift Line Right xe = xs + pds + d; ye = ys + yi * (xe - xs); sty = 1|32|2048; Plot(LineArray(xs-d,ys,xe-d,ye,1),"",Collg,sty,0,0,d); Plot(LineArray(xs-d,ys-fd1,xe-d,ye-fd1,1),"",Colsd1,sty,0,0,d); Plot(LineArray(xs-d,ys+fd1,xe-d,ye+fd1,1),"",Colsd1,sty,0,0,d); Plot(LineArray(xs-d,ys-fd2,xe-d,ye-fd2,1),"",Colsd2,sty,0,0,d); Plot(LineArray(xs-d,ys+fd2,xe-d,ye+fd2,1),"",Colsd2,sty,0,0,d); Plot(LineArray(xs-d,ys-fd3,xe-d,ye-fd3,1),"",Colsd3,sty,0,0,d); Plot(LineArray(xs-d,ys+fd3,xe-d,ye+fd3,1),"",Colsd3,sty,0,0,d); _SECTION_END(); |
Download AFL
How to use Candlestick Pattern AFL for 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
- Previous Milliner Forex Technical Chart Research
- Next Some Experience about successful trading methods
Spot on with this write-up, I really assume this web site wants way more consideration. I’ll probably be once more to read way more, thanks for that info.
Hope we will bring more beautiful idea about Forex Market.