MT4 EA Course: ATR Stops And Position Sizing

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

 

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

Forex Wall-E

 

Note: Do you have a trading strategy you want to automate using expert advisors? I can help with the development! Have a look at my MetaTrader 4 Expert Advisor development services and get in touch today to make your project a success!

 

We’ve been doing pretty well with our expert advisor. We created a fully functioning EA that can make buy and sell orders, and also can trail our stops. However, up until now, we’ve always used a fixed stop loss of 50 pips.

 

That might often be ok but what if you want a dynamic stop loss? In order to better reflect the market dynamics, we could use a volatility indicator such as ATR (Average True Range) to determine our stop-loss.

 

When we use dynamic stop loss distances, we still want to keep our risk per trade the same. We do this using dynamic position sizing. In other words, we will change the lot size per trade to reflect our desire to use a 1% stop loss. Let’s see how we can add this to our Wall-E expert advisor!

 

 

Read More