Trade Assistant MT5
Trade Assistant is a trading panel designed for manual trading. The main function of the panel is to set orders and positions using pre-marking in the form of graphic lines on the chart, according to the rule (risk / reward ratio).
Key features of the panel
- It works with any trading instruments - currency pairs, CFDs, stocks, indices, futures, cryptocurrencies.
- Setting stop loss and take profit as the distance in points.
- Marking lines of the order: entry, stop loss and take profit can be moved on the chart.
- Set the potential loss to profit ratio.
- The panel supports market and pending orders.
- Display on the chart the calculated position volume and profit before opening.
- Shows the broker's commission depending on the set volume.
- Ability to set virtual stop loss and take profit.
- Closes positions for different types with a single click.
- The ability to set several take profit orders to close profits in parts.
- The function of pulling up stop loss for the price, trailing stop.
- The function of transferring a position to a breakeven state.
- You can set an alert to cross price, support and resistance lines.
- Alert is available in the options Voice (for currency pairs only), Alert, Push, Mail.
- Keyboard shortcuts.
- The panel is available in two versions, for the MetaTrader 4 and MetaTrader 5 terminal.
MT5 - for MetaTrader 5 terminal
Before using the program, read the full description and free version.
Description of the panel and functions https://www.mql5.com/ru/blogs/post/726839
Changed: moving the entry line in the price mode or price entry mode, now the SL and TP lines move with the entry price.
Changed: Renamed S button to "Place" and is wider. Place X buttons are now displayed when the application is minimized as in the last update.
Changed: Auto Screenshot function, now the name of the screenshot contains ticket + position type + event (opening, closing, partially closing)
Fixed: an error in the magnetization of lines when entering the prices of a pending order.
Magnetisation is now disabled in the price entry mode.
Fixed: when switching the period, the display state of the partial closing lines and others was not saved.
Fixed: displaying a graphical object of order expiration.
Added: Languages parameter and Russian added.
Added: PanelTurn parameter - panel state, true - minimized.
Changed: for Show Lines sticking to price, the "Magnet to the price" parameter is set in pixels. Now price sticking works the same for all periods and symbols.
Changed: order menu. Changed interface and layout. The location is changed by the "Menu display angle" parameter.
Added: for Show Lines new parameter "Hide Trading levels" - hides trading levels if lines are enabled.
Added: "Requote Fixed" parameter - the function fixes Requote errors.
Fixed: work with all magic numbers if EXPERT MAGIC = 0, previously worked only with positions opened manually.
Added: Custom TICK_VALUE parameter - used in margin calculations for the method of calculating CFDINDEX.
Added: recalculation of partial closing of TP if there was a closing of part SL and recalculation of partial closing of SL if there was closing of part TP.
Changed: removed all text from the screenshot function.
Fixed: VIRTUAL SL TP - when partially closed, the lines returned to their initial position.
Added: R button for changing the direction of the Show line - an analog of KEYS "Show Line Buy / Sell".
Added: parameter "Move SL TP with the mouse" - disables the movement of TP SL with the mouse pointer.
Added: calculation of the relationship from the initial risk "RR Profit / initial risk" - available for display
in Stop line TP SL, Position line, Partial Close line, BE line.
Added: parameter "Hide Position" - hides position objects when Show line is on.
Added: KEYS ScreenShot
Added: risk calculation using the "Periodical Fixed Fractional" method
% AB per Day - percentage of the balance of the previous Day.
% AB per Week - percentage of the balance of the previous Week.
% AB per Month - percentage of the balance of the previous month.
Changed: with the Price option enabled, the TP and SL prices no longer change as in Pip mode.
Changed: Screenshot function - additionally displays the data of the last transaction.
Changed: the function of the function partial closing when entering the "Partial Close" parameters. Previously, all parameters were applied immediately now only variable.
Added: Confirmation of closing a position from the position menu.
Added: Moving TP and SL trading levels.
Added: Price / Pip button - to select Take Profit, Stop Loss, Entry input in points or prices.
Bugfix: screenshot function errors.
Bugfix: Errors with templates, now the panel deletes its graphic objects.
Bugfix: Show line errors when calling via hotkeys.
Fixed: Show line errors sticking at the opening line if it went beyond the screen.
Fixed: Trailing Stop - removed the restriction of 10 seconds.
Added: input parameters:
Button Price / Pip - on / off.
Close position% - percentage of closing (position menu).
Confirmation close position - on / off confirmation of closing the position (position menu).
Partial Close Profit% Add - percentage of closing Profit for partial closing (position menu).
Partial Close Loss% Add - percentage of loss closure for partial closure (position menu).
HideLine - on / off hides Show line marking lines when opening a position.
Lock TP - on / off block TP lines on the price.
Lock SL - on / off block SL lines on the price.
Added: updates on the timer Trailing Stop \ Limit functions, in seconds and when a new bar event.
Trailing Timer - Sec, New Bar
Sec (min 10)
Added: automatic distribution of Partial Close levels.
Updated: processing pressing on / off Virtual SL TP
On - Stop Loss and Take Profit orders will be replaced with Virtual at all positions.
Off - Virtual Stop Loss and Take Profit will be replaced with real ones at all positions.
Changed: selection of parameters to be displayed in Stop line TP SL, Open line, Position line, Partial Close line lines.
Now the line is formed on / off of the available parameter.
Added: Breakeven added to position menu.
Added: Display of Partial Close lines in Showe Line markup lines.
Added: New Trailing Stop Features
Trailing stop fractals
Trailing stop ma
Trailing Stop Parabolic SAR
Trailing Stop ATR
Added: Trailing Limit Order
Fixed: commission calculation taking into account partial closure.
Added: option to display Stop orders line
// TP 100 (0.00% of Price) | 100 USD (0.00% of Balance) | 1.2450
Added: Input line display options
// Buy | Vol 1.00 | Margin: 22.00 | 1.2450
// Buy | Vol 1.00 | Margin: 22.00 | Sp: 12 | Com: 4.0 | 1.2450
// Buy | Vol 1.00 | RR 1.5 | Sp: 12 | Com: 4.0 | 1.2450
Added: line item display options
// Buy | 1.00 (vol) | 100 USD (0.00% of Balance)
// Buy | 1.00 (vol) | 15 pips / 100 USD (0.00% of Balance)
// Buy | 1.00 (vol) | RR: 1.5 | 100 USD (0.00% of Balance)
// Buy | 1.00 (vol) | RR: 1.5 | 15 pips / 100 USD (0.00% of Balance)
Added: Virtual SL TP closing price selection
// Activation price: true - Bid, false - Bid / Ask
Added: Tab + keyboard shortcut.
Fixed: displaying profit taking into account swap.
Now in the Loss fields you need to enter positive values. (in previous versions it was necessary to enter with a sign -)
And added the ability to set stop orders.
Input parameters added:
----------------------Close all if: Profit Loss----------------------
Profit - true/false
Loss - true/false
Color text if On
Color text if Off
Send Alert if Close All - true/false
Fixed: position objects were not deleted when the position is no longer there.
Bugfix: Earlier, the line for marking TP or SL could disappear, now this has been fixed.
Added: parameter for the Order string line with margin calculation "Buy | Vol 1.00 | Margin: 22.00 | 1.2450"
Added: VIRTUAL_SLTP parameter Line selection - enable / disable the movement of SL TP lines with the mouse.
Added: Alert Type option for sending notifications Alert, push, mail.
Added: display of profit in points and percent for an object of an open position. In the input parameters STRING_OPTIONS added item Options Order Label.
Fixed: partial closure (there was an error when closing several parts at once)
Interface optimization: when used with some indicators, the hang will be less.
A notification was added if a cross rate was not found for the account currency and the instrument currency.
Added: Hotkeys: KEYS Alert, for setting the notification by the assigned key.
Improved work of marking lines.
Added line for stop lines "TP 100 | 0.0% | price".
Fixed bug with keyboard shortcuts.
Added keys KEYS Chart Zoom +, KEYS Chart Zoom -.
Added alignment of the mini panel.
Added tab "Info Statistics".
Added the ability to hide a comment entry.
Updated black and white theme.
Added Joanna voice for alert feature.
Fixed saving parameters.
Changed Trailing Stop function.
Added new Hotkeys.
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
Agora você pode escolher entre: Caixa de Mensagens, Push Notification, Send Mail.
Para o Preço do Alerta e o Tempo de Alerta: ALERT, PUSH_NOTIFICATION, SEND_MAIL.
Adicionado mudança de cores para itens abertos.
Os parâmetros da relação entre lucro e perda agora podem ser definidos com um ponto decimal.
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.