Account
The Account tab watches the account equity. When equity reaches the loss or profit you set, the application performs the actions you selected: closes positions, pauses subscriptions and sends a Push.
Account tab view
Account state
- Risk control - turns on the check of the Stop Loss and Take Profit conditions. When the switch is off, the tab only shows the values and the chart.
- Equity by - selects the positions the application uses to calculate equity:
- All positions - all positions of the account;
- Subscription positions - only the positions of the selected subscriptions. The gear button opens the subscription selection window.
- Balance - the account balance.
- Float P/L - the floating profit of the selected positions.
- Equity - the account balance plus the floating profit of the selected positions.
- Maximum - the highest equity, HWM. The time when equity reached it is shown in the ⓘ tooltip.
- Minimum - the lowest equity after the Maximum, LWM. Its time is also shown in the ⓘ tooltip.
- To Stop Loss - how much equity is left to the nearest level of the enabled Stop Loss conditions, in percent and in the account currency. If there is no such level, a dash is shown.
- To Take Profit - how much equity is left to the nearest level of the enabled Take Profit conditions, in percent and in the account currency. If there is no such level, a dash is shown.
Deposits and withdrawals shift the Maximum and the Minimum by the same amount, so the application does not count them as growth or drawdown.
Stop Loss
Each condition is turned on by its own checkbox.
The ⓘ tooltip in the condition row shows the equity level in the account currency at which the condition triggers.
The ¤ sign next to a field stands for the account currency.
- Drawdown from HWM - equity has fallen from the Maximum by the set percent.
- Drawdown from balance - equity has fallen below the balance by the set percent. Without the checkbox at the amount field, the application uses the current balance. With the checkbox, the application uses the amount you entered in the field.
- Equity below - equity has become lower than the set amount.
- Floating profit below - the floating profit of the selected positions has become lower than the set amount. Enter a loss as a negative number, for example -500.
Take Profit
- Growth from LWM - equity has grown from the Minimum by the set percent.
- Growth from balance - equity has grown above the balance by the set percent. Without the checkbox at the amount field, the application uses the current balance. With the checkbox, the application uses the amount you entered in the field.
- Equity above - equity has become higher than the set amount.
- Floating profit above - the floating profit of the selected positions has become higher than the set amount.
Actions
When any enabled condition triggers, the application performs the checked actions.
- Close all positions and orders - closes positions in one of two ways:
- Copied only - only the positions copied by subscriptions. With "Subscription positions" selected, the application closes only the positions of the selected subscriptions;
- Copied, manual and other EAs - all positions and orders of the account, including those opened manually and by other EAs.
- Pause subscriptions - pauses all subscriptions when "All positions" is selected, or only the selected subscriptions when "Subscription positions" is selected.
- Global variable - when a condition triggers, the application creates the terminal global variable BR.AccStop.<account number>.<server time>, for example BR.AccStop.7976162.20261101T201511.
The terminal deletes the variable 4 weeks after the last access to it.
The application writes the stop reason code to it:- -1 - Drawdown from HWM;
- -2 - Drawdown from balance;
- -3 - Equity below;
- -4 - Floating profit below;
- 1 - Growth from LWM;
- 2 - Growth from balance;
- 3 - Equity above;
- 4 - Floating profit above.
- Send Push - sends a Push about the stop, for example "Account stop: Drawdown from HWM: 14.20%, positions closed".
- Block copying - when a condition triggers, the application stops copying new positions of all subscriptions when "All positions" is selected, or only of the selected subscriptions when "Subscription positions" is selected.
You can open positions manually, and the application keeps closing copied positions.
The application does not copy new positions even when the Risk control switch is off. - reset - turns copying of new positions back on.
If the condition is still met, it triggers again.
While the condition stays met, the application repeats the actions: closes new positions and pauses the subscriptions again.
The application saves the settings right after each change.
The Open risk.ini link opens the folder with the settings file in Explorer.
Equity chart
The chart shows the equity of the selected positions. The application records the equity history while it runs, so the chart has no data for the time when the terminal was closed.
- The buttons on the left above the chart change the scale and scroll the chart. The '+', '-', '*' keys, the mouse and the navigation keys do the same.
- The buttons from M1 to MN select the chart timeframe.
- The chart view buttons, their names are shown in the tooltips:
- Auto scroll - the chart moves to a new bar by itself;
- Chart shift - leaves a margin to the right of the last bar;
- Show flat periods - shows the periods without equity records, and without this button the chart skips them;
- Balance - shows the balance line;
- Balance in scale - fits the scale so that the balance line stays on the chart;
- Data gap - marks with a dotted line the places where equity recording was interrupted. The dotted line is shown on timeframes below D1;
- HWM and LWM - shows the Maximum and Minimum lines;
- SL and TP - shows the levels of the enabled conditions and a level's label on mouse hover;
- Legend - shows the legend to the right of the chart.
- The ⋮ menu:
- Reset HWM and LWM... - the application starts counting the Maximum and the Minimum anew from the current equity;
- Clear history... - the application deletes the accumulated equity history.