NexusFi: Find Your Edge


Home Menu

 





Multicharts or MC.NET indicator to save bar data into a MySQL/MS SQL Server database?


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one Big Mike with 1 posts (2 thanks)
    2. looks_two andby with 1 posts (0 thanks)
    3. looks_3 Jura with 1 posts (1 thanks)
    4. looks_4 ABCTG with 1 posts (1 thanks)
    1. trending_up 2,876 views
    2. thumb_up 4 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Multicharts or MC.NET indicator to save bar data into a MySQL/MS SQL Server database?

  #1 (permalink)
 
andby's Avatar
 andby 
Norwich, UK
 
Experience: Intermediate
Platform: Multiple:research&executi
Broker: Started with Stage5/OEC ... multiple
Trading: Anything found profitable goes ...
Posts: 167 since Jul 2012
Thanks Given: 88
Thanks Received: 88

Hi,

I was looking for an indicator written either for Multicharts or Multicharts.NET that would save each downloaded bar-data into a database ... so, once the indicator gets applied to the chart, it would iterate through each bar and save it externally.
As a small parenthesizes, it seems MC downloads only following fields: (Date, Time, O, H, L, C, UpVol, TotalVol, OpenInterest). Everything else gets computed locally. And there is no way you can set the app to download any other data for a symbol (even though a data provider like IQFeed could give you a ton more info, including fundamental data).
I don't think such an indicator that would save the chart data externally is particularly difficult to do, it should be fairly easy, especially in .NET ... where everything is included in the MC.VStudio/.NET.API. Now the tricky part follows:
Once an instrument chart is saved in the external MySQL database with such an indicator, we close the MC GUI, delete the instrument data from Quote Manager/(local MC database) and disconnect the PC from internet - such that no automatic symbol data download takes place when next time opened.
Could such an indicator, once applied on an empty chart of the same symbol, be programmed to populate the chart with the instrument data taken from the external database?

This would be a nice integration with an external database, and avoid some of the problems Multicharts has with its local database when getting corrupted because of the growing size, or because of an upgrade, etc.
Too many times I've got as a suggestion/workaround from MC Support to delete the symbol data from QuoteManager in order to correct a particular problem.

Thanks!

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Online prop firm The Funded Trader (TFT) going under?
Traders Hideout
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
19 thanks
  #2 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690


andby View Post
This would be a nice integration with an external database, and avoid some of the problems Multicharts has with its local database when getting corrupted because of the growing size, or because of an upgrade, etc.

This sounds like a lot of work (even though you consider it easy) to solve something I personally don't have experienced an issue with. My database is currently 18gb and have updated MultiCharts numerous times without this database being corrupted.

I'm wondering about the following. You mention that the data feeds in MultiCharts do not have all the data, like fundamental data. Wouldn't it make sense then to make a direct connection with the data feed and then download into the custom database?

Now you intend to do a lot of manual work (start MultiCharts, add symbol to QuoteManager, create chart, apply indicator, let it write to the database, remove chart, remove symbol from QuoteManager, close MultiCharts, disconnect PC from internet), while you have the same limitations in terms of available data feed fields.

Reply With Quote
Thanked by:
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623


andby,

I'd agree with Jura, why even use MC to get the data into your database. Create something that hooks up to the dataprovider's API and download the data you want. Then you can go back and create custom bars in MC based on your data for example.

On a side note you might want to look for what is giving you the database issues. In almost ten years with MC and various installations I don't recall any (major) issues with the build in database *knock on wood*.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,398 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


ABCTG View Post
Create something that hooks up to the dataprovider's API and download the data you want

BaBAR downloads everything from IQFeed and stores as CSV (or NinjaTrader):



Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on October 13, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts