// Long Entry
double currentAsk = GetCurrentAsk();
if (Close[0] > ema[0] && rsi[0] ..................... rest of my condition)
{
double stopPrice = currentAsk;
if (stopPrice > GetCurrentBid())
{
EnterLongStopMarket(5, stopPrice, "Long");
}
}
Buy stop or buy stop limit orders can't be placed below the market. affected Order: BuyToCover 5
other errors in screenshots bellow:
How can I fix this please?

Comment