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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        173 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        328 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        252 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        355 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        181 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X