Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 11 May 2013, 07:56 AM


Sorry had missed your query,

Looking at this I can see 2 reasons,
1. Instead of using the Crossover function, just use the > or < , for example use this instead of crossover: MACD(26,13 9,EXPONENTIAL) > MACDSIGNAL (26,13,9,EXPONENTIAL)

2. MACD and MACD signal use exponential moving average and not simple average for plotting. This may also be creating the mismatch.

View the full comment thread »