Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Script To Invoke an ATM Strategy that uses OCO

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

    Strategy Script To Invoke an ATM Strategy that uses OCO

    I have searched and searched but have not found this exact question.

    I am wanting to place bracket OCO orders on a chart, have the PT/SL/TS all managed by an ATM, and have all of this being within a strategy.

    So, I want to build a strategy that invokes an ATM strategy (I know how this part is done)--but I want to use OCO order(s) to submit a bracket order --to mirror what is possible in the "manual" use of an ATM to set a bracket order on a chart.

    Is this possible?

    If "not possible", is there a way to program a button or whatever to apply the ATM strategy selected on Chart Trader to whatever orders are on the chart (from a strategy that put them there)?

    #2
    Hello EminiTrader,

    This is possible but I'm not aware of a script that demonstrates this complexity.

    The AtmStrategyCreate() method does not have a OCO ID so you would need to use logic to submit the orders, or use the Addon approach.


    Below is a link to an example with the addon approach.
    SubmitOrderWithAtmAddonExample - Saving AtmStrategy Templates - NinjaTrader Support Forum
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    56 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    33 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    195 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    359 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    280 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X