OPEN-SOURCE SCRIPT
KHUSHI VERMA DEHRI ON SONE

Khushi Verma Dehri On Sone - ZigZag Buy/Sell with Volume Pressure & Stop Loss
This indicator combines ZigZag-based Buy/Sell signals, dynamic stop-loss levels, and a Volume Pressure histogram to provide a powerful visual trading tool.
🔍 Key Features:
ZigZag Buy/Sell Detection:
Automatically identifies significant highs and lows using ZigZag logic with a user-defined lookback period (depth).
Red "SELL" labels at swing highs
Green "BUY" labels at swing lows
Connected with directional lines for clarity
Stop Loss Visualization:
For each signal, a horizontal dashed stop-loss line is drawn:
For SELL signals: SL = High + %SL
For BUY signals: SL = Low − %SL
Volume Pressure Histogram:
Visualizes the net buying/selling pressure based on candle direction:
Green bars: Positive (buying) pressure
Red bars: Negative (selling) pressure
Blue line: Smoothed pressure using EMA
⚙️ Inputs:
ZigZag Lookback: Number of bars to detect swing highs/lows
Stop Loss (%): Distance from pivot high/low to define SL
Volume Smoothing Length: EMA length for volume pressure
Show Histogram: Toggle for displaying the volume pressure bars
This indicator combines ZigZag-based Buy/Sell signals, dynamic stop-loss levels, and a Volume Pressure histogram to provide a powerful visual trading tool.
🔍 Key Features:
ZigZag Buy/Sell Detection:
Automatically identifies significant highs and lows using ZigZag logic with a user-defined lookback period (depth).
Red "SELL" labels at swing highs
Green "BUY" labels at swing lows
Connected with directional lines for clarity
Stop Loss Visualization:
For each signal, a horizontal dashed stop-loss line is drawn:
For SELL signals: SL = High + %SL
For BUY signals: SL = Low − %SL
Volume Pressure Histogram:
Visualizes the net buying/selling pressure based on candle direction:
Green bars: Positive (buying) pressure
Red bars: Negative (selling) pressure
Blue line: Smoothed pressure using EMA
⚙️ Inputs:
ZigZag Lookback: Number of bars to detect swing highs/lows
Stop Loss (%): Distance from pivot high/low to define SL
Volume Smoothing Length: EMA length for volume pressure
Show Histogram: Toggle for displaying the volume pressure bars
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.