• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Jasper99, Yesterday, 10:29 PM
    1 response
    26 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by Jasper99, Yesterday, 09:50 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by StevenNelson, Yesterday, 05:57 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by ttodua, Today, 03:40 AM
    0 responses
    5 views
    0 likes
    Last Post ttodua
    by ttodua
     
    Started by chnh1, Yesterday, 11:51 PM
    0 responses
    13 views
    0 likes
    Last Post chnh1
    by chnh1
     
    Working...
    X