PDA

View Full Version : Ratio Charts


martied16
01-22-2011, 09:21 AM
I would like to setup a ratio chart (price of one security divided by the price of another security and have that plotted) but can't seem to find how to do this in NT. Is it possible? If not can we get this in development? This is an extremely useful type of chart to have.

Thanks.

NinjaTrader_Chip
01-22-2011, 04:00 PM
Hello martied16,

Welcome to the NinjaTrader Support Forums!

This is not currently supported. However, this has been suggested by some users & our Development Department is researching if further.

Please let me know if you have any additional questions.

nickny
03-08-2011, 02:55 PM
When do you think this will be available.... I'd love to be able to plot ratios in the market analyzer and have them treated as one stock symbol...

Thanks

Nick




Hello martied16,

Welcome to the NinjaTrader Support Forums!

This is not currently supported. However, this has been suggested by some users & our Development Department is researching if further.

Please let me know if you have any additional questions.

NinjaTrader_Chip
03-08-2011, 03:14 PM
Hello Nick,

Thank you for your post.

Unfortunately we cannot say at this time when this feature might be added to the platform.

Please let me know if you have any additional questions.

makra081
03-09-2011, 08:37 AM
this means years :)

molecool
11-15-2011, 10:51 PM
I have to chime in here. Seriously? This is BASIC stuff in any charting package out there. Ratio charts are the bread & butter of swing traders.

Okay, can you guys at least give us a way to plot candles or OHLC on an indicator?

Alfred
11-16-2011, 10:16 AM
Attached are ratio and spread indicators....

Spread by Kdoren can also also be found here...
http://www.ninjatrader.com/support/forum/local_links.php?catid=4&linkid=367


.....:D

koganam
11-16-2011, 11:09 AM
I have to chime in here. Seriously? This is BASIC stuff in any charting package out there. Ratio charts are the bread & butter of swing traders.

Okay, can you guys at least give us a way to plot candles or OHLC on an indicator?

Just create a multiseries chart; add the two instruments; escape/ignore the primary bar series; take the ratio. Adding the instruments uses the names as strings, so they can be made into parameters.

molecool
11-16-2011, 06:04 PM
Thanks Alfred - I actually wrote my own ratio and ratiospread indicators in NT. However they only plot a line signal, right? What I need is not so much an 'indicator' but a way to plot one symbol against the other as candles or OHLC in the main chart panel, e.g. the SPX / Gold.

I think the solution in NT should be done on the signal level. There should be a way how you can build your own symbol by computing two or more symbols via a simple algebraic formula:

(^SPX / GC ##-##)

molecool
11-16-2011, 06:11 PM
"Just create a multiseries chart; add the two instruments; escape/ignore the primary bar series; take the ratio. Adding the instruments uses the names as strings, so they can be made into parameters"

Okay, how do I 'escape/ignore' the primary bar series?

How do I 'take the ratio' - are you talking about building an indicator? That's not what I want - I want to plot candles or OHLC in the main chart panel.

For examples of what I'm trying to do go to stockcharts.com - they offer 'ratio charts'. Prophet charts also offers them and they are quite nice.

koganam
11-16-2011, 07:25 PM
"Just create a multiseries chart; add the two instruments; escape/ignore the primary bar series; take the ratio. Adding the instruments uses the names as strings, so they can be made into parameters"

Okay, how do I 'escape/ignore' the primary bar series?

How do I 'take the ratio' - are you talking about building an indicator? That's not what I want - I want to plot candles or OHLC in the main chart panel.

For examples of what I'm trying to do go to stockcharts.com - they offer 'ratio charts'. Prophet charts also offers them and they are quite nice.

What you describe is a bit more elaborate, but not undoable. It will still be an indicator which you can overlay on the main panel if you wish.

Essentially what you have to do is write code to determine the OHLC. Once you have captured those, NT shows us how to use a Custom Plot to draw candles. One example is in the shipping Heiken-Ashi indicator. Another one is actually in the document the NT published about code-breaking changes in NT7. It is still on their website.

We escape the primary barSeries with:
if (BarsInProgress == 0) return;