Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Secondary Series Plot ?

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

    Secondary Series Plot ?

    Is it possible to have a plot that uses a different series than the primary? eg, I'd like to have the volume of a 10 second series plotted at the bottom of the price chart, and that the primary series be the one minute.

    #2
    Hello spottysallrite,

    Thanks for your post.

    Yes, it would be possible to add an additional series to an indicator using AddDataSeries() and have a plot calculate values based on that added series.

    You could access the volume of the added series using Volumes[1][0].

    If you have a single added series, say a 10-second series, you could assign the volume of the added series to a plot by calling something like Value[0] = Volumes[1][0].

    You could determine if this plot is placed on a separate panel by setting IsOverlay = false in State.SetDefaults.

    See the help guide documentation below for more information.
    AddDataSeries: https://ninjatrader.com/support/help...dataseries.htm
    AddPlot: https://ninjatrader.com/support/help...ghtsub=addplot
    Volumes: https://ninjatrader.com/support/help...es_volumes.htm
    IsOverlay: https://ninjatrader.com/support/help.../isoverlay.htm

    Let us know if we 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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    92 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    48 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    106 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X