Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 30 Apr 2013, 03:45 PM

Faisal, EMA crossover is pretty simple, also explained above:

Buy: EMA(Close,5)>EMA(Close,3) Sell: EMA(Close,5)<EMA(Close,3)

Buy exit: 0 Sell exit: 0

Profit of 1st lot 2nd lot etc would not be possible as they are not really a technical analysis condition.

But you can use the code above for buy/sell indicators and also backtest and see if it would have worked.

View the full comment thread »