VirtualTradePad Ordersstyle

This version has been developed for trading with Buy Stop, Buy Limit, Sell Stop and Sell Limit; and it includes additional functions such as Stop Loss, Take Profit, order distance, order grid and order deletion.

GRIDs - number of opened orders. If it is greater than 1, there will be a grid of orders with the same distance from each other. This feature is very useful in MetaTrader 5. Using it one can open additional lots on each level and move the stops on a potentially new level. In other words, this is a Trailing Stop with volume increasing.

Other Features:

When a position is successfully opened, you will hear a sound similar to the same action in the terminal;

If there is an error, you will hear the error sound;

You cannot place a stop order at a level less than allowed on the trade server or at 0 zero level;

In the input parameters you can enable/disable the tips displayed on mouse over buttons, as well as the language of the tips - English / Russian;

The Close button closes the application;

The Minimize/Maximize button maximizes/minimizes the panel on the chart;

The panel can be moved on the chart. To do it, click the upper part of the pane near the Close and Minimize buttons and move the pane in a desired place.

External parameters:

TypeFilling - order filling type (contact your broker if necessary);

Rounding - price rounding when opening and modifying;

DayToExpiration - pending order expiration;

English - language: true - English / false - Russian;

HintShow - display button tooltips;

Sounds - use sounds;

FontSizeText - panel text size;

FontSizeEDIT - input box text size (lot, stop loss, take profit...);

FontSizeVALUE - Info tab text size;

FontSizeArrow - Signals tab arrow size;

FontSizeTextPrice - Positions tab price size;

DynamicLotStopLoss - calculate an auto lot according to a specified stop loss (percentage is entered into the Lots field);

DynamicLotAuto - auto lot calculation according to a free margin (percentage is entered into the Lots field);

Step_Lots - lot change step;

Step_StopLoss - stop loss change step;

Step_TakeProfit - take profit change step;

Step_Distance - distance change step for pending orders;

Step_TrailingStop - trailing stop step;

CLP_TralOptionsStep - profit trailing step;

MAGIC_ORDER - MagicTarget order line color;

MAGIC_STOPLOSS - MagicTarget stop loss line color;

MAGIC_TAKEPROFIT - MagicTarget take profit line color;

Signals_Alert_After_Percent - percentage of the signals, after which an alert is activated;

Updated according to the full version.
General improvements to the trading panel.
Fixed errors reported on the forum.
Calculation of the price level for stop loss and take profit based on the pending order opening price.
Improved the operation of the magic button.

版本 16.995 - 2017.01.09

The version updated similar to VirtualTradePad full version.
Fixed MagicTarget error for the last terminal builds.

Updated the algorithm for working on hedging accounts.

Modified FontSizeText - text size for operating systems where a font size is not 100%.

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

Added the Rounding parameter:
Without rounding - set stops without rounding
To 1 digit - round to 1 digit. For example, if Stoploss = 1.23456, a trade is opened with a stop loss of 1.23450.
To 2 digits - round to 2 digits. For example, if Stoploss = 1.23456, a trade is 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.