User (Legacy) Posted September 13, 2005 Report Share Posted September 13, 2005 I need to compare intraday information's between two ore more companies. I have already done this when I am using closing price data; there I have only one value per day. And I put all the data into one table and bind the data with the right column and make staticstudy for the second company. I used a demo from you to do this and it works fine. When I am using Intraday data then the values are coming all with different time. Data example for two companies - ACT and BAKK : ORDERBOOKNAME, LOCALDATETIME, QUANTITY, PRICE, MARKETVALUE, BAKK 1.9.2005 10:08 80000 43,5 3480000 BAKK 1.9.2005 10:11 5000 43,2 216000 BAKK 1.9.2005 13:36 1000 43,3 43300 ACT 1.9.2005 10:09 26000 41,6 1081600 ACT 1.9.2005 11:04 2000 41,7 83400 ACT 1.9.2005 12:21 30000 41,8 1254000 What is the best way to draw the price values on the same chart in a timescale for this two companies, so they can be compared? Should I trie to merge the data into one DataTable and use the same method as I do for the ClosingPrice chart? Or can I bind the data for each company in two different tables and draw the both price lines on the same chart? I am trying to let my chart look something like this (attached picture) . Best regards Kristj Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 13, 2005 Author Report Share Posted September 13, 2005 Hello Again Maby you can also give me a intraday example, or a snippet if you have one? Thank you very much. Best regards Kristjan Link to comment Share on other sites More sharing options...
Software FX Posted September 13, 2005 Report Share Posted September 13, 2005 I apologize for the delay. I remembered yesterday a intraday question but couldn't find it. Good that you asked again. As far as intraday and static studies. The main problem with our Financial extension is that it ONLY uses one XValues array and that is the one you pass for the Main Close Study. So as it stands now your only workaround is to have only one XValues (timescale) array. Now when you make intraday enabled you will have the same problem. We only add hidden points to the end of your chart based on the Main Close Price XValues entry. This case you are asking about is a good feature to have and we will consider it for our next version. Regarding a sample, there really isn't much to a sample codesnippet for intraday it is just intraday.Enabled = true; -c "Kristj Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.