Code: Select all
NO Stop shows up on the Entry Bar, but a Stop does appear after the close of the Entry Bar.
This is confirmed by the "Order and Position Tracker", which show NO order "Sent" on the Entry Bar BUT DOES show an order "SENT" at the open of the new bar after the Entry Bar.
This is kind of a big problem, and I am readily willing to concede that I am missing something, however, it is my understanding that SetStopLoss is SUPPOSED TO BE active immediately after an order is generated, not after the completion of the Entry Bar.
Can you please indicate how a Stop Loss (preferably using SetStopLoss) can be created for the Entry Bar and Entry Bar ONLY? Attached show same chart with same code listed above: first one with time remaining on Entry Bar (no stop generated); second one after completion of the Entry Bar (with stop generated at completion of Entry Bar). Thanks.