if (CurrentBar == 0) EnterLongStopMarket(18.67);
This results in an error: "An order has been ignored since the stop price ‘18.67’ near the bar stamped ‘18.10.2021 19:00:00’ is invalid based on the price range of the bar."
I dont understand why. I would expect to buy when the price falls to 18.67 a few days after the first bar.
Comment