Jupiter AFL for Amibroker

Jupiter Amibroker AFL

Use Jupiter AFL for Intraday Trading in MCX Commodity, NCDEX Agriculture Commodity, NSE Equity Cash Stocks, Nifty Future, Bank Nifty Future, Nifty Options, Most Active Stock Futures, Currency Futures & Options, Etc.

Jupiter AFL for Amibroker contains three Panels i.e. Charts, Buy Sell Trend and Top Bottom Support-Resistence Channel. Charts Panel gives Line and Banner Cross-over for Entry and Exit. Middle Panel gives Buy Sell Confirmation and by Small Vertical Bar based on Cross-over. Bottom Panel provides visual Top and Bottom Channel with colored lines for confirmation.

Jupiter AFL for Amibroker

Password : techarticles.in

AmiTrader

COPY & PASTE CODE :

PANEL-1

_SECTION_BEGIN(“Jupiter”);
//Jupiter-1

m = Param(“Long Pds”, 60, 20, 100, 1 );

SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat(“{{NAME}} – {{INTERVAL}} {{DATE}} Open %g,Hi %g,Lo %g, Close %g (%.1f%%)
Vol ” +WriteVal( V, 1.0 ) +” {{VALUES}}”, O, H, L, C, SelectedValue( ROC( C, 1 )) ));
barcolor =IIf(C>O, ParamColor(“Up candlestick”, colorBrightGreen ), ParamColor(“Down candlestick”, colorOrange ));
Plot( C, “Close”, barColor, styleCandle);
amv0=Volume*(O+H+L+C)/4;
line=Sum(amv0,50)/Sum(Volume,50);
Plot(line,”Modified”,7,1);
CG=MA(C,14);
Plot(cg,”A”,10,1);
holdline=HHV(CG,3);
Plot(Holdline,”B”,13,1);
PlotOHLC(Holdline,Cg,Holdline,Cg,””,13,styleCloud);

_SECTION_END();

PANEL-2

//Jupiter-2
_SECTION_BEGIN(“Jupiter”);
Var1=(Close-LLV(Low,80))/(HHV(High,80)-LLV(Low,80))*200;
Var2=WMA(Var1,3);
Var3=WMA(Var2,3);
Var4=3*Var2-2*Var3;
Var5=LLV(Low,5);
Var6=HHV(High,5);
Var7=EMA((Close-Var5)/(Var6-Var5)*100,4)*2;
Var8=EMA(0.667*Ref(Var7,-1)+0.333*Var7,2);
Var9=3*Var7-2*Var8;
VarA=MA(C,5)*MA(C,5)+MA(Close,5);
VarB=MA(L,5)*MA(L,5)+MA(Low,5);
VarC=MA(H,5)*MA(H,5)+MA(High,5);
VarD=(VarA-LLV(VarB,64))/(HHV(VarC,64)-LLV(VarB,64))*150+55;
VarE=WMA(VarD,3)*1.5-100;
VarF=WMA(VarE,3);
Var10=3*VarE-2*VarF;
Var11=(High+Low+Close*2)/4;
Var12=EMA(Var11,13);
Var13=StDev(Var11,13);
Var14=(Var11-Var12)*100/Var13;
Var15=EMA(Var14,5);
Var16=EMA(Var15,13);
Var17=EMA(Var15,13)+200-100;
Var18=EMA(Var17,10);
Var19=3*Var17-2*Var18;
Var1A=Var2+Var7+VarE+Var17;
Var1B=Var3+Var8+VarF+Var18;
Var1C=Var4+Var9+Var10+Var19;
Var1D=(High+Low+Close)/3;
//Var1E=AMOUNT/VOL/100;
Var1E=C/100;
//Var1F=Sum(AMOUNT,5)/Sum(VOL,5)/100;
Var1F=MA(C,5)/100;
Var20=(Var1D-MA(Var1D,34))/(0.015*StDev(Var1D,34));

Var21=EMA(C/100,1);
Var22=(High+Low+Close+Var1D)/4;
Var23=EMA(Var22,24);
Var24=StDev(Var22,24);
Var25=(Var22-Var23)/Var24*100;
Var26=(Var1D-MA(Var1D,24))/(0.015*StDev(Var1D,24));
Var27=EMA(Var25,5);
Var28=(Var1E-MA(Var1E,21))/(0.015*StDev(Var1E,21));
Var29=(Var1F-MA(Var1F,90))/(0.015*StDev(Var1F,90));
Var2A=((Var29+Var28+Var27+Var26+Var20)/3+165)/4;
Var2B=(EMA(EMA(EMA(Var2A,15),10),5)-25)*2+Var21;
Var2C=(Var1A+Var1B+Var1C*30)/32/5-15;
Var2D=EMA(Var2C,13);
Var2E=(Var2A+Var2C)/2/1.1;
dx1=EMA(Var2E,3);
Plot(dx1,”Dx1″,7,1);
dx2=EMA(DX1,10);
Plot(dx2,”Dx2″,4,1);
zx=EMA((Var2B+Var2D)/2,2);
//Plot(zx,”zx”,8,1);

Linecolor = IIf(zx > Ref(zx,-1), colorBrightGreen, colorRed);
Plot(10, “”,Linecolor, styleOwnScale|styleArea|styleNoLabel,-0.5, 350 );
Plot(IIf(zx>100,30,0), “”,colorRed, styleOwnScale|styleArea|styleNoLabel,-0.5, 350 );

Buy =(Cross(dx1,dx2) AND dx1<50)*20;
Sell=(Cross(dx2,dx1) AND dx1>50)*20;
Plot(Buy, “BUY”, 8,2+4);
Plot(Sell, “SELL”, 4,2+4);
_SECTION_END();

PANEL-3

//Jupiter-3
_SECTION_BEGIN(“Jupiter”);

Lookback = Param(“BackPds”, 60, 30, 80, 1 );
Pds = Param(“Periods”, 14, 7, 21, 1 );

PerCent =95;
Baseline=50;
b=( ( C+2 * StDev( C,pds ) – WMA( C,pds ) ) / ( 4 * IIf(StDev( C,pds )==0,1,StDev(C,pds)) ) ) * 100;
b1=EMA(EMA(b,3),7);

Osc=b;
Value1 = WMA(EMA(Osc,3),3);
Value2 = HHV(Value1,Lookback);
Value3 = LLV(Value1,Lookback);
Value4 = Value2 – Value3;
Value5 = Value4 * (PerCent / 100);
Value6 = Value3 + Value5;
Value7 = Value2 – Value5;
baseline=IIf( Osc < 100 ,50 ,IIf( Osc < 0, 0, 70));
Plot(Value1,”Line”,colorRed,4);
Plot(Value6,”Top”,7,4);
Plot(Value7,”Bottom”,7,4);
Plot(b1,”Signal” ,colorBlue,4);
_SECTION_END();