Cum(If(C<Ref(CLOSE,-2),1,0)) - ValueWhen(1,Ref(Fml("TD - SetUp-Buy" ), 
1)=1,
Cum(If(C<Ref(C,-2),1,0)))





Could some one help convert the above  metastock statement to afl

Thanks



Reply via email to