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 NullPointStrategies, Today, 05:17 AM
          0 responses
          23 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          120 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          63 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          41 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          45 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X