OPEN-SOURCE SCRIPT
Smart Wick Risk Engine

Smart Wick Risk Engine is a precision trading tool designed for fast execution traders, especially on lower timeframes like M1.
This indicator measures the exact distance from candle wicks (high and low) to the closing price of each candle, helping traders quickly identify stop-loss distances based on real market structure.
Based on this wick-to-close distance, the tool automatically calculates the optimal lot size according to a user-defined risk per trade. This allows traders to maintain consistent risk management without manual calculations during fast market conditions.
Key Features:
* Automatic wick-to-close distance measurement (both upper and lower wicks)
* Real-time lot size calculation for Buy and Sell scenarios
* Adjustable risk per trade ($) for flexible account scaling
* Automatic pip calculation for Forex and Gold (XAUUSD)
* Clean label display directly on chart for instant decision making
* Designed for fast execution (ideal for scalping and intraday trading)
How to Use:
1. Wait for candle close
2. Read the wick distance (pip value)
3. Use the displayed lot size based on your risk
4. Execute trade immediately
This tool eliminates the need for manual lot size calculation, helping traders stay focused and consistent under pressure.
Note:
* Pip value is automatically calculated but can be adjusted depending on broker specifications.
* Best used with a solid trading strategy and proper discipline.
This indicator measures the exact distance from candle wicks (high and low) to the closing price of each candle, helping traders quickly identify stop-loss distances based on real market structure.
Based on this wick-to-close distance, the tool automatically calculates the optimal lot size according to a user-defined risk per trade. This allows traders to maintain consistent risk management without manual calculations during fast market conditions.
Key Features:
* Automatic wick-to-close distance measurement (both upper and lower wicks)
* Real-time lot size calculation for Buy and Sell scenarios
* Adjustable risk per trade ($) for flexible account scaling
* Automatic pip calculation for Forex and Gold (XAUUSD)
* Clean label display directly on chart for instant decision making
* Designed for fast execution (ideal for scalping and intraday trading)
How to Use:
1. Wait for candle close
2. Read the wick distance (pip value)
3. Use the displayed lot size based on your risk
4. Execute trade immediately
This tool eliminates the need for manual lot size calculation, helping traders stay focused and consistent under pressure.
Note:
* Pip value is automatically calculated but can be adjusted depending on broker specifications.
* Best used with a solid trading strategy and proper discipline.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.