Metastock to AFL Amibroker

Please use code tags when inserting code.
Important read:


Yield6months = ROC(C, 26);
Volatility = MA(ATR(1),20) / MA(C,20) *100;
Preco = C;
Volume = MA(V*C,10);