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 1,872 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Get values from one chart into another

  #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?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
ZombieSqueeze
Platforms and Indicators
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Futures True Range Report
The Elite Circle
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
Battlestations: Show us your trading desks!
18 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,401


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: 52
Thanks Received: 123


Old thread but........

See my post here: How to make two charts share variable values? - [AUTOLINK]NinjaTrader[/AUTOLINK] 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,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,425


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

See my post here: How to make two charts share variable values? - [AUTOLINK]NinjaTrader[/AUTOLINK] 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: 52
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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts