KD Auto SLTP and Custom Price Alerts
- Индикаторы
-
Dien Du Khanh Duong
KD Trading System: Trade with context. Read structure. Confirm across timeframes. Plan the risk.
==================================================================================== - Версия: 1.1
- Обновлено: 20 сентября 2026
- Активации: 10
KD Auto SLTP and Custom Price Alerts is a trade planning and risk management indicator for MetaTrader 5. It calculates Stop Loss levels from nearby swing structure, provides multiple Take Profit methods, calculates position size according to a selected percentage of account balance, and includes up to nine user-defined price alert lines.
The indicator uses a configurable ZigZag structure engine together with an Average True Range (ATR) buffer to determine structural Stop Loss levels. Swing structure can be sourced from the current timeframe or a higher timeframe. Take Profit can be calculated from an opposing market structure target or from a fixed risk-to-reward ratio.
Entry, Stop Loss, and Take Profit preview lines can be repositioned directly on the chart, allowing the calculated setup to be adjusted visually. KD Auto SLTP also includes the Prop Firm Drawdown Shield, leverage protection, draggable custom price alerts, keyboard controls, and real-time synchronization with KD SMC Mini Charts.
Key Features
-
Structure-Based Stop Loss: Uses detected swing structure to determine a structural Stop Loss level, with ATR-based buffering and a configurable minimum Stop Loss distance.
-
Current or Higher-Timeframe Swing Source: Select whether the structure engine uses swings from the current timeframe or a higher timeframe when calculating structural levels.
-
Configurable Swing Structure Engine: Adjust ZigZag Depth, Deviation, and Backstep to control swing detection.
-
ATR-Based Stop Loss Buffer: Configure the ATR period and multiplier used to provide additional distance beyond the selected structural level.
-
Multiple Take Profit Methods: Use an opposing swing or structural target, or calculate Take Profit from a fixed risk-to-reward ratio.
-
Risk-to-Reward Controls: Configure the target risk-to-reward ratio and the maximum TP:SL ratio used in structure-based target mode.
-
Position Sizing by Risk Percentage: Calculates the corresponding lot size from the selected percentage of account balance, Stop Loss distance, and instrument specifications.
-
Minimum Risk and Stop Loss Controls: Configure a minimum risk amount and a hard minimum Stop Loss distance.
-
Draggable Entry, SL and TP Lines: Reposition the Entry, Stop Loss, and Take Profit preview levels directly on the chart. Moving the Entry line adjusts the associated SL and TP levels together to preserve the planned setup.
-
Prop Firm Drawdown Shield: Configure an initial balance reference and maximum daily and total drawdown thresholds for account-level risk monitoring.
-
Leverage Protection: Configure a maximum leverage limit or use the broker's leverage information as a reference for the protection logic.
-
9 Custom Price Alerts: Set up to nine independent price-alert lines, drag each line to the required price level, and receive a sound notification when an armed level is reached.
-
Hotkey Controls: Create Buy/Sell previews, show or hide SL/TP lines and labels, manage the nine custom price-alert lines, and reset the trade preview to the current market price directly from the keyboard.
-
SL/TP Preview: Displays planned Entry, Stop Loss, and Take Profit levels together with relevant trade information directly on the chart.
-
KD SMC Mini Charts Synchronization: When used together with KD SMC Mini Charts, Entry, Stop Loss, Take Profit preview levels, and supported alert lines can be mirrored onto the mini charts in real time.
Hotkey Controls
KD Auto SLTP provides keyboard shortcuts for frequently used chart functions:
-
Ctrl+Shift+B: Create or display the Buy preview.
-
Ctrl+Shift+S: Create or display the Sell preview.
-
Ctrl+Shift+M: Toggle Market Structure / Fixed R:R mode.
-
Ctrl+Shift+O: Show or hide the SL/TP lines.
-
Ctrl+Shift+L: Show or hide the SL/TP labels.
-
Ctrl+Shift+1 to 9: Show or hide custom price-alert lines 1 to 9.
-
Ctrl+Shift+R: Reset the Entry, Stop Loss, and Take Profit preview to the current market price.
The Entry, Stop Loss, Take Profit, and custom price-alert lines can be repositioned directly on the chart. This allows the automatically calculated setup to be used as a starting point and then adjusted visually when required.
Synergy with the KD Trading System
KD Auto SLTP and Custom Price Alerts is the 3rd pillar of the system, providing trade planning, position sizing, risk-level management, and custom price monitoring:
-
KD Ultimate SMC: Provides market-structure information that can be compared with the swing levels used for Stop Loss and Take Profit planning.
-
KD SMC Mini Charts: Displays KD Auto SLTP's Entry, Stop Loss, Take Profit preview levels, and supported custom price-alert lines across additional timeframe views.
-
KD Auto SLTP and Custom Price Alerts (This Tool): Calculates structure-based Stop Loss levels, Take Profit references, and position size according to the selected risk parameters, while providing draggable trade levels and up to nine custom price alerts.
-
KD MTF VWAP: Provides VWAP and Standard Deviation levels that can be used as additional price references when reviewing potential targets.
-
KD MTF Candle Timer: Provides bar-close countdown information when waiting for a completed candle before finalizing a setup.
-
KD HTF Candles: Provides higher-timeframe candle context that can be compared with structural invalidation levels.
-
KD MTF Dashboard: Provides a broader multi-timeframe market overview that can be reviewed alongside the planned trade levels.
Practical Use Cases
Use Case 1: Plan SL, TP and Lot Size Before Entry
- Setup: Create a Buy or Sell preview before placing a trade.
- In practice: KD Auto SLTP calculates the Stop Loss distance in pips, position size based on your selected risk %, and Take Profit using either opposing market structure or a fixed R:R target. Entry, SL and TP lines can then be dragged directly on the chart for manual adjustment.
- Purpose: Provides the key trade-planning values — Entry, SL, TP, pip distance, lot size, risk and R:R — in one visual setup before execution.
Use Case 2: Monitor the Same SL/TP Setup Across Timeframes
- Setup: Run KD Auto SLTP together with KD SMC Mini Charts.
- In practice: The Entry, Stop Loss and Take Profit preview levels from the main chart are mirrored onto the mini charts, allowing the same planned setup to be viewed against lower- or higher-timeframe price structure.
- Purpose: Keeps your trade levels visible across multiple timeframe views without switching chart tabs.
Use Case 3: Set and Monitor Custom Price Alerts Across Timeframes
- Setup: Add any of the nine custom price-alert lines to levels you want to monitor.
- In practice: Use Ctrl+Shift+1 to 9 to show an alert line, drag it to the required price, and receive a sound notification when the level is reached. When KD SMC Mini Charts is running, supported alert lines are also mirrored onto the mini charts.
- Purpose: Lets you monitor up to nine user-defined price levels while keeping those same levels visible across additional timeframe views.
User Settings & Customization
- Set risk per trade and minimum risk amount.
- Choose Take Profit mode: Market Structure or Fixed R:R, with configurable R:R parameters.
- Select Current or Higher Timeframe swing structure for Stop Loss calculation.
- Customize ATR buffering and ZigZag swing detection parameters.
- Configure daily/total drawdown and leverage limits.
- Drag and adjust Entry, Stop Loss and Take Profit levels directly on the chart.
- Set and reposition up to 9 custom price-alert lines.
- Customize colors, labels, panel position and alert settings.
