Description
The plugin is used to avoid cases when client is speculating on the accumulated trade credit funds with a negative balance. The plugin allows you to adjust the ratio of debt on the trading balance and available credit to prohibit the opening of new deals. Credit funds which are accounted for in the calculation of the available limit of debt on the trading balance adjusted by the comments in the plugin.
The account is bankrupt, if the condition:
ACCOUNT_BALANCE < = - (BONUS_CREDIT * MaxDebtPercent / 100.0).
When the condition above for a trading account it is prohibited the opening of new orders, including pending orders.
Settings:
CheckOnPositiveBalance – the flag that activates the mode of processing trading accounts with a positive balance. If 1, the plugin mode will check the account with a positive balance. If 0, the mode is disabled, and the only accounts with a negative or zero balance will be processed by plugin.
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
Comment_ZeroBalance – the comment of balance operation after which plugin stops calculation of available credit. The plugin checks the trading account history from the first to the last transaction, or until it reaches the balance operation with the comment in the setting.
Data type: | string |
Default value: | Zero Balance Correction |
Example value: | zeroing balance |
CreditControlDays – the number of days during which to be considered available credit. This is the number of days for which the credit transactions will be chosen for the trading account, from the current date. If CreditControlDays = 365, then the cradit transactions will be selected for the last 365 days that will be calculated in the value of BONUS_CREDIT. If 0, the opening of orders will not be allowed for any negative balance regardless of the existing credit funds.
Data type: | numeric |
Default value: | 90 |
Example value: | 365 |
Filter_CreditIn – the filter of credit operations by the comment, involved in calculating the available credit funds. Calculating the amount of BONUS_CREDIT will include the bonus credit operations with comments according to this setting as their sum.
Data type: | string |
Default value: | never reduce |
Example value: | ,bonus in*, |
Filter_CreditOut – the filter of credit operations by the comment, involved in calculating the available credit funds. Calculating the amount of BONUS_CREDIT will include the bonus credit operations with comments according to this setting as their sum.
Data type: | string |
Default value: | withdraw bonus |
Example value: | ,bonus out*, |
Filter_Group – filter by groups of trading accounts. The plugin will process only those groups that are specified in this setting.
Data type: | string |
Default value: | * |
Example value: | ,GROUP-A*,!GROUP-C*, |
Filter_UserColor – the filter by the color of trading accounts. The plugin will process only those accounts which colors are specified in this setting.
Data type: | string |
Default value: | |
Example value: | 00FF00 |
FilterSkip_UserColor – filter for excluding by the color of trading accounts. The plugin will not handle trading accounts in which colors correspond to this setting.
Data type: | string |
Default value: | |
Example value: | FFFF00 |
MaxDebtPercent – percentage of the maximum ratio of debt to available credit in which trading is available. It is used in checking of accounts bankruptcy on the condition:
ACCOUNT_BALANCE <= - (BONUS_CREDIT * MaxDebtPercent / 100.0)
Data type: | numeric |
Default value: | 90 |
Example value: | 365 |
UseFloatingProfitLoss – the flag of enabling calculation of floating profit/loss of account when checking on the debt. If 1, the floating profit will be taken into account. If 0, then the profit/loss will not be counted. It is used in checking of accounts bankruptcy on the condition:
(ACCOUNT_BALANCE <= - (BONUS_CREDIT * MaxDebtPercent / 100.0)
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
Used components:
MetaTrader 4 Server API, MetaTrader 4 Server, OS Windows
Order includes:
Compiled plugin with configuration file without source codes.
If you are interested in this product, feel free to order a DEMO version! Within a short time all the information about the product will be sent to your Email.
Free period 2 weeks without limits in functionality and other limits. For the demo you need to pass the registration!