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 MatthewLesko, Today, 11:13 PM
      0 responses
      3 views
      0 likes
      Last Post MatthewLesko  
      Started by Lance El Camino, Today, 04:14 PM
      1 response
      13 views
      0 likes
      Last Post s.kinra
      by s.kinra
       
      Started by jtrading82, Today, 04:56 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by dmking, Today, 06:00 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_EricB  
      Started by WHICKED, Today, 03:23 PM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X