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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    116 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    61 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    40 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    43 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    82 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X