Error 132 – Market is Closed – Pepperstone at 17:00 NY EST

Over the past week I've been noticing that my automated MetaTrader systems have been throwing 132 - Market is closed errors. There are two reasons why I've found this particularly odd: The market is open!? and These errors are being thrown at … [Read more]

The Art of Refinement

When I was a young trader I used to test and backtest hundreds of different trading systems throughout the week. I was a trader who had ADHD when it came to developing trading systems - even though I consciously would affirm the statement that no … [Read more]

Using SendMail Function in MetaTrader 4

Once your code is live (or still in test / demo mode) and you've begun utilising the services of a VPS to host your MetaTrader code you may want to translate your debugging Print() calls to SendMail(). Generally I use SendMail() whenever I push an … [Read more]

Analysing Your MQL4 Trading Systems – Final Episode

The final episode in our series on coding a simple breakout system in MetaTrader 4 using the awesome text editor Sublime Text sees us analysing our system using MyFXBook. Analysis of a trading system is something that requires experience and a … [Read more]

MQL4 Compiler for Your Trading System Without Leaving Sublime Text

Over the last week I've been excitedly testing out a brilliant Sublime Text plugin that has helped me to test my MetaTrader 4 code without leaving my code editor. Ilan Frumer has created an awesome MQL4 compiler plugin that enables traders to run … [Read more]

Coding MetaTrader 4 Trading Systems in Sublime Text – Part 3

Continuing on with the series on programming your MetaTrader 4 system in the awesome Sublime Text editor we will be looking at the following features in this screencast: Making the code more modular (functional) by refactoring the entry orders to … [Read more]

Coding MetaTrader Systems – Episode 2

In the second part (first episode here) of this mini-series on coding your own MetaTrader system we detail the following aspects: The importance of writing comments when designing your MetaTrader system - it's certainly something that isn't … [Read more]

Learning to Code a Trading System in a Better MQL4 Editor

I will be starting a series of videos where you can learn how to code in the best MQL4 editor. The series will be for beginners and we will be programming a simple channel breakout system. Throughout the series I will be using the advanced Sublime … [Read more]

New Templates Folder Added to MQL4 Language Package

After releasing the MQL4 Language Package a couple of days ago there has already been a couple of improvements made. We are happy to add more functionality to the existing Snippets folder within the MQL4 language package that enables users to … [Read more]

A Better Way to Code MQL4

If there's one annoying aspect to coding in MetaTrader's inbuilt Terminal platform it would have to be it's lack of customisation and it's lack of text editing abilities. Today we have many good text editors available for programmers and while … [Read more]