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:	121
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 CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      27 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      183 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      335 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      260 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X