Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Price Series Selector

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

    Price Series Selector

    Hello.

    Is it possible to add a price series selector as a Parameter to an indicator. I want to be able to select High/Low/Close for certain things.

    I guess I want to add one of these selectors:

    Click image for larger version

Name:	image.png
Views:	105
Size:	6.5 KB
ID:	1275173

    Alternatively, is there an built in Enum containing the various price series which I can utilise?


    #2
    The enum you're looking for is PriceType.

    Comment


      #3
      Hello kevinenergy,

      Thanks for your post.

      User inputs would be generated by making a public property, you could make a public PriceType property to make a user input for that.

      Code:
      public PriceType MyPriceType {get;set;}
      If you also wanted this to be part of the indicators parameters when you call it from code you could add the NinjaScriptPropertyAttribute to it.

      NinjaScriptPropertyAttribute: https://ninjatrader.com/support/help...criptAttribute
      <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      579 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      334 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      551 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X