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

AtmStrategySelector in indicator

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

    AtmStrategySelector in indicator

    I would like to add a strategy selector on a custom chart panel that I have created. I see there is an AtmStrategySelector in the AddOn base. But that does not work when calling it from an indicator. Is there a way to do this within an indicator?

    #2
    Can somebody from NT respond to my question? Thanks!

    Comment


      #3
      Hello martyn73,

      Apologies for the delay. I wrote up a response and failed to send it out.

      This would not be a property that could be added to indicators parameters, but it may be possible to add this control to the WPF elements of a chart using the Addon approach.

      Below is a link to an example that uses the Atm Strategy Selector.



      And a link to example indicators that modify WPF elements.

      Hello All, Moving forward this will be maintained in the help guide reference samples and no longer maintained on the forum. Creating Chart WPF (UI) Modifications from an Indicator - https://ninjatrader.com/support/help...ui)-modifi.htm (https://ninjatrader.com/support/helpGuides/nt8/creating-chart-wpf-(ui)-modifi.htm) I've

      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Thanks for the example. But my solution requires direct access to the ATM strategies without using a separate AddOn window. Is there a way to get the list of Atm strategies so I can add them to my own control?

        Comment


          #5
          Hello martyn73,

          The AtmStrategySelector automatically populates the list of Atm Strategies.

          Anything outside of this would require custom C# and would be outside of what is supported by NinjaTrader Support.


          AtmStrategy templates are located in Documents\NinjaTrader 8\templates\AtmStrategy. In your custom c# code one idea might be listing the file contents of this folder.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Thank you for the guidance. I have created my own ComboBox with the Atm strategies listed. Ideally it would also include the "Custom" value option that pops up the Custom Strategy Parameters window. Is there a way for me to call that?

            Comment


              #7
              Hello martyn73,

              I am not aware of a way of creating that without using an AtmStrategySelector object.
              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CortexZenUSA, Today, 12:53 AM
              0 responses
              1 view
              0 likes
              Last Post CortexZenUSA  
              Started by CortexZenUSA, Today, 12:46 AM
              0 responses
              1 view
              0 likes
              Last Post CortexZenUSA  
              Started by usazencortex, Today, 12:43 AM
              0 responses
              5 views
              0 likes
              Last Post usazencortex  
              Started by sidlercom80, 10-28-2023, 08:49 AM
              168 responses
              2,266 views
              0 likes
              Last Post sidlercom80  
              Started by Barry Milan, Yesterday, 10:35 PM
              3 responses
              13 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Working...
              X