VIRTUAL SL/TP MANAGER EA
Virtual SL/TP Manager EA manages stop loss and take profit levels as virtual chart objects instead of relying on broker-side SL and TP orders. It draws horizontal lines with labels showing projected profit or loss at each virtual exit level.
This approach is ideal for traders who want hidden exits, flexible post-entry management, and full visual control directly on the chart.
WHAT THE EA DOES
- Creates and manages virtual SL and TP levels for open trades
- Draws horizontal SL and TP lines on the chart
- Displays labels in format: sl:money and tp:money
- Calculates projected profit/loss in account currency
- Converts broker SL/TP into virtual levels
- Optionally removes broker SL and TP after conversion
- Automatically adds missing SL/TP using point distances
- Supports virtual break-even logic
- Supports virtual trailing stop logic
- Allows manual dragging of SL/TP lines
- Closes trades automatically when price hits virtual levels
MAIN FEATURES
1. Virtual Stop Loss & Take Profit
Replaces broker-side SL and TP with internal virtual exit levels, keeping your trade protection hidden while still fully automated.
2. Clear Visual Trade Management
Each trade displays horizontal SL/TP lines with labels showing projected monetary outcome, making risk and reward instantly visible.
3. Convert Broker Stops
Existing broker SL/TP can be imported as virtual levels, with an option to remove the original broker stops afterward.
4. Auto-Create Missing Levels
If no SL/TP exists, the EA can automatically generate them using predefined point distances.
5. Virtual Break-Even
Moves SL to break-even after price reaches a defined percentage of the TP distance, with optional profit offset.
6. Virtual Trailing Stop
Trailing logic dynamically adjusts SL as price moves into profit, with configurable start, step, and distance.
7. Manual Line Control
Drag SL and TP lines directly on the chart while the EA continues managing positions using updated levels.
INPUTS & SETTINGS
- Use virtual SL/TP: Enable or disable virtual management
- Convert broker SL/TP: Import existing SL/TP into virtual levels
- Remove broker stops: Delete broker SL/TP after conversion
- Add virtual SL/TP if missing: Auto-create default levels
- Virtual SL points: Distance for default SL
- Virtual TP points: Distance for default TP
- Enable BE: Activate break-even logic
- BE start (% of TP): Trigger level for break-even
- BE offset: Extra profit lock beyond entry
- Enable trailing: Activate trailing stop
- Trailing start points: Profit required to start trailing
- Trailing step points: Minimum move before SL updates
- Trailing stop points: Distance from price to SL
- Manage current symbol only: Limit to chart symbol
- Magic number filter: Filter trades (-1 = all)
- Close deviation points: Max slippage allowed
- Timer interval: Execution frequency (seconds)
WHO IS THIS FOR?
- Traders who want hidden SL and TP levels
- Manual traders needing automated exit management
- Traders who prefer visual on-chart control
- Users who want break-even and trailing without broker stops
- Traders who need live projected P/L on exit levels
IMPORTANT NOTES
- The EA must remain active for virtual SL/TP to function
- If the terminal or VPS stops, virtual levels are not enforced
- Virtual SL/TP are not broker-side orders
- Slippage, gaps, or volatility may affect execution price
- This EA manages trades after entry (not a signal generator)
Disclaimer: This EA uses internal virtual trade management. Execution may differ from displayed levels under fast market conditions, slippage, or price gaps.