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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    576 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X