Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom ATM strategy won't in 'ATM Strategy' dropdown

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

    Custom ATM strategy won't in 'ATM Strategy' dropdown

    Greetings

    I have a custom ATM strategy that I created in NinjaScript Editor. How do I make it usable as an 'all the time' strategy vs. having to select it every time via right-click, Strategies?

    The script compiles. I tried creating a custom template of the same name, but this does not work. This creates XML code and does not reference my custom code. I want to have it added to the 'ATM Strategy' dropdown in the chart trader.

    Thanks in advance for the help !

    Bill P.
    Last edited by LoneWolfTradingGroup; 02-19-2025, 04:10 PM. Reason: spelling error

    #2
    Hello LoneWolfTradingGroup,

    Strategies always require manually applying because they trade in your place, that is how you would start a strategy. For ATM templates you need to use a tool like the chart trader to create the template and save it, once you do that you can reference the saved template in your strategies code. You can see the SampleATMStrategy script for an example of executing an ATM.

    Comment


      #3
      So I have to create potentially inferior strategies within the 'custom' feature of the Chart Trader option to have them show up in the drop down? I see some 3rd party strategies that you can copy into a specified folder and they appear i.e. XABCD Trading. Would I have to migrate my NinjaTrader script to XML code in order for them to appear? Sorry to be a pest and thanks again.

      Comment


        #4
        What does your strategy do that you can't do within the ATM Strategy itself? What is the purpose of having it in the drop down as opposed to being able to use it as a strategy?

        Comment


          #5
          Originally posted by rockmanx00 View Post
          What does your strategy do that you can't do within the ATM Strategy itself? What is the purpose of having it in the drop down as opposed to being able to use it as a strategy?
          As I play with it, you may be right. I think I can do what I was doing programmatically within the create custom tool. I will keep working on it.

          The reason to have it on the drop down is speed of deployment. I have yet to investigate hot keys on this platform, so that may solve my problem as well. I come from the ToS world so I'm spoiled, and a tad more knowledgeable, on the fast ways to get things done. Thanks for the input.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          87 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          128 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          65 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          117 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          67 views
          0 likes
          Last Post PaulMohn  
          Working...
          X