The strategy entered too early. Entry needs to be when 10 minute (adapted) RSI(2) is closed above 70 and 1 minute (adapted) RSI(5) also closes above 70 in a downtrend defined by the 172 minute (adapted) RSI(2).
Proper conditions occurred in the 172 minute RSI and 1 minute RSI however 10 minute RSI was about 56 when it took the short. I'm baffled. How is this possible?
It took the same trade in AUD/JPY correctly but incorrect entry on EUR/USD. Entry condition code shown below. Image of trade is included. Any ideas? I'm baffled.
if (orderId.Length == 0 && atmStrategyId.Length == 0 && Falling(CUMRSI(BarsArray[1],periodRsi,3)) && CUMRSI(BarsArray[2],periodRsi,3)[0] > upper && CUMRSI(BarsArray[0],rPeriod,3)[0] > upper) { atmStrategyId = GetAtmStrategyUniqueId(); orderId = GetAtmStrategyUniqueId(); AtmStrategyCreate(OrderAction.SellShort, OrderType.Market, 0, 0, TimeInForce.Day, orderId, "EURUSD ATM",atmStrategyId); }
I've confirmed all my variables are as they should be
Comment