Skip to main content

DNS - Dave New system for Amibroker (AFL)

extremist about 13 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    oscillator, amibroker

logic by : Dave Evans.
originally he has coded it for metastock

I just translated it to AFL.

Screenshots

Indicator / Formula

Copy & Paste Friendly
DNS=
IIf(SAR(.02,.2)<C,1,0) +
IIf((EMA(C,5)>EMA(C,13)),1,0) +
IIf((EMA(C,13)>EMA(C,40)),1,0) +
IIf((EMA(C,8)-EMA(C,17))>(EMA(EMA(C,8)-EMA(C,17),9)),1,0)+ 
IIf(MA(C,50) -Ref(MA(C,50),-15) > 0,1,0)+
IIf((EMA(ROC(C,12),3)>=-6 OR ROC(C,12)>0),1,0)+
IIf(OBV()>MA(OBV(),40),1,0)+
IIf(V>MA(V,120),1,0);

Plot (DNS,"\n DNS : " ,ParamColor( "DNS Color", colorWhite ), ParamStyle("DNS Style",styleLine,maskAll));

Plot(3,"",colorLightGrey,styleDashed);
Plot(5,"",colorLightGrey,styleDashed);
Plot(8,"",colorLightGrey,styleDashed);

1 comments

Leave Comment

Please login here to leave a comment.