PROTECTED SOURCE SCRIPT

TWS + Engulfing + SP2L + BTB (RSI Focused)-by-shahriar

37
📝 Final TradingView Script Description: Combo Alert v16 (Updated)
TWS + Engulfing + SP2L + BTB (RSI Focused) - Combo Alert v16
This script is a comprehensive, multi-component technical analysis tool designed to identify high-probability reversal and continuation patterns, focusing on strict filtering via Relative Strength Index (RSI) and Volume. It combines four distinct pattern types: Three White Soldiers (TWS), Engulfing Candles, Setup Price Action + 2-Candle Confirmation (SP2L), and Breakout Through Bands (BTB).
スナップショット


🔑 Core Logic and Signal Generation
The script utilizes a tiered filtering system. Here is a breakdown of the two most critical signals:

1. SP2L (Setup Price Action + 2-Candle Confirmation) - Reversal Focus
SP2L is designed to catch strong reversals after a clear setup phase.
• Setup: The first candle must be a strong reversal pattern (Hammer, Shooting Star, or Engulfing).
• Confirmation: The current candle must definitively break the previous candle's range:
o SP2L Buy: The current candle's Close price must exceed the High of the setup candle.
o SP2L Sell: The current candle's Close price must fall below the Low of the setup candle.
• Filter: This signal only fires when the RSI confirms an oversold (Buy) or overbought (Sell) condition.
スナップショット



2. BTB (Breakout Through Bands) - Trend Focus
BTB is a powerful trend-following signal.
• Breakout: The price must break out of the Donchian Channel (the highest high or lowest low over the past dcLength periods).
• Trend Filter: The breakout must align with the broader trend, meaning the Close price must be above the 200-period SMA for Buy signals (and below for Sell signals).
• Volume Filter: The breakout must be confirmed by high volatility, requiring the current Volume to exceed the Average Volume by the specified Multiplier.



⚙️. Full Customization and Sensitivity Control (Inputs)
The indicator provides granular control over all filtering mechanisms, allowing traders to adjust sensitivity and signal strength based on the asset and desired timeframe.

Input Name,Default,Code Variable,Adjustment Guide
Volume Multiplier (x Avg),2.5,volMult,"Controls Volume Sensitivity (BTB). Increase value for fewer, higher conviction signals."
Min Body Ratio (0.8 = 80%),0.8,minBodyRatio,Controls the required proportion of the candle body relative to its total range.
RSI Oversold Level,40,rsiOversold,Controls Reversal Sensitivity (Buy Filter). Lowering this value requires a deeper oversold condition.
RSI Overbought Level,60,rsiOverbought,Controls Reversal Sensitivity (Sell Filter). Raising this value requires a deeper overbought condition.
SMA Length (Trend Filter),200,smaLength,Period for the Moving Average used to define the overall market trend.
Donchian Channel Length (BTB),20,dcLength,Look-back period for the Donchian Channel breakout window.



⚙️.Users can manage which patterns are displayed by going to the Styles tab in the indicator settings and selectively enabling or disabling the plot visibility for each specific signal type. This allows you to focus only on the patterns that fit your specific strategy.



⚠️ Due Diligence and Risk Disclaimer
Prior to making any trading decisions, all users must conduct their own thorough research (Due Diligence). This indicator is a tool for confirmation and analysis, not a recommendation to buy or sell. All trades should be executed based on your personal knowledge, independent analysis, and established risk management framework.






免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。