Description
The services of spread return to the clients are very popular. The client makes the merchandise transaction and receives certain quantity of points - rebate - on his balance after closing the order. This service is liked by many clients and acts as a good reason for making the decision to trade with the help of Forex broker who offers such an opportunity.
The spread can be returned to the accounts of a certain color, status or group. The volume of spread returned from the transaction is set out on the symbols as well as on the account colors. The rebate volume can be set as fixed points or as a percentage of spread. Also the flexible conditions for rebate charging can be set with the help of coefficients on trading symbols and account colors.
The plug-in also allows setting the minimum life time of an order, after its closing the rebate will be charged.
The main advantages of the plug-in are the high accuracy, the flexibility of rebate calculation and its immediate charging to the client`s account after closing the order.
Settings:
Filter_CalcCoeffGroups – the filter of applying of rebate coefficients by trading groups.
Data type: | string |
Default value: | * (all groups) |
Value example: | ,GROUP-AB,GROUP-C*,*USD*, |
Filter_UserStatus – filter for status of accounts which the rebate should be charged to. The plug-in will charge the rebate only to those accounts, the status of which corresponds to the setting.
Data type: | string |
Default value: | TPBR |
Value example: | rebate |
Filter_UserColor – list of colors assigned to the accounts, which the rebate should be charged to. The plug-in will charge the rebate only to those accounts, the color of which corresponds to the setting.
Data type: | string |
Default value: | |
Value example: | ,FF0000,3D3D3D, |
Pips_Def – rebate value in points by default (it has the lower priority than Pips_Def and Pips_Ext_Clr_*). The amount equal to the value of the specified quantity of points will be automatically charged to the account balance after completing transaction. If it is 0, the rebate will not be charged.
The point value is equal to (Board lot * Point) / Currency rate of quote to USD.
You can get the detailed information on calculation of the point value in Wikipedia article..
Data type: | numeric |
Default value: | 0.0 |
Value example: | 1.5 |
Pips_Ext_Sym_* – map of rebate value in points on the symbol of order (format: Pips_Ext_Sym_SYMBOL=RebateValue; has a higher priority than Pips_Def and a lower priority than Pips_Ext_Clr_*). For example, when Pips_Ext_Sym_EURUSD=1.1, 1.1 points will be charged to the trading account after completing order on EURUSD pair.
Data type: | numeric |
Default value: | setting is added manually |
Value example: | 1.1 |
Pips_Ext_Clr_* – map of rebate value in points on the account color (format: Pips_Ext_Clr_bbggrr= RebateValue; has a higher priority than Pips_Def and a lower priority than Pips_Ext_Sym_*). The map of parameters is set with the color in hexadecimal format, for example, Pips_Ext_Clr_FF0000. For example, when Pips_Ext_Clr_FF0000=1.3, 1.3 points will be charged to the trading account of FF0000 color after completing order.
Data type: | numeric |
Default value: | setting is added manually |
Value example: | 1.2 |
Filter_Group – filter for group of accounts, which the rebate should be charged to. The plug-in will charge the rebate only to those accounts, the group of which corresponds to the setting. If the ",*," (without quotation-marks) is set, the plug-in will process all the trading groups.
Data type: | string |
Default value: | TradePipsBonusProcessor |
Value example: | ,2P*,!GROUP-AB*,*USD*,*EUR*,*RUB*, |
FilterSkip_CalcCoeff_Login – the list of logins separated by comma which should be excluded for rebate coefficents calculation. If you need exclude lots of logins you can use additional settings as follows FilterSkip_CalcCoeff_Login, FilterSkip_CalcCoeff_Login1, FilterSkip_CalcCoeff_Login2, ..., FilterSkip_CalcCoeff_LoginN.
Data type: | numeric |
Default value: | |
Value example: | 12345 (account's number) |
FilterSkip_Logins – filter for excluding the rebate charge on the login of trading account. This setting allows excluding the trading accounts from the plug-in processing. If you need to exclude several logins from the plug-in processing, the settings are set in the following way: FilterSkip_Logins, FilterSkip_Logins1, FilterSkip_Logins2, ..., FilterSkip_LoginsN.
Data type: | numeric |
Default value: | |
Value example: | 12345 (account's number) |
MinOrderLifetimeSecs – minimum life time of order, when the rebate can be charged (in seconds). The rebate will be charged only provided that the difference between the closing time and the opening time of an order is >= MinOrderLifetimeSecs. If it is 0, the difference between the closing time and the opening time of an order will not be considered.
Data type: | numeric |
Default value: | 3 |
Value example: | 120 |
MinPipsPr – minimum profit in points by default, when the rebate charging is possible (it has a lower priority than MinPipsPr_Ext_Sym_*). If MinPipsPr=5, the rebate will be charged from the transaction provided that the difference between the opening price and the closing price of an order is more than 5 points.
Data type: | numeric |
Default value: | 120 |
Value example: | 50 |
MinPipsPr_Ext_Sym_* – map of minimum profits in points on the symbol of an order, when the rebate charge is possible (format: MinPipsPr_Ext_Sym_SYMBOL=MinimumProfit; has a higher priority than MinPipsPr). For example, if MinPipsPr_Ext_Sym_EURUSD=100, the rebate will be charged from the transaction provided that the difference between the opening price and the closing price of an order on the symbol EURUSD is more than 100 points.
Data type: | numeric |
Default value: | setting is added manually |
Value example: | 100 |
Comment_Bonus – comment of rebate charging operation (the number of an order, which the rebate is charged to, will be added to the end of this comment). The final comment of rebate charging will look the following way: "Comment_Bonus #COMPLETED_ORDER_TICKET".
Data type: | string |
Default value: | TradePipsBonus |
Value example: | Rebate for |
Filter_UsePFMarginCoeffCountry – filter for country of trading accounts; the coefficient of clear funds use (the specific setting – the default value is recommended to be set) should be applied to its rebate.
Data type: | string |
Default value: | * |
Value example: | ,GROUP-AB,GROUP-C*,*USD*, |
Filter_UseHedgeCoeffCountry – filter for country of trading accounts; the coefficient of hedge (the specific setting – the default value is recommended to be set) should be applied to its rebate.
Data type: | string |
Default value: | * (all groups) |
Value example: | ,GROUP-AB,GROUP-C*,*USD*, |
SpreadCoeff: 0-off, 1-cl – sets the mode of coefficient use on the spread (0 – do not use, 1 – spread at the order completion). This setting activates the mode of rebate charging as a percentage of the spread.
Data type: | numeric |
Default value: | 0 |
Value example: | 1 |
SpreadCoeff_* – correspondence map of the coefficients on the spread to the ranges at the lower limit (format: SpreadCoeff_LowerCriticalSpread=CoeficientValue). If SpreadCoeff_0=0.5, the rebate will be 50% of the spread.
For example, it is necessary to charge the rebate amounting to 30% of the spread up to 10 points and 15%, if the spread is more than 10 points. The spread value should be considered at the time of transaction completion. For this purpose you need to set out two settings at the lower limit of the spread: SpreadCoeff_0=0.3 and SpreadCoeff_11=0.15. Herewith the setting is SpreadCoeff: 0-off, 1-cl=1 (the spread at the time of order completion is needed).
The coefficients are applied according to the scheme:
SpreadCoeff_X1 = C1
SpreadCoeff_X2 = C2
SpreadCoeff_X3 = C3
X1 <= X < X2 -> C1
X2 <= X C2
X3 <= X -> C3
Data type: | numeric |
Default value: | setiing is added manually |
Value example: | 0.7 |
FilterSkip_UserColor – excluding filter for the color of trading accounts. The plug-in will not process the trading accounts, the colors of which do not correspond to the setting. If the length of a value line is not enough in order to specify all the colors, you can add the following additional settings: FilterSkip_UserColor1, FilterSkip_UserColor2, ..., FilterSkip_UserColorN to set all the colors necessary for the filtration.
Data type: | string |
Default value: | |
Value example: | FFFF00 |
EnablePerLotPayments – flag activating the mode of bonus charging for the traded board lots to the balance. Herewith the basic bonus rates for the board lot are loaded from the following file PluginFileName.per_lot_payments.ini (the lines look the following way «EURUSD=2.0») and are set in the currency specified in the setting PerLotPaymentsCurrency.
Data type: | numeric |
Default value: | 0 |
Value example: | 1 |
PerLotPaymentsCurrency – bonus charging currency for traded lots to the balance. If the account currency differs from the currency of the setting, the bonus amount will be recalculated due to the current pricing rate.
Data type: | string |
Default value: | USD |
Value example: | EUR |
Used components:
MetaTrader 4 Server API, MetaTrader 4 Server, OS Windows
After purchase you will receive:
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!