PROTECTED SOURCE SCRIPT
[KINGS GUN & SHOOT]

KINGS GUN & SHOOT – Advanced RSI Trendline Indicator
The KINGS GUN & SHOOT indicator combines RSI momentum analysis, dynamic trendline detection, and pivot structure mapping to help traders visually identify trend strength, reversals, and breakout zones in real time.
Key Features
Custom RSI (Relative Strength Index)
Uses a user-defined length (default 20).
RSI line is green when trending up (above WMA) and red when trending down (below WMA).
Weighted Moving Average (WMA) Overlay
Optional smoothing line for RSI to confirm trend direction.
Helps filter false signals during sideways markets.
Pivot Points (Highs & Lows)
Detects recent pivot highs and lows automatically.
Labels plotted directly on the RSI for quick structure recognition.
Automatic Trendline Drawing
Connects recent pivot highs for downtrend lines.
Connects recent pivot lows for uptrend lines.
Supports up to 20 dynamic lines in each direction.
Solid/Dashed styling options and adjustable line width.
Broken Trendline Display (Optional)
When RSI breaks below an uptrend line or above a downtrend line, a dotted “broken trendline” is displayed as a warning of trend exhaustion.
Configurable Visuals
Toggle between show/hide pivots and show/hide WMA.
Choose between Solid or Dashed trendlines.
Adjustable line width and RSI color behavior.
How to Use
Uptrend confirmation: RSI stays above WMA, and pivot lows connect into rising trendlines.
Downtrend confirmation: RSI stays below WMA, and pivot highs connect into falling trendlines.
Breakout signal: Broken trendlines indicate possible momentum reversal or volatility spike.
Overbought/Oversold levels: Default guide levels at 80 (overbought) and 20 (oversold).
Best For
Swing traders and position traders looking to hold trades longer.
Breakout traders who want early warnings of trendline failures.
Any market: Works on stocks, crypto, forex, commodities, indices.
Any timeframe: From intraday to weekly charts.
The KINGS GUN & SHOOT indicator combines RSI momentum analysis, dynamic trendline detection, and pivot structure mapping to help traders visually identify trend strength, reversals, and breakout zones in real time.
Key Features
Custom RSI (Relative Strength Index)
Uses a user-defined length (default 20).
RSI line is green when trending up (above WMA) and red when trending down (below WMA).
Weighted Moving Average (WMA) Overlay
Optional smoothing line for RSI to confirm trend direction.
Helps filter false signals during sideways markets.
Pivot Points (Highs & Lows)
Detects recent pivot highs and lows automatically.
Labels plotted directly on the RSI for quick structure recognition.
Automatic Trendline Drawing
Connects recent pivot highs for downtrend lines.
Connects recent pivot lows for uptrend lines.
Supports up to 20 dynamic lines in each direction.
Solid/Dashed styling options and adjustable line width.
Broken Trendline Display (Optional)
When RSI breaks below an uptrend line or above a downtrend line, a dotted “broken trendline” is displayed as a warning of trend exhaustion.
Configurable Visuals
Toggle between show/hide pivots and show/hide WMA.
Choose between Solid or Dashed trendlines.
Adjustable line width and RSI color behavior.
How to Use
Uptrend confirmation: RSI stays above WMA, and pivot lows connect into rising trendlines.
Downtrend confirmation: RSI stays below WMA, and pivot highs connect into falling trendlines.
Breakout signal: Broken trendlines indicate possible momentum reversal or volatility spike.
Overbought/Oversold levels: Default guide levels at 80 (overbought) and 20 (oversold).
Best For
Swing traders and position traders looking to hold trades longer.
Breakout traders who want early warnings of trendline failures.
Any market: Works on stocks, crypto, forex, commodities, indices.
Any timeframe: From intraday to weekly charts.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.