Comment on Code your Technical Analysis strategy

Hanan commented on 11 Oct 2013, 11:46 AM

Buy when previous RSI<30 and current RSI>30. Also Current low< previous candle low. Sell when previous RSI>60 and current RSI<60. Also current High > Previous candle high Basically i would like to have expression to find RSI divergence
Buy:
(REF(RSI(CLOSE, 14), 1) < 30) AND (RSI(CLOSE, 14) > 30) AND (LOW < REF(LOW, 1))
Sell:
(REF(RSI(CLOSE, 14), 1) > 60) AND (RSI(CLOSE, 14) < 60) AND (HIGH > REF(HIGH, 1)) RSI divergence: Currently not available in pulse.

View the full comment thread »