Search
× Search
Sunday, December 22, 2024

Archived Discussions

Recent member discussions

The Algorithmic Traders' Association prides itself on providing a forum for the publication and dissemination of its members' white papers, research, reflections, works in progress, and other contributions. Please Note that archive searches and some of our members' publications are reserved for members only, so please log in or sign up to gain the most from our members' contributions.

Can any trading strategy be coded into MT4 robot?

photo

 Rimantas Petrauskas, Forex Trader, Money Manager and software developer

 Wednesday, July 15, 2015

I did an experts roundup and asked 40 programmers one question. Can any trading strategy be coded into MT4 robot? Read this blog post to find out their answers.


Print

11 comments on article "Can any trading strategy be coded into MT4 robot?"

photo

 Alexander C., Securities Controller

 Friday, July 17, 2015



yep & programming by MQL4 is not difficult but need more practice.


photo

 tasos grivas, Implementation Consultant at Razor Risk Technologies, FRM

 Sunday, July 19, 2015



...as most of the devs you interviewed are mentioning: if it is a clear cut strategy yes.... if it is subejctive and based on argument of the type: 'when it looks like this...' or trendlines it is obviously impossible to be coded -- but, in any case, this type of trading should not be characterized as a 'strategy'...


photo

 Leonid Basis, Consultant at Independent Consulting

 Wednesday, July 22, 2015



Yes, if your strategy do not include human intuition and approximately commands ...


photo

 Ingvar Engelbrecht, CEO, developer, janitor at Nova Data Skr. AB and www.maieutic.com

 Thursday, July 23, 2015



MQL4 or MQL5 yes, with the cavetes mentioned above


photo

 Maciej Kowal, Trader

 Thursday, July 23, 2015



Hi, I think yes. I coded few statistical arbitrages.


photo

 Ingvar Engelbrecht, CEO, developer, janitor at Nova Data Skr. AB and www.maieutic.com

 Thursday, July 23, 2015



I have coded many EA:s both in MQL4 and MQL5. Some simple and some quite large and complex. I have never run into a situation where the coding capabilities in MQL4 or MQL5 has been the limiting factor


photo

 Stelios Choumas, Lead Software Developer & IT Consultant

 Thursday, July 23, 2015



Everything can be coded except logic which is not physics but metaphysics


photo

 Antonio Rosario, Computer Programmer / Researcher / Trader

 Thursday, July 23, 2015



The first step to test a strategy is to find or write a good back tester. MT4/5 can only test a strategy that uses a single instrument and a single account. If you are willing to create a good tester you can find some help in my web site:

www.arosario.com


photo

 Ingvar Engelbrecht, CEO, developer, janitor at Nova Data Skr. AB and www.maieutic.com

 Friday, July 24, 2015



@Antonio

I have written an EA that processes any number of instruments and uses a file (or MysQL) to get data specific for each instrument. Backtesting, at least in MT5 is no problem. That part works fine, quite straight forward. Running several accounts is, as you say, not possible.


photo

 Kaustabh Ray, Equity Research Technologist and Systems Architect

 Friday, July 24, 2015



MQL4/5 code interacting with an external algorithmic engine can just about solve any problem.

I would not use it for an HFT trading strategy though.


photo

 Nikitas Goumatianos, Software Engineer, Contracting/Program Manager, Algorithmic Trader/Researcher

 Saturday, July 25, 2015



I agree with @Kaustabh. Generally MQL4/5 code is not proper for big/complicated trading systems in terms of cost (time) development and maintainability/portability issues. If your algo system is huge, my suggestion is to write it using external ide tool (c#, java, C++, etc) in the form of dll (library) and then call it from MQL code The advantage of using MT4/5 is the huge number of technical indicators and trading systems provided for free.

Personally, I developed my own personal trading platform which involves pattern discovery methods and multiple committees of neural networks, What is the advantage?

First my application can use the existing source of MT4/5 of technical indicators and combine it with other external methods such as from my platform (it is used proper expert advisor which interacts with my appl),

Second, my platform can receive online data from Metatrader. process them (algos written in c#) and finally send directly orders to the Metatrader.

Additionally, since you have your own core engine, you can combine methods/strategies from many commercial trading systems (tradestation, cTrader, etc) without spending time for converting from one language to one other.

Please login or register to post comments.

TRADING FUTURES AND OPTIONS INVOLVES SUBSTANTIAL RISK OF LOSS AND IS NOT SUITABLE FOR ALL INVESTORS
Terms Of UsePrivacy StatementCopyright 2018 Algorithmic Traders Association