NexusFi: Find Your Edge


Home Menu

 





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




 
Search this Thread

Display indicator based on another chart

  #1 (permalink)
 
DarkPoolTrading's Avatar
 DarkPoolTrading   is a Vendor
 
Posts: 1,036 since May 2012
Thanks Given: 1,244
Thanks Received: 1,326

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 NexusFi?
Build trailing stop for micro index(s)
Psychology and Money Management
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
22 thanks
The Program
20 thanks
GFIs1 1 DAX trade per day journal
19 thanks
  #2 (permalink)
 meyer99 
Charlotte NC
 
Experience: Advanced
Platform: Charts:TOS, execution:TOS
Broker: TOS
Trading: SPX, RUT. TQQQ, Stocks, /YM
Posts: 234 since Jul 2009
Thanks Given: 99
Thanks Received: 122

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
  #3 (permalink)
 
DarkPoolTrading's Avatar
 DarkPoolTrading   is a Vendor
 
Posts: 1,036 since May 2012
Thanks Given: 1,244
Thanks Received: 1,326



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
  #4 (permalink)
 
vvhg's Avatar
 vvhg 
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
Posts: 1,583 since Mar 2011
Thanks Given: 1,016
Thanks Received: 2,824

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
  #5 (permalink)
 
DarkPoolTrading's Avatar
 DarkPoolTrading   is a Vendor
 
Posts: 1,036 since May 2012
Thanks Given: 1,244
Thanks Received: 1,326


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
  #6 (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


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 NexusFi Trade Journal Reply With Quote
Thanked by:
  #7 (permalink)
 
DarkPoolTrading's Avatar
 DarkPoolTrading   is a Vendor
 
Posts: 1,036 since May 2012
Thanks Given: 1,244
Thanks Received: 1,326

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
  #8 (permalink)
 meyer99 
Charlotte NC
 
Experience: Advanced
Platform: Charts:TOS, execution:TOS
Broker: TOS
Trading: SPX, RUT. TQQQ, Stocks, /YM
Posts: 234 since Jul 2009
Thanks Given: 99
Thanks Received: 122


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
  #9 (permalink)
 
DarkPoolTrading's Avatar
 DarkPoolTrading   is a Vendor
 
Posts: 1,036 since May 2012
Thanks Given: 1,244
Thanks Received: 1,326


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
  #10 (permalink)
 meyer99 
Charlotte NC
 
Experience: Advanced
Platform: Charts:TOS, execution:TOS
Broker: TOS
Trading: SPX, RUT. TQQQ, Stocks, /YM
Posts: 234 since Jul 2009
Thanks Given: 99
Thanks Received: 122


Why don't you email NT support?

Reply With Quote




Last Updated on March 29, 2013


© 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