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)




"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed 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: 179
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: 1748
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: 179
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: Wed June 20, 2018 1:33 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003