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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X