• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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,
    https://ninjatrader.com/support/help...hangeorder.htm

    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 Bionian, Today, 10:10 AM
        1 response
        10 views
        0 likes
        Last Post Emma1
        by Emma1
         
        Started by tonynt, Today, 10:47 AM
        0 responses
        7 views
        0 likes
        Last Post tonynt
        by tonynt
         
        Started by sgordet, Today, 10:01 AM
        0 responses
        4 views
        0 likes
        Last Post sgordet
        by sgordet
         
        Started by D Trader, Today, 09:43 AM
        0 responses
        5 views
        0 likes
        Last Post D Trader  
        Started by rafaelabe1977, Today, 03:51 AM
        1 response
        10 views
        0 likes
        Last Post sledge
        by sledge
         
        Working...
        X