if (Low[0] > SMA(200)[0] && ((RSI(3, 1)[0] + RSI (3, 1)[1]) <= 20))
{
EnterLongLimit(DefaultQuantity, Close[0], "EinstiegLong");
double value = MAX(ATR(20), 900)[0];
value = Close [0] - (value * 5);
SetStopLoss("EinstiegLong", CalculationMode.Price, value, false);
}
Thats my exit order:
if (RSI(3, 1)[0] >= 75)
{
ExitLongLimit(Close [0], "EinstiegLong");
}
This does not work. If I replace the exit order, with a
market order, it works. But the limit order does not work.
Thank you.
Comment