• 概述
  • 评论 (13)
  • 评论 (41)
  • 新特性

VirtualTradePad Lite

VirtualTradePad "一键交易面板演示"

VirtualTradePad - 是一款工作于 MetaTrader 5 的控制面板: 买, 卖, 高买, 低买, 低卖, 高卖, 平仓, 删除, 修改, 尾随停止。

VirtualTradePad 赢得 "MQL5 语言实现最佳控制面板" 大赛的 第二名奖励

精简版

此版本的面板对可执行命令有限制 - 仅有 平仓, 删除和开仓命令可用。在演示期结束, 它将显示以下消息: VTP 演示版过期!!!购买完整版。


完整版本的面板可在此购买: http://www.mql5.com/zh/market/product/167。您也可以试试这个 用于 МetaТrader 4 终端的面板

重要功能

  • 当开仓成功, 您将听到一声类似终端动作的声音;
  • 如果出错, 您将听到出错声音;
  • 您不能在小于交易服务器允许的停止范围或是 0 差距内放置挂单;
  • 在 BUY 和 SELL 按钮上显示买盘价和买盘价,并带有方向箭头;
  • 信息格中显示货币对,持仓大小和总利润;
  • 在输入参数中您可以启用/禁用鼠标覆盖按钮时的提示显示, 以及提示语言 - 英语 / 俄语;
  • 关闭按钮关闭应用程序;
  • 最小化/最大化按钮在图表中将面板放大/缩小;
  • 面板可以在图表内移动。要想移动,在面板上部靠近关闭和最小化按钮的地方用鼠标拖拽,移动到期望的位置。

面板由 3 个选卡组成。


VirtualTradePad "持仓样式"

这个部分设计用来通过 BUY 和 SELL 订单交易, 也可使用附加功能, 比如: 止损修改, 止盈修改, 尾随停止, 仓位反转, 平仓。

界面:

  • Lots - 手数管理目标。当按 "+-", 手数会以服务器许可的最小增量递增。手数不能低于服务器许可的最小值;
  • BUY - 开多头仓位 (其上是买盘价);
  • SELL - 开空头仓位 (其上是卖盘价);
  • REVERSE - 持仓反转功能。持仓在 0 距反转;
  • CLOSE - 整体平仓;
  • Takeprofit/Stoploss - 选择持仓的止盈和止损。当按下 "+-", 止盈/止损将递增 1 点。止盈/止损不能低于服务器许可的最小数值。当按下 "+", 止盈数值从零直接跳到服务器许可的最小值。如果止盈/止损 = 0, 它的值显示为红色。如果止盈/止损不等于 0, 它的值显示为绿色;
  • MODIFY - 紧急修改持仓到指定的止盈/止损。同样, 停止位可以清 0 或修改;
  • Trailing stop - 选择尾随停止;
  • ON - 启用尾随停止。针对当前选择货币对启用。按下 OFF 可以禁用。尾随停止级别依照 Stop Loss 参数判断。


VirtualTradePad "订单样式"

这个部分可以用 Buy, Stop, Buy Limit, Sell Stop 和 Sell Limit 交易; 并且它包括附加功能,如止损, 止盈, 订单距离, 订单网格和订单删除。

界面:

  • Distance - 放置挂单的距离点数。对于止盈/止损, 这个数字不能小于服务器许可的最小值;
  • TakeProfit - 订单的止盈最小点数距离;
  • StopLoss - 订单的止损最小点数距离;
  • Lots - 挂单的交易量手数;
  • PLACE Section - 订单放置选项: Buy Stop, Sell Stop, Buy Limit, Sell Limit;
  • DELETE Section - 订单删除选项: Buy Stop, Sell Stop, Buy Limit, Sell Limit;
  • GRIDs - 开单网格数量。如果它大于 1, 则将按照同向、同间距布置网格。这个功能在 MetaTrader 5 里十分有用。还可以在每级附加手数,并将停止位移动到潜在的新位置。换言之, 这是交易量递增的尾随停止。
Nikolay Gaylis
16100
Nikolay Gaylis 2019.01.07 17:43 
 

用户没有留下任何评级信息

ussr12
615
ussr12 2018.11.02 12:35 
 

Жаль нет возможности ввода с клавиатуры отложенных ордеров, а только по рынку.

Denis Izotov
245
Denis Izotov 2018.10.11 09:28 
 

Более 3-х месяцев пользовался лайтовой версией и изучал функционал данной панельки, понравилась, приобрел полную версию. Пожалуй, одна из лучших торговых утилит, которые использовал. Большой функционал, много тонких настроек, поддержка разработчика. Пробуйте, тестируйте.

Gennadiy Voltornist
12010
Gennadiy Voltornist 2018.02.09 17:33 
 

nice

Ali irwan
5136
Ali irwan 2017.07.25 00:59 
 

用户没有留下任何评级信息

Rodrigo da Silva Boa
7170
Rodrigo da Silva Boa 2015.12.24 09:07 
 

用户没有留下任何评级信息

Megatrader777
219
Megatrader777 2015.01.31 17:57 
 

Пользуюсь такой же на мт4. - одним словом КРУТО!

Malken
54
Malken 2014.04.30 09:04 
 

用户没有留下任何评级信息

Vadim Strelkov
7827
Vadim Strelkov 2014.04.08 12:40 
 

用户没有留下任何评级信息

Reanimator2
67
Reanimator2 2013.07.11 18:25 
 

Интересная панель.

Mamai
101
Mamai 2013.06.03 10:25 
 

Спасибо за лучшую панель управления для мт5. Все работает четко и быстро. Ваши продукты заслуживают доверия и уважения.

Пожелания: Добавить в панель Чистый безубыток. Также хотелось бы иметь возможность в панельке по сигналам - чтоб выставлялась позиция, например выбрал в вкладке сигналы - пару сигналов - и при получении сигналов - открывалась позиция. Спасибо.

Алексей
16
Алексей 2012.12.12 13:02   

tralling stop не работает. Нужно дополнительно включать что-то?

Vladislav Andruschenko
174447
Vladislav Andruschenko 2012.06.16 14:37 
 

Тест

版本 20.423 2020.04.23
-The design of the Lot +, Lot-, Modify buttons has been changed to display correctly on 4k monitors.
版本 20.404 2020.04.03
Функция SL TP Target обновлена и позволяет работать с любыми позициями, открытыми с панели и другими советниками.
版本 20.403 2020.04.03
-Added the ability to partially close positions from the chart:
ShowInfoPosition function updated:
Now, when you click on the "X" next to a position on the chart, a window will appear to select partially or completely closing positions:
in percent: 10%, 25%, 50%, 100%;
in lots: Lot step, Lot step * 2, Lot step * 5, Lot step * 10;

- Added a new option "do not show" to the Type_Profit_On_Position_Tab parameter - disabling the profit display on the Positions page.
版本 20.206 2020.02.07
Обновление по полной версии
版本 20.129 2020.01.29
To save memory and prevent the panel from hanging when loading the quotes history, we have disabled (by default):
input bool Signals_D1=false; //Signals_D1 --> Show from D1
input bool Signals_W1=false; //Signals_W1 --> Show from W1
版本 20.127 2020.01.27
Strategy Tester HideIndicators
版本 20.125 2020.01.27
Full changes in REAL versions!
--Show_BuySell_LimitStop - In MetaTrader 5, Additional buttons for opening Buy/Sell Stop Limit orders.
You can enable the display of the Buy/Sell Stop Limit open buttons.
Disabled by default!
-- Forced writing global variables to disk.
-- Added the ability to pending/delete stop/limit orders from the keyboard:
BuyStop_Open_KEY = BUTTON_G; // BuyStop_Open_KEY -> Button to Open BuyStop order;
SellStop_Open_KEY = BUTTON_H; // SellStop_Open_KEY -> Button to Open SellStop order;
BuyLimit_Open_KEY = BUTTON_J; // BuyLimit_Open_KEY -> Button to Open BuyLimit order;
SellLimit_Open_KEY = BUTTON_K; // SellLimit_Open_KEY -> Button to Open SellLimit order;
BuyStop_Delete_KEY = BUTTON_V; // BuyStop_Delete_KEY -> Button to Delete BuyStop order;
SellStop_Delete_KEY = BUTTON_B; // SellStop_Delete_KEY -> Button to Delete SellStop order;
BuyLimit_Delete_KEY = BUTTON_N; // BuyLimit_Delete_KEY -> Button to Delete BuyLimit order;
SellLimit_Delete_KEY = BUTTON_M; // SellLimit_Delete_KEY -> Button to Delete SellLimit order;
--TypeofOrdersMagicTarget - Added selection of the type of orders when using MagicTarget, If stop loss and take profit are not used.
BuyStop SellStop - When using Magic Target without stops, BuyStop / SellStop will be installed (by default, as in previous versions).
BuyLimit SellLimit - When using the Magic Target without stops, BuyLimit / SellLimit will be installed.
-- Color of TrailingStop and CLP in the ON mode - is changed to green.
- Added +/- buttons for the TrailingStop.
- Found and fixed memory leak error when using Signals!
- The version for the MetaTrader 5 terminal now can use scrolling (on the mouse):
If you hover over the field for editing the parameter (lot, stop loss, take profit, distance, CLP), then when scrolling with scrolling, you can increase or decrease the value in this field!
Note: Only for MetaTrader 5!
Note: Scrolling of the chart is disabled if the cursor is on the area of our VIRTUALTRADEPAD panel and is enabled if the cursor is outside the VIRTUALTRADEPAD area.
版本 19.991 2019.12.02
MT5 STRATEGY TESTER: Prohibition on adding indicators from the panel to the chart of the Strategy Tester to save space.
CLP: Fixed display of future levels (Show_Future_BE_TP_SL) for BUY positions.
CLP: The Show_Future_BE_TP_SL function has been added to show future profit / loss lines when closing is selected as a percentage of the current balance.
VTP CLP: Added a new parameter to the "CLP options" section:
ClosebyFIFO = Closing positions according to FIFO rules;
When closing positions, the FIFO rule will be used (First opened, First closed).
The position will be closed in the order of their opening!
Attention: This rule is intended to be used only when working with all symbols and closing all positions at once.
Attention: This mode prohibits the use of functions: Separate Deals
版本 19.954 2019.10.24
Графические изменения и улучшения;

Orders: Обновлена функция Rounding для Нормализации цен отложенных ордеров на вкладке Orders!

Positions: Добавлен тип отображения прибыли на вкладке Positions:
Type_Profit_On_Position_Tab:
-- в пунктах Вашего брокера.
-- в валюте депозита.

Signal: При включении функции AutoTrade_by_Signals (Торговля по сигналам индикаторов), будет отображаться статус того, что функция включена и советник может открывать позиции автоматически.

KeyBoardTrade: При включении функции торговли с клавиатуры KeyBoardTrade=true на панели будут отображаться подсказка в виде буква клавиш для команды.

ButtonLanguage: Добавлен новый параметр ButtonLanguage выбора языка текста на кнопках и основного языка панели (информация на вкладках)!
Доступны языки: Русский, English, Português, Español, Deutsch!
Внимание: Этот параметр влияет только на текст кнопок и вкладок, Текст всплывающих подсказок можно выбрать в параметре Language!
Внимание! Если Вы нашли ошибку в тексте своего языка, Вы можете написать правильно значения в обсуждении нашей программы Virtual Trade Pad!

Graphic changes and improvements;

Orders: Updated the Rounding function for Normalizing the prices of pending orders on the Orders tab!

Positions: Added type of profit display on the Positions tab:

Type_Profit_On_Position_Tab:
- in points of your broker.
- in the currency of the deposit.

Signal: When the AutoTrade_by_Signals function is activated (Trading according to indicator signals), the status of the function being enabled will be displayed and the EA can open positions automatically.

KeyBoardTrade: When you enable the trading function from the keyboard, KeyBoardTrade = true, a tooltip in the form of a letter of keys for the command will be displayed on the panel.

ButtonLanguage: Added a new ButtonLanguage parameter to select the language of the text on the buttons and the main language of the panel (information on the tabs)!
Available languages: Russian, English, Português, Español, Deutsch!
Attention: This parameter affects only the text of buttons and tabs. The text of tooltips can be selected in the Language parameter!
Attention! If you find a mistake in the text of your language, you can write the correct values in the discussion of our program Virtual Trade Pad!
版本 19.809 2019.08.09
Strategy Tester Update
版本 19.808 2019.08.09
Added position management on the current chart.
When using ShowInfoPosition = true, the X button will be added along with the text label, when clicked on:
You can remove Stoploss;
You can remove Take Profit;
You can close the selected position;
版本 19.701 2019.07.06
- A new parameter has been added to the function “Closing by total profit or loss”:
ClosingCurrentTicketOnly - Close only the current list of tickets.
This option will help to avoid problems when my program starts to close positions on the basis of total profit, and the user's adviser starts to open new positions.
ClosingCurrentTicketOnly = true, Then the VirtualTradePad program, if the total profit conditions are met, will close the current list of positions. If new tickets are added to the list of positions, the VirtualTradePad program will ignore them.
ClosingCurrentTicketOnly = false, Then the VirtualTradePad program, if the total profit conditions are met, will close all positions, even if another adviser opens new positions.

 - Show_Future_Line function improved:
will draw the levels of a future deal only when the user moves the cursor to the opening buttons of BUY SELL;
When you hover over the Buy or SELL buttons, the graph will show the lines of the future position, stop loss and take profit;
 - The Show_AveragePrice function has been improved:
A new text label has been added with information about the future middle line (price information in which all positions in one direction will have a total profit = 0), taking into account the current open positions in one direction and taking into account the future open lot of the same direction.
In other words: Now not only the current middle line is shown, but also the future middle line, which will be set if the user opens a position with the specified lot!
 - The functions of displaying additional information on the chart were supplemented:
Show_Future_BE_TP_SL, Show_Future_Line, ShowInfoPosition, Show_AveragePrice:
Changed the display of information:
false - do not show information;
true always - always show on the chart;
true cursor is on the pad - show only when the cursor is on the panel;
true cursor is not on the pad - show only when the cursor is outside the panel.
 - Graphic improvements;
 - When working with MagicTarget, the buttons for opening and deleting pending orders are disabled;
版本 19.229 2019.02.27
Signal block updated:
Signals_Alert_After_Percent variable renamed Signals_Percent
Added variable Percent_difference_Signals = Percentage difference between two signals to perform an action (Alert, Open Positions)
For example:
Signals_Percent = 40% Percent_difference_Signals = 10%:
A signal to BUY can only be when the total signal for the direction BUY is> 40%, the total signal is SELL <30%
The signal on the SELL can only be when the total signal for the direction SELL is> 40%, the total signal BUY is <30%

Added a separate variable to display a message on the screen when the conditions for the general signal are met.
Alert_by_Signals - Enables or disables the display of an alert on the screen.

Added new features:
Change TF when you click on the object:
If you click on the name of the timeframe, then this timeframe will be applied to the current chart.

Only for mt5:
When you click on the indicator name, this indicator (with parameters from external settings) will be added to the current chart window.
Clicking on the arrow will open Time Frame and add indicator.
版本 19.228 2019.02.26
Fixed a percentage value profit on the CLP tab when the user did not press Enter to save parameters.
版本 19.226 2019.02.26
Added function Show_AveragePrice:
When working with the Position tab, the expert draws the average price lines for the BUY and SELL positions on the chart.
Average price is calculated from current open positions.
Also in the information rectangle is drawn information about the total lots and current profits for the positions BUY and SELL separately.
版本 19.211 2019.02.11
Fixed the error of moving the graph when the panel is minimized!
版本 19.209 2019.02.07
Returned the previous familiar font.
版本 19.207 2019.02.06
- Added function CloseConfirm - user confirmation for closing positions. When you click on the buttons: Close, Loss, Profit.
- Added function ReverseConfirm - user confirmation for reversing position. When you click on the buttons: Reverse.
- Added function LockConfirm - user confirmation for locking positions. When you click on the buttons: Lock.
- In the CLP block, when closing positions by profit in points, the profit in the deposit currency will be additionally checked.
Actual when closing positions with different volume of lots.
If the adviser can close positions by profit in points, but the profit in the deposit currency is less than 0, then the adviser will not close the position, but will wait for the positions to gain profit in the deposit currency> 0.
- Text labels with information about open positions are reduced, to save space.
- Cosmetic enhancements.
版本 19.206 2019.02.01
ReBuild Reboot
版本 19.204 2019.01.30
Global Update 2019
- Improved graphics part of the panel. Re-design of individual elements;
- Added the ability to resize the panel: GeneralSize!
- GeneralSize default = 12, Increasing the size of the panel.
- Last panel size with GeneralSize = 10!
- Text labels of open positions optimized. Fixed error when text labels were drawn on top of the VirtualTradePad panel;
- The following control has been added to the Stoploss and Take Profit blocks: Setting StopLoss / TakeProfit for all positions/orders on the instructions level on the chart:
When you click on the button, you will have a line level StopLoss / TakeProfit.
You can specify the price at which all StopLoss/TakeProfit positions/orders will be modified!
If you are working with the Positions tab, then StopLoss / TakeProfit will be set to the position!
If you are working with the Orders tab, then StopLoss / TakeProfit will be placed on pending orders!
Attention! The Expert Adviser can set StopLoss / TakeProfit, only on the price that meets the rules for setting StopLoss / TakeProfit!
版本 19.121 2019.01.21
Some graphical changes.
版本 19.114 2019.01.17
Global Update 2019:
- Added check Magic Number when using Reverse, Lock;
- When using CLP_DeleteStopOrders = true and the CloseALL buttons, the choice of characters to close is taken into account (All symbols, only the current one);
- the Rounding parameter has been added to the modification function, now when modifying stop loss and take profit, as well as opening prices for pending orders will be further normalized to Rounding marks;
- Added hints to external variables when setting up the program;
- Spread has been added to stop loss and take profit;
- Added language selection tips Language: Spanish, Portuguese (Brazil), German, Chinese, Japanese;
By default, the language of prompts will be determined automatically by the language of your terminal. You can also choose your language;
The translation was made using the GOOGLE Translator + MQL + Terminal site!
If you find an error in your language, please report it in messages. Thank!
- Parameter and function Sounds replaced by a more advanced function from our EAPADPRO
Added new parameters:
Notice_Open_Push = false;
Notice_Open_Sound = true;
Notice_Close_Push = false;
Notice_Close_Sound = true;
Notice_Modify_Push = false;
Notice_Modify_Sound = true;
Notice_Error_Push = false;
Notice_Error_Sound = true;
Notice_Open_NameSoundFromEa = "ok";
Notice_Close_NameSoundFromEa = "alert2";
Notice_Modify_NameSoundFromEa = "stops";
Notice_Error_NameSoundFromEa = "timeout";
You can enable / disable sound when opening, closing, modifying, error, as well as specify the name of the sound file (without .wav)
You can also enable notification to the phone (PUSH messages) when opening, closing, modifying, an error.
Additional information is displayed in the log.
- The ShowInfoPosition function has been updated; now the position information on the chart will not overlap our panel. Dynamic change of coordinates of information data on a chart.
- Font name changed to Roboto
版本 18.945 2018.10.18
The parameters of the number of attempts to close and open positions using one-click trading are added in external variables:
NumberTryClose - The number of attempts to close a position.
NumberTryOpen - The number of attempts to open a position.
When receiving an error from the server, the adviser tries to open / close.
Required with frequent requotes.

CLP Activation (Close if Profit or Loss Activation) Changed!
ON OFF buttons are added to the panel for more understandable action!
版本 18.932 2018.10.01
- Added support for the work of the Expert Advisor and the CLP tab (Closing on Total Profit or Loss) on VPS hosting from MetaQuotes.
Attention! The work of the Expert Advisor is carried out by transferring data files
版本 18.906 2018.09.17
The latest version of our panel!
版本 18.309 2018.03.14
Fixed an error related to input of lot size using the keyboard.
版本 18.227 2018.03.06
- МТ5: added automatic lot size calculation for futures;

- Added the ability to display the information about open positions on the chart.
--- Including the position direction, lot, current profit, stop loss/take profit (indicating the targets in points and in the deposit currency)
--- ShowInfoPosition - display information on the chart;
--- ShowInfoPositionSize - font size for the text displayed on the chart;
- Added support for font scaling in Windows (font size settings are not available);
- When working with MagicTarget and changing the lot size on the panel, the data on stop loss/take profit on the chart will also be redrawn;
- Updated the algorithm for displaying the current prices on the Positions tab;
- Added support for multiple magic numbers. Updated the MagicNumber parameter: the first number denotes the magic number for opening positions and management. It is also possible to set multiple magic numbers to be managed;
For example:
--- MagicNumber=777 UseAllMagicFromAllAccount=true: the EA monitors all positions on the current symbol and on the entire account;
--- MagicNumber=777 UseAllMagicFromAllAccount=false: the EA monitors positions with the magic number 777 on the current symbol and on the entire account;
--- MagicNumber=777,888 UseAllMagicFromAllAccount=false: the EA monitors positions with the magic numbers 777 and 888 (opens positions with the magic number 777) on the current symbol and on the entire account;
--- MagicNumber=777,888,999 UseAllMagicFromAllAccount=false: the EA monitors positions with the magic numbers 777, 888 and 999(opens positions with the magic number 777) on the current symbol and on the entire account;

- When a new object appears on the chart, the panel is refreshed to avoid overlapping of objects on the panel;
- Added support for operation in the strategy tester, but with the limitations of the terminal:
--- It is not possible to enter a value in the EDIT box;
--- The CLP tab does not work;
版本 17.979 2017.12.12
Cosmetic changes.

A new parameter has been added: CPL_AUTOOFF_AfterClose allows disabling the "Close if profit or loss" button after closing all positions.
The button is only disabled when ALL! positions are closed.
It takes into account the magic number specified in the EA, as well as the symbol for closing.
If closing only 1 currency is selected and the CPL_AUTOOFF_AfterClose is enabled, the EA waits for all positions of this currency pair to be closed, and only after that the button can be closed!

Bugfix: Fixed the issue with the TP Target calculation in the Info tab while simultaneously using positions with Take Profit and without Take Profit.
BugFix: Fixed dragging of trade levels (Stop Loss, Take Profit) when hovering over the panel and back.
Changes: Changed the coordinates of the profit value shown in the Info tab

The KoefLotForGridOrders parameter has been renamed to CoefLotForGridOrders
版本 17.970 2017.11.13
In the EA settings, changed the option for closing the terminal after all trades are closed.
Parameter CPL_CloseTerminalAfterClose - enable closing the terminal.
CPL_CloseTerminalAfterClose = true.
Terminal is closed only when ALL! positions are closed.
It takes into account the magic number specified in the EA, as well as the symbol for closing.
If closing only 1 currency is selected. If the CPL_CloseTerminalAfterClose parameter is enabled, the EA waits for all positions on the given currency pair to be closed, and cab close the terminal only after that!


Added the Show_Future_BE_TP_SL parameter to CLP - show the lines of the future position closure by total profit or loss..
Attention: it works only on the current symbol and with the 'SEPARATE Orders' mode disabled.
The lines are displayed separately for Buy and Sell positions, or by a common line.
If a line is not shown, then the positions form a lock that cannot be closed by the total profit or loss.
Note: line and price data may be inaccurate for floating spread.
Remember! SELL is closed by ASK, while BUY is closed by BID


版本 17.942 2017.10.17
The version has been updated to the latest full version https://www.mql5.com/en/market/product/167
版本 17.504 2017.05.11
- Fixed the error with the display of fractional numbers on the CLP panel: when entering fractional numbers in the fields Dollars, Percents and Profit trailing

- Added new control buttons to the Positions panel:
LOCK - lock the current positions on the given symbol and magic with 1 cumulative opposite position.
LOSS - close all unprofitable positions
PROFIT - close all profitable positions
版本 17.105 2017.01.13
Global update 2017
General changes and improvements:
-Depending on the account currency, added the corresponding icon.
-Improved the function for displaying the trade levels when hovering the panel.
(when hovering the panel, the trade levels of the terminal are disabled, so that the stop levels are not caught when pressing buttons).
-Fixed and improved the function for calculating commission and swap for INFO,CLP.

POSITION tab:
-Changed the tooltip for lots when enabling the DynamicLotStopLoss || DynamicLotAuto options.
-Added new parameter Show_Future_Line - show the lines and description of the future trade.
This function displays the stop loss / take profit lines of the future trade on the chart, statement in points, price and current profit/loss.
It also displays the position opening line with indication of the lot. If you set the lot to be calculated based on stop loss/deposit in the settings, the EA will display the calculated lot.
-TrailingStop now calculates and considers the commission when trailing the position.
INFO tab:
-Fixed display of the cumulative position type in the Info tab.
-Added the value of tick for 1 lot and for cumulative lot of the opened positions to the TickValue line.
-Added the Commission line for displaying the current commission of the open deals.

CLP tab:
-Added parameter Use_Lots_in_CLP_Points for working with the CLP tab - true - the EA will also consider the lot of those positions during calculation of profit points. This option can be useful in trading on a hedging account with different lots.

For example:
opened 2 SELL positions on EURUSD
SELL 0.01 with profit of 20 and 0.2 USD
SELL 0.02 with loss of -12 points -0.24 USD

-If Use_Lots_in_CLP_Points = false the EA will calculate the "net" points.
In this case, the Profit will be: -0.04 USD or 8 points.
As we can see, the position gained profit in points, but it is a loss in USD.

-If Use_Lots_in_CLP_Points = true the EA will calculate points with consideration of lots.
In this case, the profit will be: -0.04 USD or -4 points.
If calculation of profit is in points and the "Include lots in profit calculation" is enabled,
the EA will find the minimum lot of the provided positions and calculate the Points on that basis.
For example:
Minimum position 0.01, 1 "net" point = 1 point,
If a position is opened with a lot of 0.02, then 1 net point = 2 points with consideration of the lot.
If a position is opened with a lot of 0.05, then 1 net point = 5 points with consideration of the lot.

-Added checking of the input values for closing profit or loss:
If the specified profit is lower than the current - system generates a warning and disabled the closure mode.
If the specified loss is greater than the current - system generates a warning and disabled the closure mode.
If set to 0 and user attempts to enable closure - system generates an error.
-Added the AutoCorrect_LevelCLP parameter:
Only negative values can now be entered to the loss field. If user enters +10, the system automatically converts it to -10.
Only positive values can now be entered to the profit field. If user enters -10, the system automatically converts it to +10.

Only a positive value can be entered in the CLP_TralOptions, otherwise the EA generates an error.

ORDERS tab:
-Revised and improved the MAGIC TARGET button.
-When enabled and line is moved, the type of the future position and lot of the future position is displayed.
-When pressing Place, the EA checks the correctness of level placement, and if the levels are specified incorrectly, yjr EA cancels the order placement and points at the incorrect data.
-Added parameter MAGIC_FONTSIZE = size of text on the chart.
-Added check for the "Distance" field, if Distance ==0, the EA cancels the order placement.
-When using the MAGIC TARGET, the Grid and Distance fields can now be modified.


版本 16.930 2016.10.05
Updated the algorithm to work on hedge accounts.

Modified the FontSizeText - text size for the operating systems, in which the font size is different from 100% size.

Fixed the function for adjusting the panel position on the chart when switching charts.

Added Rounding parameter:
Without rounding - place stop orders without rounding
To 1 digit - rounding to 1 digit. For example, if Stoploss= 1.23456, the trade will be opened with a stop loss of 1.23450
To 2 digits - rounding to 2 digits. For example, if Stoploss= 1.23456, the trade will be opened with a stop loss of 1.23400

Added the function to save the settings during the terminal reboot, the change in settings inside the panel, when closing the panel on the chart and attaching the panel to the chart.
All variables and data changes made in the panel are now saved when the terminal is restarted.
If you turn off the terminal and turn it on again, all the parameters will be re-loaded from the global variables.

Added the TrailingProfit function to the CLP tab:
Trailing Stop at Closing.
A new function for trailing profits has been implemented on user demand. In this case, the profit is fixed with some correction. As soon as the profit reaches the specified value, the Expert Advisor saves the current profit level and starts trailing the profit.

For example:
If you made settings for closing at the profit of 10 dollars:
Profit $ - positive closing.
Profit $ - value of positive closing.
TrailingProfit- distance from Profit $, which, when reached, triggers trailing profit.
If Profit $ is set to 10 and TrailingProfit is set to 5, the Trailing Stop will be set at 5 dollars. The Trailing Stop will come into play when the Expert Advisor passes the 10 dollar line and starts moving following the profit. The Journal will show entries about the current profit status.
When the total profit falls below the last fixed level, TrailingProfit, the Expert Advisor will perform forced closing of all position.

The function works for all closure types: Every symbol, Current symbol, Separate BUY and SELL direction, Each order separately.
版本 15.991 2015.12.17
Modification for the FORTS market
REVERSE button: operation algorithm changed.
Once pressed: first the current position is closed, then the same position is opened with the same lot.
版本 15.966 2015.11.09
Версия 15,966 - 2015 11 05
Добавлен параметр Step_TrailingStop для установки шага трейлинг-стопа:
например, Step_TrailingStop=1, тогда через каждый 1 пункт позиция будет модифицироваться.
например, Step_TrailingStop=25, тогда через каждые 25 пунктов позиция будет модифицироваться.

Переработана система сигналов для панели Signals.
В данной вкладке показывается тренд по таймфрейму и индикатору. Ранее сигнал показывался в момент своего срабатывания. Сейчас показывается текущий тренд по каждому индикатору.

Добавлены показатели тренда BUY SELL в процентном соотношении на вкладке Signals

Добавлена возможность скрывать из вкладки Signals отдельные индикаторы и ТФ для расчета процентного соотношения:
Signals_M1=true;
Signals_M5=true;
Signals_M15=true;
Signals_M30=true;
Signals_H1=true;
Signals_H4=true;
Signals_D1=true;
Signals_W1=true;
Signals_BARS=true;
Signals_MA=true;
Signals_MACD=true;
Signals_Stoch=true;
Signals_RSI=true;
Signals_CCI=true;
Signals_WPR=true;
Signals_BB=true;
Signals_ICH=true;
Signals_ALI=true;

Добавлена возможность вывода алерта на экран при использовании вкладки Signals (Внимание: Вкладка Signals при этом должна быть активна.)
Signals_Alert_After_Percent
Если Signals_Alert_After_Percent=50, тогда если показатели выбранных ТФ и индикаторов по BUY или SELL будет выше чем 50 % прозвучит Алерт

Версия 15.915 - 2015.09.16MagicTarget: Исправлена ошибка цены установки ордера при непустом значении поля Distance

Версия 15.908 - 2015.09.14Что нового:
MagicTarget теперь может использоваться без стоплосс и тейкпрофита.
Если установка цены выше текущей - устанавливается байстоп
Если установка цены ниже текущей - устанавливается селлстоп

Новые цветовые параметры:
color MAGIC_ORDER - Цвет линии цены для MAGICTARGET;
color MAGIC_STOPLOSS - Цвет линии стоплосса для MAGICTARGET;
color MAGIC_TAKEPROFIT - Цвет линии тейкпрофитадля MAGICTARGET;
版本 15.521 2015.05.22
The new function VIRTUALTRADEPAD MAGIC TARGET

I am glad to present you a new function for trading via my panel in one click — MAGIC TARGET.

MAGIC TARGET is a functional button, a control element of the Orders tab. It is designed for the fast setting of a pending or a market order in the МТ4 and МТ5 platforms.

MAGIC TARGET button automatically defines a placed order type quickly and reliably.

Added parameters for setting a lot by an auto lot from a deposit and a stop loss
extern bool DynamicLotStopLoss=false; // Autolot from StopLoss
extern bool DynamicLotAuto=false; // Autolot from Deposit

Added step parameters for increasing and decreasing the settings (stop loss, take profit, lots, distance)
extern double Step_Lots=0.01;
input int Step_StopLoss=1;
input int Step_TakeProfit=1;
input int Step_Distance=1;
版本 15.116 2015.02.05
The version has been completely updated based on the possibilities and functionality of the full version
https://www.mql5.com/en/market/product/167