Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entry Modification in Strategy Builder

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

    Entry Modification in Strategy Builder

    Currently, I use a market entry/exit order in my strategies. I would like to modify the entry long to read: market order minus 5 ticks; short entry; market order plus 5 ticks. I tried using the limit price but couldn't make it work. Thanks.

    #2
    Hello Fran888,

    A sell limit order must be above the market price (above the current bid) and a buy limit order must be below the market (below the current ask).

    If you want a working sell order below the market price, this will need to be a stop order, and if you want a working buy order above the market price, this will need to be stop order.

    If you don't want the price to update on each bar, save the calculated price to a variable once, and then submit the order on each new bar using the variable.

    Attached is a test script demonstrating.
    StopEntryOrderBuilderTest_NT8.zip
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    57 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    39 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    45 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    35 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    153 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X