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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          80 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          40 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          63 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          63 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          54 views
          0 likes
          Last Post CarlTrading  
          Working...
          X