• 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

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.

      http://ninjatrader.com/support/forum...555#post515555

      And a link to example indicators that modify WPF elements.

      http://ninjatrader.com/support/forum...327#post499327
      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.
          https://ninjatrader.com/support/foru...276#post822276

          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 linuxguru, Yesterday, 06:02 PM
              1 response
              15 views
              0 likes
              Last Post NinjaTrader_ChrisSch  
              Started by Traffic, Today, 05:06 AM
              2 responses
              7 views
              0 likes
              Last Post Traffic
              by Traffic
               
              Started by kokobeef, Yesterday, 06:00 PM
              3 responses
              12 views
              0 likes
              Last Post NinjaTrader_Marco  
              Started by bkinvent, Yesterday, 09:45 PM
              0 responses
              7 views
              0 likes
              Last Post bkinvent  
              Started by Bionian, Yesterday, 03:07 PM
              1 response
              15 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Working...
              X