Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Value Set

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

    Indicator Value Set

    Is there a way to not Set the Value.Set parameter within an indicator so the indicator still works when called from a strategy. I have other public DataSeries objects that i am using other than Value.

    By setting one of them to value will override my plot settings for one of the other dataseries objects........Need Fix!

    #2
    Hello,

    Thanks for the forum post.

    Sorry not sure exactly what your trying to do and why setting value is a bad thing in your case?

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Its not a bad thing with simple indicators. But if i am using a conditional indicator within an indicator like a crossover or > < 2 values and then setting the resultant to a public DataSeries object to be plotted on a chart. When i do this for an indicator it works fine.

      When i have 2 plots within an indicator, and 2 Parameter DataSeries set as the primary plots i have the "extra" value.set dataseries that i will receive an error when running a strategy if its not set to something other than null, which is apparently what it is set to when its set to nothing.

      Question is, what can i set the value object to so that its not null, but so that it does not affect any of the plots on the chart?

      Comment


        #4
        Ben, have you tried calling .Reset() on this series, so value is 0 for calcs but ignored for plotting?

        Comment

        Latest Posts

        Collapse

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