Sorry, we don't support your browser.  Install a modern browser

Add Global Profit Close and Global Stop-Loss Features#406

Description:
Introduce a feature in the signal bot that allows users to set a global profit target and a global stop-loss. If the combined profit of all open deals exceeds the defined profit threshold (X), the bot will automatically close all trades. Similarly, if the total loss from all open deals exceeds the defined stop-loss threshold (Y), the bot will close all trades.

Problem Addressed:
Currently, the signal bot operates on individual trade settings, which limits the ability to manage risk and profit across the entire portfolio. Traders often face challenges in efficiently managing their overall exposure and maximizing gains while minimizing losses. A global profit and stop-loss feature would simplify portfolio management and reduce the risk of significant drawdowns.

Proposed Solution:
Add the following functionalities to the bot:

Global Profit Close:

A setting where users can specify a profit threshold (e.g., X% or X USD).
If the cumulative profit from all open trades exceeds this threshold, the bot will automatically close all trades.
Global Stop-Loss:

A setting where users can specify a stop-loss threshold (e.g., Y% or Y USD).
If the cumulative loss from all open trades exceeds this threshold, the bot will automatically close all trades.
Key Features:

Customizable thresholds (X and Y values) defined by the user.
Compatibility with both percentage-based and fixed-value settings.
Option for alerts or notifications before triggering closures.
Integration with existing trade history for accurate calculation of cumulative profit/loss.
Benefits:

Enhanced risk management across the entire portfolio.
Simplified trading experience by automating portfolio-level decision-making.
Increased control over total profits and losses to align with individual trading strategies.
Reduced manual intervention, enabling more efficient trading.
Use Cases:

A trader sets a global profit close at 10% of their total account balance. Once the bot calculates that the profit across all open deals has reached this threshold, it closes all trades to secure the gains.
A trader sets a global stop-loss at 5% of their total account balance. If the cumulative loss from all open trades exceeds this value, the bot closes all positions to prevent further drawdowns.

10 days ago