Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PlotStyle Line and Dot

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

    PlotStyle Line and Dot

    I have an indicator that is only intended to plot intermittently.
    If I use PlotStyle.Line the chart does not plot anything visible if the indicator plots for an isolated bar (uses reset for bars on each side).
    If I use Plotstyle.Dot (or similar) then I do get a visible plot, but any trend may not be so obvious when contiguous bars ARE plotted.

    What I want is a PlotStyle (say called LineAndDot) that always plots a visible marker whenever the indicator code sets a value (like existing PlotStyle=dot), but also joins the dots with a line when plots are contiguous (like existing PlotStyle=line).

    Most other charting packages have this facility. For instance Excel calls it the "line with markers displayed at each data value" chart type.

    To get this effect in NT currently I have to put two instances of the same indicator on the chart. One set to Plotstyle.Line, the other set to PlotStyle.Dot

    Can a PlotStyle.LineAndDot be added to NT7 please?

    #2
    Hello,

    I will forward this recommendation to development!

    Thanks for submitting it!
    BrettNinjaTrader Product Management

    Comment


      #3
      DavE,

      Are you a programmer or have done some NinjaScript in the past? If I remember correctly you are.

      I look forward to assisting you further.
      BrettNinjaTrader Product Management

      Comment


        #4
        Yes I am a programmer.
        I realise there is a way for the user to program this effect. But I am suggesting this should be built in.

        For instance using "Microsoft Chart Controls for .NET" I can specify ChartType="Line" and MarkerStyle="Diamond" and I get the required effect without additional user programming.

        The NT programmers have already written the underlying code to implement the two parts of the effect. All thats needed is to wrap the effect of PlotStyle.Line and and PlotStyle.Dot into a single new PlotStyle.

        Comment


          #5
          Hello,

          Understood. Thanks again.

          Let me know if I can be of further assistance.
          BrettNinjaTrader Product Management

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          602 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          347 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
          559 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          558 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X