Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pulling ATM Strategy template names?

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

    Pulling ATM Strategy template names?

    I am currently utilizing the AtmStrategyCreate() method with success, but is it possible for the strategyTemplateName parameter to be pulled dynamically from the existing list of ATM Strategies without having to hard-code the exact name in the NinjaScript code itself? e.g. have the template name be a variable, where it changes based off the ATM Strategy selected in the Chart Trader.

    #2
    Hello daigo1,

    It is possible to make a control to select an Atm, but I am not aware of a way to get a list of these as strings.

    Below is a link to an example that has an Atm Strategy selector.
    http://ninjatrader.com/support/forum...555#post515555


    You could also get the selected atm from the ChartTrader as well if you wanted.
    https://ninjatrader.com/support/foru...775#post752775
    Last edited by NinjaTrader_ChelseaB; 04-08-2020, 02:28 PM.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you Chelsea, this is great stuff. I think I have a good idea of how to approach this now.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sdauteuil, Yesterday, 09:38 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by fscabrera03, Yesterday, 09:23 PM
      1 response
      13 views
      0 likes
      Last Post RJay
      by RJay
       
      Started by paulmadson, Today, 06:10 AM
      0 responses
      1 view
      0 likes
      Last Post paulmadson  
      Started by memonolog, Today, 06:03 AM
      0 responses
      1 view
      0 likes
      Last Post memonolog  
      Started by space_trader, Today, 04:44 AM
      0 responses
      4 views
      0 likes
      Last Post space_trader  
      Working...
      X