Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dropdown in Parameters UI of a strategy

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

    Dropdown in Parameters UI of a strategy

    I want the customer to choose a value from a dropdown in Parameters UI of a strategy. Just simple int values (e.g. 11,22,44).
    There is a example for indicators https://ninjatrader.com/support/help...ned_parame.htm
    but not for strategies. I can't get this thing working in a strategy.

    #2
    Hi starcd, thanks for your question.

    This example will work in the strategies class as well. I attached my test script. The important thing to note here is the Enum is defined in its own namespace outside of the indicator/strategy class.

    Please let me know if I can assist any further.

    Attached Files
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Ahh...the namespace did the trick.

      Thanks a lot

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by WHICKED, Today, 09:05 PM
      0 responses
      9 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by luislag14, Today, 06:29 PM
      0 responses
      8 views
      0 likes
      Last Post luislag14  
      Started by Protech, Today, 11:08 AM
      1 response
      23 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by guilhem, Today, 02:09 PM
      1 response
      24 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by Hyper, Today, 12:20 PM
      1 response
      23 views
      0 likes
      Last Post NinjaTrader_Jim  
      Working...
      X