Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Autoscale for oscilators, not just drawings...

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

    #16
    Code:
    [Browsable(false)]    // this line prevents the data series from being displayed in the indicator properties dialog, do not remove
            [XmlIgnore()]        // this line ensures that the indicator can be saved/recovered as part of a chart template, do not remove
            public DataSeries ******er
            {
                get { return Values[0]; }
            }
    
            [Browsable(false)]    // this line prevents the data series from being displayed in the indicator properties dialog, do not remove
            [XmlIgnore()]        // this line ensures that the indicator can be saved/recovered as part of a chart template, do not remove
            public DataSeries DEM_UPPER
            {
                get { return Values[0]; }
            }
    You cannot have both set to Values[0]. Browsing through it looks like you dont use this ******er DataSeries at all?
    Josh P.NinjaTrader Customer Service

    Comment


      #17
      That's true. That was a copy/paste from one of my other versions. I'll pull that.

      Comment


        #18
        In your code you are using LinesConfigurable = true and not like what you said in the thread. Please clarify which way you would like it. Thank you.
        Josh P.NinjaTrader Customer Service

        Comment


          #19
          I had it turned off and experimented with turning it on. I would ultimately like it off (false).

          Comment


            #20
            Hi noevictorian, so you look for an input that modifies the ob / os lines and is as well picked for the coloring of the osc?

            Comment


              #21
              Originally posted by NinjaTrader_Bertrand View Post
              Hi noevictorian, so you look for an input that modifies the ob / os lines and is as well picked for the coloring of the osc?
              Yes. I would like to have a property that sets the OB OS lines but also plays out through the other logic in the script. For example the color changing oscillator you mention, and also in some of those text "6"s I'm drawing.

              Comment


                #22
                Then use a line plot for this, as in this little sample here attached. Just look for my two Up Dn inputs and change your script then...
                Attached Files

                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