AFL code in Amibroker
Strategy used
Cross over of Moving Average of 5 and 20.
With Condition below
1 ) Buy when signal of buy
2 ) next candle to be higher than the signal
3 ) System will buy the quantity on the buy signal
4 ) Every buy signal quantity will increase by one.
5 ) Exit When ever profit is more than 2 %.