Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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!

    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.

      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.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by rhyminkevin, Today, 04:58 PM
          3 responses
          46 views
          0 likes
          Last Post Anfedport  
          Started by iceman2018, Today, 05:07 PM
          0 responses
          5 views
          0 likes
          Last Post iceman2018  
          Started by lightsun47, Today, 03:51 PM
          0 responses
          7 views
          0 likes
          Last Post lightsun47  
          Started by 00nevest, Today, 02:27 PM
          1 response
          14 views
          0 likes
          Last Post 00nevest  
          Started by futtrader, 04-21-2024, 01:50 AM
          4 responses
          50 views
          0 likes
          Last Post futtrader  
          Working...
          X