The Simplest Way to Manage Your Expert Advisor Trades on MetaTrader

James Hinton
5 min readJun 15, 2024

So, you’ve developed a fantastic trading algorithm.

You’ve invested time into building it into an Expert Advisor. You’re excited, pumped! It’s go time!

Then you realize something.

How can you make sure your trading bot only trades a certain number of trades?

For instance, if you’re trading the RSI, you might not want to enter every. single. candle. while the RSI stays below your RSI low value.

In this article, I’ll show you how you can get your EA to automanage your trades.

What happens when you do not have order management

About This Series

In this series, I cover everything you need to build your own advanced Expert Advisor from scratch. I cover:

  • How to get started
  • Using built in technical indicators from MetaTrader
  • Making your EA autotrade
  • Adding some simple-yet-powerful risk management techniques to your EA
  • Backtesting and Optimizing your soon-to-be-awesome algorithm
  • Adding some advanced features

All of the code that I use is available on my public GitHub repo, and each episode contains…

--

--

James Hinton
James Hinton

Written by James Hinton

Passionate algorithmic trader and Cyber Security expert. Love developing helpful content.

No responses yet