Description
Charge credit to the account when funding the account and the subsequent management of credited bonus based on the plugin's settings.
The plugin supports a variety of settings and allows you to filter the accrual of bonus on deposit accounts by group, by country, by customer ID, by the color of the trading account. In the plugin you can specify the minimum amount of deposit after which plugin will charge credit to the account, as well as the deposit currency. Using the coefficients given by the percentage of the credit from the deposit.
In the settings, you can set the maximum bonus per deposit and the maximum amount of bonus accumulated in the account.
Plugin allows to customize control the bonus on a customer profile - it means that the customer can get only one bonus to any of his accounts. Ownership of accounts by the profile is determined in the parameter ID account.
Настройки:
Filter_AgentLogin – the filter of trading accounts by agent account value which will be processed by plugin (if it's needed to process several agent accounts then settings should be configured like this: Filter_AgentLogin, Filter_AgentLogin1, Filter_AgentLogin2, ..., Filter_AgentLoginN). If empty then the filter is not applied.
Data type: | numeric |
Default value: | (empty value) |
Example value: | 12345,45666 |
Filter_Country – the filter by country of trading account. If the country of a trading account is equal to the this setting, the plugin handles the balance operations for the subsequent calculation of the bonus.
Data type: | string |
Default value: | * (any countries) |
Example value: | ,Russia,USA,Ukraine,RU, |
Filter_Group – the filter by group of trading account. If the group of a trading account is equal to the this setting, the plugin handles the balance operations for the subsequent calculation of the bonus.
Data type: | string |
Default value: | DepositCreditBonusProcessor |
Example value: | ,2P*,!GROUP-AB*,*USD*,*EUR*,*RUB*, |
Filter_Id – the filter by account ID. If the ID of a trading account is equal to the this setting, the plugin handles the balance operations for the subsequent calculation of the bonus.
Data type: | string |
Default value: | * (any ID) |
Example value: | ,1234,ID123,ID22*,!666, |
Filter_Login – the filter of trading accounts by login which will be processed by plugin (if it's needed to process several accounts then settings should be configured like this: Filter_Login, Filter_Login1, Filter_Login2, ..., Filter_LoginN). If empty then the filter is not applied.
Data type: | numeric |
Default value: | (empty value) |
Example value: | 12345,45666 |
FilterSkip_AgentLogin – the filter of trading accounts by agent account value which will be skipped by plugin (if it's needed to exclude several agent accounts then settings should be configured like this: FilterSkip_AgentLogin, FilterSkip_AgentLogin1, FilterSkip_AgentLogin2, ..., FilterSkip_AgentLoginN). If empty then the filter is not applied.
Data type: | numeric |
Default value: | (empty value) |
Example value: | 12345,45666 |
FilterSkip_Login – the filter of trading accounts which will be skipped by plugin (if it's needed to exclude several accounts then settings should be configured like this: FilterSkip_Login, FilterSkip_Login1, FilterSkip_Login2, ..., FilterSkip_LoginN). If empty then the filter is not applied.
Data type: | numeric |
Default value: | (empty value) |
Example value: | 12345,45666 |
Filter_DpstUserColor – the filter by account color during deposit. If the color of a trading account is equal to the this setting, the plugin handles the deposit operations for the subsequent calculation of the bonus. If empty then the filter is not applied.
Data type: | string |
Default value: | (empty value) |
Example value: | ,FF0000,FFFF00, |
FilterSkip_DpstUserColor – the skipping filter by account color during deposit. If the color of a trading account is equal to the this setting, the plugin does not handle the deposit operations for such account. If empty then the filter is not applied.
Data type: | string |
Default value: | (empty value) |
Example value: | ,FF0000,FFFF00, |
Filter_WdrwUserColor – the filter by account color during withdrawal. If the color of a trading account is equal to the this setting, the plugin handles the withdrawal operations for the subsequent writing-off the bonus. If empty then the filter is not applied.
Data type: | string |
Default value: | (empty value) |
Example value: | ,FF0000,FFFF00, |
FilterSkip_WdrwUserColor – the skipping filter by account color during withdrawal. If the color of a trading account is equal to the this setting, the plugin does not handle the withdrawal operations for such account. If empty then the filter is not applied.
Data type: | string |
Default value: | (empty value) |
Example value: | ,FF0000,FFFF00, |
Dpst_MinBonusDeposit – The minimum deposit for which the bonus will be credited
Data type: | numeric |
Default value: | 30000 |
Example value: | 5000 |
Currency – the currency such settings as minimum deposit (Dpst_MinBonusDeposit), the absolute values of the bonus (Dpst_AbsCreditBonusValue), the maximum values of the bonus (Dpst_MaxCreditBonus) and total credit value for the account (MaxTotalCredit). For accounts with another currency these values will be converted by current rates.
Data type: | string |
Default value: | (empty value) |
Example value: | USD |
Dpst_CreditBonusPercent* – the value of the bonus as a percentage (takes precedence over the setting Dpst_AbsCreditBonusValue; also you can set the corresponding bonus period in the following format: Dpst_CreditBonusPercent1, Dpst_CreditBonusPercent2, Dpst_CreditBonusPercent3 etc.)
Data type: | numeric |
Default value: | 0 |
Example value: | 50 |
Dpst_BonusPeriod* – ranges of bonus periods (time from the date of registration) in hours, set the upper limit of the range (format: Dpst_BonusPeriod1, Dpst_BonusPeriod2, Dpst_BonusPeriod3 etc .; to work properly must be sorted in ascending order)
Data type: | numeric |
Default value: | 0 |
Example value: | 5 |
Dpst_AbsCreditBonusValue – the absolute value of the bonus (Dpst_CreditBonusPercent setting has higher priority, and set the settings corresponding to the bonus period, in the following format: Dpst_AbsCreditBonusValue1, Dpst_AbsCreditBonusValue2, Dpst_ AbsCreditBonusValue3 etc.)
Data type: | numeric |
Default value: | 0 |
Example value: | 10 |
Dpst_Comments – the filter by deposit comment. Deposit will be processed by plugin if it's comment is equal to this setting.
Data type: | string |
Default value: | * (any comment) |
Example value: | ,DPST-WM,DEPO-*, |
Dpst_MaxCreditBonus – the maimum bonus per deposit transaction
Data type: | numeric |
Default value: | 0 |
Example value: | 1000 |
MaxTotalCredit – the maximum allowed credit on trading account.
Data type: | numeric |
Default value: | 0 |
Example value: | 15000 |
Dpst_CreditBonusLifeDays – amount of days before the expiration of credit
Data type: | numeric |
Default value: | 1 |
Example value: | 365 |
Wdrw_Comments – the filter by comment of withdrawal. Withdrawal will be processed by plugin if it's comment is equal to this setting.
Data type: | string |
Default value: | * (any comment) |
Example value: | ,WDRW-WT,!WDRW-WM,TRANSFER*, |
Wdrw_CreditInFilter – Filter of comments of crediting bonuses which should not be processed by plugin
Data type: | string |
Default value: | (empty value) |
Example value: | ,bonus_in_*,credit_bonus*, |
Wdrw_CreditOutFilter – Filter of comments of writing-off bonuses which should not be processed by plugin
Data type: | string |
Default value: | (empty value) |
Example value: | ,bonus_out_*,reduce_bonus*, |
Wdrw_CreditControlDays – the amount of days of trading history which plugin should check credit operations
Data type: | numeric |
Default value: | 90 |
Example value: | 180 |
CommentBonus – format of the comment of bonus credit operation (also set the corresponding bonus period, in the following format: CommentBonus1, CommentBonus2, CommentBonus3 etc.)
Data type: | string |
Default value: | bonus_%d (instead of %d a deposit ticket number will be placed for the bonus) |
Example value: | bonus_in %d |
CommentReduce – format of the comment of writing off credit
Data type: | string |
Default value: | bonus_reducing_%d (instead of %d a withdrawal ticket number will be placed for the bonus reducing) |
Example value: | bonus_in %d |
CommentFilterBonus – the filter of the comment of charge bonus operation (also you can set corresponding to the bonus period, in the following format: CommentFilterBonus1, CommentFilterBonus2, CommentFilterBonus3 etc.)
Data type: | string |
Default value: | bonus_* |
Example value: | bonus_in_* |
Wdrw_CommentFilterStopCheck – the filter of the comments of withdrawal operations after which plugin have to stop checking trading history
Data type: | string |
Default value: | balance_zeroing |
Example value: | zero balance correction |
ControlDs – the activation flag of control bonus operations by account ID
Data type: | numeric |
Default value: | 1 |
Example value: | 0 |
Sync_Host – the host of MySQL server to synchronize lists of account ID's which received a bonus (specific setting)
Data type: | string |
Default value: | (empty value) |
Example value: | 122.123.124.125 |
Sync_Port – the port of MySQL server to synchronize lists of account ID's which received a bonus (specific setting)
Data type: | numeric |
Default value: | 0 |
Example value: | 3306 |
Sync_DB – the MySQL databse name to synchronize lists of account ID's which received a bonus (specific setting)
Data type: | string |
Default value: | (empty value) |
Example value: | db_company |
Sync_User – the MySQL user to synchronize lists of account ID's which received a bonus (specific setting)
Data type: | string |
Default value: | (empty value) |
Example value: | mysql_user |
Sync_Pass – the MySQL user password to synchronize lists of account ID's which received a bonus (specific setting)
Data type: | string |
Default value: | (empty value) |
Example value: | mysql_user_pass |
Sync_Table – the MySQL table name to synchronize lists of account ID's which received a bonus (specific setting)
Data type: | string |
Default value: | (empty value) |
Example value: | mysql_table |
Sync_CycleMins – interval in minutes to start the synchronization with the database MySQL (specific setting)
Data type: | numeric |
Default value: | 5 |
Example value: | 30 |
SrvId – MT4 server ID to identify it in a MySQL database (specific setting)
Data type: | numeric |
Default value: | 0 |
Example value: | 1 |
Components:
libMySQL.dll, MetaTrader 4 Server API, MetaTrader 4 Server, OS Windows
libMySQL.dll file must be placed in the root directory of the MetaTrader 4 trading server where the mtsrv.exe file. Otherwise during a server loading a plugin an error code 126 will appear.
Order includes:
Compiled plugin with configuration file without source codes with libMySQL.dll library
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!