My strategy uses two indicators: RSI14 (shift1 = rsi1, shift2 =
rsi2,
shift3 = rsi3) and SMA100 (shift1 = hma1, shift2 = hma2, shift3 =
hma3).
If ( rsi1 < rsi2, rsi2 >
rsi3, rsi2 > 70, hma1 < hma2, hma2 < hma3, candle2close > hma2 ) or
(
rsi1 < rsi2, rsi2 >
rsi3, rsi2 > 70, hma1 > hma2, hma2 > hma3 and opensell=true) assign
openbuy=true,
opensell=false and when
(rsi1 > 50, rsi2 < 50 and openbuy=true)
close SELL if is open and then open BUY.
If ( rsi1 > rsi2, rsi2 <
rsi3, rsi2 < 30, hma1 > hma2, hma2 > hma3, candle2close < hma2 ) or (
rsi1 > rsi2, rsi2 < rsi3, rsi2 <
30, hma1 < hma2, hma2 < hma3, openbuy = true) assign opensell =
true,
openbuy = false and when
(rsi1 < 50,
rsi2 > 50 and opensell = true)
close BUY if is open and then open SELL. Instrument = EURJPY,
SL
= 125, TP = 40, TF = 5 mins, lot = 0.00005*equity