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