Fast navigation

Products - MT5 Plugins

DynamicLeverage

ID 210

Category: Products - MT5 Plugins

Version: 0.1

Release date: 2017-01-18

Developer: ITTrendex, LLC

MetaTrader 5 plugin to dynamically change the leverage of the trading account

Price:
1700 USD

Product type:
Available for downloading


Sign in

Detailed description

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
If there is a need for this setting, then LimitSNS setting should be set to at least 2 times in the plugin with different values (if you specify a setting once, it will not be saved). If you still only need a single LimitSNS setting, then as a second setting you have to specify LimitSNS:-1=0 (0 value corresponds to the absence of changes to the shoulder of the range). Thus, if there is a need to change the leverage only within a certain range, it is necessary to set two settings:
  • 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
If there is a need for this setting, then LimitEquity setting should be set to at least 2 times in the plugin with different values (if you specify a setting once, it will not be saved). If you still only need a single LimitEquity setting, then as a second setting you have to specify LimitEquity:-1=0 (0 value corresponds to the absence of changes to the shoulder of the range). Thus, if there is a need to change the leverage only within a certain range, it is necessary to set two settings:
  • LimitEquity:HighRangeBound=NewLeverageValue
  • LimitEquity:-1=0

 

Leverage can be changed by the following events:
  • 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 5 Server API, MetaTrader 5 Server, OS Windows

 

Order includes:

Compiled plugin with configuration file without source codes

Recommended items from this category