Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dropdown list for input

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

    Dropdown list for input

    Hello everyone, I want to make a drop-down list with my existing ATM strategies for an input variable. I want to pass this list to a function to create a strategy.

    AtmStrategyCreate(OrderAction.Buy, OrderType.Market, 0, 0, TimeInForce.Gtc, orderId, ATMStrategy, atmStrategyId, (atmCallbackErrorCode, atmCallBackId)


    Is it possible?
    In the screenshot below, I'll show you what it should look like.
    Attached Files

    #2
    Good reading here.

    Found via this search.

    Google is your friend.

    TIP:
    Always preface your search with 'NinjaTrader' and
    you'd be amazed at what Google is able to find on
    these forums.

    Comment


      #3
      Hmm ...

      You would think NinjaScript would already have a builtin
      PropertyEditor for selecting an Atm strategy.

      Something in the NinjaTrader.Gui.Tools namespace perhaps?

      Maybe Chelsea can find one for us.

      Comment


        #4
        Hello bltdavid,

        There is a built in UI Control, but not a built in PropertyEditor.
        Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.


        A custom type converter string editor would need to be used.

        Below is a link to an example provided by NinjaTrader_Jesse.

        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by bltdavid View Post
          Good reading here.

          Found via this search.

          Google is your friend.

          TIP:
          Always preface your search with 'NinjaTrader' and
          you'd be amazed at what Google is able to find on
          these forums.

          It's what i looked for. Thank you.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by kinfxhk, 07-13-2026, 10:18 AM
          0 responses
          57 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 07-13-2026, 09:50 AM
          0 responses
          39 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 07-13-2026, 07:21 AM
          0 responses
          45 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 07-11-2026, 02:11 AM
          0 responses
          35 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by SalmaTrader, 07-07-2026, 10:26 PM
          0 responses
          153 views
          0 likes
          Last Post SalmaTrader  
          Working...
          X