Multicharts or MC.NET indicator to save bar data into a MySQL/MS SQL Server database? - MultiCharts | futures io social day trading
futures io futures trading


Multicharts or MC.NET indicator to save bar data into a MySQL/MS SQL Server database?
Updated: Views / Replies:1,302 / 3
Created: by andby Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

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

  #1 (permalink)
Elite Member
Norwich, UK
 
Futures Experience: Beginner
Platform: Multiple:research&executi
Broker/Data: Started with Stage5/OEC ... multiple
Favorite Futures: Anything found profitable goes ...
 
andby's Avatar
 
Posts: 141 since Jul 2012
Thanks: 82 given, 56 received

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

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!


Last edited by andby; October 12th, 2014 at 06:20 PM. Reason: more descriptive title
Reply With Quote
 
  #2 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received


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
The following user says Thank You to Jura for this post:
 
  #3 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 854 received
Forum Reputation: Legendary


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

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #4 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,234 received


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):

https://futures.io/elite-circle/23765-babar-ninjatrader-iqfeed-backfill-application-discussion-support.html

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following 2 users say Thank You to Big Mike for this post:

Reply



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

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting data out of NinjaTrader.SDF SQL Server Compact vantojo NinjaTrader Programming 10 September 4th, 2017 08:48 AM
MC.Net to Zulutrade, Collective2 or other? addstar34 MultiCharts 2 August 23rd, 2014 11:50 AM
[MC] indicator - number of seconds before next bar (timer countdown) Nicolas11 The Elite Circle 4 September 26th, 2013 02:51 PM
[MC.Net] Using ExecControl.Recalculate() Outside of Indicator Class dkhenkin MultiCharts 0 June 14th, 2013 12:26 AM
MC NET gparkis MultiCharts 3 September 20th, 2012 02:34 PM


All times are GMT -4. The time now is 10:52 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-14 in 0.10 seconds with 19 queries on phoenix via your IP 54.90.207.75