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…)