Subscribe to Quantisan
Ads
-
Recent Posts
Ads
Economics
- Babypips: Currency Currents
Close preview
Loading... - Babypips: Pipnoculars
Close preview
Loading... - Babypips: Piponomics
Close preview
Loading... - Calculated Risk
Close preview
Loading... - Cara Community
Close preview
Loading... - China Financial Markets
Close preview
Loading... - Econbrowser
Close preview
Loading... - Mish's GLobal Economic Trend Analysis
Close preview
Loading...
Forex
- Babypips: Chartology
Close preview
Loading... - Babypips: Currency Cross-Eyed
Close preview
Loading... - Babypips: Espipionage
Close preview
Loading... - Babypips: Pick of the Day
Close preview
Loading... - Babypips: Pip My System
Close preview
Loading... - Babypips: Playing with ComDolls
Close preview
Loading... - Babypips: The Loonie Adventures of a Forex Noob
Close preview
Loading... - Blade Trading
Close preview
Loading... - Counting Pips
Close preview
Loading... - FMFX
Close preview
Loading... - Forex 13
Close preview
Loading... - Forex Crunch
Close preview
Loading... - fxmadness
Close preview
Loading... - Kathy Lien
Close preview
Loading... - Kevin Michael Hughes
Close preview
Loading... - Leo The Forex Guy
Close preview
Loading... - Long & Wrong
Close preview
Loading... - Pip Tee
Close preview
Loading... - RagheeHorner.com
Close preview
Loading... - The Geek Knows
Close preview
Loading... - The Samurai Trader
Close preview
Loading...
Stocks
- AlphaTrends
Close preview
Loading... - Austinp's Blog
Close preview
Loading... - Babypips: Pipsychology
Close preview
Loading... - Downtowntrader
Close preview
Loading... - E-Mini Player
Close preview
Loading... - Fundamental Trading Diary
Close preview
Loading... - Fusion Investing
Close preview
Loading... - Hedge->Accordingly.ly
Close preview
Loading... - High Probability Trading
Close preview
Loading... - Slope of Hope
Close preview
Loading... - Smart Money Tracker
Close preview
Loading... - SMB Capital Trading Blog
Close preview
Loading... - StockTickr
Close preview
Loading... - The Deipnosophist
Close preview
Loading... - The Kirk Report
Close preview
Loading... - The Night Owl Trader
Close preview
Loading... - The Perplexed Investor
Close preview
Loading... - The Reformed Broker
Close preview
Loading... - Trader's Narrative
Close preview
Loading... - TraderFeed
Close preview
Loading... - Trembling Hand Trader
Close preview
Loading...
Quant
- Algorithmic Game-Theory/Economics
Close preview
Loading... - Chris Donnan: Programming – Brooklyn Style
Close preview
Loading... - Coding the markets
Close preview
Loading... - CSS Analytics
Close preview
Loading... - Cyberstrategics Complex Event Processing Blog
Close preview
Loading... - Enhyper
Close preview
Loading... - forex blog by ckowyong
Close preview
Loading... - Hack the market
Close preview
Loading... - Hack the market
Close preview
Loading... - Intelligent Trading
Close preview
Loading... - Macro on CEP
Close preview
Loading... - Magmasystems Blog
Close preview
Loading... - MarketSci
Close preview
Loading... - Max Dama on Automated Trading
Close preview
Loading... - Neural Market Trends
Close preview
Loading... - Quantifiable Edges
Close preview
Loading... - Quantitative Finance Collector
Close preview
Loading... - Quantitative Trading
Close preview
Loading... - Quantivity
Close preview
Loading... - Quantum blog
Close preview
Loading... - System Trading with Woodshedder
Close preview
Loading... - Tales from a Trading Desk
Close preview
Loading... - The Vantage Point
Close preview
Loading... - Tr8dr
Close preview
Loading... - Traders Edge Systems
Close preview
Loading... - Trading the Odds
Close preview
Loading... - Trading with MATLAB
Close preview
Loading...
- Babypips: Currency Currents
Ads
Categories
Archives

My name is Paul and I am a full-time engineer, part-time trader. Back in 2000, I deposited my $5000 interest-free student loan with an online broker. Since then, my interest in trading has become an obsession.
Why I am not a big fan of MQL4 or trading platform scripting
I spent most of 2008 trading futures and developing automated systems on Tradestation. The futures trading didn’t turn out so well as I lost 40% of my account and had to call it quit. My quant development work on the other hand, was coming along slow but steadily. However, since I couldn’t bear the monstrous maintenance fee anymore at Tradestation, I had to abandon that work. Then last year when I wanted to pick up where I left off on Matlab, I found that I couldn’t just continue my work.
For one, I’ve lost most of my files. I think I left them in my other computer in Hong Kong. Which is probably in a landfill by now. Secondly, I didn’t keep a thorough journal back then in 2008 like I’m doing now. Lastly, from the important files that I’ve kept, I didn’t bother to convert the codes because I might as well write new ones from scratch than figure out what I did.
The reason why I am reminiscing at the moment is because I am finding myself in the same cycle again.
As regular readers may be aware, recent events have accelerated my quant projects schedule. I am experimenting with using Metatrader 4 for my foreign exchange trading and scripting in MQL4 for automated trading. Like Tradestation, Metatrader 4 is a trading platform with scripting capabilities. Its programming language, MQL4, is a proprietary language based on C. I took a few hours this weekend to learn it (as I’m familiar with C already). So that I can start coding this week.
However, after giving it more thought, I’ve decided to scale down on my projects with MQL4. I don’t want to rely on a proprietary system for short-term convenience. As trading programmers know, the language used is merely a choice. Experience tells me that the bulk of development time is not spent on the actual programming itself. Rather, much of the time is spent on formulating, analyzing, and optimizing your algorithm. So I might as well bite the bullet to build from scratch my automated trading systems and quant analytics on one platform (i.e. on Python). That has been my long term plan all along. Everything under one roof. But I digressed.
Then there’s the issue of re-useability. Metatrader 4 is forex-only and only works with brokers that support it. As such, I would have to use something else for stock trading. Even for a forex-only system, it would help if I can do intermarket analysis quantitatively. That’s not possible as far as I know with MQL4. Which is another major downside for me.
To summarize other reasons on how I came about this decision, here are the advantages and disadvantages of using MQL4 versus using a general programming language, such as Python or C++.
The advantages of using MQL4 are:
Disadvantages of using MQL4.
This is certainly a tough choice. Judging by the huge user base, it’s evident that many people are satisfied with MQL4. Yet, as I’ve discussed here, there are downsides to using it (besides technical matters).
My current plan remains the same as what I said in my last month’s trading review. That is, I will use MQL4 to plug holes in my trading system for now before migrating to build my own system. In fact, I am already brewing my first expert advisor starting today. Perhaps I might even have something to post by the end of this week.
Related posts: