• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 9:38am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 9:38am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

MQL4 code help 12 replies

Harvester 14 replies

MQL4 Language Most Recent Version is it updated beyond the tutorial on the mql4 websi 6 replies

MT4 Indicators Usage Tutorial/MQL4 Reference Documents 36 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 1
Attachments: C++ MQL4 Forex Harvester
Exit Attachments
Tags: C++ MQL4 Forex Harvester
Cancel

C++ MQL4 Forex Harvester

  • Last Post
  •  
  • 1 2Page 3 4
  • 1 2Page 3 4
  •  
  • Post #41
  • Quote
  • Jul 27, 2016 11:53am Jul 27, 2016 11:53am
  •  pascalx
  • | Joined Apr 2016 | Status: Member | 32 Posts
Quoting braintheboss
Disliked
{quote} Evidently MQL is a simple version of C++. But really you need all that features for make indicators? How many projects are enough big in MT for need full spec features?
Ignored
It does not really answer my question. Yes these are features I missed in MQL4. Especially the lack of referencing makes it not easier to build nice code. Have a function return a reference? Nope. Not possible. :-(
 
 
  • Post #42
  • Quote
  • Jul 27, 2016 11:54am Jul 27, 2016 11:54am
  •  JensItzig
  • Joined Sep 2013 | Status: Member | 362 Posts
Quote
Disliked
Buffer colors was just example.

It was THAT example. You wanted to show how superior MT5 is. None of your examples proof it for me. That's the only thing i want to point out.
Then you brought indicator handles into play. Also a feature that is not needed if you design your software well (wich lead us to the iCustom discussion).

I will end it here for me not to hijack the thread even more. MT5 is not superior for me, that's why i think and be convinced that MT5 will not kill MT4 in the near future.
 
 
  • Post #43
  • Quote
  • Jul 27, 2016 11:55am Jul 27, 2016 11:55am
  •  braintheboss
  • Joined Nov 2012 | Status: Coder | 8,520 Posts
Quoting pascalx
Disliked
{quote} It does not really answer my question. Yes these are features I missed in MQL4. Especially the lack of referencing makes it not easier to build nice code. Have a function return a reference? Nope. Not possible. :-(
Ignored
They implemented pointers with static methods. I think they are improving language step by step but I'm sure they dont want make exact copy of C++: I told before. When you adopt a third party platform you have accept the limitations have it. If you like C++ and you want something similar C++, try protrader. They use C#. Is not same but its more complete language than MQL

Quoting JensItzig
Disliked
{quote} It was THAT example. You wanted to show how superior MT5 is. None of your examples proof it for me. That's the only thing i want to point out. Then you brought indicator handles into play. Also a feature that is not needed if you design your software well (wich lead us to the iCustom discussion). I will end it here for me not to hijack the thread even more. MT5 is not superior for me, that's why i think and be convinced that MT5 will not kill MT4 in the near future.
Ignored
Its evident you dont know MT4/MT5 platforms enough for know the differences. But I agree. This kind of discussions dont drive to anyplace
Try don't lose pants never...
 
 
  • Post #44
  • Quote
  • Jul 27, 2016 12:05pm Jul 27, 2016 12:05pm
  •  pascalx
  • | Joined Apr 2016 | Status: Member | 32 Posts
Quoting braintheboss
Disliked
{quote} They implemented pointers with static methods. I think they are improving language step by step but I'm sure they dont want make exact copy of C++: I told before. When you adopt a third party platform you have accept the limitations have it. If you like C++ and you want something similar C++, try protrader. They use C#. Is not same but its more complete language than MQL
Ignored
Bro, you are confusing me
How is a function pointer comparable to a reference?

If they could, they should make exact copy of C++, latest standard.
And no I am not interested in C# for that matter. I will have a look at protrader anyway. Thanks.
 
 
  • Post #45
  • Quote
  • Jul 27, 2016 12:10pm Jul 27, 2016 12:10pm
  •  braintheboss
  • Joined Nov 2012 | Status: Coder | 8,520 Posts
Quoting pascalx
Disliked
{quote} Bro, you are confusing me How is a function pointer comparable to a reference? If they could, they should make exact copy of C++, latest standard. And no I am not interested in C# for that matter. I will have a look at protrader anyway. Thanks.
Ignored
Its just a comment for you understand even MQL never will be like C++, it is not finished language. Only that. Nobody knows Metaquotes plans
Try don't lose pants never...
 
 
  • Post #46
  • Quote
  • Jul 27, 2016 12:19pm Jul 27, 2016 12:19pm
  •  JensItzig
  • Joined Sep 2013 | Status: Member | 362 Posts
Quote
Disliked
Its evident you dont know MT4/MT5 platforms enough for know the differences

Are you really that good to be that arogant? I tell you, you are not! I haven't seen anything here or on your MT5 marketplace what leaves me speechless.

Until that happens i believe you're an arogant script kid with no experience in software architecture, as you proofed in the posts today.

EOM
 
 
  • Post #47
  • Quote
  • Jul 27, 2016 1:30pm Jul 27, 2016 1:30pm
  •  braintheboss
  • Joined Nov 2012 | Status: Coder | 8,520 Posts
Quoting JensItzig
Disliked
{quote} Are you really that good to be that arogant? I tell you, you are not! I haven't seen anything here or on your MT5 marketplace what leaves me speechless. Until that happens i believe you're an arogant script kid with no experience in software architecture, as you proofed in the posts today. EOM
Ignored
With 25 years experience coding I can be many things...
Try don't lose pants never...
 
 
  • Post #48
  • Quote
  • Jul 27, 2016 1:47pm Jul 27, 2016 1:47pm
  •  JensItzig
  • Joined Sep 2013 | Status: Member | 362 Posts
Quote
Disliked
With 25 years experience coding I can be many things...

now we measure skill in time?
 
 
  • Post #49
  • Quote
  • Jul 27, 2016 1:51pm Jul 27, 2016 1:51pm
  •  braintheboss
  • Joined Nov 2012 | Status: Coder | 8,520 Posts
Quoting JensItzig
Disliked
{quote} now we measure skill in time?
Ignored
I don't why you dont share your awesome apps here. I'm sure people will be pleased to enjoy awesome things made for a special coder like you. Really if your way for make friends in a forum it's this it's evident you will be ignored soon...
Try don't lose pants never...
 
 
  • Post #50
  • Quote
  • Jul 27, 2016 1:58pm Jul 27, 2016 1:58pm
  •  pascalx
  • | Joined Apr 2016 | Status: Member | 32 Posts
Calm down guys, everything is cool. 25 years is long time indeed bro. I just work like 6 years in C++ and I wish I had the Bjarne Stroustrup level of knowledge. Far from it though.
 
 
  • Post #51
  • Quote
  • Edited 4:30pm Jul 27, 2016 3:52pm | Edited 4:30pm
  •  JensItzig
  • Joined Sep 2013 | Status: Member | 362 Posts
Quote
Disliked
I don't why you dont share your awesome apps here. I'm sure people will be pleased to enjoy awesome things made for a special coder like you. Really if your way for make friends in a forum it's this it's evident you will be ignored soon...

When you are 25 years in IT business then you should also have learned more things. Knowledge, consulting and software are goods. For goods you have to pay. I know most of you kids thinking software is free and intellectual property is nothing. You can buy some of the tools if you want, but i will never share them for free on a public base. It's that easy. But i can share an older one. Compiled files are not good enough here, sorry. When you are familiar with bill williams profitunity then you know how to read it. It also had a saddle point calculation algorithm wich is OOTB good for H1. That's all i will share her for free but it proofs what i talking all day (try to rebuild the colored candles and bars with MT5, if you have this done then you can tell me about knowing the plattform)

I don't need friends that are so arogant and obstinate like you. You draged it down to a level where you judged in a way that i can't tolerate. 25 years coding is worth nothing in terms of good software architecture and design. I have developers in my company they have more years coding, but they even can't decide how a system must be designed (in german we call them coding pigs). I had maybe more lines of code reviewed then you ever will write, that's part of my dayjob. I'm sure that i have the feeling and knowledge to identify good IT systems (that's why my customers pay me that good). And if someone try to tell me that the use of something like the iCustom feature is better design than a well defined interface, then i know how good the knowledge of this person is within milliseconds.

@pascalx: Please set me on ignore for this thread. I'm sick of hijacking your thread to discuss those things with such a person. You got all informations via PM.
 
 
  • Post #52
  • Quote
  • Jul 27, 2016 4:19pm Jul 27, 2016 4:19pm
  •  braintheboss
  • Joined Nov 2012 | Status: Coder | 8,520 Posts
Quoting JensItzig
Disliked
{quote} When you are 25 years in IT business then you should also have learned more things. Knowledge, consulting and software are goods. For goods you have to pay. I know most of you kids thinking software is free and intellectual property is nothing. You can buy some of the tools if you want, but i will never share them for free on a public base. It's that easy. But i can share an older one. {file} When you are familiar with bill williams profitunity then you know how to read it. It also had a saddle point calculation algorithm wich is OOTB good...
Ignored
So long for read. I have better things like earn money trading...
Try don't lose pants never...
 
 
  • Post #53
  • Quote
  • Jul 27, 2016 4:20pm Jul 27, 2016 4:20pm
  •  pascalx
  • | Joined Apr 2016 | Status: Member | 32 Posts
Don't worry bro. All cool. I don't quite agree "for goods you have to pay" though . I am very grateful for the open source projects out there and I try to give back as much as I can. Even big companies like Google offer excellent open source libs that make everyone's life easier. Without any charge. Plus there are many forums and websites where you can study valuable information for free. I understand there is a business, especially at Markets like Forex, but for me money is just money and I don't need to have much of it. When I spend my time on a project I do it because I enjoy doing it. And many other people do too.

PS: The file you attached is a compiled one.
 
 
  • Post #54
  • Quote
  • Jul 27, 2016 4:29pm Jul 27, 2016 4:29pm
  •  JensItzig
  • Joined Sep 2013 | Status: Member | 362 Posts
Of course it's compiled and of course it has an expire date.
As i wrote why should i give those informations for free? What will happen, next week every script kid has copied it, that will happen.
 
 
  • Post #55
  • Quote
  • Sep 3, 2016 9:35am Sep 3, 2016 9:35am
  •  pascalx
  • | Joined Apr 2016 | Status: Member | 32 Posts
Bump. Still on the look out for help :-)
Thanks.
 
 
  • Post #56
  • Quote
  • Edited 4:52am Sep 4, 2016 4:38am | Edited 4:52am
  •  9047
  • Joined Jun 2011 | Status: Nominal | 304 Posts
Quoting pascalx
Disliked
Bump. Still on the look out for help :-) Thanks.
Ignored
Still looking for free labour?

Reasons that make this look unappealing:

  1. Private repository = contributing to a closed source project e.g. not open source. You haven't stated a good reason why anyone should give of their time freely.
  2. It is 100% Metatrader focused. I use RPC (vis AMQP) to run strategies (yes I don't have quick access to the data e.g. I have 10 milliseconds to 2 seconds delay depending on where my target host is. (For my approach to trading this doesn't hurt me - and I primarily trade M1 bars) but if that affects your trading then just use C++ DLL for you fast code and MQL for talking to the platform then when you move to a different (a.k.a. better) platform then with minimal fuss your code can go with you.
  3. No major mission statement e.g. what is your end goal. Will we be helping you to build something that later on you'll commercialise?

I've been down the path of making callbacks to MT4 from C++ before. It was good but I was locked into a bucket of code maintenance issues against a platform I had no control over and new releases would often cause some issues. Now I use AMPQ and develop using Python, Javascript (via NodeJS) and C++ (but any language with an AMPQ client implementation could be sufficient). The time spent on maintaining my MT4/5 AMPQ client is almost nothing (its all in a DLL with all the MT4/5 munge done in MQL) so now I spend more time focusing on making money.

If you are after harvesting tick data just download monthly updates from IntegralFX for free or buy a data feed (its cheap) - harvesting ticks from MT4 requires you to run a harvester on every symbol you want to scrape the data for and the data fee isn't reliable.

Also why did you get booted from Hopwood's forums? (the bunker thread was TL;DR).

Regards,
9047.

p.s. its also worth noting platforms like NinjaTrader have an algorithmic trading interface out of the box and you can run them from from C++ or other .NET supported languages.

 
 
  • Post #57
  • Quote
  • Sep 4, 2016 12:41pm Sep 4, 2016 12:41pm
  •  pascalx
  • | Joined Apr 2016 | Status: Member | 32 Posts
Hi bro, thanks for you response.

The goal is to create a trading bot. I think this was mentioned if I am not mistaken. Currently I do not intent to sell a product. I just work on it and see how it goes. I would not call it free labour, but rather a team effort. I understand that most private traders are lone wolfs, but I don't think it has to be like that.

Private repo, yes, currently I have some copyrighted source files in my project, so I rather not put them public. I am not sure what you mean with giving time freely. If someone is contributing to the same code, he has the same stuff to work with as I am, thus he can run the trading bot just like I do. I don't see how this is a problem. It's just multiple people working on a trading bot rather than one.

Currently, I build it for Metatrader yes, because the Broker I intend to work with offers only MT4 and FIX API. But I designed the software in a way, that it can be connected with other API's too. I think I mentioned that too.

I am happy to hear you built a solution that works for you. There is probably no point for you in helping me, as it sounds like you have much more done than I have.

I am not sure why I was booted. I was posting like 3 messages each day about my MQL adventures and developments. Maybe it was considered spam!?

Thanks for your time.
 
 
  • Post #58
  • Quote
  • Sep 4, 2016 1:30pm Sep 4, 2016 1:30pm
  •  reteid2222
  • Joined Aug 2015 | Status: Coding Magician | 2,541 Posts
Is it about the goldfish strategy?
Here:
http://www.bunkerforexforum.com/viewtopic.php?f=14&t=2
Vucking good EA coder...
#13 Return This Month: 78.3%
 
 
  • Post #59
  • Quote
  • Sep 4, 2016 9:59pm Sep 4, 2016 9:59pm
  •  9047
  • Joined Jun 2011 | Status: Nominal | 304 Posts
Quoting pascalx
Disliked
Hi bro, thanks for you response. The goal is to create a trading bot. I think this was mentioned if I am not mistaken. Currently I do not intent to sell a product. I just work on it and see how it goes. I would not call it free labour, but rather a team effort. I understand that most private traders are lone wolfs, but I don't think it has to be like that. Private repo, yes, currently I have some copyrighted source files in my project, so I rather not put them public. I am not sure what you mean with giving time freely. If someone is contributing...
Ignored
No worries. Best advice I can offer is invest minimal time into anything that is MT4 focused and build up the cash flow to fund access to better platforms. The benefit of hind sight is that I can see I wasted a lot of time with MT4. That said the I'm a better programmer for it.... but I'd rather have more money in the bank though
 
 
  • Post #60
  • Quote
  • Sep 5, 2016 10:15am Sep 5, 2016 10:15am
  •  pascalx
  • | Joined Apr 2016 | Status: Member | 32 Posts
Quoting 9047
Disliked
{quote} No worries. Best advice I can offer is invest minimal time into anything that is MT4 focused and build up the cash flow to fund access to better platforms. The benefit of hind sight is that I can see I wasted a lot of time with MT4. That said the I'm a better programmer for it.... but I'd rather have more money in the bank though
Ignored
I think that is a very good advice. I spent a month in the MQL Editor until I figured out it held me back. The lack of various language features and the lousy debugger are the main reasons. The C++ project will give better features and Visual Studio is ideal for debugging. It's just I have to make that connection between C++ and MQL. I am also using a RPC mode btw. I am using GRPC (google). It works very good. I am about 50% done with the MQL4 bridge btw. Once it is fully done, I can finally start building Trading Tools and Trading Logic (which are then not MQL specific).
 
 
  • Platform Tech
  • /
  • C++ MQL4 Forex Harvester
  • Reply to Thread
    • 1 2Page 3 4
    • 1 2Page 3 4
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023