DynamicLeverage

DynamicLeverage

DynamicLeverage

ID 210

Category: Products - MT5 Plugins

Version: 0.1

Release date: 2017-01-18

Developer: Salt Technologies, LLC

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

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

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!

Featured products and services

Services - MetaTrader 5
A plugin will be designed according to your order and the cost will be calculated on an hourly pay basis. The hourly pay for plugin…
30 USD
hour
Services - MetaTrader 5
We develop customized software for MetaTrader 5 platform
A service or an utility will be designed according to your order and the cost will be calculated on a hourly pay basis. The hourly pay…
30 USD
hour
Services - MetaTrader 5
Technical support for White Label of MetaTrader 5 Terminal
Monthly maintenance of White Label MetaTrader 5 for PC. The service is compulsory if White Label MetaTrader 5 Terminal has been ordered.
1500 USD
month
Services - MetaTrader 5
Month-long development and maintenance of MetaTrader 5 products
The Salt Technologies team will be engaged in developing customized plugins, services, and utilities for MetaTrader 5 platform throughout the whole month. Besides, we will…
2100 USD
month