Dynamic Profit-Locking

​Feature Request: Dynamic Profit-Locking (Trailing SL for Open Positions)

Core Concept: Add a feature that allows a user to attach a Trailing Stop-Loss (TSL) to an already executed "Buy" position to protect accumulated profits.

Logic :

  • Trigger: User selects an active position and enters a "Trail Gap" value (e.g., 2 points).

  • Reference: The system tracks the LTP (Last Traded Price) from the moment the feature is activated.

  • The "One-Way" Rule: * As the LTP moves up, the Sell Trigger Price must move up to maintain the gap.

    • ​If the LTP moves down, the Sell Trigger Price must stay fixed at its highest reached level.

  • Execution: When LTP \leq Trigger Price, fire a Market Sell order.

Working Example (The "100 to 125" Scenario)

  • Entry: Purchased at 100.

  • Activation: Current Price is 125. User sets a Trail Gap of 2 points.

  • Initial SL: The system immediately sets a hidden/active stop-loss at 123.

  • Price Movement A: LTP goes to 130. The SL automatically "crawls" up to 128.

  • Price Movement B: LTP drops to 129. The SL remains at 128.

  • Exit: LTP hits 128. The app executes the sell, locking in a 28-point profit.

​I need a 'Follow-the-Profit' button. Once I am in profit, I want to set a 'Gap' (like 2 points). As the market goes up, my sell trigger follows it like a shadow. If the market turns around and drops by those 2 points, it sells immediately so I don't lose my gains.

Please authenticate to join the conversation.

Upvoters
Status

Backlog

Board
💡

Feature Ideas

Date

8 days ago

Author

MAKARAND SADASHIV JOSHI

Subscribe to post

Get notified by email when there are changes.