Trade Panel: Settings

5 March 2024, 15:37
Alfiya Fazylova
0
183

How to go to settings

  1. Button to go to settings.

▲ Back to top ▲

Tab: General

  1. Trade panel size.
  2. Displayed information in the Panel header.
  3. The side of the chart to which the collapsed panel will be attached.
  4. Displayed information in the pop-up alert window.
  5. Time to display the alert window on the chart (in seconds).
  6. Trading panel ID. Magic Number - Each Expert Advisor signs its orders with a numerical identifier (Magic Number). This is necessary so that each Expert Advisor works only with its own orders, and does not confuse its own orders with those of others. Set the panels and all Expert Advisors working on the same trading account to have different Magic Numbers. If only the Trading Panel (one instance) works on the trading account, then we recommend setting the Magic number = 0. With Magic = 0, the panel will manage all orders on the trading account, regardless of how and on which symbol they were opened.
  7. Set take profit and stop loss for all orders, regardless of how they were opened. The panel will set take profit and stop loss for all orders, including orders opened from a mobile terminal. Important, orders will only be modified if the Panel has Magic number = 0 and new orders have Take Profit = 0 and Stop Loss = 0.
  8. Set the trailing stop, breakeven and partial closing functions for all orders, regardless of how they were opened. The panel will apply the functions from the Trailing Stop, BreakEven, Partial Close panel to all orders, including orders opened from the mobile terminal. The panel will accompany all orders only if Magic number = 0.
  9. Market - the parameter is used for trading accounts with market execution of orders, where it is forbidden to open orders with predefined sl and tp. If you enable this option, the Panel will open an order with zero stop loss and take profit. After successfully opening an order, it will set stop loss and take profit, if they were specified in the original order parameters.
  10. Display a confirmation window on the chart when you click on the Open or Close order button. Designed to protect against accidental pressing of the trading button.

▲ Back to top ▲

Tab: Symbol Settings

This tab of the Panel for metatrader 4 and metatrader 5 has a different set of settings.

For Metatrader 4

  1. The amount of commission for 1 lot. It is technically impossible to determine the commission amount before opening an order, so you can use one of the following commission accounting options:
    • Commission per 1 lot will be calculated on the basis of closed orders, for this option to work correctly, at least one trade must be made, and it must be visible on the Trade History tab.
    • The user himself sets the amount of the commission for the lot.
  2. Apply multicurrency mode to the "Commission per lot" parameter.
  3. Price deviation - the amount of deviation of the order execution price from the specified price, to which the trader agrees. The higher the specified value, the less likely it is to receive a new execution price (requote) in response to a request for order execution. This parameter is used only for executing a deal in the immediate execution mode.
  4. Apply multicurrency mode to the "Price Deviation" parameter.

For Metatrader 5

  1. The amount of commission for 1 lot. It is technically impossible to determine the commission amount before opening an order, so you can use one of the following commission accounting options:
    • Commission per 1 lot will be calculated on the basis of closed orders, for this option to work correctly, at least one trade must be made, and it must be visible on the Trade History tab.
    • The user himself sets the amount of the commission for the lot.
  2. Apply multicurrency mode to the "Commission per lot" parameter.
  3. Trade request execution policy.
  4. Apply multicurrency mode to the "Filling policy" parameter.
  5. Price deviation - the amount of deviation of the order execution price from the specified price, to which the trader agrees. The higher the specified value, the less likely it is to receive a new execution price (requote) in response to a request for order execution. This parameter is used only for executing a deal in the immediate execution mode.
  6. Apply multicurrency mode to the "Price Deviation" parameter.
  7. Use the open price excluding clearing - do not take into account clearing when tracing positions: *
    • disabled - the position tracking functions will use the current position open price in calculations.
    • use the price of the first trade - the position tracking functions in the calculations will use the open price of the first trade instead of the open price of the position.
    • use average position price - the position tracking functions in calculations will use the average price of all transactions included in this position.
  8. Apply multicurrency mode to the "Recalculate position price after clearing" parameter.
* Attention:
This function is only needed for the functions of trailing stop, breakeven and partial closing of a position.
This function is used only on Netting accounts, when working with futures (including the FORTS market).

▲ Back to top ▲

Tab: Toolbar

Tab for customizing the Toolbar.

  1. Show button on toolbar.
  2. Move the button to the left or up (if the toolbar is located vertically).
  3. Spacing between buttons.
  4. Toolbar Location:
    • The panel is located separately from the main panel, in a vertical view.
    • The panel is located separately from the main panel, in a horizontal view.
    • The panel is attached to the main panel and is located to the right of it.
    • The panel is attached to the main panel and is located to the left of it.
  5. Display toolbar buttons as icons (default) or as text.
  6. Show Minimize button in Toolbar.

▲ Back to top ▲

Tab: Trade Panel

Tab for customizing the Trade panel.

  1. Buttons to switch tabs.
  2. Display block on tab.
  3. Move block up.
  4. Button to go to the block settings.
  5. Show a tab in the "Trade" panel.
  6. The title of the tab.
  7. Volume - designed to set the risk or lot size for a new order. See below for how to set up the block.
  8. The Take Profit to Stop Loss Ratio - is used to set the automatic ratio between Take Profit and Stop Loss of a new order.
  9. Take Profit and Stop Loss - designed to set the size of the stop loss and take profit of a new order. See below for how to set up the block.
  10. Opening Orders - designed for quick opening of pending and market orders, as well as for opening orders using lines on the chart. See below for how to set up the block.
  11. Comment to the order - designed to edit the comment of a new order.
  12. Reversal of positions.
  13. Locking positions (lock) - used to equalize the volumes of Buy and Sell positions.
  14. Breakeven - used to set the stop loss of each position to its own breakeven level.
  15. Partial close - used to perform partial closing by a specified percentage.
  16. Closing profitable + unprofitable positions
  17. Closing all orders and positions.
  18. Closing Buy + Sell.
  19. Closing pending orders.
  20. Close orders on all symbols. This block is used in conjunction with blocks 16 - 20.
  21. Moving the stop loss or take profit of all orders to a common level.

For more information about the purpose of each block, see the Trade Panel section.

Volume block setting

  1. The method used to calculate the lot per trade. The lot calculation method can be changed from the drop-down list in the panel if the checkboxes in position 7 are enabled. See supported methods here.
  2. Lot or risk size (depending on the calculation method). This value can be edited from the block in the panel.
  3. Apply multicurrency mode to the "Value" and "Step" parameters.
  4. The method used to calculate the number of orders per click. See supported methods here.
  5. The number of orders that will be opened when clicking on the open order button.
  6. Show the input field for the number of orders in the panel.
  7. List of volume calculation methods that will be displayed in the drop-down list.

TP & SL block setting


  1. The size of the take profit and stop loss of the new order. This value can be edited from the block in the panel.
  2. Apply multicurrency mode to the "Take Profit" and "Stop Loss" parameters.
  3. Enable the function of calculating stop loss and take profit using the ATR indicator:
    • Stop Loss = ATR * multiplier_sl.
    • Take Profit = ATR * multiplier_tp.
  4. Show in the block a button for recalculating stop loss and take profit by ATR. When you click on this button, the panel will recalculate the stop loss and take profit using the current ATR readings.
  5. Recalculate stop loss and take profit at each symbol change on the chart.
  6. Market noise filter. This mode changes the calculation of ATR: extremely small and extremely large bars are removed from the calculation, which makes it possible to reduce the effect of market noise on the calculation.
  7. ATR indicator settings.
  8. Multiplier for Stop Loss and Take Profit.
  9. Use Virtual Stop Loss and Take Profit when opening an order (the “Virtual SL & TP” checkbox will appear in the block).
  10. The color of the virtual stop loss and virtual take profit lines.
  11. Activation price type for virtual stop loss and take profit for Buy orders *.
  12. Activation price type for virtual stop loss and take profit for Sell orders *.
  13. Spread multiplier for stop loss and take profit. The function automatically adds the current spread to the take profit and stop loss (the addition occurs when you click the open order button). 0 - function disabled **.
  14. Add a spread to the stop loss and take profit of pending orders.
* There are three types of activation for virtual stop loss and take profit:
  • Ask - the panel will close the position if the Ask price touches or exceeds the virtual stop loss or take profit.
  • Bid - the panel will close the position if the Bid price touches or exceeds the virtual stop loss or take profit.
  • (Ask+Bid)/2 - the panel will close the position if the average price touches or exceeds the virtual stop loss or take profit.
By default, the price type is set to the same as for real stop loss and take profit:
  • For Sell orders, the activation price is Ask.
  • For Buy orders, the Bid activation price.
** An example of automatically adding the current spread to the take profit and stop loss:
  • take profit = 400 points.
  • stop loss = 200 points.
  • take profit multiplier = 2.
  • stop loss multiplier = 4.
When you clicked on the “Open order” button, the spread was 24 points, respectively:
  • take profit = 400 + 24 * 2 = 448 points.
  • stop loss = 200 + 24 * 4 = 296 points.

Opening orders block setting


  1. Show the "Max spread" checkbox in the block.
  2. Go to the settings of Order Opening Labels. See below for details.
  3. Show buttons for opening orders by lines on the chart.
  4. Show buttons to quickly open market orders.
  5. Show buttons to quickly open pending orders.
  6. Show buttons to open BuyStopLimit and SellStopLimit orders (MT5 only).
  7. Swap the Buy and Sell buttons.
  8. Apply expiration time to pending orders. In the field, enter the number of hours to be added to the current time - this value will be used as the original expiration time. When opening a pending order, this value can be changed.
  9. Setting the color of the line, market order button and pending order button.

Setting labels for opening orders


  1. Information that is displayed on the label of the order opening level.
  2. Information that is displayed on the label of the take profit and stop loss levels.
  3. The side of the window to which the labels will be anchored.
  4. Indent labels from the edge of the window (for anchoring with a fixed indent).
  5. Moving Stop Loss and Take Profit labels following the movement of the current price. Take profit and stop loss when opening a market order are calculated from the current price. Accordingly, if the current price moves, then the take profit and stop loss will follow it. If you want the take profit and stop loss labels not to move, you can disable this parameter.

▲ Back to top ▲

Tab: Tasks Panel

Tab for customizing the "Tasks" panel.

  1. Lot calculation method for an order that will be opened by task. Supported methods are described here.
  2. Hide/show interface blocks.
  3. Task line style.

▲ Back to top ▲

Tab: Alert Panel

Tab for customizing the Alert panel.

  1. Alert line style. For МТ4 - for line thickness more than 1, only the Solid style is supported.
  2. The color of the line that is pending triggering.
  3. The color of the activated line that is alerting.
  4. Alert line width.

▲ Back to top ▲

Tab: Info Panel

Tab for customizing the Info panel.

  1. Display information in a panel.
  2. Show the spread size on the current symbol.
  3. Show the time until the bar of the current timeframe closes.
  4. Indent between lines.
  5. Show profit for the current symbol.
  6. Show the number of Buy and Sell orders.
  7. Show breakeven price for orders opened on the current symbol.
  8. Show ATR indicator.
  9. Show the breakeven level on the chart as a line.
  10. Breakeven line color.
  11. Move the line with information up the list.
  12. Timeframe for the ATR indicator.
  13. Period for the ATR indicator.
  14. Market noise filter. This mode changes the calculation of ATR: extremely small and extremely large bars are removed from the calculation, which makes it possible to reduce the effect of market noise on the calculation.
  15. Show ATR power reserve.

▲ Back to top ▲

Tab: Chart Control Panel

Tab for customizing the Chart Control panel.

  1. Show the list in the Chart Control panel.
  2. Show all symbols supported by the terminal in the list.
  3. Show symbol in the list.
  4. Move symbol up in the list.
  5. Buttons for switching lists with symbols.
  6. List name.
  7. Show symbols from the Market Watch in the list.
  8. Sort alphabetically.
  9. Settings 1.
  10. Settings 2.
  11. Show only the "Chart Control" panel in the window. When this mode is enabled, the utility will remove the chart from the window and display only the "Chart Control" panel in the window. In this case, the remaining panels and functions will be hidden (inaccessible).
  12. The number of lines with symbols in the panel.
  13. The number of columns with symbols in the panel.
  14. Show a button in the panel to go to the "Favorites" tab.
  15. Show a button in the panel to go to the tab with a list of symbols, where there are open orders.
  16. Show the "Search for Symbol" button in the panel.
  17. Show the block "Total profit" in the panel.
  18. Show column names in the panel.
  19. Show in the panel a button designed to change the color of the symbol button.
  20. View of the "Settings 2" tab.
  21. Hide graphic objects that do not belong to the current symbol. *
  22. List of exclusion graphic objects. *
  23. Switch symbols on all windows (charts) of the terminal. Disable this checkbox if you want the panel to switch only its chart.
  24. List of displayed columns in the panel.
  25. The side of the chart to which the collapsed panel will be attached.
  26. Setting the list of switchable chart windows. This button is displayed only when the "Switch all charts" checkbox is disabled (23).
* The terminal binds graphical objects to a chart, not a symbol. Therefore, when switching the symbol on the chart, all objects remain visible.
To resolve this issue, enable this setting. When this option is enabled, the utility will hide graphical objects from another symbol and display on the chart only those objects that were created on the current chart.
If any objects do not need to be linked to a symbol, for example, an indicator panel, then you should enter the name of these objects in the list of exclusions (in field 21). If there are several objects, then enter their names separated by commas.
Attention, do not forget to delete unused graphical objects, this speeds up the work of the panel and the terminal as a whole.

▲ Back to top ▲

Tab: Tr, Br, Pc

Tab for customizing the Trailing Stop, Breakeven and Partial Close panels.

  1. Apply multicurrency mode for the Trailing Stop panel.
  2. Apply multicurrency mode for the Breakeven panel.
  3. Convert the value of the "Distance" and "Profit" of the breakeven function, which is expressed in "% of tp", "% of sl" or "price" into points. *
  4. Apply multicurrency mode for the Partial Close panel.
  5. Convert the "Distance" value of the partial close function expressed in "% of tp", "% of sl" or "price" into points. *
* Calculation methods "% of tp", "% of sl" can cause inconvenience when managing an open order. For example, if you change the stop loss or take profit of an open order, then this action will change the level of partial close or breakeven. To solve this problem, you can use this functionality, which will automatically convert "% of tp", "% of sl" and "price" to pips. This mode is used for the Breakeven and Partial Close panels. The conversion is performed only when an order is opened.

▲ Back to top ▲

Tab: Screenshot

  1. Screenshot of a trading operation performed by the Trading Panel:*
    • Screenshot when opening a position (market order).
    • Screenshot when opening a pending order.
    • Screenshot when closing positions.
  2. Screenshot size in pixels.
  3. Create folders with symbols, and sort screenshots by these folders.
  4. Hide panel from screenshot.
  5. Create timeframe folders and sort screenshots by these folders.
  6. Screenshot format.
* A screenshot will be taken automatically when the selected event occurs. Please note that a screenshot of the current chart with the current symbol will be created, even if the event occurred on a different symbol.

Screenshot storage folder:

In the terminal menu, go to the File / Open Data Folder submenu.

In the window that opens, go to the folder:

  • For MT4 - \ MQL4 \ Files \ Charts \
  • For MT5 - \ MQL5 \ Files \ Charts \

▲ Back to top ▲

Tab: Order Label

Tab for customizing the Labels of open orders.

  1. Information that will be displayed on the order open price label.
  2. The side of the chart to which the order labels will be attached.
  3. Information that will be displayed on the labels of stop loss and take profit levels.
  4. The initial distance of the labels from the edge of the chart.
  5. The distance between the marks in the horizontal direction (if there are more than 1 orders).

▲ Back to top ▲

Tab: Hotkeys

This tab contains hotkey settings.

Attention, hotkeys work only on condition that the chart with the panel is on top of the others (active).

  1. Enable the Hot Keys feature.
  2. Apply hotkey combination with Tab, Shift, Ctrl or Caps Lock.
  3. Hot keys for trading.
    • "Set all positions to breakeven" - sets the stop loss of each position to the opening price of the position (if the location of the current price allows it).
    • "Close % of all positions" - will close % of each position separately, based on its volume.
  4. Tab number of the Trading panel from which the order settings will be applied (lot, tp, sl, etc.)
  5. Field for entering the percentage of the closed part of the position.
  6. Hotkeys for chart management. (for MT4 the list consists of 9 periods).
  7. Hotkeys to switch chart symbol. The symbol switches according to the list of symbols in the "Chart Control" panel.
  8. Hot keys for panel control.

▲ Back to top ▲

Tab: Color Panel

Tab for setting the color of the panel.

  1. Panel appearance.
  2. Appearance of the table of the Chart Control panel.
  3. Panel color scheme templates.
  4. Create a custom color scheme.
  5. Load color scheme.
  6. Save color scheme.

▲ Back to top ▲

Tab: Color Label

Tab for setting the color of labels used in "Labels for opening an order", "Labels for open orders" and "Order control panel".

  1. Visualization of set colors.
  2. Setting the color of the labels of the order opening level.
  3. Setting the color of stop loss and take profit level labels.
  4. Setting the color of the breakeven labels.
  5. Setting the color of partial close labels.
  6. Buttons to go to the color settings tab.
  7. Setting the transparency of the label background for opening orders.
  8. Load color scheme.
  9. Save color scheme.

▲ Back to top ▲

Tab: Color Trade history

Tab for setting the color of lines and arrows of the Trading History function.

▲ Back to top ▲

Tab: Sounds

  1. The sound of the successful completion of the event.
  2. The sound of pressing buttons.
  3. The sound of the event ending with an error.
  4. The name of the custom sound file.

The sound file must be located in the C:\Program Files\MetaTrader*\Sounds folder.

* The name of your broker.

▲ Back to top ▲

Multicurrency mode

The trade panel can work with all symbols from one chart, this is ensured by switching symbols using the "Chart Control" panel. For convenient work in this mode, the panel provides the ability to save some settings separately for each symbol.

For example, you can use for EURUSD a take profit of 400 point and a stop loss of 200 point, and for BTCUSD a take profit of 50000 point and a stop loss of 25000 point. Each time you switch the symbol, the panel will itself substitute the values ​​associated with the symbol.

In order for the panel to save the settings for each symbol separately, enable the "Multicurrency mode" checkbox of the specified parameter.

  1. Multicurrency mode is disabled, in this mode the panel will apply the same value for all symbols. Changing the value of a parameter on one character will change its value for all characters.
  2. Multicurrency mode is enabled, in this mode the panel will save parameter values for each symbol separately. Changing the value of a parameter on one character will not change its value for other characters.
  3. Button to set the entered value for all characters.

  1. Multicurrency mode for Trailing Stop, Breakeven and Partial Close functions.

▲ Back to top ▲

How to save settings

  1. Download panel settings template.
  2. Save panel settings template.

Folder for storing Trading Panel settings:

  • For MT4 - \ MQL4 \ Files \ TradePanel
  • For MT5 - \ MQL5 \ Files \ TradePanel
  • Trading panel templates storage folder:

  • For MT4 - \ MQL4 \Files \ TradePanel \ Presets \ Panel settings
  • For MT5 - \ MQL5 \Files \ TradePanel \ Presets \ Panel settings
  • ▲ Back to top ▲

    Share it with friends: