Trade Assistant MT5
Trade Assistant is a trading panel designed for manual trading. The main function of the panel is to place orders and positions using pre-markup in the form of graphic lines on the chart, according to the rule (risk / reward ratio).
The Trade Assistant panel does not work in the strategy tester, a special trial version has been made to check.
- Volume calculation ($ Currency,% Balance,% Equity,% Free Margin,% Custom).
- Setting orders using graphic lines.
- Setting orders with virtual stop SL and TP levels.
- Order closure by type.
- Closing positions in parts (Partial TakeProfit).
- Pull up Stop Loss (SL) for the price (Trailing Stop).
- Transfer of the order to breakeven (Breakeven).
- Setting Alerts for crossing a line or trendline, to choose from (Voice message, Alert, Push, Mail).
- OCO ('One Cancels the Other' orders) - the function removes pending orders if one of the pending orders is activated.
- Hotkeys for trading and others.
- Calculation of the Commission for the new order.
Calculation of risk
To calculate the volume of a position, the risk / reward ratio is used. To set the 1: 3 ratio, go to the (Trade) tab and set the values to the corresponding parameters (Profit - 3, Loss - 1). Position volume can be calculated using the following methods:
- $ Currency
- % Balance
- % Equity
- % Free Margin
- % Custom
% Custom - to calculate the percentage of risk from its value. It is necessary to specify on the tab (Settings - Custom value).
Virtual SL of TP
Virtual orders of SL of TP TP are not transferred to the broker's server and are executed by the expert. The program draws lines of SL TP and tracks their position relative to the market price. When the price crosses the lines, the expert closes the position.
For the correct operation of this function, the program needs to work continuously.
Closing orders on the tab (Close)
To close positions and orders, special functions are made that allow you to close by type:
- Close Buy - closes all Buy positions.
- Close Sell - closes all Sell positions.
- Close All - close all Buy and Sell positions.
- Close Profit - closes all positions for which Profit> 0.
- Close Loss - closes all positions for which Profit <0.
- Close Stop - closes all Stop orders.
- Close Limit - closes all Limit orders.
The columns Profit,%, Total, indicate: the
- total profit of each type of
- profit in percent relative to the current balance the
- number of positions in each type.
Functions Target Profit, Target Loss - close all positions when reaching the specified profit. For Target Loss, you need to specify a profit with a (-) sign to limit losses and with a (+) sign to save profits.
OCO Order ('One Cancels the Other' orders)
function removes pending orders, provided that any of the pending orders has been activated or deleted manually, then the function will remove the remaining pending orders.
Closing a position in parts
In order to close a position in several parts, you need to set the number of parts on the tab (Settings - Partial takeprofit) 10 parts are available. Volume of each part to be closed = Position volume / number of parts.
Trailing Stop moves the Stop Loss position at a specified “distance” in points from the market price. Trailing Step - sets with which step the Stop Loss will be moved.
Breakeven moves the Stop Loss position to the "opening price + Break Even profit" level. Breakeven level - distance in points from the opening price, when the market price reaches this level, the function will move the Stop Loss.
The commission is calculated automatically on historical data and is taken into account for entry and exit. If in the history of deals there are deals with the current Symbol, the commission is shown on the Trade tab as (Com: 1.0). The profit of the open position and the stop SL SL order are shown taking into account the commission.
An open position can be controlled using the control buttons.
R button - the Reverse function closes the current position and opens it in the opposite direction.
H button - the Hedging function opens a position in the opposite direction with the same lot.
Button X - closes the position.
Disable menu buttons can be in the advanced options.
Redraw the graphic elements for screens with more than 120 dpi.
Added: saving parameters at the moment of entry.
Added: saving screenshots, from the button on the panel and automatically when making trading operations.
Name Folder - The name of the folder.
Auto ScreenShot - ON / OFF.
Info Text Color - text color.
Screenshots are saved along the way:
In the terminal, open: File / Open data directory / MQL5 / Files / TA ScreenShot
For MT4 terminal: File / Open data directory / MQL4 / Files / TA ScreenShot
Fixed bug: saving panel settings on different windows with the same Symbol.
Partial close function: fixed (when a new value is set, the levels in current positions do not change, if set to 1, the values are reset for all open positions).
For Hot Keys Order comment editing: added closing the window by pressing (Enter).
Changed error notification.
The Alert function has been updated - the ability to install different types has been made and the currency pair has been announced (for forex).
Added parameters for the Alert function:
Alert Type - notification type
Maximum iterations - the number of repetitions
Time Out (sec) - pause between repetitions
Show functions - enable / disable display of functions (PT TS BE)
Show Spread - enable / disable Spread Display
Show Commission - enable / disable display Commission
Changed: "Commission per lot" to "Commission"
Changed: the function "Virtual SL TP" pending orders are now used normal (they used to be virtual).
KEYS Edit Comment Order
KEYS Chart period M1
KEYS Chart period M5
KEYS Chart period M15
KEYS Chart period M30
KEYS Chart period H1
KEYS Chart period H4
KEYS Chart period D1
KEYS Chart period W1
KEYS Chart period MN
Added: Accounting profit with a broker commission.
Added: Order Line Options with current risk "Buy | Vol 1.00 | Risk%"
Added: Toggle Chart Symbol from panel.
Change: P.O. Distance will not change when using "New Order".
Fixed: Target Loss and Target Profit is now possible to set both positive and negative values.
Changed: KEYS "New Order": enables and disables with one button. KEYS "X" removed.
Changed: parameter "Risk step" - moved to advanced options.
Added: HOTKEYS "Close Limit, Stop" - closing pending orders.
Added: Parameter "Breakeven profit" on the Settings tab.
Disabled: forced shift of the schedule.
Added: saving the volume when changing the period of the schedule.
Added: Hotkeys in advanced settings.
Added: Closing trades upon reaching the established total profit or loss.
Fixed a bug (multiple opening of orders, when transferring a virtual pending order at the current market price. Now only one order can be opened).
Fixed the installation of pending orders (Buy Stop, Buy Limit orders are counted from the Ask prices, when placed only with the order marking disabled).
Fixed bug (moving stop orders with the mouse).
Added Break Even and Trailing Stop level management
For lines of partial closure, new lines have been added with the values of the loss-to-profit ratio.
Added for pending orders, the ability to set the expiration time "Expiration time"
Added to the Settings panel, Order Comment - order comment.
Added to the panel Info Symbol, Point cost - the cost of an item per lot.
Added to the Info Symbol, Margin panel - calculation of margin for the current volume.
Added to the Close panel, Magic All - to close orders with any identifier.
Added new OCO Order (One Cancels the Other 'orders) feature.
Optimization of order closing functions (there may have been lags before).
Button N (new order markup) - disabled in the parameters.
S - open order
X - remove markup lines.
Added shading areas for SL TP for markup and open positions. To disable, you need to set the color value (NONE) in the advanced parameters.
Color TP range
Color SL range
Color TP range position
Color SL range position.
Added order opening time arrow.
Order time and line - to disable, set the color value (NONE).
For each character retains its settings.
DellArrow - enables / disables drawing order arrows.
Buttun R L - enables / disables the R L buttons.
Added saving the position of order visualization objects.
Added saving panel settings.
Removing the coordinates of the coordinates in the collapsed state of the panel
Expanding the panel when changing timeframe or period
Position of marking lines when changing timeframe
Added in advanced settings "Point (pip) Option" to select the value of the Point
Improved arrow removal function after order
Improved markup function (TP and SL now show correct values including spread)
Added a loss amount + commission.
Added a parameter to change the font size.
Reduced the size of the folded panel.
For alignment lines of the new order, alignment is added
Align Mode is _ALIGN_RIGHT_, _ALIGN_LEFT_, _ALIGN_RIGHT_2, _ALIGN_LEFT_2.
Added parameter "Color Text TP1 TP2 ..." changes the color of the text.
Added a warning about exceeding the maximum lot.
New calculation options are added:
Currency - in the deposit currency
Percent_Balance - percent of balance
Percent_Equity - percentage of funds
Percent_Free_Margin - percentage of free margin
Percent_Custom - percentage of the user value
Jetzt können Sie wählen zwischen: Nachrichtenbox, Push-Benachrichtigung, Mail senden.
Für Alert-Preis und Alert-Zeit: ALERT, PUSH_NOTIFICATION, SEND_MAIL.
Farbwechsel für offene Objekte hinzugefügt.
Die Parameter des Verhältnisses von Gewinn zu Verlust können nun mit einem Dezimalpunkt eingestellt werden.
Button Close Profit - the function closes all profitable positions;
Button Close Loss - the function closes all unprofitable positions;
Button R - the Reverse function closes the current position and opens a position in the opposite direction;
Button L - the Locked function opens a position in the opposite direction with the same lot;
Partial closure function (the Partial Take Profit parameter).
Added checking of the price normalization with consideration of the tick size for the Forex, CFD, MOEX, Metals, Crypto markets.
Added the Panel_size parameter.
Fixed the error of display on different monitors.
1. In the "Close" tab, it closes orders on all symbols.
2. The Trailing Stop and Break Even functions work for all symbols.
Changed the visual design.
Added the display of the Break Even line.
Added the display of OrderShow.