PROTECTED SOURCE SCRIPT
Cluster + StochRSI convergence Buy & Short Dots

Description:
This script plots high-precision Buy and Short Signals based on a combination of a custom Cluster Algorithm and a Normalized Stochastic RSI filter.
Cluster Algo Logic:
Detects momentum flips using a normalised EMA stretched against Bollinger Bands.
A "Cluster Turn" is identified when the momentum flips from Red→Green under 30 threshold (Buy setup) or Green→Red above 70 threshold (Short setup), combined with prior trend confirmation (required Red or Green bars).
Stochastic RSI Filter:
A normalised StochRSI is used to confirm oversold (for Buys) and overbought (for Shorts) reversals.
Crossovers of the %K and %D lines are required under strict thresholds (below 20 for Buys, above 80 for Shorts).
Entry Dot System:
Light Dots (Green for Buys, Red for Shorts) are plotted when either the Cluster condition or StochRSI condition is first satisfied ("Get Ready" signals).
Dark Dots (Strong Green or Strong Red) are plotted when both conditions are completed within a user-defined number of bars ("Confirmed Entry" signals).
This dual confirmation reduces false signals and aligns entries with meaningful momentum shifts and overbought/oversold conditions.
Editable Parameters:
Cluster Algo Settings:
Bollinger Bands Length
Bollinger Bands Standard Deviation
Signal Line Length (EMA)
Cluster Trend Filters:
Required Red Bars Before Cluster Turn (Buy setups)
Required Green Bars Before Cluster Flip Red (Short setups)
Timing Flexibility:
Max Bars Between Cluster and StochRSI (how far apart the two events can occur)
Stochastic RSI Settings:
RSI Length
Stochastic Length
K Smoothing
D Smoothing
Notes:
Only confirmed dual conditions within the allowed bar window trigger final entry signals.
Overbought and Oversold levels (20/30/70/80) are plotted faintly for additional visual clarity.
The script does not repaint — all signals occur after the bar closes.
This script plots high-precision Buy and Short Signals based on a combination of a custom Cluster Algorithm and a Normalized Stochastic RSI filter.
Cluster Algo Logic:
Detects momentum flips using a normalised EMA stretched against Bollinger Bands.
A "Cluster Turn" is identified when the momentum flips from Red→Green under 30 threshold (Buy setup) or Green→Red above 70 threshold (Short setup), combined with prior trend confirmation (required Red or Green bars).
Stochastic RSI Filter:
A normalised StochRSI is used to confirm oversold (for Buys) and overbought (for Shorts) reversals.
Crossovers of the %K and %D lines are required under strict thresholds (below 20 for Buys, above 80 for Shorts).
Entry Dot System:
Light Dots (Green for Buys, Red for Shorts) are plotted when either the Cluster condition or StochRSI condition is first satisfied ("Get Ready" signals).
Dark Dots (Strong Green or Strong Red) are plotted when both conditions are completed within a user-defined number of bars ("Confirmed Entry" signals).
This dual confirmation reduces false signals and aligns entries with meaningful momentum shifts and overbought/oversold conditions.
Editable Parameters:
Cluster Algo Settings:
Bollinger Bands Length
Bollinger Bands Standard Deviation
Signal Line Length (EMA)
Cluster Trend Filters:
Required Red Bars Before Cluster Turn (Buy setups)
Required Green Bars Before Cluster Flip Red (Short setups)
Timing Flexibility:
Max Bars Between Cluster and StochRSI (how far apart the two events can occur)
Stochastic RSI Settings:
RSI Length
Stochastic Length
K Smoothing
D Smoothing
Notes:
Only confirmed dual conditions within the allowed bar window trigger final entry signals.
Overbought and Oversold levels (20/30/70/80) are plotted faintly for additional visual clarity.
The script does not repaint — all signals occur after the bar closes.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。