Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How in Unmanaged strategy to change pending orders price

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

    How in Unmanaged strategy to change pending orders price

    Hello.
    How in Unmanaged strategy change pending orders price or limit price OnExecutionUpdate or
    OnEachTick?

    #2
    Hello Czarek,

    Thank you for writing in.

    Changing an order within OnExecutionUpdate would not be recommended. Within OnBarUpdate would be better suited to ChangeOrder method.

    Please ChangeOrder method within our helpguide,


    Regarding your question about OnEachTick, what is your question exactly?

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      I would like to code trial stop in Unmanaged strategy.
      So what method should I use to do it? It should be updated on each incoming tick.

      Comment


        #4
        Hello Czarek,

        Thank you for writing in.

        I have put together and attached a sample strategy which uses a trailing stop using the unmanaged approach. You would want to run the strategy with Calculate set to OnEachTick if you'd like it to adjust on each tick.

        Please let us know if you need further assistance.
        Attached Files
        Alan P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        43 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        30 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        48 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        38 views
        0 likes
        Last Post CarlTrading  
        Working...
        X