Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How not to plot a second data series but create an indicator

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

    How not to plot a second data series but create an indicator

    Can I ad a second data series to a chart panel and then plot an indicator using the prices from that series but not show the actual data plot leaving the indicator working running off the unshown data?

    #2
    Hello poeds,

    Thanks for your post.

    An indicator could be plotted on a hidden data series on the chart to accomplish this.

    See this publicly available video demonstrating how to plot indicators on a hidden data series: https://www.youtube.com/watch?v=XRGxiO3XW-k

    Please let me know if you have further questions on this.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Thanks but it mucks up the plot of the visible data series, creates bar spacing effects.

      Comment


        #4
        Hello poeds,

        Thanks for your note.

        Plotting an indicator on a hidden data series as seen in the video linked above would be the only way available to add an indicator to the chart but calculate the indicator based on a secondary data series.

        You may try changing the bar spacing and width of the bars on the chart. See the help guide page below for information about how to do this.


        Or, you could consider changing the bar width on the bars by right-clicking on the chart, selecting 'Data Series', and changing the 'Bar width' settings value to increase or decrease the width of the bar.

        How to edit a Data Series parameter on the chart: https://ninjatrader.com/support/help...riesParameters

        Another option would be to code your own custom indicator that adds a data series to the script, calculates the indicator from the secondary added series, and plots to the chart. Please let me know if you are interested in creating your own custom indicator and I will be happy to provide you some direction.

        Let me know if i may assist further.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        26 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        122 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        64 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X