Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Close and open in the same bar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Close and open in the same bar

    Hello, how can I close a position (to market price) and put a new order (type "stop limit") in the same bar?

    Thanks.

    #2
    spyjesus, you could for example submit an ExitLong order and then submit the new StopLimit entry if this reports filled in your OnExecution() method - http://www.ninjatrader-support.com/H...Execution.html

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    127 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X