Comment on Zerodha Insider Tool - To help you spot trading opportunities

RS1162 commented on 12 Dec 2013, 12:36 PM

How to write algo code with the following condition

EMA
——–

CMP CLOSE > 4 EMA.AND 4EMA > 9EMA AND 9EMA >18 EMA SHOW BUY SIGNAL
CMP CLOSE < 4 EMA.AND 4EMA < 9EMA AND 9EMA <18 EMA SHOW SELL SIGNAL
ANY INTER MINGLING BETWEEN THE EMA LINE BOOK PROFIT

RSI 14
——–
RSI 80 SELL SIGNAL

BOLLINGER BAND —–20
————————————
CROSS ABOVE 20 DAY AVERAGE BUY SIGNAL
CROSS BELOW 20 DAY AVERAGE SELL SIGNAL
IF TOUCH UPPER BAND EXIT LONG
IF TOUCH LOWER BAND EXIT SHORT

MACD
———-
SHORT DURATION -12, LONG DURATION -26 , SIGNAL PERIOD – 9 ( SLOWER LINE)

IF FASTER LINE > SLOWER LINE .AND. BELOW THE 0 LINE BUY SIGNAL
IF FASTER LINE < SLOWER LINE AND ABOVE ZEROLINE SELL SIGNAL

View the full comment thread »