Comment on Trading Systems

Manish commented on 01 Dec 2013, 06:29 AM

Hello Zerodha,

This code is giving me error “Undefined Variable ‘Buy’.. Please help.

Buy: MACD (26, 13, 9, EXPONENTIAL) > MACDSIGNAL (26, 13, 9, EXPONENTIAL) AND REF (MACD (26, 13, 9, EXPONENTIAL), 1) > 0 AND REF (MACDSIGNAL (26, 13, 9, EXPONENTIAL), 1) > 0

Sell: MACD (26, 13, 9, EXPONENTIAL) < MACDSIGNAL (26, 13, 9, EXPONENTIAL) AND REF (MACD (26, 13, 9, EXPONENTIAL), 1) < 0 AND REF (MACDSIGNAL (26, 13, 9, EXPONENTIAL), 1) < 0

View the full comment thread »