Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 11 May 2013, 08:17 AM


let me give you an example,

Assume the 3 candle ema crossovers the 5 at 5900, you will get a buy trigger and assume it went up and it came down to 5 candle ema again at 5910. This is your exit strategy and you will get a sell trigger.

But this is not your sell strategy, the next fresh sell trigger will happen when your condition: EMA(Close,3)< EMA(Close,5) is met.

If you want to exit and take a fresh sell, then you need to keep your buy exit and sell as same strategy or you can keep exit as 0 and keep sell.

Hope, this clarifies, let me know if it didn’t.


View the full comment thread »