Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 13 May 2013, 02:54 PM

Sorry Sridhar,

Had missed this query,

Strategy 1:

BUY: EMA (CLOSE, 12) > EMA (CLOSE, 26) AND MACD (26, 13, 9, EXPONENTIAL) > 0 AND REF (MACD (26, 13, 9, EXPONENTIAL), 1) < 0

SELL: EMA (CLOSE, 12) < EMA (CLOSE, 26) AND MACD (26, 13, 9, EXPONENTIAL) < 0 AND REF (MACD (26, 13, 9, EXPONENTIAL), 1) > 0

Strategy 2:

BUY: EMA (CLOSE,12) > EMA (CLOSE, 26) AND CLOSE > PSAR (CLOSE, 0.02, 0.2)

SELL: EMA (CLOSE, 12) < EMA (CLOSE, 26) AND CLOSE < PSAR (CLOSE, 0.02, 0.2)

View the full comment thread »