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 frslvr, 04-11-2024, 07:26 AM
    5 responses
    96 views
    1 like
    Last Post caryc123  
    Started by algospoke, 04-17-2024, 06:40 PM
    6 responses
    49 views
    0 likes
    Last Post algospoke  
    Started by arvidvanstaey, Today, 02:19 PM
    4 responses
    11 views
    0 likes
    Last Post arvidvanstaey  
    Started by samish18, 04-17-2024, 08:57 AM
    16 responses
    61 views
    0 likes
    Last Post samish18  
    Started by jordanq2, Today, 03:10 PM
    2 responses
    11 views
    0 likes
    Last Post jordanq2  
    Working...
    X