NexusFi: Find Your Edge


Home Menu

 





NinjaTrader multiple indicators in same subgraph.


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 3 posts (1 thanks)
    2. looks_two wldman with 3 posts (0 thanks)
    3. looks_3 DavidHP with 2 posts (2 thanks)
    4. looks_4 aligator with 2 posts (0 thanks)
    1. trending_up 6,244 views
    2. thumb_up 5 thanks given
    3. group 4 followers
    1. forum 12 posts
    2. attach_file 2 attachments




 
Search this Thread

NinjaTrader multiple indicators in same subgraph.

  #1 (permalink)
 
lavender's Avatar
 lavender 
Lexington +KY/USA
 
Experience: Advanced
Platform: NT,TS
Trading: TF, ES, CL
Posts: 9 since Jul 2012
Thanks Given: 17
Thanks Received: 1

I am wanting to plot 2 indicators in the same subgraph. Both are oscillators based on over/under zero. I have tried numerous combinations - fixed instead of auto range, linear vs logrith, etc. but they will not 'line' up' with the zero line being the middle for both at all times. Any help?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Increase in trading performance by 75%
The Elite Circle
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
23 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


lavender View Post
I am wanting to plot 2 indicators in the same subgraph. Both are oscillators based on over/under zero. I have tried numerous combinations - fixed instead of auto range, linear vs logrith, etc. but they will not 'line' up' with the zero line being the middle for both at all times. Any help?

If you use the same panel and "Scale Justification" = "Right" for both of them, the zero lines of both indicators will match.

Reply With Quote
  #3 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Legendary Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,618 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,991



Fat Tails View Post
If you use the same panel and "Scale Justification" = "Right" for both of them, the zero lines of both indicators will match.

@Fat Tails,

That would work but if one indicator has a small value of 0.1 and the other a value of say 40 then the small value indicator will not show well when both on "Right" scale.

I like to superimpose indicators for visuals not their value, so I add a multiplier to the list of parameters in the indicator then I can adjust its value when superimposed to show the same relative magnitude.

Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,609 since Aug 2009
Thanks Given: 11,335
Thanks Received: 2,743

On one of the indicator set the SCALE JUSTIFICATION to OVERLAY.
Also turn off the PRICE MARKERS =false.

That will make one indicator overlay the other.

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
Thanked by:
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


DavidHP View Post
On one of the indicator set the SCALE JUSTIFICATION to OVERLAY.
Also turn off the PRICE MARKERS =false.

That will make one indicator overlay the other.

@DavidHP: This will not align the two zero lines as requested. @aligator has described the only possible approach, that is to add a multiplier to one of the indicators in order to have them use a scale of the same magnitude.

For example, it is possible to overlay RSI and Stochastics by using the same scale, as the both plot values between 0 and 100. But you cannot easily overlay Momentum and CCI, as the CCI has a normalized scale and the MACD is not normalized. If you use "Scale Justification Overlay", in this case the zerolines will not match.

Reply With Quote
Thanked by:
  #6 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,609 since Aug 2009
Thanks Given: 11,335
Thanks Received: 2,743

Perhaps you are correct in what is displayed will have any significance.

However, Here is a chart with Momentum and CCI in two panels.


And here is the same setup with one panel and same indicators and settings
except the Momentum is overlayed on the CCI panel.


It seems that the overlay does show both indicators, but the Momentum has no significance to the CCI values scale. Also the Momentum Zero line is displayed and is slightly mis-aligned.

Maybe I misunderstood the original question but I thought that was the result the poster needed.

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
Thanked by:
  #7 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Legendary Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,618 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,991


DavidHP View Post
Maybe I misunderstood the original question but I thought that was the result the poster needed.

I think you misunderstood. The question was related to both indicators having the same zero value line, which in your example that is not the case.

Having one pegged to the right scale and one to the left will work as far as magnitude, but will not have the same zero line.

Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
 
lavender's Avatar
 lavender 
Lexington +KY/USA
 
Experience: Advanced
Platform: NT,TS
Trading: TF, ES, CL
Posts: 9 since Jul 2012
Thanks Given: 17
Thanks Received: 1

THANK YOU very much guys for your responses. Been using Tradestation for 15+ yrs and NT has some issues ...so thank you for help with this as it is my 1st post since becoming an elite member in Oct.
let me clarify :
1st:I did have both scaled right as fat tails 1st offered and that is not the issue.
2nd: the issue IS as alligator describes
"That would work but if one indicator has a small value of 0.1 and the other a value of say 40 then the small value indicator will not show well when both on "Right" scale.

I like to superimpose indicators for visuals not their value, so I add a multiplier to the list of parameters in the indicator then I can adjust its value when superimposed to show the same relative magnitude."

I have both justify right and the values of 1st - 0 - 0.05+/- and then opposite for negative side of Z/l
2nd indicator range 0-50 and 0--50+/-

I too am NOT really concerned with values but DO want visual as alligator describes.
Now can you explain please how to "I like to superimpose indicators for visuals not their value, so I add a multiplier to the list of parameters in the indicator then I can adjust its value when superimposed to show the same relative magnitude."
I do know how to get to 'edit Ninja script' but lost after that without instruction.
Thank you very much.

Started this thread Reply With Quote
  #9 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Legendary Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,512 since Aug 2011
Thanks Given: 2,047
Thanks Received: 9,513

2013-03-15_0805 - danbones's library

You will see that the zero line for one is actually 1.8, or almost zero for the other on E7.

On ES it is a scaling issue, the value of the acci is so small relative to the other that it displays as a straight line.

2013-03-15_0809 - danbones's library

An NT employee, snapped up a version on which I could alter the view with a variable "multiplier". That worked great for a while, but a new release queered it up, I cant find the original doc and I sort of let it go.

2013-03-15_0814 - danbones's library

It would be nice if "zero" could actually be zero in a two indicator second panel.

Dan

Visit my NexusFi Trade Journal Reply With Quote
  #10 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Legendary Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,512 since Aug 2011
Thanks Given: 2,047
Thanks Received: 9,513


bothering the original poster is zero line drift...where the second panel indicators do not have the same zero. Is that correct?

2013-03-15_0819 - danbones's library

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on March 15, 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