Quantcast
Channel: Traderji.com
Viewing all articles
Browse latest Browse all 10287

Help convert Metastock to AFL

$
0
0
Hello,

I'm looking for an AFL equivalent to this Metastock code:

Dave's New System (DNS)

If(SAR(.02,.2)<C,1,0) +
If((Mov(C,5,E)>Mov(C,13,E)),1,0) +
If((Mov(C,13,E)>Mov(C,40,E)),1,0) +
If((Mov(C,8,E)-Mov(C,17,E))> (Mov(Mov(C,8,E)-Mov(C,17,E),9,E)),1,0) +
If(Mov(C,50,SIMPLE) - Ref(Mov(C,50,SIMPLE),-15)> 0,1,0) +
If((Mov(ROC(C,12,%),3,E)>=-6 OR ROC(C,12,%)>0),1,0)+
If(OBV()>Mov(OBV(),40,S),1,0) +
If(V>Mov(V,120,S),1,0)

Essentially, it evaluates a series of conditions and creates a "score" which is then graphed. Any suggestions?

Thanks in advance!

Viewing all articles
Browse latest Browse all 10287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>