Need Help Coding a Strategy in Amibroker

#1
Hey guys need your help coding an AFL strategy. Would be of great help if you could do so. Its a good strategy by one of reputed Traders.

Time Frame : 15 mins

Buy Conditions :

1. The Second Candle should break the low of the first candle, I mean 1st candle low should be greater than 2nd candle low. Then we buy at the high of the second candle. Stoploss would be the low of the 2nd candle. Target is auto square off at 3pm. If the price reaches the high of 1st candle the stop loss would be trailed to Cost-to-Cost.


Sell Conditions :

1. 1. The Second Candle should break the high of the first candle, I mean 1st candle high should be less than 2nd candle high . Then we sell at the low of the second candle. Stoploss would be the high of the 2nd candle. Target is auto square off at 3pm. If the price reaches the low of 1st candle the stop loss would be trailed to Cost-to-Cost.


It would be of much help if someone could help me code this.

Thanks in advance.

Massy
 

Similar threads