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)




"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"You have an excellent product !!!!!!" - Comment from Arely
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"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
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"Excellent datafeed !!!" - Comment from Arely
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
Home  Search  Register  Login  Blogs Recent Posts

Information on Various DTN Products:
DTN IQFeed | DTN ProphetX | DTN Ag | NxCore
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: 1736
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: Sun September 24, 2017 10:59 AM CFBB v1.2.0 0 ms.
© AderSoftware 2002-2003