Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programmatically creating a new ATM strategy template.

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

    Programmatically creating a new ATM strategy template.

    Hi,
    How can I programmatically create a new ATM strategy template in order to subsequently submit an order with AtmStrategyCreate() using the recently created template.
    Thank You!

    #2
    Hello jmneto,

    Thanks for your post.

    NinjaScript does not offer any methods to programmatically create ATM strategy templates. To accomplish your goal, you can view the contents of existing ATM strategy templates and you can write code that can create these files. We have an example on using a StreamWriter which I will link below. ATM strategy templates are located in the Documents/NinjaTrader 8/templates/AtmStrategy/ folder.

    SampleStreamWriter - https://ninjatrader.com/support/help...o_write_to.htm

    Please let us know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X