Please code the following strategy
Time Frame 15min
NIFTY
BUY: If 3 candles make higher high and RSI > 50
Exit at 3.15pm or for 20 points
SELL : If 3 candles make lower low and RSI <50
EXIT at 3.15pm or 20 points.
Thank you
Please code the following strategy
Time Frame 15min
NIFTY
BUY: If 3 candles make higher high and RSI > 50
Exit at 3.15pm or for 20 points
SELL : If 3 candles make lower low and RSI <50
EXIT at 3.15pm or 20 points.
Thank you
HIGH > REF(HIGH,1) AND
REF(HIGH,1) > REF(HIGH,2) AND
RSI(CLOSE,14) > 50
LOW < REF(LOW,1) AND
REF(LOW,1) < REF(LOW,2) AND
RSI(CLOSE,14) < 50