Expert advisor trailing stops code

MT4 EA Course: Trailing Stops

This article is part of a series. Here are the other parts:

 

Welcome to the third part of our MetaTrader4 Expert Advisor course! If you haven’t done so, please have a look at first two instalments.

 

Forex Wall-E

In this part, I want to discuss stops. We’ve seen how to create an order with a simple pip-based stop in the previous article. What I want to look at this time, is how to implement dynamic, trailing stops. We’re still working on our Forex Wall-E expert advisor, so let’s continue where we left off!

 

(more…)

Forex MT4 MetaEditor

MT4 EA Course: our first forex expert advisor

This article is part of a series. Here are the other parts:

 

Welcome to the second part of our MetaTrader4 Expert Advisor course! Missed the first part? Go read the MT4 EA course Intro now, I’ll wait!

 

In this part, we’re going to learn how to use the MetaEditor – the Integrated Development Environment or IDE for MetaTrader4 – to develop those exceptional expert advisors! I’ll show you around the editor and we’re even going to create our first expert advisor. Let’s call that EA the Forex Wall-E.

Get it? Robots, automated programs. Ah, moooving on!

Forex Wall-E

 

After this article, you will feel comfortable with the MetaEditor and know how to create a new expert advisor. That’s almost halfway to raking in those pips with our automated strategy!

 

These are your first steps into a new world – with a huge potential pay-off.

Ready?

Let’s do this.

 

 

“Invest in yourself. Your career is the engine of your wealth.”

– Paul Clitheroe

 

(more…)

Forex Metatrader 4 EA editor

MT4 Expert Advisor Forex Course Intro

This article is part of a series. Here are the other parts:

 

The best MetaTrader 4 (MT4) expert advisor development course you’ll find on the web!

Here’s why: my MT4 expert advisor course will teach you how to transform your trading plan into a fully automated algorithmic trading system. What sets this course apart from others is its practical approach: I will provide you with real-life examples (including code!) on how to tackle actual scenarios. You will learn how automating your trades can help you lift your trading into profitability!
Backtesting a MT4 expert advisor

What this course covers

  • What is automated or algorithmic trading and why should I use it?
  • How to use the MetaEditor and Expert Advisors
  • Create your own Expert Advisor (EA)
  • Backtest your EA to validate your idea
  • Practical implementations for common scenarios, such as trailing stops, crossovers, dynamic position sizing, working with custom indicators and much more!

 

(more…)

Forex broker charts

Choosing a forex broker

Finding the right forex broker can be a challenge if you don’t know where to look.  There are so many brokers available, all with their own offers trying to lure you in.

 

Note: I’ve been using Pepperstone for a while now, and I’m extremely happy with them. I use their Razor ECN offering, which offers super low spreads (often 0 on EURUSD) and their service is absolutely top notch. If you’re looking for a good and reliable forex broker, I’d recommend checking them out. The Pepperstone link is an affiliate link. If you enjoy the content of this site and you’re looking for a broker, please consider Pepperstone as you can get the first 20 trades free when you sign up. The commission I receive helps me run this site. Thanks!

 

When choosing a broker, it’s therefore useful to look at the following criteria:

 

Low spreads

The spread of a currency pair is the difference between the buying price and the selling price of that currency pair. Most forex brokers don’t work on a commission basis, and the spread is how the brokers actually earn money when traders make orders. Different brokers will offer different spreads, and it’s worth looking into which brokers offer the lowest spreads on the currency pairs you’re planning to trade with the most often. A useful website to check a lot of broker spreads for the most common currency pairs can be found here.

 

(more…)