• 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

Syncronize all strategies after order placement

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

    Syncronize all strategies after order placement

    Hi Support

    I have 3 automated strategies running on an instrument in NT8, they submit buy and sell entries independently.

    After each signal and when an order is placed, I would like the strategies to automatically syncronize.

    How can I get the strategy that placed the last order to automatically syncronize all strategies (other than going into the Strategies tab, select them, right click and click Syncronize all strategies)?

    Is there a line of code I can put into NinjScript below the entry?:

    EnterLong("1stUp");
    (code here to call an auto sync command)

    Kind regards,

    #2
    Hello, thanks for your post.

    The best thing to do in this case would be to unify the 3 strategies into 1 strategy. NinjaTrader supports multiple time frame and instrument scripts. More details on this here.

    If that can not be done, you could create ab AddOn that calls one of the order entry methods and have your strategies call those functions to sync the account manually.

    Please let me know if I can assist any further.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by safbrathpro, Today, 05:51 AM
    0 responses
    1 view
    0 likes
    Last Post safbrathpro  
    Started by abfefmu, Today, 05:33 AM
    0 responses
    1 view
    0 likes
    Last Post abfefmu
    by abfefmu
     
    Started by bbdjad, Today, 04:36 AM
    0 responses
    4 views
    0 likes
    Last Post bbdjad
    by bbdjad
     
    Started by mittie3, Today, 03:33 AM
    0 responses
    7 views
    0 likes
    Last Post mittie3
    by mittie3
     
    Started by Againmain1, Today, 03:04 AM
    0 responses
    8 views
    0 likes
    Last Post Againmain1  
    Working...
    X