Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is there a method to open/enable an ATM Strategy?

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

    Is there a method to open/enable an ATM Strategy?

    I've been using CloseStrategy() to disable my ATM strategies when parameters are no longer met. I watch the charts in real-time and physically enable ATM strategies when parameters are met. I wanted to know is there a method that does this automatically based on coded parameters? I looked in the section where CloseStrategy() is, and I didn't see anything that looks like it could work. Thanks in advance!

    #2
    Hello jamestrader21x,

    Thank you for your note.

    Yes, you absolutely can submit an order with an attached ATM from a NinjaScript Strategy. There's a built in Sample ATM Strategy that you can take a look at in the NinjaScript Editor that illustrates this (Note you will need an ATM template called 'AtmStrategyTemplate' created and saved prior to starting the strategy for it to function).

    I would suggest first reviewing the following help guide pages:

    Using ATM Strategies — https://ninjatrader.com/support/help...strategies.htm
    ATM Strategy Methods — https://ninjatrader.com/support/help...gy_methods.htm

    The actual entry order submission would be done with AtmStrategyCreate():



    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    172 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    88 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    128 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    208 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    185 views
    0 likes
    Last Post CarlTrading  
    Working...
    X