Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding the second series to chart programmatically

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

    Adding the second series to chart programmatically

    I mean to add them visually.

    1) Is there any way to accomplish the subj?

    2) Also, is it possible to arbitrary scale X-axis? E.g., I have 60 min main series and 5 min second series so I could paint the secondary series manually, however, I must ensure there is enough space between main series bars, because for this example I need to place 11 bars of the second series in between 2 bars of the main series, so I could have achieved the subj if I had been able to scale Time axis. Is that possible?

    Thank you.

    #2
    Hello alex.nt,

    1. Yes, it would be possible but you would have to manually draw them.

    2. While, I am not aware of a method to scale an axis down, if you are going to manually draw the candle sticks you may draw them in any way that you would like so that you can achieve the scaling on the secondary series that you would like.

    Note while this is something that is not supported inside of NinjaTrader you may view the following indicator that will draw the spread of two Instruments that you may want to view as a reference.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    133 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    75 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    117 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    113 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    90 views
    0 likes
    Last Post CarlTrading  
    Working...
    X