Welcome to Glenn's MT4 Coding page

What can this service do for your Trading?

Hi my name is Glenn Dove,

I've been trading the Share Market for over 20 years and have tried everything from Share trading, CFD's, Warrants, Options, Day Trading Indexes, Black Box Trading Systems and finally Forex. I've also written a book on Options. My full time job during the past 20 years has been as a Computer Analyst/Programmer.

Forex trading software has become so advanced  that it now offers the 'at home' or professional trader an array of benefits that I will explain below. The language that this code is written in is called MT4 or MetaTrader. This can be used by many trading platforms such as FxPro / FXCM.

 I know you don't really care but here's my coding standards for naming the MT4 code:

  • CE for Expert Advisors which you'll load/find in the 'Expert Advisors' section

  • CI for Indicators which you'll load/find in the 'Custom Indicators' section

  • CS for Scripts which you'll load/find in the 'Scripts' section.


Some code that might help with your Trading!

My full time job (until I become a great trader!) has been as an Analyst/Programmer for large Financial Institutions. A few years ago I self taught myself MT4 so that I could write my own code to help me trade the Forex markets. Since then I have developed code for Matt (traders Hub) and a few other people. I was selling the code in 1 'unit' but have decided to split it into smaller sections so that you can purchase what you require.

The following table shows code that I have created to help you trade the Forex markets. Some of the code has been specifically written for a particular trading method (eg Matt Sharp courses) while other code can be used for ANY Forex trading method. Click on the name for a more detailed explanation.

TypeCode NameCode DescriptionCost (US$)

Indicator

CI-Trading-Info

This indicator displays live trading information. Eg. dollar profit, percentage profit, maximum loss potential. This indicator also shows where you have taken trades on the chart as well as displaying world times in GMT, London, New York, etc

$30

Script

CS-Write-Zig-Zag

This Script writes the ZigZag Highs/Lows to a file along with pip difference. A Spreadsheet is included to calculate the 'average' range.

$10

Indicator

CI-GMT

This indicator writes a line at the bottom of the screen that displays the GMT for each bar.

Free

Indicator

CI-BarTimer

This indicator displays the percentage remaining on the current bar.

Free

Expert Advisor

CE-Trail-Stop-Loss

This EA moves the Stop/Loss automatically based on RangeBars, Moving Average, Chandelier Indicator or all 3.

$30

Script

CS-Order-Scripts

These Scripts let you quickly Open, Modify, Close orders. Lot size is automatically calculated based on your Risk (Eg 3%)

$50

Script

Matt Sharp MT4 Code

A combination of the above code that assists you in trading Matt Sharp's trading methods. Includes Indicators, EA and Order Scripts.

$87


MT4 Code for Matt Sharp's trading methods

A couple of years ago I created MT4 Code to trade one of Matt Sharp's (full time professional trader) methods. This code included Indicators, Expert Advisors and Scripts to assist in profiting from Matt's trading methods. Click on the links to the side of this website to find out further details.

Click here (Matt Sharp MT4 Code) for an overview of the code that I have created to assist you in trading Matt Sharp's methods including 'I Can Teach You To Trade' and 'System17' (traders-hub.com).


Examples of using the code (Recorded Webinar)

On the 26th August 2011 I held a Webinar with Matt Sharp from Traders Hub. This recording covers some of the Expert Advisors, Indicators and Scripts that I have written that will assit you with your trading. Click the button below to watch this video (runs for a little bit under 1 hour).

Recorded webinar

The different parts of Meta Trader

All the functions within the charting software are created using code to tell the application what to do. When you see a moving average on the chart it's running a program. So how does this help you? The obvious is that you can use common functions such as drawing indicators, place orders,etc but it's all limited to what the broker has provided you with. I found that when I started trading I wanted my own indicators, or wanted the order process to be quicker, or wanted the computer to move the stop/loss for me automatically. There's 3 main parts that function differently using MetaTrader code.

Scripts

Scripts run a program that does a set list of tasks and then finishes. An example of a script might be code that determines the amount of money you want to risk, calculates the Lot size to be traded and Opens up a market order. Each script can be assigned a 'hotkey' so that it can be run quickly. I use ALT-M to quickly place multiple market orders with a calculated lot size based on a Risk Percentage parameter.

Indicators

You'll probably already know what an Indicator does. As the name suggests it puts lines or symbols on the chart when certain criteria is met. An example is a Moving Average line. I've coded several indicators that check for set criteria and then put an arrow on the chart where a possible trade might take place.

Expert Advisors (EA)

An Expert Advisor, or EA, runs in the background. You can't see it's working until the logic within the program is met. A lot of Forex marketing is now based around selling 'robots' that trade the market for you. These EA's determine where the indicators/values line up, place order(s), manage the trade, move the stop/loss. I've tried a lot of these 'robots' and found that they are unreliable and over time don't work. However I do use an EA to alert me of trade setups via a pop-up window and play a preset sound. I can then quickly place my trades using scripts. When the trades are in the system the EA trails the stop/loss for me.


The service I offer to you

I spend most of my time 'trying' to get my trading to a 'professional' level where I can make consistent profits over a long time. This will then free me (from the boss!) to do the things I love (kite surfing, golf, flying a plane, etc). I love the challenge and outcome of producing code that suits a specific purpose.

If you have a system or method that you think could be improved I'd be happy to quote you a price to design, create, and partly test this for you. However I'll say right now "don't expect this to be cheap". I'm not trying to put you off but even a simple trading system can take a long time to produce. I'll give you an example. Let's say you have 2 moving averages. When one crosses the other you want to place a trade that uses 4% of your trading capital. You exit when the MA's cross over again. Not too complicated but I would need to code the MA's, logic to work out lot size, order entry (market or stop), where the target price is set, where the stop/loss is set.

If you have something in mind send me an email glenn@glennmetatradercode.com and I'll get back to you. As much detail as possible will help both of us to 'get it right'

Cheers

Glenn Dove