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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    161 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    81 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    125 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    206 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    184 views
    0 likes
    Last Post CarlTrading  
    Working...
    X