Description
The plugin is designed to automatically change the account leverage, depending on the size of the equity in the account or the aggregate nominal value. The values of these parameters for which will be a change of leverage, are set in the plugin.
The nominal value (NV) - value of the contract is denominated in USD. The "aggregate nominal value" (ANV) is calculated as the sum of the contracts of all open positions. For example: an open position of 10 lots on a pair GBPUSD at 1.4400, as well as 20 lots of EURUSD at 1.2300. For position in the 10 lots GBPUSD at 1.4400 nominal value equal to 10 * 100 000 * 1.4400 = 1,440,000 USD. For position in 20 lots of EURUSD at 1.2300 price equal to the nominal value of 20 * 100 000 * 1.2300 = 2,460,000 USD. The aggregate nominal value of both positions is 3.9 million USD.
This plugin is useful in cases where it is needed to reduce risks and automatically send an trading account to the overlap at a certain level of the credit leverage, available from the counterparty.
Settings:
Filter_Group – the filter by account group
Data type: | string |
Default value: | LeverageLimitProcessor |
Example value: | ,2P*,!GROUP-AB*,*USD*,*EUR*,*RUB*, |
AllowLeverageIncrease – the flag allows to automatically increase account leverage
Data type: | numeric |
Default value: | 1 |
Example value: | 0 |
LogLeverageChanges – activation flag credit leverage logging changes
Data type: | numeric |
Default value: | 1 |
Example value: | 0 |
LimitSNS*: – the map of divisors of ANV used to calculate new account leverage by upper bound of ANV intervals (format: LimitSNS:3000000=500, LimitSNS:2000000=200, LimitSNS:-1=100)
Data type: | numeric |
Default value: | (setting should be added manually) |
Example value: | 500 |
- LimitSNS:HighRangeBound=NewLeverageValue
- LimitSNS:-1=0
LimitEquity*: – the map of appointed account leverages by upper limits of intervals equity (format: LimitEquity:1000=1000, LimitEquity:10000=500, LimitEquity:-1=200)
Data type: | numeric |
Default value: | (setting should be added manually) |
Example value: | 100 |
- LimitEquity:HighRangeBound=NewLeverageValue
- LimitEquity:-1=0
- the transaction of instant order opening;
- the transaction of market order opening;
- order opening the transaction by manager;
- order modification the transaction by manager;
- order modification transaction;
- transactions with pending orders;
- activation of pending order;
- closure or removal of non-pending order.
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!