Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    5 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    14 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    13 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,982 views
    3 likes
    Last Post jhudas88  
    Working...
    X