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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    137 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    120 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X