Hello,
Here is a strategy idea for GBPUSD H1.
Strategy was originally optimized IS for 2014-2017 and showed good result for 2013 – 2019. Years before that the result are not so good. Note that SL is set to 1000, which in reality means there is no SL until a new order is triggered in the opposite direction or the order meets its TP. Any ideas of improvement or tips, please share 🙂
//GBPUSD STOCH RSI SMA Lose
DEFPARAM CumulateOrders = true//
tradestart = time > 090000
Tradeend= time < 210000
TP =50
SL =1000
SMA5 = Average[5](close)
SMA10 = Average[10](close)
STOCH = Stochastic[14,3](close)
indicator4 = Average[5](STOCH)
RSIind = RSI[14](close)
// Conditions to enter long positions
c1 = (SMA5 CROSSES OVER SMA10)
c2 = (STOCH - indicator4 >10)//Stochastic upward momentum
c3 = (RSIind > 45)//RSI upward momentum
c5 = (average[10](STOCH)<45)// Stochastic not yet overbought
//Conditions to enter short
d1 = (SMA5 CROSSES UNDER SMA10)
d2 = (STOCH - indicator4 <-10)//Stochastic downward momentum
d3 = (RSIind < 55)//RSI downward momentum
d5 = (average[10](STOCH)>55)//Stochastic not yet oversold
IF c1 AND c2 AND c3 AND c5 AND tradestart AND tradeend THEN
BUY 1 CONTRACT AT MARKET
Set target pprofit TP
SET STOP pLOSS SL
ENDIF
IF d1 AND d2 AND d3 AND d5 AND tradestart AND tradeend THEN
SELLshort 1 CONTRACT AT MARKET
Set target pprofit TP
SET STOP pLOSS SL
ENDIF