Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    7 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Working...
    X