Maximize Your Trading with Exp_GStop: A Must-Have EA for MetaTrader 5

Mike 2017.01.20 01:57 41 0 0
Attachments

If you're looking to streamline your trading strategy, the Exp_GStop is a game-changer for MetaTrader 5. This nifty Expert Advisor (EA) automatically closes all your positions when your total losses or profits hit a predefined limit. Think of it as a global stop loss and take profit feature that keeps everything in check, no matter how many trades you have open.

What’s great about this EA is that it logs its actions, so you always know what's happening under the hood. Here’s a quick look at how it works:

How It Works

  • This EA monitors your total profit and loss across all positions.
  • It triggers a close on all trades when your set limits are exceeded.
  • Comments are added to the log file for your reference.

Key Features

  • Stop Calculation Modes: Choose between calculating losses in percentage or in your deposit currency.
  • Configurable Parameters: Set your own stop loss and take profit levels to fit your trading style.

Here’s a quick snippet of the code that sets it all up:

//+----------------------------------------------+
//| Enumeration for loss calculation options     |
//+----------------------------------------------+
enum StopMode
{
ENUM_PERCENT, //losses in percentage
ENUM_CURRENCY //losses in deposit currency
};
//+----------------------------------------------+
//| Input parameters of the EA indicator         |
//+----------------------------------------------+
input StopMode LMode=ENUM_PERCENT; //loss calculation method
input double StopLoss=20.0; //stop loss
input double TakeProfit=100.0; //take profit

With the Exp_GStop, you can trade with confidence knowing that your positions are being managed effectively. So why not give it a try and see how it can improve your trading experience?

List
Comments 0