Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"Everything is working great with the API. I love it." - Comment from Calvin
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"Excellent datafeed !!!" - Comment from Arely
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Product Support »ProphetX Support »Custom daily chart - ratio of two ETFs - how to do ?
Author Topic: Custom daily chart - ratio of two ETFs - how to do ? (3 messages, Page 1 of 1)

AMA
-DTN Evangelist-
Posts: 183
Joined: Aug 1, 2007


Posted: Mar 2, 2012 04:28 PM          Msg. 1 of 3
Ok, got a new one here...checked the manual, nothing there(that I found), so ask the pros:

* charting two ETFs; ETF#1 and ETF#2. All is well...single/individual charts or both on one chart...

* I'd like to create a chart that shows the ratio between the two - say ETF#1 divided by ETF#2

* Daily chart. Nothing super fancy, just one ETF divided by the other ETF.

* I've seen & tried the stuff about showing two charts on one, but in this case I want a new chart that has a custom calculation between the two. Simple division, but you get the point here.

Any way to do this?

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Mar 2, 2012 05:18 PM          Msg. 2 of 3
You can use standard math formulas in the symbol fields throughout ProphetX. Thus, in a chart, you can enter the symbol as SPY/DIA for example directly into the symbol field. You can also enter this into a Quote Sheet which would then allow you link multiple formula symbols to a chart window.

In addition, you could enter a symbol such as SPY/DIA*100 (just and example) to take the value and multiple it by 100. I often do this in quote sheets or charts to calculate holdings in a position (AAPL-32.45)*100 for example would calculate your profit on 100 shares of AAPL purchased at $32.45.

I would suggest Searching ProphetX Help for "Formulas" then looking at the "Adding Symbols to Quote Windows" to see the various things you can do with symbols. Most of this works within charts as well.

Hope this helps.

Jay Froscheiser
Telvent DTN

AMA
-DTN Evangelist-
Posts: 183
Joined: Aug 1, 2007


Posted: Mar 2, 2012 05:24 PM          Msg. 3 of 3
WOW! You're good, man...and fast, too

Just what I was looking for...

Thanks
 

 

Time: Mon March 1, 2021 1:58 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003