NexusFi: Find Your Edge


Home Menu

 





Get values from one chart into another


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Sim22 with 3 posts (4 thanks)
    2. looks_two Tasker_182 with 1 posts (0 thanks)
    3. looks_3 ratfink with 1 posts (1 thanks)
    4. looks_4 rookyjohn with 1 posts (0 thanks)
    1. trending_up 2,457 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
rookyjohn
miami florida/usa
 
Posts: 2 since Nov 2013
Thanks Given: 1
Thanks Received: 0

NinjaTrader's programmers,

My question is this, I want to “ import,call or get ” some values from a "big picture" trend, for example daily/weekly chart into intra-day charts.

I don't want to use only one chart with both time frames.

What I really want is to have separated charts, moreover, I want to do the calculations for big picture directly from the Market Analyzer and be able to get those values and Plot them directly into any mini time frame chart.

The values in the big picture chart it should be any, I do not care, named Previous 3 weeks OHLC, I know how to do this, but I don’t know how to take these values from a daily or weekly and call them into another 1 minute execution chart. This is my real question.
There is any example out there you know about this topic? or a simple example I can study and use as a model to create what I want.

Thank you very much in advance for any help.
Best regards,
John


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Probability Collapse: Bitcoin $150k Craters from 15% to …
Prediction Markets & Event Contracts
March Jobs Report Update: 178K Beat vs 59K Expected, Wag …
Traders Hideout
Oil Surges ~18% in One Week as Iran Conflict Disrupts Gl …
Commodities
Five Days Until the Gap Dies -- CME Goes 24/7 on All Dig …
Traders Hideout
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,405


rookyjohn View Post
NinjaTrader's programmers,

My question is this, I want to “ import,call or get ” some values from a "big picture" trend, for example daily/weekly chart into intra-day charts.

I don't want to use only one chart with both time frames.

What I really want is to have separated charts, moreover, I want to do the calculations for big picture directly from the Market Analyzer and be able to get those values and Plot them directly into any mini time frame chart.

The values in the big picture chart it should be any, I do not care, named Previous 3 weeks OHLC, I know how to do this, but I don’t know how to take these values from a daily or weekly and call them into another 1 minute execution chart. This is my real question.
There is any example out there you know about this topic? or a simple example I can study and use as a model to create what I want.

Thank you very much in advance for any help.
Best regards,
John


Perhaps I've misunderstood but if you have long term values that you want to pull into faster/shorter timeframe charts, have you considered writing the values to a file and then allowing the faster timeframe charts to read them?


Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote
  #3 (permalink)
 
Sim22's Avatar
 Sim22 
Australia
 
Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Trading: 6J, CL, GC
Posts: 43 since May 2010
Thanks Given: 53
Thanks Received: 123


Old thread but........

See my post here: How to make two charts share variable values? - NinjaTrader Support Forum

Using Memory Mapped Files in NT8. But could be adapted to NT7.

I have fed live data from NT8 to MC.net this way.


Reply With Quote
Thanked by:
  #4 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,550 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,430


Sim22 View Post
Old thread but........

See my post here: How to make two charts share variable values? - NinjaTrader Support Forum

Using Memory Mapped Files in NT8. But could be adapted to NT7.

I have fed live data from NT8 to MC.net this way.

In any Ninja .cs file you can also use a simple shared 'public static class' declared outside the Strategy and Indicator Namespaces, then anything can see anything in there. You just need to F5 all active chart users if it gets changed. Several Global Variable threads on the forum. Always good to see other ideas though, takes me back to my memory mapping hardware drivers days on Sun workstations (old git here.)


Travel Well
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #5 (permalink)
 
Sim22's Avatar
 Sim22 
Australia
 
Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Trading: 6J, CL, GC
Posts: 43 since May 2010
Thanks Given: 53
Thanks Received: 123


ratfink View Post
In any Ninja .cs file you can also use a simple shared 'public static class' declared outside the Strategy and Indicator Namespaces, then anything can see anything in there.

Thanks ratfink. Yes I have tried that. It seems more complicated than that. The issue was charts being out of sync by a tick depending on which dataseries was initialized first. Just F5'ing didn't work. I actually had to reload a different period to set the sync up. Anyway, I will look into the other threads. Cheers!


Reply With Quote
Thanked by:




Last Updated on February 3, 2016


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts