• Overview
  • Reviews (47)
  • Comments (721)
  • What's new

VirtualTradePad mt4 Extra

Trading Panel for manual/semi-automatic trading. Work with positions and orders! You can trade from the chart (chart window) or the keyboard. Opening and closing, Reverse and Lock. 

The trading control panel of main request in МetaТrader 4: buy, sell, buystop, buylimit, sellstop, selllimit, close, delete, modify, trailing stop, stoploss, takeproft.

Working tabs

Positions tab - Work with positions:

  • Opening / Closing BUY and SELL,
  • Reverse all positions,
  • Locking a common position,
  • Stop Loss / Take Profit ,
  • Setup a common stop loss / take profit for position grid,
  • Trailing stop,
  • Breakeven
  • Closing only profitable / loss-making positions,
  • Position management / stop loss / take profit from the terminal chart,
  • Partial closing of positions on the chart;
  • Autolot / Dynamic lot as a percentage of the balance or the set stop loss

Orders tab - Work with Pending and limit orders:

  • Pending / Delete BuyStop SellStop BuyLimit SellLimit,
  • Building a grid of orders with an increase in lots, grid distance,
  • Setting orders / positions with the mouse and lines on the chart,
  • Setting a common stop loss / take profit for the entire series of orders,

CLP tab - Work with the close function for total profit or loss.

  • Closing at total profit / loss in points, dollars, percent.
  • Close separately BUY / SELL,
  • Enable virtual stop loss / take profit for a separate / general position.
  • Trailingstop of total profit in points, dollars, percent.

    Signals tab shows the signal from 10 standard indicators and 8 timeframes. It also shows the cumulative percentage of signals in the BUY and SELL directions. It is also possible to open positions automatically when the cumulative signal is exceeded.


    INFO tab displays the current specification of the selected symbol, the current stop loss and take profit targets, as well as the profit for the current day, past day, week, month.

    Main features:

    • Works on any account type and a broker.
    • It does not require specific skills.
    • Intuitive and straightforward interface.
    • Only the most important functions.
    • Quick response to any command.
    • Trade using the keyboard (To do this, set TRUE the KeyBoardTrade parameter in the settings) or buttons on the chart
        • Dear friends and users of our EAs, please add your ratings in the Reviews section.
        • All updates to our forex software are free!
        • The developer of forex tools: Expforex

         

          You can also download my other products:
          Description MetaTrader 4  MetaTrader 5
          Copy of deals and positions between terminals  COPYLOT  MT4  COPYLOT MT5
          The trading panel in 1 click from the chart and keyboard  VIRTUALTRADEPAD MT4 VIRTUALTRADEPAD MT5
          Automatic scalper without settings  TICK HAMSTER MT4  TICK HAMSTER MT5
          Professional Automatic scalper, Smart Robot  TICKSNIPER MT4 TICKSNIPER MT5
          Smart robot for beginners  GOOD SANTA MT4  GOOD SANTA MT5
          Universal Expert Advisor on Custom Indicators  The xCUSTOMEA MT4 The xCUSTOMEA MT5
          Universal Advisor on Standard Indicators  THE X MT4 THE X MT5
          Averager, grid, additional opening of positions on Trend and against Trend  AVERAGER MT4 AVERAGER MT5
          Duplicator of positions, copying positions on one terminal  DUPLICATOR MT4 DUPLICATOR MT5
          Automatic installation of stop loss / take profit/trailing stop  ASSISTANT MT4 ASSISTANT MT5
          Simulator for strategy tester  TESTERPAD MT4 TESTERPAD MT5
          Professional account report   EXTRAREPORTPAD MT4 EXTRAREPORTPAD MT5

          All my programs on mql5.com from Expforex

           

          #tags Manual Trade , Trade Panel ,Panel Trade,Trade Utility ,Self Test ,Take Profit ,Tool Management ,Management Tool ,Forex helper ,Forex Trade ,Training virtual trade ,Quick Tool, Manual Tester, Manual Backtest,TesterPad, Tradepad, Virtual Trade Pad, Торговая панель


          Attention! If you want to learn how to trade in the  strategy tester, check out our free TesterPad utility

          VirtualTradePad won 2nd prize in the "Best Graphics Panel in the MQL5 Language" Contest.


          Manfred Braak
          170
          Manfred Braak 2020.05.22 13:27 
           

          It has all the features I need and it works phantastic for me. 5 Points!

          Gennadiy Tsybikov
          56
          Gennadiy Tsybikov 2020.05.09 01:33   

          Отличный помощник в ручной торговле, своего рода пульт управления торговым процессом очень полезен большое спасибо разработчику!!!

          vluyima
          317
          vluyima 2020.03.01 00:06 
           

          The tool is just out of this World, the best of the best hands down. This is excellent programming and ingenuity from the developer, 5 stars is so little, you deserve the entire sky.

          REYKING
          54
          REYKING 2020.02.18 17:28 
           

          I bought this EA in MT5 and now in MT4. It is really a basic tool to make a good trade!

          I am totally satisfied!

          VU TRONG DAI Vu
          225
          VU TRONG DAI Vu 2020.01.27 08:53 
           

          Very good

          shahudhy
          211
          shahudhy 2020.01.20 15:20 
           

          I have been using the tradepad for more than a year and this is one of my key EAs. I got an issue and Vladislav help me to short out the issue immediately. I will recommend the tool for all the traders. Once you know how to use it, u can have lot of potential trades on it. Im using this one for mainly scalping. Great Job and looking forward for new ones :)

          chada80
          19
          chada80 2020.01.18 14:44   

          Здравствуйте Владислав. Купил VirtualTradePad.

          Вопросы:

          Получил ex 4 Datei. Могу пррсто запустить и начать работу в мт4 ? Или надо дополнительно произвести настройки в мт 4??

          Попытался установить и протестировать пишет следуещее: Sorry, der Expert Advisor arbeitet mit den Einschrankungen des

          instakieren sie den Berater im echten Fenster.

          Связоно это с выходными днями? Можно ли тестировать купленный продукт если да то с какими настройками в тестере?

          Спасибо боььшое уверер что вы мне поможете.

          Ктото скажет - Купил непроверив до этого !?! Просто ДОВЕРЯЮ.

          Vasil lupanov
          1339
          Vasil lupanov 2020.01.16 20:06 
           

          Vladislav is perfect in every way !!!

          cvdestyfx
          1795
          cvdestyfx 2019.12.26 04:49 
           

          Amazing product!

          Lev Vladimirovic Marushkin
          1599
          Lev Vladimirovic Marushkin 2019.12.17 16:20 
           

          Dreams come true! Customer support is faster than the speed of light during working hours and EA is mindblowing good!

          DenisF
          102
          DenisF 2019.10.02 05:16 
           

          Столкнулся с неприятным моментом, хотя данная панель позиционируется как умеющая работать и с бинарными опционами, у брокера бинарных опционов VirtualTradePad открывает ордера с задержкой в 7 секунд!

          Через стандартное окно мт4 время выставления ордера составляет 1.6-2.6 секунд, иногда 3сек, но 7 сек ни разу не было.

          Автор пообещал разобраться, пока жду.

          Мне брокер БО сказал: "примите во внимание что торговая панель к использованию не рекомендуется. Данный софт устарел". Я недоумеваю, разраб

          постоянно пилит прогу, как она может устареть? Но факт, что есть существенное отставание. Пока жду ответа разраба.

          P.S. Как оказалось проблема была в брокере, панель работает корректно, разраб все четко разложил по пунктам, теперь я буду использовать панель на форексе, бинарные опционы развод чистой воды даже в этом случае. Ставлю Пять!

          mohammad shafiq
          694
          mohammad shafiq 2019.09.17 18:42 
           

          very good tool to manage trades especially for day trading, only thing that could improve it is when in a position instead of showing total profit on the positions tab in term of money i.e. GBP it would be better if it would show total profit/loss on open positions in points/pips- it would help with the psychology when trading large size to not see amount of profit and loss in money but instead points. I hope the coder will add this into the tool

          Les777
          437
          Les777 2019.09.12 17:02 
           

          I have purchased the MT4 version and rent the MT5 version... this utility is absolutely indispensable in my trading. I couldn't be without it. The author's customer service is unequaled on this site and just when you think the EA is as good as it can get it continues to improve with regular updates. It deserves 10 stars!!!!

          lchenot
          661
          lchenot 2019.09.11 20:34 
           

          One of the most useful Tools on the market. And the author is really helpful and stands behind its products. Highly recommend.

          Vikkoval1209
          72
          Vikkoval1209 2019.07.05 11:52 
           

          Несколько месяцев назад по началу арендовал, а потом и купил панель для МТ5.

          Очень удобная штука! Теперь все сделки провожу только при помощи нее. Вчера купил панель и для терминала МТ4.

          С апреля 2019, открывая 100% сделок только при помощи панели.

          Результат получился + 112%.

          Kurt-
          320
          Kurt- 2019.06.24 17:17 
           

          Отличная панель. Не надо подсчитывать, стоп, лоты, только поставил нужный процент и все расчитает- только занимайся торговлей. Работает моментально. Много полезных функций. Давно такую хотел приобрести, да не находил.

          Alberto Boada
          1053
          Alberto Boada 2019.06.22 13:55 
           

          Buena controladora

          Sergey Zhuravkov
          1855
          Sergey Zhuravkov 2019.04.15 09:07 
           

          Периодически нахожу ошибки и логи, смотрите комментарии ... требуются доработки

          şadi işeri
          240
          şadi işeri 2019.03.14 15:59 
           

          ÇOK GÜZEL BİR YAZILIM. ÇOK FAYDASINI GÖRÜYORUM.

          Varonos
          321
          Varonos 2019.03.13 14:47 
           

          The most professional around ! Fast support and +A grade products ! thanks alot

          Juan Chapel
          62
          Juan Chapel 2019.03.04 19:05 
           

          Awesome product and great customer support. In need of better English documentation and English videos would be an asset.

          craigk198
          163
          craigk198 2019.02.15 20:48   

          This has become my favorite EA for managing trades. It's like the Swiss Army knife of trading tools.

          Palmix
          135
          Palmix 2019.02.02 14:13   

          Очень доволен покупкой этой торговой панели! Купил два года назад и ни разу не пожалел! Настолько панель многофункциональна, что уже и придумать, вроде бы, нечего, но Владислав все равно находит те опции, которые можно добавить. Вот и в последнем обновлении ( 19.206 ) - добавил возможность изменения размера панели, наверно для тех, у кого большой монитор или проблема со зрением. Но самое приятное для меня обновление - это установка тейк профита и стоп лосса - одним нажатием мышки - по выбранной цене. Сразу же, для всех отложенных ордеров тейк профит меняется на тот, который нужно быстро изменить. Сразу для всех! До этого обновления - этой опции не было, а мне так хотелось ее видеть в панели ))). И вот она внедрена в панель и теперь можно быстрее реагировать на все изменения в рынке. Спасибо большое,Владислав!!!

          tunglaing
          36
          tunglaing 2018.12.29 12:55   

          I want you to add commands

          ProfitClose — profit in the deposit currency (for example: set to $100, when the total grid profit reaches $100, it will be closed).

          ProfitStart — profit in the deposit currency to start trailing, for example: $50.

          TralClose — close when profit decreases, for example: $20.

          Profit reached 50, trailing was activated, profit continued to grow to 60, then rolled back to 20 and everything was closed with $40 of profit. The pending orders are deleted, and an alert with the “continue operation?” question pops up. If you answer ?? — grid is placed again.

          Features of closing orders

          First, the EA attempts to close all orders by opposite ones, then closes the market positions and pending orders.

          Chun To Gordon Chan
          215
          Chun To Gordon Chan 2018.11.24 15:05 
           

          Best purchase ever... features are great!

          Fabrizio Malavasi
          3024
          Fabrizio Malavasi 2018.11.21 14:14 
           

          I think is one of the best tools in the market. It's a panel very smart and easy to handle. I can manage my markets orders more easily and quicly than before. I impressed about the work to innovate this tool. It' a must-have. Highly recommended! Well Done.

          Cyranc
          98
          Cyranc 2018.11.19 15:57 
           

          this is the most important EA I used in past 6 months

          Mark Williams
          764
          Mark Williams 2018.11.02 16:56 
           

          Very comprehensive!

          Serfil2017
          84
          Serfil2017 2018.09.11 05:42 
           

          6 сентября я написал свои пожелания, а 7 сентября вышла новая версия с учетом всех предложений и даже больше. Это самый красивый, удобный, легкий и быстрый по исполнению приказов инструмент с быстрой поддержкой и обратной связью. Не надо париться и тратить время на поиск чего-то лучшего для ручной торговли - в VirtualTradePad есть все. Инвестиции полностью себя оправдывают и отбиваются. Никаких сожалений о покупке. Спасибо!

          Banky79
          19
          Banky79 2018.08.21 10:10 
           

          Thank you for this EA. This EA is very hlepful. When you trade many pair. You can monitor one by one. And Author is continuous update EA.

          When you have qustion you can ask Author. He is very professnal with service mind.

          -dimitror-
          920
          -dimitror- 2018.08.20 22:54 
           

          Excellent panel.Thank you.

          angelaattrading
          152
          angelaattrading 2018.08.15 19:46 
           

          very good trading panel, great design and a perfect support !!!

          testacc
          201
          testacc 2018.04.18 16:12 
           

          Exceptionally good for me. Manages market orders quickly, easy to use and looks amazing. So well done. Very impressed.

          mjrotringsts
          19
          mjrotringsts 2018.02.26 17:17 
           

          easy to handle and nice panel.

          Minh Nguyen Nam
          2435
          Minh Nguyen Nam 2018.01.27 09:37 
           

          very good trading panel, great design!

          Sinbad01
          216
          Sinbad01 2018.01.17 19:38 
           

          Great Trading Panel. Well worth the investment.

          Amnart Monthaweephaisan
          158
          Amnart Monthaweephaisan 2017.12.19 15:28 
           

          I've been using this EA for a while.

          Very impressed in service. And it helped me profit in the forex market.

          Mike Panadar
          757
          Mike Panadar 2017.10.23 23:32 
           

          THIS ADVISER IS VERY VERY USEFUL , AND I CAN VERY EASY MANUALLY SET UP TARGET STOP LOSS AND LOTS, I LOVE IT, AND THIS ADVISER OFFER STOP LOSS LEVEL. AND ANDRUS HAVE VERY STRONG SUPPORT AND VERY CLEAR TO MY ALL QUESTIONS,

          THANK YOU ANDRUS FOR SUPPORTING AND HELP ME.

          iKido
          83
          iKido 2017.10.20 18:29 
           

          Всегда стараюсь выбирать лучший инструмент, который могу себе позволить в данный момент. Не важно какой именно - отвертку или софт. Не раз убеждался, что конечный результат всегда зависит от качества применяемого инструмента. Работаю в основном отложенными ордерами, а с удобством их выставления в мт4 - проблема. Использовал кучу скриптов для входа в сделку, пока не "набрел" в Маркете на VirtualTradePad. Мало того, что это выглядит красиво, так кнопка Magic - вообще находка! Вообще нет проблем с выставлением лимитников или входом рыночными ордерами. Стоп и тейк тоже выставляются в секунды. Приятным бонусом идет быстрая реакция на все мои обращения в личку и периодические скидки в Маркете. В итоге взял по акции две панели - под мт4 и мт5. Короче, мне пока все нравится!))

          ****

          Always choose best tools I can afford. No matter what - screwdriver of software)) I usually use pending orders and it's not a simple process in MT4/5. I was glad to find VirtualTradePad in the market. Attractive and very convenient tool. As a bonus fast author's reaction to my personal questions and discounts in Market. So I got 2 panels (for mt4 and 5) at affordable price several weeks ago. Thanks to Vlad for a perfect tool for trading! And good luck to everyone!

          Domi99
          443
          Domi99 2017.09.27 17:19 
           

          I'v purchased and using this utility for 1 month, both on demo and real accounts. this tool provides me reliable assistant to manage my opened positions, it can trailing and do averaging, can place limit/stop orders conveniently, i just need to focus on analysis, it makes my trading much easier.

          azalat
          25
          azalat 2017.05.17 11:30 
           

          Отличный помощник в ручной торговле, своего рода пульт управления торговым процессом))) очень полезен для стратегий усреднения, мартингейла и безубытка. Встроенные наиболее популярные индикаторы по которым можно не заморачиваясь входить в рынок одним нажатием кнопки. Купил. Денег своих стоит. Почти единственная утилита обладающая вменяемым интерфейсом и простотой использования. Автор периодически выпускает полезные обновления.

          jinhee Lee
          614
          jinhee Lee 2017.02.24 08:23 
           

          I rented it and found it really great and useful. Very fast and easy to use. I'll buy it after renting expiration. Recommend.

          johanmichel
          121
          johanmichel 2017.02.22 12:02   

          The words quality and awesome were invented just for this tool! It is so extremely helpful. Thanks a lot!!

          david.l
          377
          david.l 2016.09.07 16:05 
           

          Very good control panel.. quick trade close and reverse order.. good for scalper highly recommended :)

          finansisn
          19
          finansisn 2016.07.02 09:48 
           

          Панель очень хорошая экономит время. Понравилась функции кнопки во вкладке order, а также закрытие всех позиций (в дол или %)во вкладке CLP.

          Удачи автору.

          lachenille
          58
          lachenille 2015.06.06 12:05 
           

          thank you for this excellent tool and job for mt4.

          i have nevertheless some issue with size scaling of the letters in the panel. There are too big and overlap.

          i would put some screenshots from my screen (microsoft surface with a 10.2" screen)if i could.

          a solution could be to enable the change of size of letters as an external parameter ...

          I hope you could help, as i bought the soft .

          regards

          Edit mai 2014 :

          Wouah. I am impressed how reactive you have been to solve the problem. thanks very much

          Edit June 2015 :

          awasome, extra that's the word

          thanks a lot for the new trailing parameter and the magic button !

          david harrach
          502
          david harrach 2014.03.31 20:13 
           

          awesome

          Version 20.423 2020.04.23
          -In the CLP_Alert CLP_Push Notification, the name of the currency pair with which the program works has been added.
          -In the CLP_Alert CLP_Push Notification, the name of the currency pair, position type and lot of the closed position are added.
          -The design of the Lot +, Lot-, Modify buttons has been changed to display correctly on 4k monitors.
          Version 20.403 2020.04.03
          -Partial closing of deals
          --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.
          Version 20.324 2020.03.24
          AutoCorrect_Distance has been updated.
          When AutoCorrect_Distance is turned off (false), the EA will not check the Dist field value of the Orders tab on the minimum value.
          Version 20.213 2020.02.13
          UPDATE UPDATE
          Version 20.212 2020.02.12
          Target SLTP
          Version 20.207 2020.02.08
          Graphics update
          Version 20.206 2020.02.07
          =================================================== =====================================
          -- Added opportunity to use Expert Adviser on Forex VPS for MetaTrader 4/5 from MetaQuotes
          It works on any chart. Supports multiple chart at once!
          Tabs work: CLP, TrailinStop, Signals!
          Before changing the variables on your computer:
          1. Enable AutoTrading to make the Expert Advisor active.
          2. change the parameters,
          3. After that, start the Migration!
          =================================================== =====================================
          -- Added additional information to the StopLoss / TakeProfit Target control buttons (General Stop Loss / Take Profit):
          - The sum of all stoploss / takeprofit in points, deposit currency, percent of the balance.
          Information on future Stoploss / Takeprofit levels is displayed if the user presses YES;
          You can set the total real stoploss / takeprofit in points / percent / deposit currency (current value)!
          - The type of positions for which Target will use;
          - Ability to modify a new stoploss / takeprofit (Checks for positions and modifyng errors);
          =================================================== =====================================
          - Added Risk Manager: Risk Manager Limiting losses / profits / Lots / Numbers
          Block Limiting updated and supplemented!
          This settings block allows users to limit Profit / loss / lots / number of deals/positions for a specified time.
          A risk manager who monitors your trading and notifies you that the time limit has been exceeded with Current positions / today / week / month / all the time.
          It is possible to disable the operation of the BUY / SELL / LOCK / REVERSE / BUYSTOP / BUYLIMIT / SELLSTOP / SELLLIMIT buttons if the limit is exceeded.
          Disables the ability to open deals/positions on the current currency pair if the current value has exceeded the your limit.

          Settings:
          CurrentOpenDeals - Take into account current open deals/positions;
          ClosedDeals - Take into account closed deals / positions over time:
          LimitFor - The time during which closed deals / positions in the history will be checked;
          LimitForLosses - Loss limit at which the EA will sent a message, must be specified with -;
          LimitForProfits - Profit limit at which the EA will sent a message;
          LimitForLotsDeals - Limit of Lots of deals / positions, at which the adviser will sent a message;
          LimitForCountDeals - Limit of the number of deals / positions at which the EA will sent a message;
          NotificationMailSend - Send a message to the phone (PUSH) and mail if the limit is exceeded;
          ProhibitOpeningNewDealsOrders - Disables the operation of the BUY / SELL / LOCK / REVERSE / BUYSTOP / BUYLIMIT / SELLSTOP / SELLLIMIT buttons if the limit is exceeded.
          =================================================== =====================================
          - Show_EndOfBar Added a text label on the chart with the end time of the current bar!
          It is possible to change the position of the information label about the end of the bar.
          If you click on this label, then the label will change the position on the chart!
          Time is shown every tick! This means that if there was no tick, then time stops!
          =================================================== =====================================
          - BuySellConfirm parameter is added to the "Confirm options" block - Confirmation of opening positions by clicking on BUY or SELL;
          =================================================== =====================================
          - Added information on Stoploss / Takeprofit / Profit goals as a percentage of the current balance to the ShowInfoPosition text labels;
          - Added information on Stoploss / Takeprofit goals as a percentage of the current balance to the Show_Future_Line text labels;
          Version 20.125 2020.01.27
          -- 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.
          Version 20.120 2020.01.20
          Another problem with lots on different brokers.
          Please check the change of lots on your broker.
          Version 20.118 2020.01.18
          Lot normalization function for some accounts and symbols has been changed.
          Version 20.110 2020.01.10
          Added CLP: New parameter Use_Commission_in_CLP - Use calculation of commission when closing positions.
          true - take into account the commission in the calculations.
          false - do not take into account the commission in the calculations.
          Attention: The commission is calculated from an open deal and multiplied by 2 (When closing a deal a commission is also charged)
          This is the standard way to calculate commission!
          In MetaTrader 5, it is impossible to get the type of commission calculation from an adviser!
          If you do not want the adviser to automatically calculate the commission, you can turn off this feature!
          Attention! This function only affects the calculations on the CLP tab, all other tabs work in standard mode, taking into account commissions.
          Version 19.992 2019.12.17
          Исправление отображения будущей прибыли в процентах при использовании нескольких открытых позиций
          Version 19.991 2019.12.02
          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
          Version 19.977 2019.11.17
          Fixed the installation of fractional percentages when using the Dynamic Lot on currency pairs, where the minimum lot = 1.
          Version 19.959 2019.10.29
          Fixed error in calculating the ratio of stop loss and take profit when working with MagicTarget, which triggered the removal of the panel itself.
          Version 19.954 2019.10.25
          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!
          Version 19.830 2019.08.31
          Added the ability to work with Binary Options BO:
          CommentOrders parameter updated.
          Now you can set the expiration time of the option, for example 5 (Close after 5 minutes)!
          Unique comment support for brokers with BOs that require a unique comment.
          For example: CommentOrders = CLOSE31 (Close after 31 minutes)
          Specify the rules for writing a comment on the BO with your broker!
          Version 19.809 2019.08.09
          Strategy Tester Update
          Version 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;


          Improved Show_Future_BE_TP_SL hints when working with CLP.
          Show_Future_Line mode has been improved. When using Show_Future_Line, the labels of the current positions disappear so that the information does not overlap.
          Added parameter Show_Future_Line_Orders - Shows future levels of placing pending or limit orders if the user is working on the ORDERS tab.
          Version 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;
          Version 19.606 2019.06.06
          Graphic improvements.


          The function of the calculation of autolot changed.
          DynamicLotStopLoss and DynamicLotAuto.
          Added the ability to select the type of balance for the calculation.
          true From BALANCE - Autolot will be calculated from the current balance.
          true From FREE MARGIN - Autolot will be calculated from the current free margin (old version).
          Version 19.313 2019.03.13
          Due to the fact that the MT4 terminal does not accept the Chinese and Japanese languages, we are forced to disable these languages.
          Version 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.
          Version 19.228 2019.02.26
          Fixed a percentage value profit on the CLP tab when the user did not press Enter to save parameters.
          Version 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.
          Version 19.211 2019.02.11
          Fixed the error of moving the graph when the panel is minimized!
          Version 19.209 2019.02.07
          Returned the previous familiar font.
          Version 19.208 2019.02.06
          ReBuildReBuild
          Version 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.
          Version 19.206 2019.02.01
          ReBuild Reboot
          Version 19.205 2019.01.31
          Remastering
          Version 19.204 2019.01.30
          Remastering
          Version 19.201 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!
          Version 19.121 2019.01.21
          Some graphical changes.
          Version 19.118 2019.01.18
          Reload
          Version 19.117 2019.01.17
          Create_Arrow_Open_Close - Создание стрелок при открытии и закрытии позиций.
          Version 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
          Version 18.994 2018.12.27
          Fixed profit calculation on the Info tab on an account with a zero deposit.
          Version 18.993 2018.12.26
          Added variable AutoCorrect_Distance - automatic adjustment of the Distance field for pending orders.
          Now you can disable this adjustment and open pending and limit orders at the current price with a distance of 0 (for brokers who allow you to do this.)
          Version 18.970 2018.11.19
          AutoTrade_by_Signals: к функции AutoTrade_by_Signals добавлено следующее условие:
          Торговля только тогда, когда нет открытых позиций и выполнение условий по заданному проценту только в одном направлении.
          Если оба направления BUY и SELL удовлетворяют условию открытия, новая позиция не открывается!
          Если по текущей валютной паре есть открытая позиция, новая позиция не открывается.
          Version 18.945 2018.10.17
          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!
          Version 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
          Version 18.906 2018.09.07
          On the Positions tab, the BE button is added - Set stop loss to lossless for all profitable positions.
          This function sets break-even only for the current positions once. The break-even calculation also uses swaps and a commission.
          This is a manual stop-loss in a break-even position for the current positions, which have a profit!

          To enable automatic lossless, you need to enable it in the external settings.
          =============================================
          Working with MagicTarget:

          Added hot button to activate the MagicTarget / Cancel / Place button
          MagicTarget_Button_KEY = BUTTON_O - Activation of the Magic Target, by default O. The tab on Orders automatically changes!
          MagicTarget_Place_KEY = BUTTON_P - Set the order by the set levels, by default P.
          MagicTarget_Cancel_KEY = BUTTON_I - Cancel by the displayed levels, by default I.

          Added the ability to drag an entire order on a chart using MagicTarget:
          When installing lines, you can change line levels by dragging lines on the chart.
          Added the ability to drag the entire order, holding down the SHIFT button and dragging the main line of the opening price.
          =============================================
          Graphical improvements.
          Version 18.830 2018.08.30
          Added parameter MaxLotToOpen - Maximum lot that can be set when calculating functions DynamicLotStopLoss and DynamicLotAuto
          Version 18.821 2018.08.21
          Обновление TP and AL Target
          Version 18.730 2018.08.01
          Updating the ShowInfoPosition function;
          Update the function of calculating the cost of tick on futures. The cost of a tick is calculated directly from the open position. Note: If the position is only open, the Expert Advisor can not calculate the tick cost, so it shows the data taken from the server;
          Fixed the ability to move trading levels when the collapsed panel;
          Added the parameter Show_Prices_on_Tab_Position, which allows to display the Price change and the direction of the change (arrows and prices) on the Position tab. If you turn this option off, the panel will not show any changes;
          Version 18.716 2018.07.23
          When using Show_Future_Line, the free margin required for opening a position is now displayed on the chart (the largest margin for the given lot is shown).

          Updated the operation of MagicTarget.
          Added the indication of take profit to stop loss ratio on the take profit line.
          Added the indication of the margin required for opening a position/order on MagicTarget.
          Version 18.515 2018.05.23
          - Fixed the error with profit trailing and closure at a loss, which occurred when using the closing on all symbols.

          - Added a variable for specifying the currency pair for the panel to work with: SymbolToTradeCustom
          This allows working on offline charts (Tick charts, Renko charts, etc.).
          Attention: Be careful when writing the name. The name should exactly match the name in the Market Watch!
          EurUSD - incorrect!
          EURUSD - correct!
          If this parameter is not set, the EA works on the currency pair it is attached to.

          - Added the ability for Magic Target to work on an offline (Tick, Renko...) chart.

          - Added the indication of the feature operation to the CLP tab.
          If the indication is red, the feature is disabled and does not work;
          If the indication is green, the feature is enabled and working.
          Version 18.309 2018.03.14
          Fixed an error related to input of lot size using the keyboard.
          Version 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;
          Version 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
          Version 17.973 2017.11.23
          Changed the type of the shift parameter from bool to int
          Version 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


          Version 17.942 2017.10.19
          Fixed bugs reported on the forums.
          ====================
          Updated the prohibition on dragging the trade levels when using the panel. If the cursor is on the panel, the EA disables the ability to drag the trade levels.
          ====================
          When using the REVERSE button to reverse the positions, the predefined stop loss and take profit are set to open positions.
          ====================
          When using the LOCK button for locking positions, all open positions are modified with stop loss and take profit = 0. That is, when locking positions, all the stop loss and take profit levels are zeroed.
          ====================
          Profit trailing can now be enabled only after setting the parameters for closing by profit.
          ====================
          Updated tooltips.
          ====================
          Added the profit trailing values on the CLP panel near the input box for the distance of Trailing Profit. The value appears when the trailing level is fixed by the EA and shows the fixed level for closure.
          ====================
          Added block of alerts for profit and loss in the deposit currency.
          If you want to limit the losses on the current client magic number, you can do that in the new block.
          For example: you need the EA to send you emails and display on-screen alerts when the total loss of open and closed trades within LimitFor becomes less than -100 USD:
          Set the parameters to the following:
          LimitFor=0;
          LimitForLosses=-100;
          LimitForProfits=0;
          After receiving the daily loss of -100 USD in history for the given magic number, the EA displays an on-screen alert and sends an email.
          Attention: this block does not close trades! It simply displays alerts!
          At the next LimitFor, this parameter is reset to 0.
          You can select LimitFor= DAY;WEEK;MONTH;ALLTIME;
          You can also enable sending email and push notifications when reaching the limits of NotificationMailSend
          ====================
          To the CLP panel for closing by profit or loss, added a block of notifications when closing positions by profit or loss. 3 notification methods are available:
          CPL_AlerT - alert message
          CPL_Mail - email message
          CPL_Push - push notification
          How to set up mobile device or email to messages from the Expert Advisor:
          https://www.metatrader4.com/en/trading-platform/help/setup/settings_notifications
          https://www.metatrader4.com/en/trading-platform/help/setup/setup_email
          ====================
          Added hot keys for managing the panel
          KeyBoardTrade - enable/disable the management using hot keys.
          Buy_KEY=BUTTON_D; - default button for opening BUY orders
          Sell_KEY=BUTTON_A; - default button for opening SELL orders
          Close_KEY=BUTTON_X; - default button for closing all positions
          LossCLOSE_KEY=NONE; - default button for closing all unprofitable positions
          ProfitCLOSE_KEY=NONE; - default button for closing all profitable positions
          Reverse_KEY=BUTTON_Q; - default button for reversing all positions
          Lock_KEY=BUTTON_E; - default button for locking all positions
          You can use the numpad keys or the standard keyboard keys.
          Attention: for the keys to work, it is necessary to activate the window with the panel.
          ====================
          For the CLP tab
          the MagicOrderToClose parameter has been replaced by 2 parameters:
          MagicNumber - unique magic number of positions to close.
          UseAllMagicFromAllAccount:
          true = apply the function of closing by total profit or loss to all magic numbers.
          false = set the unique magic number for closing positions in the MagicNumber parameter.
          Version 17.830 2017.09.04
          Fixed profit calculation on the CLP panel if MagicToUseWithVTP = false
          Version 17.806 2017.08.25
          Added options for managing lots for the grid of pending orders on the Orders tab
          CoefLotForGridOrders - multiplier for the next lot in the grid.
          For example: CoefLotForGridOrders =2, Grid = 5, then the lots will be opened as follows: 0.1, 0.2, 0.4, 0.8, 0.16
          AddLotForGridOrders - additional lot per each element of the grid.
          For example: AddLotForGridOrders =0.1, Grid = 5, then the lots will be opened as follows: 0.1, 0.2, 0.3, 0.4, 0.5
          Version 17.503 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
          Version 17.307 2017.03.10
          The breakeven management block is added to the EA's external parameters:

          MovingInWLUSE (true - false) LevelWLoss(in points) LevelProfit (in points)
          These parameters adjust the possibility to modify deals moving the Stop Loss to breakeven at the earliest opportunity.
          For example:
          You would like to set Stop Loss in the break even, when the deal will score +10 points of profit:
          MovingInWLUSE = true; LevelWLoss=0 ; LevelProfit =10;
          You want to set Stop Loss in +5 points, when the deal will score +20 points of profit:
          MovingInWLUSE = true; LevelWLoss=5 ; LevelProfit =20;
          Note that the difference between LevelProfit - LevelWLoss must always be greater than or equal to the minimum stop on the server.


          Added AutoTrade_by_Signals parameter to the signals block. This parameter enables the automatic placing of a position in the signal direction, if the signal in that direction exceeded Signals_Alert_After_Percent.
          Lot, Stop Loss, and Take Profit are set based on the data entered in the first Positions tab
          Attention: the Expert Advisor automatically opens a position on the direction of the signal, without closing the previous one.
          Version 17.123 2017.01.27
          Fixed working with long tickets
          - Added parameter
          UseAllMagicFromAllAccount - true by default, allows the VTP to manage and process all trades with any magic number on the current symbol.
          For example: when using the Close button - all trades on the account of the current currency pair are closed. The CLP tab will also work with all trades.
          If false - the panel works only with its own trades with the specified MagicNumber
          Version 17.110 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.
          Version 16.702 2016.07.08
          Fixed the function for adjusting the panel position on the chart when switching charts.

          Added parameter CLP_DeleteStopOrders for the CLP block. When deals are closed by profit or loss, deletes all pending orders.

          Added the MagicNumber parameter when opening positions and orders. The Magic number is involved in: opening/closing positions, placing/deleting pending orders, virtual stop loss/take profit, trailing stop of positions. All other blocks works without the magic number.
          Version 16.518 2016.05.26
          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
          Version 16.128 2016.02.01
          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 of 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 start 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.
          Version 15.969 2015.11.18
          A new option has been added to the CLP panel: SEPARATE Orders - if enabled, each position is calculated and closed separately.
          Virtual stop loss and take profit mode.
          E.g. if you set closure at a loss of -5 $ and a profit of 100 points: each trade will be closed separately either by a loss-loss of -5 $ or by a take-profit of 100 points.
          Version 15.966 2015.11.09

          Added BUY SELL trend signals (in percentage) on the Signals tab.

          Added the ability to hide individual indicators and timeframes for calculating percentages from the Signals tab:
          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;

          Added the ability to display the alert on the screen when using the Tab Signals (Note: Tab Signals thus should be active).
          Signals_Alert_After_Percent
          If Signals_Alert_After_Percent = 50, then if the selected timeframe and BUY or SELL indicators are higher than 50%, VIRTUALTRADEPAD shows Alert.
          Version 15.959 2015.11.03
          Added option: "Step TrailingStop" to set the trailing stop steps:
          example: Step TrailingStop = 1 then every 1 point position will be modified.
          example: Step_TrailingStop = 25, then every 25 points position will be modified.

          Added checkbox "Separate BUYSELL" to panel CLP, which allows to calculate and close positions on the overall profit or loss separately for BUY and SELL.

          Revised the system of signals for the Signals panel.
          This tab shows the trend for the TF and indicator. Previously, signals were indicated after their activation. Now, the current trend is displayed.
          Version 15.915 2015.09.16
          MagicTarget: Fixed order price, when there is a non-empty value in the Distance field
          Version 15.908 2015.09.10
          MagicTarget can now be used without Stop Loss and Take Profit.
          If the priceline is higher than the current price - sets BuyStop
          If the priceline is lower than the current price - sets SellStop



          New color options:
          color MAGIC_ORDER - color of the price line for MAGICTARGET;
          color MAGIC_STOPLOSS - Stop Loss line color for MAGICTARGET;
          color MAGIC_TAKEPROFIT - Take Profit line color for MAGICTARGET;
          Version 15.609 2015.06.09
          New options:
          FontSizeTextPrice - Font size for the column Price
          Digitss - Display value of the price for a 4-digit or 5 digit broker
          CommentOrders - Comment orders at the opening panel
          Version 15.520 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;
          Version 15.513 2015.05.14
          Added a field for trailing stop entry in points in the Positions tab of the panel.
          Version 14.952 2014.10.24
          Added virtual stop loss and take profit.

          A new option called VirtualSLTPUse has appeared in the settings. When enabled, all stop losses and take profits on the panel become virtual. Virtual stop loss and take profit operation is also enabled by ticking the appropriate option. You should also set stop loss and take profit value. After that, stop lines appear on the chart for the appropriate position. The level is calculated from a position Open price.
          Version 14.709 2014.07.09
          Now supports stocks and futures.
          Version 14.528 2014.06.03
          Added font size settings for users with non-standard font settings in Windows as well as for those who use Windows based tablets.
          - FontSizeEDIT - font size for input fields (lot, take profit, stop loss).
          - FontSizeText - size of text labels.
          - FontSizeArrow - size of arrows in Signals tab.