Trade Manager – user manual
   30/Nov/2021     Forex Trade Manager    Comments 0

The Trade Manager program is built to easily plan, place and manage orders on the Metatrader 4 and 5 platform.
By using the Trade Manager program you can control your risk and you don't have to sit in front of the monitor all the time managing your opened trades because the program will do it for you.

In the Trade Manager program you get:

  • automatic calculation of the deal size based on the risk %
  • calculations of stop and target values in the account currency
  • automatic and manual partial closing of transactions
  • automatic Break Even
  • automatic Trailing Stop

This user guide is to provide a step-by-step instruction for you to become familiar with the operation of Trade Manager to support you with an easier trade operation on Metatrader.

How to install and run the program

Program installation

EA Trade Manager is distributed via the mql5.com market. Below are the steps to install the Trade Manager purchased in mql5.com market.

  1. Open the MT4 or MT5 terminal;
  2. Go to menu Tools and Select Options;
  3. In the opened window go to "Community" tab and log in to MQL5.com;

  1. Open the Purchased tab of the Market section. The list of products purchased using the specified MQL5 account will be displayed here;
  2. Select the desired product and click "Install". The app will be downloaded to the disk and installed in the terminal folder;

Attention! A new activation is required in order to install an app on a new computer.

Trade Manager is automatically activated and installed to the Market folder in the Navigator of the MetaTrader terminal. A notification of successful purchase and activation is sent to your email, as well as to the MetaTrader terminal and as a private message to your MQL5 account.

Starting the program

For the correct operation of the program, you have to enable  autotrading/algotrading in Metatrader terminal.

Turn ON AlgoTrading in a MT4/MT5 toolbar and set it in options:

  1. Go to menu Tools
  2. Select Options
  3. Go to "Expert Advisors" tab
  4. Check option "Allow algorithmic trading" and uncheck 3 options "Disable algorithmic trading when...";

Apply changes by clicking "OK" and restart metatrader terminal.

When you are ready to start the program, go to the "Navigator" window, find the program in the Expert Advisors \ Market section and run the program by double-clicking the left mouse button or dragging the program onto the chart.

Quick Overview

When you run the Trade Manager program, a panel will appear on the chart. It mainly consists of four parts.

We will look closely at all parts of the panel.

Title bar

In the title bar of the window you will find information about the current version of the program and the button for minimizing the panel and closing the program.

After minimizing, the panel is visible only as a square with the program logo. Just click on the logo to maximize the panel.

The X button exits the program and removes EA Trade Manager from the chart.

Tabs

There are 4 tabs on the left side of the panel:

Placing orders

Manual managing orders and partial profit/loss closing

Break Even and Trailing stop

Configuration

You can click these tabs to switch between the main functions of Trade Manager EA.

Placing orders

In the Trade Manager, you can place market orders and pending orders. Orders can be placed in two ways:
1. fast opening of market orders (especially useful for scalping) with the BUY and SELL buttons on the panel
2. visual order planning by drawing horizontal lines on the chart indicating the level of opening, stop and target.

Quick opening of orders using the BUY / SELL buttons on the panel

At the beginning, in the panel, we see two buttons BUY and SELL, which we can quickly place a market order on the market.

However, before you can press the button to open a market order, you need to set some options.
First, set the Stop Loss and Take Profit levels under the BUY / SELL buttons.

By default, we set SL and TP in pips as the distance from the opening price, but it is also possible to set SL and TP as the price.

Just click the button that says "Pips" to switch to the price levels. Then, the word "Price" will appear on the button. Clicking the button again (this time saying "Price") will switch back to the pip value.

It is also possible to configure the default Stop Loss and Take profit values, which is described in detail in the "Program configuration option" section.

Lot size calculation

Another important element is determining the size of the transaction. You can either determine the size of the transaction yourself or define the risk level for a given transaction and the program will calculate the lot size.


If you set the size of the transaction yourself, the program, based on the entered value and the stop loss distance, will determine in the next field what is the risk percentage for the planned transaction (it is the balance percentage).


On the "Configuration" tab, you can define the acceptable risk level. If you exceed an acceptable level of risk, the numbers in the risk field will turn red.


The colors of the accepted / unaccepted risk can also be defined in the program settings window (press F7) in the "--- RISK ---" section in the parameters:
- Acceptable Risk Color
- Unacceptable Risk Color.

In the case of automatic lot size calculation, we have 3 options:
- Cash Amount - with this option, you can define fixed value of stop loss in the account currency, and the Trade Manager will be automatically calculating lot size when you will be changing stop loss distance by moving lines on chart or just define its value in the SL field on the panel.


- Risk Balance - with this type, you can define in the field "Risk" max allowed risk% per trade and program calculate lot size based on stop loss distance and% of account balance. Next to the "Risk Balance" option, the calculated risk value in the account currency will be displayed.


- Risk Equity - this method works the same way as "Risk Balance", with the difference that the percentage size of the loss depends on account equity. Next to "Risk Equity", the calculated risk value in the currency of the account will be displayed.

For the calculation of risk, we take into account the Balance or Equity of the account, i.e. we define the risk, e.g. 2%, then we risk only 2% per transaction from the Balance / Equity of the account. For example, if we have Balance = $ 48000, then 2% of $ 48000 = $ 960 so the SL value cannot exceed $ 960.

EA Forex Trade Manager - quick orders placement

Visually placing the orders with the use of horizontal lines

Another way to place orders is to visually plan entry and exit points (stop and target) on the chart. This is especially convenient when we have designated potential market turning points and want to set a target and defense for the order in this area. We do not have to enter exact values then, but simply move the horizontal lines to the previously designated places.

Line drawing

To draw lines on the chart, in the first step, click the pencil button on the panel in the upper left corner. When the button is "highlighted" then the line drawing mode is active and now you can click anywhere on the chart.
The program will draw a block with open, stop and target lines on the chart. The opening price level will be where we clicked on the chart.

Then adjust the order opening level (in the case of a pending order) as well as stop loss and take profit. These levels are set by simply clicking on the bar with the text and dragging it up or down.

Setting up an order with a lines

The entire block can be freely moved in the chart area. Just click on the opening price bar and move in any direction.
Similarly, click and move to the stop or target bar to set the desired target and stop levels.
You can also widening and narrowing the entire block by clicking and moving the mouse at the right or left edge of the block.

There are buttons on the bars:

  • Reverse Button - a button for quickly switching between the long and short positions
  • Pin / Unpin Button - pinning or unpinning the stop or target level.

Attention! Note here that the two states of pinning SL and TP are here.

With a single click on the pin button, we pin the SL or TP level so that when changing the opening level, SL and TP are stay the same, but we can drag these levels with the mouse

When double-clicking on the pin button, a red dot appears on the pin and makes it impossible to change this level even by clicking and dragging with the mouse.

To set the exact opening price (the open bar/line level), you should call a special price edit window. To do this, hold down the CTRL key and click on the opening price bar.
In the window that opens, enter the correct price and confirm the changes by clicking the "OK" button.

When you draw lines on the chart, the default direction is BUY.

However, when you drag the Stop Loss level above the opening price, then the direction of the order changes to SELL. The buttons on the panel also change.

If you have previously selected the automatic lot calculation then the program calculates the transaction size on an ongoing basis based on the specified risk and Stop Loss size when you are changing the Stop Loss position. A detailed description of the lot calculation types can be found here.

The appearance of the open / stop / target block, such as colors, transparency, font size or bar size, can be defined in the parameters described here.

Open/Stop/Target block options on the panel

In the upper part of the panel, we have round buttons through which we can draw an open / stop / target block and we can set the block's operation when we plan to open an order.

  1. Line draw or clear button
  2. Button to auto-adjust the line to the current price
  3. SL and TP freeze button
  4. Fixed Risk Reward Ratio
  5. OCO (One Cancels the Other)

1. Line draw or clear button

When you want to draw open / stop / target lines on the chart, then you need to click the pencil button to activate the drawing.

When the button is highlighted (lighter color) now you have to click anywhere on the chart to draw the lines (the block opening price level is located at the click level on the chart).


After you successfully draw a line on the chart, the pencil button changes to an eraser button that you can use to remove lines from the chart.


The entire process of drawing lines in the chart is shown here.

2. Button to auto-adjust the line to the current price

When you activate the "auto-adjust" button then the entire block is moved to the current price and with each new tick the block will follow the current price.

If the block is in the BUY direction, then the opening level is "sticked" to the Ask price, while for a planned SELL order the block will "follow" the Bid price.
If this option is activated, then the block can only be moved horizontally with a mouse.
This is a particularly useful option when you plan to open a market order right away. For a pending order, it is best to keep turned OFF the "autoadjust" function so that you can freely adjust the level of the opening price.

3. SL and TP freeze button

This option determines the behavior of the Stop Loss and Take Profit lines.


When you activate the "Freeze SL and TP" option, the pins on the SL and TP lines are activated and both Stop Loss and Take Profit keep their level constant if the level of the opening line changes. This is important when you want to set a constant profit or loss exit level on the chart and then adjust the entry point or open a market order at the current price.
If this function is inactive (pins are deactived on the SL and TP bars), then the stop loss and take profit distance is kept constant and by changing the opening price we move the entire block including SL and TP.

4. Fixed Risk Reward Ratio

By activating this option, the program maintains a constant risk-to-risk ratio, which in practice means that by dragging SL the program automatically increases or decreases the TP distance. Likewise, if we drag TP, the program adjusts the SL distance.


The size of the RR ratio is defined in the panel on the configuration tab in the "Risk Reward Ratio" field.

5. OCO (One Cancels the Other)

This option does not apply to the operation of the line, but directly affects the behaviour of pending orders that have already been placed.

A one-cancels-the-other order (OCO) is a pair of conditional orders assuming that if one order executes, then the other order is automatically cancelled.

After activating the OCO function, the Trade Manager “remembers” all pending orders and when one of them is activated, the rest are deleted.

WARNING! Removing one of the orders does not cancel the other ones, but only activating the pending order will do it.

The appearance of the block

The open / stop / target block appearance is fully customizable via parameters in the Trade Manager settings window. You can set such elements as the background color of the open, stop or target bar (each separately), the background color between the bars, background and text transparency, as well as font family, size and color, and even text transparency. Below is a short presentation of the possibilities of changing the block appearance settings:

A detailed description of the parameters can be found here.

The texts to be displayed next to the lines can be defined in the program configuration tab. For this you need to use special tags that define individual data. You can define texts for the bar at the opening price, for stop loss and for take profit, and separately for a planned order, a market order and a pending order. More information about the configuration of the texts on the bars can be found here.

Management of an existing order

After opening the order, the program assigns an information bar to the opening line, which displays basic information about the order, e.g. lot size, transaction type, or the current transaction profit.

The bar can be freely moved along the line of the order opening price, but after clicking on the bar, it is expanded and shows the bars at Stop Loss and Take Profit.

When the block is expanded, we can modify the order by clicking and dragging vertically the Stop Loss or Take Profit bar, and in the case of a pending order, even the opening price.

Attention! For a pending order, the pins work the same as for a planned order, i.e. we can freeze SL or TP or both at the current levels and change the position of the opening price only.

https://youtu.be/FIbtv9PDz_U

The texts on the bars can be freely defined in the program configuration tab. Separate texts can be defined for a planned order, for a market order and for a pending order. A detailed description of the text configuration can be found here.

Each info bar has a gear icon.

When you click it, a new panel opens where you can manage the selected transaction.

  1. The header of the window with the ticket, symbol, type and size of the transaction.
  2. Open order price. In the case of a pending order, you can enter a new value here to modify the order.
  3. Stop Loss. Enter a new value to modify the Stop Loss.
  4. Take Profit. Enter a new value here to modify Take Profit.
  5. Pips / Price button - changes displayed SL and TP values. These values ​​can be given in pips (Pips) or as price levels (Price).
  6. Delete / Close - delete or close the order.
  7. Close the part of the order.
  8. Specify the part of the order to be closed.
  9. Specify the unit of the order part to be closed as a lot or a% value of the current trade size.
  10. Reverse - close / delete current order and open opposite.
  11. Move SL to BE - move SL to BE.
  12. Break Even offset - here specify the offset from the opening price after moving Stop to Break Even.
  13. Break Even offset unit - offset unit for the stop from the opening price (pip or percentage of distance to TP)
  14. Automatic Break Even section.
  15. Trailing Stop section.
  16. Section for partial closing of the deal. A detailed description of the parameters can be found here.
  17. Background color of the information bar.
  18. Font color on the information bar.
  19. The transparency of the background of the bar.
  20. Width of the bar.

By clicking on the headings of individual sections, you can collapse and expand them.

Stop Loss and Take Profit modes

Stealth mode – possibility to hide stop loss or take profit

Many traders are concerned about the so-called “stop loss hunting” by brokers and would like to hide the location of its SL or TP. Therefore, in the new version of the program, we have introduced the possibility of setting a virtual stop loss / take profit.

To set the virtual mode for SL / TP, click the SL or TP button in the main panel and select the Virtual option in the window. Then each new order will have a virtual SL / TP set.

You can also set the hidden mode for only this selected order in the order parameters window:

The stealth mode is marked with the corresponding icon on the panel:

Physically, the SL / TP is not set in the order, and only the program remembers the designated levels and marks them with horizontal lines on the chart. After hovering over the line, a tooltip is displayed with information about which trade the line is from.

These lines cannot be moved directly, and SL / TP modification can only be done from the level of the open / stop / target block or the order modification panel.

ATTENTION! In order for close trade when the price reaches the virtual SL or TP, the TRADE MANAGER MUST BE RUN. When the program is turned off, the order is not protected by SL / TP and it can lead to serious losses on your account. You use this feature at your own risk.

Stop Loss or Take Profit disabled

If you do not want to define a profit limit for a given transaction, but you want the profits to follow the price and to hedge the profits with a trailing stop function, you can turn off TP.
Click on the TP button on main panel and select “Disabled” in the dialog box. From that moment on, all transactions will be made without TP.

Attention! When you disable TP then you can't specify the activation levels Trailing Stop, Break Even or partial closure as a % of distance to TP.

Automatic Stop Loss or Take Profit setting in the order

In Trade Manager you can enable automatic Stop Loss or Take Profit. If the program notices that a new order has appeared in the system that does not have SL and TP set, then it sets the values set in the SL / TP fields in the order. This function can be used when Trade Manager works on VPS and orders are placed manually via a smartphone.

Click on the SL or TP button on main panel and select “Auto Set” in the dialog box.

If the function is enabled a small horizontal line is displaying below the text “SL” or “TP”.

In order for the program to “see” your orders placed manually or outside the Trade Manager, you must set “Only Current Magic No.” in the parameters = FALSE.

Break Even

When a trade reaches a certain profit level, many traders protect their account by moving the Stop Loss to the trade opening level or a little further so that in the event of a negative scenario, when the price turns back, they do not get a loss on that trade.

To avoid sitting at the screen and "keep an eye on" transactions all the time, the Trade Manager program has an automatic Break Even feature.

Before we activate the automatic Break Even, we need to set two parameters:

  • Activation - that is the level / moment when the stop loss should be moved to Break Even. The moment of activation can be set as:
    • distance in pips from the opening price
    • percent (%) of the distance from the opening price to TP, e.g. TP = 120 pips BE Activation = 30% means activate BE at 36 pips of profit (30% of 120 pips)
    • Risk Reward (RR) means distance as ratio of SL distance eg activation = 1.0 R: R and SL = 30 pips then activate BE at 30 pips of profit; another example BE activation = 1.5 R: R and SL = 30 pips then activate BE at 45 pips of profit. This is always related to initial Stop Loss.
    • price - a certain price level
  • Profit - the amount you need to protect by a BreakEven option. You can set this value in pips, percent (%), risk reward (rr) or price.

If you have BUY order and set BE activation= 50 pips and profit = 20 pips then after gaining 50 pips of profit it moves Stop to 20 pips over the open level, so if price turns back and hits your stop you get 20 pips of profit protected by a Break Even.

Profit value in percent means % of current profit, so when you set BE profit = 50% and in the moment of activation of BE profit is eg 30 pips then Stop is moved to 15 pips (50% of 30 pips).

You can switch between the individual units of the "Activation" and "Profit" parameters by clicking on the buttons with the unit (pips, %, rr or price).

After all parameters are set, activate the function by clicking the button at the top.

When setting individual parameters for each trade is active, then the settings from the main panel of the program are copied to each new trade.
Otherwise, the settings from the main panel apply to all orders from the current symbol.

Trailing Stop

A trailing stop is a type of closing order that automatically follows market movements. It intervenes and secures profits by closing our position as long as it is favorable. Of course, the trailing stop allows you to both limit losses and protect the profits generated by our transaction.

Trailing Stop in the Trade Manager has 3 parameters to set:

  • Start - number of pips of profit to activate trailing stop. The "Start" can be set as:
    • distance in pips from the opening price
    • percent (%) of the distance from the opening price to TP, e.g. TP = 88 pips TS Start = 30% means activate Trailing Stop at 26.4 pips of profit (30% of 88 pips)
    • Risk Reward (RR) means distance as ratio of SL distance eg activation = 1.2 R: R and SL = 30 pips then activate BE at 36 pips of profit. This is always related to initial Stop Loss.
    • price - a certain price level
  • Trailing - when trailing stop will start and move stop loss, here we can define a distance of stop loss to current price. The "Trailing" value can be defined as
    • fixed stop distance from the current price, e.g. 20 pips,
    • percent (%) of earned profit. For example, if we set the parameter trailing = 25%, then when we have profit = 40 pips, then the stop will be moved 10 pips from the opening price (25% of 40 pips = 10 pips).
    • Risk Reward (RR) - in this case, you can define the distance maintained by the stop loss to the current price as a fraction or a multiple of the initial stop loss. For example, if we have a trade with an initial stop loss = 50 pips, then by defining the trailing as 1.5 rr then at each move it will be a distance from the current price equal to 1.5 * initial stop loss = 50 pips which is 75 pips.
  • Step - how many pips of profit causes the move of the stop level, i.e. how often stop loss is to be moved. You can define this parameter as distance in pips or risk reward related to the initial Stop Loss.

You can switch between the individual units of the "Start" and "Trailing" parameters by clicking on the buttons with the unit (pips, %, rr or price).

After all parameters are set, activate the function by clicking the button at the top.

When setting individual parameters for each trade is active, then the settings from the main panel of the program are copied to each new trade.
Otherwise, the settings from the main panel apply to all orders from the current symbol.

Partial profit and loss closing

The partial closing is a feature that allows you to exit trade with stages, therefore you can taking the next parts of profit as the price goes in the right direction or perform a phased exiting from a losing trade, reducing the loss.

With automatic setting of partial order closing, you can set default parameters which are automatically copied to the individual settings of each opening order.

ATTENTION! If, in the program parameters in the "------- LINES - ORDERS -----------" section, you disable the option of individually setting parameters for each open order (no information bars for open orders and no possibility of calling the panel with settings) by setting the parameter "Active" = FALSE, then the settings from the main panel apply to all open orders. In this situation, each change in the main panel is immediately applied to all active orders.

This image has an empty alt attribute; its file name is image-1024x631.png

We can set up to 4 levels of partial closings in profit and also max. 4 levels of partial closing of trades on a loss.
For each stage of closing a part of the transaction, we can define the size of the part to be closed and the distance from the opening price.

After enabling a selected level, an additional bar appears in the open / stop / target block representing the given level of partial transaction execution. The level of transaction execution can be adjusted by moving the bar on the chart or changing the settings on the main panel for a planned transaction or in the order panel for orders already placed.

This image has an empty alt attribute; its file name is image-1-1024x632.png

The size of the part to be closed can be specified in lots or as a percentage of the initial order size.

The level where the part of the trade should be closed also can be defined as the distance from the opening price in pips or as a percentage of the distance from the opening price to the take profit or to the stop loss.

For a Partial Profit Closing there is a 3rd option to set distance to close part of trade and this is Risk Reward (“rr”).

If you set the value rr = 1.0, then part of the order will be closed when the current price is in the distance equal to the distance of the SL from the open price. If the value is set to y = 2.0, part of the order will be closed when the price is 2 x SL distance to open price and so on.

You can also define the point at which part of the deal is closed simply as the price.

When the Stop Loss of a transaction is changed, whether by an automatic Break Even, Trailing Stop, manually by the trader or otherwise, the program calculates the distance defined as risk reward ("rr") based on the initial Stop Loss distance.

When a certain partial closure level is realized it becomes "inactive". The color of this level changes and you cannot drag it on the chart, change its settings in the panel nor deactivate it.

This image has an empty alt attribute; its file name is image-8-1024x631.png

You can define the appearance of the partial closing lines drawing on the chart in parameters. Find a description here.

Also in the configuration tab you can define what information is to be displayed on the lines. A detailed description can be found here.

Some examples below:

&l

Leave a Reply