Table of Contents
- 1 Trender – A Buy Sell Trend Detector
- ii How to Clarify this Buy Sell Indicator?
-
- 2.0.1 Long Purchase Indicator
- 2.0.2 Curt Sell Indicator
-
- 3 How to Download Buy Sell Indicator on AmiBroker
- iii.1 ZIP Excerpt Method
- 3.2 Copy Paste Method
- 4 Final Thoughts
Trender is about advance buy sell indicator 90% accurate amibroker afl available complimentary for download. This indicator is easy to operate and clarify purchase sell tendency.
In this commodity yous will get answers to your queries like,
What is trender? …
How to analyze purchase sell trend of stock? …
How to go trend indicator configured on your arrangement?
Then, lets begin
Trender – A Purchase Sell Trend Detector
Trender is best not repainting buy sell indicator. Its simply trend based charting system without candlestick patterns.
Thus, trader finds this very easy to analyze whatever trend in stocks or crypto currencies.
This is Amibroker AFL code which you can easily download and configure on your own. Continue reading below for easy installation steps.

How to Clarify this Purchase Sell Indicator?
Since there are no candlestick design use in nautical chart its pretty easy to analyze purchase and sell entry.
Here, small ruby and green circles indicates your buy and sell signals.
Long Buy Indicator
When, greyness tendency line crosses white trend line downside upwards it indicates you that stock trend is buy side.
Now make your entry when dark-green circles gets confirmed in 15 min timeframe.
Brusk Sell Indicator
In sell side aforementioned status goes reverse.
When, grey tendency line crosses white trend line upside down it indicates you lot that stock trend is sell side.
Now make your entry when red circles gets confirmed in 15 min timeframe.

Besides read commodity on : Complimentary buy sell betoken software download
How to Download Buy Sell Indicator on AmiBroker
You can become this indicator download in your system with ii simple methods.
Lets offset,
Click the link below to download the nothing file.
Trender Buy Sell Indicator Script Gratis Download
Now, right click on downloaded zero and click on extract file option.
Next select Amibroker path to extract the files
C:\Program Files\AmiBroker\Formulas OR C:\Program Files(x86)\AmiBroker\Formulas
Now open amibroker and go to charts tab from right pannel
Locate your file name and double click on it.
Thats information technology!
Note : If yous accept changed your Amibroker installation path please brand certain to select the same instead of above mentioned path
Re-create Paste Method
Firstly, copy the code below CTR+C and paste it on notepad.
_SECTION_BEGIN("Trender Indicator"); SetBarsRequired(sbrAll,sbrAll); SetFormulaName( "Golden Cross Moving Average" ); SetOption( "Initialequity", 100000 ); SetOption( "AccountMargin", 0.25 ); SetOption( "MinShares", 1 ); MaxOpenPos = Param( "MaxOpenPos", 20, one, 200, 1 ); SetOption( "MaxOpenPositions", MaxOpenPos ); SetOption( "PriceBoundChecking", 1 ); SetOption( "CommissionMode", 1 ); SetOption( "CommissionAmount", 0.01 ); PositionSize = -400/MaxOpenPos; FPeriod = Param("Fast MA Period",20,ii,25,1); SPeriod = Param("Slow MA Menses",seventy,ten,200,1); FLine = EMA(C,FPeriod); SLine = EMA(C,SPeriod); SLineRising = SLine>Ref(SLine,-1); SLineDecling = SLine<Ref(SLine,-1); Buy = (FLine>SLine) AND SLineRising ; Short = (SLine>FLine) AND SLineDecling ; Sell = (SLine>FLine); Cover =(FLine>SLine); Purchase = ExRem(Buy,Sell OR Short); Sell = ExRem(Sell,Buy); Short = ExRem(Short,Cover OR Buy); Cover = ExRem(Comprehend,Short); BuyPrice = ValueWhen(Buy,C,1); SellPrice = ValueWhen(Sell,C,1); ShortPrice = ValueWhen(Brusque,C,i); CoverPrice = ValueWhen(Cover,C,one); Offset = four; PlotShapes(Buy*shapeCircle,colorBrightGreen,0,Min(FLine,SLine),Offset); PlotShapes(Curt*shapeCircle,colorRed,0,Max(FLine,SLine),Offset); PlotShapes(Cover*shapeCircle,colorBrightGreen,0,Min(FLine,SLine),Outset); PlotShapes(Sell*shapeCircle,colorRed,0,Max(FLine,SLine),Offset); SetChartOptions(0,chartShowArrows|chartShowDates); Plot(FLine,"Fast MA",IIf(FLine>Ref(FLine,-one),colorGrey40 ,colorGrey50),styleLine|styleThick|styleNoTitle); Plot(SLine,"Slow MA",IIf(SLine>Ref(SLine,-i),colorGreen ,colorRed),styleLine|styleNoDraw|styleNoTitle); Open_Long = Flip( Buy, Sell ); Open_Short = Flip( Sell, Buy ); Buy_Price = ValueWhen( Buy, BuyPrice, 1 ); Short_Price = ValueWhen( Brusque, ShortPrice, 1 ); Sell_Price = IIf( Sell, ValueWhen( Sell, SellPrice, 1 ), Short_Price ); Cover_Price = IIf( Cover, ValueWhen( Cover, CoverPrice, 1 ), Buy_Price ); Profit = IIf( Open_Long, ( Close - Buy_Price ), IIf( Open_Short, ( Short_Price - Shut ), 0 ) ); Last_Profit = IIf( Ref( Open_Long, -ane ) == 1 AND Open_Long != 1, ( Sell_Price - Buy_Price ), IIf( Ref( Open_Short, -1 ) == 1 AND Open_Short != ane, ( Short_Price - Cover_Price ), 0 ) ); Cum_Profit[0] = Last_Profit[0]; PreviousProfit = ValueWhen(Last_Profit!=0,Last_Profit,1); for ( i = 1;i < BarCount;i++ ) { Cum_Profit[i] = Cum_Profit[i-ane] + Last_Profit[i]; } Trade[0] = 0; for ( i = 1;i < BarCount;i++ ) { if ( Buy[i] == 1 OR Brusk[i] == 1 ) { Trade[i] = Trade[i-1] + one; } else { Trade[i] = Trade[i-1]; } } _SECTION_END(); _SECTION_BEGIN("HA"); tchoice=Param("Title Selection ",two,1,two,ane); Q=Param("% Change",2.one,1,10,1); Z= Ref(Zig(C ,q ),-ane) ; HH=Ref(((Z<Ref(Z,-1) AND Ref(Z,-ane) > Ref(Z,-2)) AND (Meridian(z,q,ane ) >Peak(Z,q,2))),-1); LH=Ref(((Z<Ref(Z,-1) AND Ref(Z,-1) > Ref(Z,-2)) AND (Peak(Z,q,1 ) <Peak(Z,q,2))),-1); HL=Ref(((Z>Ref(Z,-1) AND Ref(Z,-ane) < Ref(Z,-ii)) AND (Trough(Z,q,1 ) >Trough(Z,q,2))),-1); LL=Ref(((Z>Ref(Z,-i) AND Ref(Z,-one) < Ref(Z,-two)) AND (Trough(Z,q,one ) <Trough(Z,q,2))),-1); Pstyle = ParamToggle("Heikin Ashi","On|Off",1); if(Pstyle==0){ HaClose = (O+H+50+C)/four; HaOpen = AMA( Ref( HaClose, -i ), 0.five ); HaHigh = Max( H, Max( HaClose, HaOpen ) ); HaLow = Min( 50, Min( HaClose, HaOpen ) ); Plot( C, "Regular candles " + Name(), colorBlack, styleCandle ); Sell = (abs(HaOpen -HaClose )<= ((HaHigh -HaLow )*0.1)); Purchase = (abs(HaOpen -HaClose )<= ((HaHigh -HaLow )*0.1)) ; Buy = ExRem( Purchase, Sell ); Sell = ExRem( Sell, Buy ); Plot(EMA(HaClose,20), "", colorBlue , styleLine|styleThick ); Plot(Wilders(H,260.6), "",colorCustom12 , styleDashed|styleThick ); Plot(EMA(HaClose,ten), "",colorTan, styleLine|styleThick ); TimeFrameSet(inHourly); Hh=HHV (L,24); Ll =LLV (H,24); TimeFrameRestore(); Hh1=(TimeFrameExpand( Hh, inHourly)); Ll1=(TimeFrameExpand( Ll, inHourly)); Buy=Cross(C,LL); Sell=Cross(HH,C); Filter=Buy OR Sell; _N(Championship = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %1000, Hi %g, Lo %chiliad, Close %m (%.1f%%) {{VALUES}}", O, H, Fifty, C, SelectedValue( ROC( C, 1 ) ) )); Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); } p1 = Param("TL ane Periods", 30, 5, 50, one); p2 = Param("TL 2 Periods", 10, 3, 25, i); TL1 = LinearReg(C, p1); TL2 = EMA(TL1, p2); Col1 = IIf(TL1 > TL2, ParamColor("TL Up Color", colorBrightGreen), ParamColor("TL Dn Colour", colorRed)); Pivot = ParamToggle("Pivot", "weekly|monthly", one); if(Pivot) { H1 = TimeFrameGetPrice("H", inMonthly, -ane); // yesterdays high L1 = TimeFrameGetPrice("L", inMonthly, -i); // low C1= TimeFrameGetPrice("C", inMonthly, -1); // close } else{ H1 = TimeFrameGetPrice("H", inWeekly, -1); // yesterdays loftier L1 = TimeFrameGetPrice("L", inWeekly, -i); // low C1= TimeFrameGetPrice("C", inWeekly, -1); // close } P = ( H1+ L1+ C1 )/three; R1 = P+(H1-L1)/two-(P-C1)/2; R2 = H1-L1+P; R3 = H1-L1+R1; R4 = H1-L1+R2; R5 = H1-L1+R3; R6 = H1-L1+R4; R7 = H1-L1+R5; R8 = H1-L1+R6; R9 = H1-L1+R7; R10 = H1-L1+R8; S1 = P -(H1-L1)/2-(P-C1)/ii; S2 = P -(H1-L1); S3 = S1 -(H1-L1); S4 = S2 -(H1-L1); S5 = S3 -(H1-L1); S6 = S4 -(H1-L1); S7 = S5 -(H1-L1); S8 = S6 -(H1-L1); S9 = S7 -(H1-L1); S10 =S8 -(H1-L1); MIDR1 = (P+R1)/two; MIDR2 = (R1+R2)/2; MIDR3 = (R2+R3)/two; MIDR4 = (R3+R4)/2; MIDR5 = (R4+R5)/2; MIDR6 = (R5+R6)/ii; MIDR7 = (R6+R7)/two; MIDR8 = (R7+R8)/2; MIDR9 = (R8+R9)/two; MIDR10 = (R9+R10)/ii; MIDS1 = (P+S1)/two; MIDS2 = (S1+S2)/2; MIDS3 = (S2+S3)/2; MIDS4 = (S3+S4)/2; MIDS5 = (S4+S5)/2; MIDS6 = (S5+S6)/ii; MIDS7 = (S6+S7)/2; MIDS8 = (S7+S8)/two; MIDS9 = (S8+S9)/2; MIDS10 = (S9+S10)/ii; thou = Optimize("G",Param("K",v,0.25,5,0.25),0.25,5,0.25); Per= Optimize("atr",Param("atr",6,3,20,ane),3,20,1); HACLOSE=(O+H+L+C)/4; HaOpen = AMA( Ref( HaClose, -one ), 0.v ); HaHigh = Max( H, Max( HaClose, HaOpen ) ); HaLow = Min( L, Min( HaClose, HaOpen ) ); j=Haclose; f=ATR(14); rfsctor = WMA(H-L, Per); revers = k * rfsctor; Trend = 1; NW[0] = 0; for(i = 1; i < BarCount; i++) { if(Trend[i-1] == i) { if(j[i] < NW[i-one]) { Tendency[i] = -1; NW[i] = j[i] + Revers[i]; } else { Trend[i] = 1; if((j[i] - Revers[i]) > NW[i-1]) { NW[i] = j[i] - Revers[i]; } else { NW[i] = NW[i-1]; } } } if(Trend[i-1] == -1) { if(j[i] > NW[i-1]) { Trend[i] = ane; NW[i] = j[i] - Revers[i]; } else { Trend[i] = -1; if((j[i] + Revers[i]) < NW[i-1]) { NW[i] = j[i] + Revers[i]; } else { NW[i] = NW[i-1]; } } } } Buy=Cover=Cross(j,nw); Sell=Short=Cross(nw,j); SellPrice=ValueWhen(Sell,C,i); BuyPrice=ValueWhen(Buy,C,one); Long=Flip(Buy,Sell); Shrt=Flip(Sell,Buy ); _SECTION_END(); Uphigh = HHV(C,xc); downhigh = LLV (C, xl); Buy = C>= Uphigh; Sell = C<= downhigh; Buy = ExRem (Purchase,Sell); Sell = ExRem (Sell,Buy); _SECTION_BEGIN("Dorsum COLR"); SetChartBkGradientFill( ParamColor("BgTop", colorPlum), ParamColor("BgBottom", colorBlack),ParamColor("titleblock",colorPlum)); Title = (EncodeColor(colorGold)+"Trender " + EncodeColor(colorWhite) + Proper name()+" " + Date() +" "+Interval(two) +" "+ EncodeColor(colorWhite)+",Open up "+Open up +" , High "+H+" , Low "+L+" , Close "+C+" "+"{{VALUES}}"); BuyPrice = Open; SellPrice = Open; Derived=WMA(WMA(WMA(((H+Fifty)/2)+(O-C),92),i),1); i=WMA(Derived,3); Upper=(Derived+StDev(Derived,7))+ATR(two)/ane.5; Lower=(Derived-StDev(Derived,7))-ATR(2)/1; color=IIf(BarsSince(Cantankerous(Lower,Depression))> BarsSince(Cantankerous(C,Upper)), colorBrightGreen,colorRed); SetBarsRequired( 600, 0 ); GraphXSpace = 8; SetChartOptions( 0, chartShowArrows | chartShowDates ); _SECTION_BEGIN("Toll Line"); dp= Param("dps",3,0,1000,1); PriceLineColor=ParamColor("PriceLineColor",colorOrange); PriceLevel = ParamField("PriceField", field = 3 ); PriceLeve2 = ParamField("PriceField", field = dp ); Daysback = Param("Bars Dorsum",1,x,500,1); FirstBar = BarCount - DaysBack; YY = IIf(BarIndex() >= Firstbar,EndValue(PriceLevel),Zilch); Plot(YY,"Electric current Price",PriceLineColor,ParamStyle("LineStyle",styleLine|styleDashed|styleNoTitle|styleNoLabel|styleThick,maskAll)); side = Param("side",ane,0,m,ane); dist = 0; for( i = 0; i < BarCount; i++ ) { if(i+side== BarCount) PlotText( "\n " + PriceLevel[ i ], i, YY[ i ]-dist[i], colorGold );} _SECTION_END(); TxtX = Param("Text Left", 450, 0, yard, 10); TxtY = Param("Text Meridian", 80, ane, 650, 10); GfxSelectFont("Tahoma", 14, 700 ); GfxSetBkMode(1); _SECTION_BEGIN("Background text"); C11=ParamColor("up console",colorBlack ); C12=ParamColor("dn console",colorBlack ); C13=Param("fonts",20,ten,30,one ); C14=Param("left-right",two.i,one.0,5.0,0.1 ); C15=Param("up-downwardly",8,1,30,ane ); Miny = Status("axisminy"); Maxy = Status("axismaxy"); lvb = Status("lastvisiblebar"); fvb = Status("firstvisiblebar"); pxwidth = Condition("pxwidth"); pxheight = Status("pxheight"); GfxSetBkMode( 0 ); GfxSelectFont("Tahoma", 12, 500, Faux, Faux, 0); GfxSetTextColor(colorCustom12); GfxSetTextAlign( 6 ); GfxSelectFont("Tahoma", 15, 600, Faux, False, 0); GfxSetTextColor(colorWhite); GfxSetTextAlign( half-dozen ); GfxSelectFont("Tahoma", 12, 400, False, False, 0); GfxSetTextColor(colorBrightGreen); GfxSelectFont("Tahoma", 12, 400, Simulated, Imitation, 0); GfxSetTextColor(colorRed); pricechange=(C-Ref(C,-1))*100/Ref(C,-ane); changeponit=C-Ref(C,-one); Vlp=Param("Book lookback period",15,10,300,10); Vrg=MA(5,Vlp); St = StDev(Vrg,Vlp); Vp3 = Vrg + 3*st; Vp2 = Vrg + ii*st;; Vp1 = Vrg + i*st;; Vn1 = Vrg -1*st; Vn2 = Vrg -2*st; x=Param("xposn",ane,0,1000,1); y=Param("yposn",1,0,1000,1); GfxGradientRect( 1, 1, 1400, 40, colorViolet, colorBlack); GfxSetBkMode(0); GfxSelectFont( "Georgia", 18, 800, Faux ); GfxSetTextColor( colorGold ); GfxTextOut( "Trender ", ten+450, y+x ); GfxSelectFont( "Tahoma", 16, 800, False ); GfxSetTextColor( colorGold ); GfxTextOut( Name(), ten+100, y+x ); GfxSelectFont( "Century Gothic", xv, 100, False ); GfxSetTextColor( colorGold ); GfxTextOut( Date(), ten+800, y+10 ); GfxSelectFont( "Comic Sans MS", 15, 500, Imitation ); GfxSetTextColor( colorYellow ); GfxTextOut( Interval(2), x+275, y+10 ); //------------------------------------------------------------ H, L, O, C---------------------- GfxGradientRect( ane, twoscore, 1400, 55, colorViolet, colorBlack ); GfxSetBkMode(0); GfxSelectFont( "Areal", 9, 200, Imitation ); GfxSetTextColor( colorWhite ); GfxTextOut( "High:"+WriteVal(H,1.ii), x+100, y+xl ); GfxSelectFont( "Areal", 9, 200, False ); GfxSetTextColor( colorWhite ); GfxTextOut( "Low:"+WriteVal(L,1.2), x+200, y+xl ); GfxSelectFont( "Areal", ix, 200, Faux ); GfxSetTextColor( colorWhite ); GfxTextOut( "Open up:"+WriteVal(O,1.2), x+300, y+40 ); GfxSelectFont( "Areal", 9, 200, False ); GfxSetTextColor( colorWhite ); GfxTextOut( "Close:"+WriteVal(C,i.two), x+400, y+40 ); GfxSelectFont( "comic sans ms", 12, 100, False ); GfxSetTextColor( colorGold ); GfxTextOut( "Created By https://slts.in ", 10+800, y+35 ); BigStock = MA( Five, 10 ) * MA( C, 10 ) > 100; per1 = vi; per2 = two; Om = MA( O, per1 ); hm = MA( H, per1 ); lm = MA( L, per1 ); Cm = MA( C, per1 ); HACLOSE = ( Om + Hm + Lm + Cm ) / 4; HaOpen = AMA( Ref( HaClose, -1 ), 0.5 ); HaHigh = Max( Hm, Max( HaClose, HaOpen ) ); HaLow = Min( Lm, Min( HaClose, HaOpen ) ); Of = MA( Haopen, per2 ); Cf = MA( Haclose, per2 ); Lf = IIf( haOpen < haClose, MA( Halow, per2 ), MA( Hahigh, per2 ) ); Hf = IIf( haOpen < haClose, MA( Hahigh, per2 ), MA( Halow, per2 ) ); TrailStop = HHV( C - 2 * ATR( 10 ), 15 ); ProfitTaker = EMA( H, xiii ) + two * ATR( x ); farback = 140; //How Far dorsum to go nBars = 12; //Number of bars aHPivs = H - H; aLPivs = L - L; aHPivHighs = H - H; aLPivLows = L - 50; aHPivIdxs = H - H; aLPivIdxs = L - L; nHPivs = 0; nLPivs = 0; lastHPIdx = 0; lastLPIdx = 0; lastHPH = 0; lastLPL = 0; curPivBarIdx = 0; aHHVBars = HHVBars( O, nBars ); aLLVBars = LLVBars( O, nBars ); aHHV = HHV( O, nBars ); aLLV = LLV( O, nBars ); aVisBars = Status( "barvisible" ); nLastVisBar = LastValue( Highest( IIf( aVisBars, BarIndex(), 0 ) ) ); _TRACE( "Final visible bar: " + nLastVisBar ); curBar = ( BarCount - 1 ); curTrend = ""; if ( aLLVBars[curBar] < aHHVBars[curBar] ) { curTrend = "D"; } else { curTrend = "U"; } for ( i = 0; i < BarCount; i++ ) { curBar = ( BarCount - 1 ) - i; if ( aLLVBars[curBar] < aHHVBars[curBar] ) { if ( curTrend == "U" ) { curTrend = "D"; curPivBarIdx = curBar - aLLVBars[curBar]; aLPivs[curPivBarIdx] = 1; aLPivLows[nLPivs] = 50[curPivBarIdx]; aLPivIdxs[nLPivs] = curPivBarIdx; nLPivs++; } } else { if ( curTrend == "D" ) { curTrend = "U"; curPivBarIdx = curBar - aHHVBars[curBar]; aHPivs[curPivBarIdx] = one; aHPivHighs[nHPivs] = H[curPivBarIdx]; aHPivIdxs[nHPivs] = curPivBarIdx; nHPivs++; } } } curBar = ( BarCount - 1 ); candIdx = 0; candPrc = 0; lastLPIdx = aLPivIdxs[0]; lastLPL = aLPivLows[0]; lastHPIdx = aHPivIdxs[0]; lastHPH = aHPivHighs[0]; if ( lastLPIdx > lastHPIdx ) { candIdx = curBar - aHHVBars[curBar]; candPrc = aHHV[curBar]; if ( lastHPH < candPrc AND candIdx > lastLPIdx AND candIdx < curBar ) { for ( j = 0; j < nHPivs; j++ ) { aHPivHighs[nHPivs-j] = aHPivHighs[nHPivs- ( j+1 )]; aHPivIdxs[nHPivs-j] = aHPivIdxs[nHPivs-( j+1 )]; } aHPivHighs[0] = candPrc ; aHPivIdxs[0] = candIdx; nHPivs++; } } else { candIdx = curBar - aLLVBars[curBar]; candPrc = aLLV[curBar]; if ( lastLPL > candPrc AND candIdx > lastHPIdx AND candIdx < curBar ) { aLPivs[candIdx] = 1; for ( j = 0; j < nLPivs; j++ ) { aLPivLows[nLPivs-j] = aLPivLows[nLPivs-( j+1 )]; aLPivIdxs[nLPivs-j] = aLPivIdxs[nLPivs-( j+1 )]; } aLPivLows[0] = candPrc; aLPivIdxs[0] = candIdx; nLPivs++; } } Buy = Cover = BigStock AND aLPivs == 1; Sell = Short = BigStock AND aHPivs == 1; SellPrice = ValueWhen( Sell, C, 1 ); BuyPrice = ValueWhen( Purchase, C, 1 ); Long = Flip( Buy, Sell ); Shrt = Flip( Sell, Purchase ); n = fifteen; a = C > ( MA( H, northward ) + MA( L, north ) ) / 2;// then Buy next bar at market; b = C < ( MA( H, n ) + MA( L, n ) ) / ii;// then Sell Short next bar at marketplace; state = IIf( BarsSince( a ) < BarsSince( b ), 1, 0 ); Longs = state == 1; shorts = country == 0; Colorbar = IIf( Longs, colorGreen, IIf( Shorts, colorRed, colorGrey40 ) ); _SECTION_BEGIN("DEMA"); P = ParamField("Toll field",-1); Periods = Param("Periods", 100, two, 300, 1, ten ); Plot( DEMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorLavender ), ParamStyle("Style") ); _SECTION_END();
And so salve the notepad with extension .afl at beneath amibroker location.
C:\Program Files\AmiBroker\Formulas OR C:\Program Files(x86)\AmiBroker\Formulas
Now open Amibroker and go to charts tab from right pannel
Lastly, locate your file name and double click on it. Thats it!
Final Thoughts
In this article nosotros have cleared all the queries related to trender indicator. Also we learn to download and configure buy sell indicator on Amibroker software.
If anyone still facing whatever bug in installation delight comment your query below will be at that place to assist and get information technology corrected.
Give thanks y'all for your time!
Delight follow and similar united states of america:
DOWNLOAD HERE
Posted by: davenportprowhy.blogspot.com