Display indicator based on another chart - futures io
futures io futures trading



Display indicator based on another chart


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one DarkPoolTrading with 6 posts (0 thanks)
    2. looks_two meyer99 with 3 posts (0 thanks)
    3. looks_3 vvhg with 2 posts (0 thanks)
    4. looks_4 ratfink with 1 posts (1 thanks)
    1. trending_up 3,705 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 11 posts
    2. attach_file 3 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Display indicator based on another chart

(login for full post details)
  #1 (permalink)
PTA, Gauteng
 
Experience: Advanced
Platform: Self built + Sierra + TWS
Trading: Stocks and Options
 
DarkPoolTrading's Avatar
 
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,320 received

Hi all,

In NT is there a way to display an indicator from one chart, on another for the same instrument. Basically im looking for a way to do the same thing as when you draw a line for example on one chart, then you right click on the line, select properties, and select 'Attach to All charts'. That way you can display drawing objects from a higher time frame, on your lower time frame chart. Is there a way to do that with an indicator?

Many thanks.

Diversification is the only free lunch
Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Work with historical tcks data on MUltichart NET PowerLa …
MultiCharts
Improve current ZigZag indicator in NT8
NinjaTrader
Reading A set of Trading Signals
EasyLanguage Programming
ZigZag with Depth and Backstep
EasyLanguage Programming
Help Needed: TOS Options Chain IV & IMPL MOVE Calcul …
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Battlestations: Show us your trading desks!
124 thanks
Big Mike in Ecuador
61 thanks
Want your NinjaTrader indicator created, free?
28 thanks
If you needed one-on-one help with any trading issue, ho …
26 thanks
Selling Options on Futures?
21 thanks
 
(login for full post details)
  #2 (permalink)
Charlotte NC
 
Experience: Advanced
Platform: Charts:Ninja Trader w/IB, execution:TOS
Broker: TOS
Trading: CL, ES, ZN, ZB, RUT.
 
Posts: 233 since Jul 2009
Thanks: 98 given, 122 received

Put two data bases in the same chart. In the same zone. Make the second data base invisible and apply to it the indicator. Now you will see the first database with the indi of the second one. If it does not work, invert the order in the databases. Some indis only work off the first database, even if it is not the one you showing in the chart.

Reply With Quote
 
(login for full post details)
  #3 (permalink)
PTA, Gauteng
 
Experience: Advanced
Platform: Self built + Sierra + TWS
Trading: Stocks and Options
 
DarkPoolTrading's Avatar
 
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,320 received



meyer99 View Post
Put two data bases in the same chart. In the same zone. Make the second data base invisible and apply to it the indicator. Now you will see the first database with the indi of the second one. If it does not work, invert the order in the databases. Some indis only work off the first database, even if it is not the one you showing in the chart.

Thanks for the reply. I've been trying something like that, but it doesn't seem to work because the bars are not spaced correctly when two data series are on the same chart panel.

Below are screenshots of my settings. The 300 tick is the primary but it is not displaying correctly because of the 3000 tick higher timeframe.

Any suggestions?






Diversification is the only free lunch
Follow me on Twitter Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
 
vvhg's Avatar
 
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,816 received

You are running into the NT limitation of equidistant bar spacing not being available with multiple dataseries on one chart. The only workaround I see would be to adapt the indicator that then can convert to another timeframe.

Vvhg

Hic Rhodos, hic salta.
Reply With Quote
 
(login for full post details)
  #5 (permalink)
PTA, Gauteng
 
Experience: Advanced
Platform: Self built + Sierra + TWS
Trading: Stocks and Options
 
DarkPoolTrading's Avatar
 
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,320 received


vvhg View Post
You are running into the NT limitation of equidistant bar spacing not being available with multiple dataseries on one chart. The only workaround I see would be to adapt the indicator that then can convert to another timeframe.

Vvhg

Argh! What a pain!

So even with a relatively simple indicator such as a moving average, there is no quick way to display the moving average based on a higher timeframe chart, on your lower time frame chart.

Darn.

Diversification is the only free lunch
Follow me on Twitter Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
Birmingham UK
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
 
ratfink's Avatar
 
Posts: 3,651 since Dec 2012
Thanks: 17,422 given, 8,403 received


DarkPoolTrading View Post
Argh! What a pain!

So even with a relatively simple indicator such as a moving average, there is no quick way to display the moving average based on a higher timeframe chart, on your lower time frame chart.

Darn.

Just create a custom indy with a second data series added.

E.g. in Initialize:
 
Code
Add (PeriodType.Tick, 3000);

E.g. in OnBarUpdate:
 
Code
if (CurrentBar < 100)
    return;

f (BarsInProgress == 0)
{
    Plot0.Set(SMA (Closes[1], 21)[0]);
}
And whatever variations or extra parameters you want to add of course.

Travel Well
Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to ratfink for this post:
 
(login for full post details)
  #7 (permalink)
PTA, Gauteng
 
Experience: Advanced
Platform: Self built + Sierra + TWS
Trading: Stocks and Options
 
DarkPoolTrading's Avatar
 
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,320 received

Cool, thanks for the tip. Im busy giving it a go now.

However I just used the SMA as an example. What im actually wanting to do is to plot the PriceActionSwing indicator from my higher timeframe, on the lower time frame. Specifically, just the Swing labels. Not the zigzag lines etc.

I haven't been able to get the code to work yet, but will keep on trying.

Diversification is the only free lunch
Follow me on Twitter Started this thread Reply With Quote
 
(login for full post details)
  #8 (permalink)
Charlotte NC
 
Experience: Advanced
Platform: Charts:Ninja Trader w/IB, execution:TOS
Broker: TOS
Trading: CL, ES, ZN, ZB, RUT.
 
Posts: 233 since Jul 2009
Thanks: 98 given, 122 received


DarkPoolTrading View Post
Thanks for the reply. I've been trying something like that, but it doesn't seem to work because the bars are not spaced correctly when two data series are on the same chart panel.

Below are screenshots of my settings. The 300 tick is the primary but it is not displaying correctly because of the 3000 tick higher timeframe.

Any suggestions?






I have the following and it works:
First data series is a 5 minutes, invisible and has a sma,
second data series is a one minute, candlestic and visible.
Maybe only works in minute charts?

Reply With Quote
 
(login for full post details)
  #9 (permalink)
PTA, Gauteng
 
Experience: Advanced
Platform: Self built + Sierra + TWS
Trading: Stocks and Options
 
DarkPoolTrading's Avatar
 
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,320 received


meyer99 View Post
I have the following and it works:
First data series is a 5 minutes, invisible and has a sma,
second data series is a one minute, candlestic and visible.
Maybe only works in minute charts?

hmmm, not sure why that works but not the tick charts. There are always 5 x 1 minute bars in one 5 minute bar. So you can space them correctly. And in my example there are always 10 x 300 tick bars in my 3000 tick chart. Yet yours works and mine doesn't. Confused.

Diversification is the only free lunch
Follow me on Twitter Started this thread Reply With Quote
 
(login for full post details)
  #10 (permalink)
Charlotte NC
 
Experience: Advanced
Platform: Charts:Ninja Trader w/IB, execution:TOS
Broker: TOS
Trading: CL, ES, ZN, ZB, RUT.
 
Posts: 233 since Jul 2009
Thanks: 98 given, 122 received


Why don't you email NT support?

Reply With Quote
 
(login for full post details)
  #11 (permalink)
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
 
vvhg's Avatar
 
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,816 received


DarkPoolTrading View Post
hmmm, not sure why that works but not the tick charts. There are always 5 x 1 minute bars in one 5 minute bar. So you can space them correctly. And in my example there are always 10 x 300 tick bars in my 3000 tick chart. Yet yours works and mine doesn't. Confused.

It's because bars are located on a continuous time scale when there is more than one dataseries, ie the distance from ten past to twenty past is the same than from twenty past to half past.

vvhg

Hic Rhodos, hic salta.
Reply With Quote
 
(login for full post details)
  #12 (permalink)
PTA, Gauteng
 
Experience: Advanced
Platform: Self built + Sierra + TWS
Trading: Stocks and Options
 
DarkPoolTrading's Avatar
 
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,320 received


vvhg View Post
It's because bars are located on a continuous time scale when there is more than one dataseries, ie the distance from ten past to twenty past is the same than from twenty past to half past.

vvhg

Annoying

Thanks.

Diversification is the only free lunch
Follow me on Twitter Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Display indicator based on another chart


Last Updated on March 29, 2013


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts