Skip to main content

merk for Amibroker (AFL)

tasma about 14 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 2)
  • Tags:
    trading system, amibroker

alım satım ile ilgili bir formüldür

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Chart Settings");
SetChartOptions(0,chartShowArrows|chartShowDates);
SetChartBkColor(ParamColor("Outer Panel",colorPaleBlue)); 
SetChartBkGradientFill(ParamColor("Upper Chart",1),ParamColor("Lower Chart",23));
_SECTION_END();
m = Param("Periods", 10, 5, 20, 1 );
n = Param("Average", 4, 3, 10, 1 );
Var2=(High+Low+Close*2)/4;
Var3=EMA(Var2,m);
Var4=StDev(Var2,m);
Var5=(Var2-Var3)*100/IIf(Var4==0,1,Var4);
Var6=EMA(Var5,n);
Var7=EMA(Var6,n);
WW=(EMA(Var7,m)+100)/2-4;
MM=HHV(WW,n); 
Plot(ww, "WW", 8, 1+4);
Plot(mm, "MM", 4, 1+4);
Buy=IIf(ww>Ref(ww,-1) AND Ref(ww,-1)<Ref(ww,-2) AND ww<50,20,0);
Plot(Buy, "BUY", 8,2+4);
Sell=IIf(ww<Ref(ww,-1) AND Ref(ww,-1)>Ref(ww,-2) AND ww>50,20,0);
Plot(Sell, "SELL", 4,2+4);

2 comments

about 14 years ago

Hellow, Seems to be interesting. But do not know how to use this. Appreciate your help in understanding this.

Thanks
viswanath

Leave Comment

Please login here to leave a comment.