Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Passing info from one chart to another chart.

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

    Passing info from one chart to another chart.

    I would like to read some variables from an indicator running on a 500 Tick Chart and use that in code running on a 1500 Tick Chart. Is this possible? And if so, could you point me in the right direction because I have no idea what these tools would be called. Also, do you have any example code to share?
    Thanks.

    #2
    Hello BR1Z1Z,

    Thank you for your note.

    What you could do is make calculates for both data series within the same script.
    To do this you would add a secondary data series to your script. See AddDataSeries section of our helpguide.



    You could also see a sample strategy which demonstrates how you can pass a data series to an indicator and save that value to a variable, for both the primary and secondary series, in your case this would be the 500 and 1500 tick series’. To view this sample, go to Control Center>New>NinjaScript Editor and under the strategies folder select SampleMultiTimeFrame. (See Screen Shot)

    Please let us know if you need further assistance.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    612 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    355 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    561 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    564 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X