Hi hmp,
The AFL looks good. For backtesting Buy and Sell variables need to be defined in the AFL. With my limited knowledge of AFL I am unable to write the Buy and Sell condition for the AFL. Need help from AFL experts for the same.
The AFL looks good. For backtesting Buy and Sell variables need to be defined in the AFL. With my limited knowledge of AFL I am unable to write the Buy and Sell condition for the AFL. Need help from AFL experts for the same.
Code:
Buy = UpTrendSignal; Sell= DownTrendSignal;
Buy = ExRem(Buy,Sell); Sell = ExRem(Sell,Buy);
Short = Sell; Cover = Buy;
SetPositionSize(100,4);