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 RaddiFX, Today, 09:55 PM
    0 responses
    1 view
    0 likes
    Last Post RaddiFX
    by RaddiFX
     
    Started by Trader146, 03-29-2024, 01:22 PM
    4 responses
    24 views
    0 likes
    Last Post Trader146  
    Started by elirion, Today, 09:48 PM
    0 responses
    2 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by set2win, 08-04-2021, 09:23 AM
    39 responses
    1,001 views
    0 likes
    Last Post WaleeTheRobot  
    Started by md4866, Today, 08:15 PM
    0 responses
    8 views
    0 likes
    Last Post md4866
    by md4866
     
    Working...
    X