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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    72 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X