[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Conversion Metastock in AFL



PureBytes Links

Trading Reference Links

Hello,

I am assuming this is an explore formula, so load into AA, Apply to : (
all stocks or use filter ) , set range to : n last quotations and n=1,
click explore.

altbar=IIf(C>O AND Ref(C,-1)<Ref(O,-1),1,IIf(C<O AND
Ref(C,-1)>Ref(O,-1),1,0));
conbar=IIf(C>Ref(L,-1) AND C<Ref(H,-1),1,0);
dojibar=IIf(abs((C/O)-1)*100<0.05,1,0);

Final=Sum(altbar,3)>=3 OR Sum(conbar,4)>=4 OR Sum(dojibar,4)>=4;

Filter=Final > 0;
AddColumn(final,"Final");

Inwind wrote:

>
>
>
> Yahoo! Groups Sponsor
ADVERTISEMENT
[Click Here!]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.