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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X