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 zacharydw00, Today, 05:14 PM
      0 responses
      7 views
      0 likes
      Last Post zacharydw00  
      Started by shahabjet1, Today, 04:47 PM
      0 responses
      14 views
      0 likes
      Last Post shahabjet1  
      Started by aligator, Today, 04:32 PM
      0 responses
      13 views
      0 likes
      Last Post aligator  
      Started by timko, Today, 04:02 PM
      0 responses
      10 views
      0 likes
      Last Post timko
      by timko
       
      Started by asmmbillah, Today, 03:37 PM
      2 responses
      18 views
      0 likes
      Last Post asmmbillah  
      Working...
      X