TradeAlertNotifier ArBrain VE
- ユーティリティ
-
Bahtiyar Arniyazov
Over 33 years of engineering, economic, and executive management experience in civil and industrial construction — progressing from field engineer and site supervisor to Head of Production & Technical Department (PTO), Head of Planning & Economic Department in a state construction enterprise, Chief - バージョン: 1.0
TradeAlertNotifier Ar.Brain V&E
Version 1
Information utility for MetaTrader 5
SHORT DESCRIPTION
A notification Expert Advisor for MetaTrader 5: it reports every position opening and closing on any symbol of the trading account with a sound alert, a detailed popup message and an on chart information card showing costs and true net profit. It never trades.
FULL DESCRIPTION
ABOUT THE PRODUCT
TradeAlertNotifier Ar.Brain V&E is an information Expert Advisor for MetaTrader 5. It does not open or close positions, does not modify orders and does not need any trading setup. Its single purpose is to tell the trader immediately and clearly what happened on the account, and to show the real net result of a trade after all costs.
MAIN FEATURES
1. Sound notification on position opening, on closing in profit and on closing in loss. All three sound files are embedded inside the executable file, so no external folders or files are required.
2. Detailed popup Alert. On opening it shows direction, symbol, time, volume, entry price and commission. On closing it shows price result, commission, swap, fees, net profit and a reference spread estimate.
3. Information card on the chart. Latest events across all symbols of the account, daily summary, number of open positions, floating result, accumulated swap, balance, equity and account currency. Panel size and fonts are adjustable, background is semi transparent and corners are rounded.
4. Broker data based cost accounting. Commission, swap and fees are taken from the deal history, and entry commission is allocated proportionally to the closed volume. The net profit matches the balance change of the position.
5. Whole account coverage. Deals on any symbol and with any broker, with no dependency on the chart symbol.
6. Correct for different brokers. Spread is not subtracted twice because it is already inside the execution price, and it is shown as reference only. Partial closes, position reversal, close by opposite position, netting and hedging accounts are supported.
7. Context restore. After a restart the advisor reloads the latest deals from the account history without repeating notifications. Its own state, the last processed deal and the collapsed panel flag, is stored in the terminal sandbox in a per chart file.
8. Fully self contained. One executable file, no DLL, no internet access. The only disk write is the optional state file inside the terminal data folder.
9. Appearance that matches the chart. The colour theme is picked automatically from the chart background, or forced to dark or light.
10. Readable on HiDPI screens. The interface scale is derived from the monitor DPI and can be tuned manually, so the panel stays readable on 125-200% displays.
11. Collapsible panel. A click on the header collapses the card to a single line with the event counter and expands it back.
12. Correct behaviour in the Strategy Tester. During optimization the panel is not created at all, so the pass is not slowed down; in a single visual test the panel works exactly as on a live chart.
HOW NET PROFIT IS CALCULATED
Net profit equals the price result plus commission plus swap plus fees. All values come from the deal records produced by the broker, therefore the calculation does not depend on the commission model of a particular company and stays correct for accounts with different deposit currencies. If a broker does not record commission in the history, it can be set manually with the manual commission per lot parameter, and the text then marks the value as manual.
SOUND ALERTS
Position opening uses the opening sound.
Closing in profit uses the profit sound.
Closing in loss uses the loss sound.
Closing exactly at zero, with neither profit nor loss, produces no sound: the event is only displayed on the panel in a neutral colour.
Profit or loss is decided by the net result after commission and swap. The sound starts after a configurable delay following the popup Alert, so the standard terminal sound does not overlap it. Opening has priority over closing when events arrive together. Replacing the sounds is possible only by rebuilding the advisor, the buyer receives them protected inside the executable file. Sounds are not played in the Strategy Tester: alerts are designed for a live chart.
PANEL
The panel shows the context of the latest event with colour and header, and values are coloured by sign: profit, loss, costs. Width and height adapt to the content and to the font. Corner anchoring, offsets, rounding, transparency, minimum width, colour theme, interface scale, collapse on click and automatic hiding of events are configurable.
PARAMETERS
Sounds. Sound enabled, embedded sound mode, embedded sound names, delay before the sound after the popup Alert.
Alert. Show the popup Alert window.
Costs. Show costs and net profit, spread estimate, manual commission per lot for a full round turn.
Panel. Show panel, number of events in history, header font size, main font size, small font size, font name, minimum width, inner padding, extra row spacing, corner radius, background opacity, chart corner, horizontal and vertical offsets, automatic hiding of events, refresh period, interface scale multiplier, collapse and expand by click.
Colours. Header, main text, captions, buy opening, sell opening, profit, loss, zero, costs, panel background, border.
Theme. Automatic by chart background, or forced dark or light palette.
Service. Debug mode with detailed logging, saving of the panel state in the terminal data folder with restore on start.
INSTALLATION
1. Open MetaTrader 5, choose File, then Open Data Folder, then MQL5, then Experts.
2. Copy the advisor file into the Experts folder.
3. In the Navigator window refresh the list of Expert Advisors and drag the advisor onto the required chart.
4. Allow automated trading by enabling the Algo Trading button on the toolbar.
REQUIREMENTS AND COMPATIBILITY
MetaTrader 5. Any instrument: currency pairs with four and five digits, metals, indices, cryptocurrencies, futures. Any broker and any account type. No external libraries, files, sound folders or network connections are required.
INPUT VALIDATION
On start the advisor checks the allowed ranges of the settings: font sizes, width, padding, corner radius, background opacity, refresh period, sound delay, number of events and the scale multiplier. If a value is out of range, the Experts log receives an "invalid input parameter" message with the parameter name and the allowed range, and the advisor does not start.
IMPORTANT NOTES
1. The advisor does not trade and does not provide trading recommendations.
2. Notifications are produced from the events of the terminal where the advisor runs. Deals made in another terminal or on a mobile device are not shown in real time; after a restart the advisor restores the latest deals from the history.
3. Keep the advisor on a single chart. Several copies will produce duplicate notifications.
4. Past results do not guarantee future results. The product is an information tool.
FREQUENTLY ASKED QUESTIONS
Does the sound play in the Strategy Tester? No. In the Strategy Tester the sound and the popup windows are switched off, the panel is created in the visual test only, and the alerts are designed for a live chart. The tester run itself completes without errors.
Why does the tester report "there are no trading operations"? Because the advisor does not trade. This is the expected result of the check, not an error.
SUPPORT
Questions, remarks and suggestions are welcome in the product discussion section.
