Skip to main content

Dynamic Leverage

General Information​

The Dynamic Leverage trigger is designed to help dealers set periods of increased margin requirements on any instrument. This is particularly useful when high market volatility is expected.

Note: To function properly, this trigger requires the installation of our plugin on your trading server. Please contact our customer support team for installation instructions.

You can find the Dynamic Leverage trigger under:
πŸ“Œ Risk Management β†’ Automatic Control

Edit Settings​

Parameter NameDescription
Rule NameAssign a specific name to the rule.
Process PositionsChoose whether the trigger should apply to all open positions or new positions only.
Process Positions Opened Outside Specified PeriodDetermines whether positions opened outside the specified time period should be processed.
Refer to the Trigger Logic section for details on how this setting affects performance.
Operation ModeDefines how the MarginRate parameter is changed for the trading symbol.
βœ… Use "Leverage" if leverage is included in the formula for calculating MarginRate.
βœ… In other cases, it is advisable to use "Percentage".
LeverageCreate additional time periods with specific leverage by entering the desired leverage and clicking "Add".
Start Time (Weekday, HH:MM)Set the start time (weekday, hour, and minutes).
End Time (Weekday, HH:MM)Set the end time (weekday, hour, and minutes).
Volume Range (Lots)Define the volume range (in lots) for the specified time period.
Account GroupsSpecify which account groups should be monitored.
AccountsSelect individual accounts for monitoring.
Symbol GroupsChoose which symbol groups should be monitored.
Included SymbolsSelect specific symbols to be monitored.
Included AgentsSpecify agent IDs that should be processed.
Excluded AgentsSpecify agent IDs that should be excluded from processing.

Percentage-Based Leverage Adjustments​

If percentage values are used, all calculations are based on the current leverage.

You can either:

  • Increase leverage β€” for example, set 200% to double the current leverage.
  • Decrease leverage β€” for example, set 50% to reduce the leverage by half.

Permissions​

Since this trigger requires our plugin to be installed on the trading server, all permissions are managed by the plugin and cannot be overridden.

Trigger Logic​

The Dynamic Leverage trigger adjusts the leverage for specific trading symbols or groups of symbols based on the trading volume within a predefined range. The leverage size is controlled for individual trading orders.

Understanding the "Process Positions Opened Outside Specified Period" Setting​

This setting determines whether the trigger should process open positions that were created outside the specified time period.

  • If set to "Off" β†’ The trigger only processes new positions that are opened during the time period defined in the settings.
  • If set to "On" β†’ The trigger also processes existing open positions that were created outside the specified period when that period is reached again.

The new notification with the indication of the source leverage and margin rate will be created by the trigger when the period of the changed leverage ends.

Example of changing the leverage in the trigger​

We have an order with the leverage L0. The group of symbols G1 had the leverage L1 in the time range from D1 till D2 and in the same group of symbols G1, we have the leverage L2 in the time range from D3 till D4. The order’s volume is in the range of both settings and D2=D3. In this case when time hits D2 the leverage of the L1 order will change back to L0 and then immediately to L2. When the time hits D4 the leverage will go back to L0. And thus 4 issues will be created to change the order’s leverage.