PROTECTED SOURCE SCRIPT
Price Action Strength/Machine Learning Hybrid Score System

This indicator combines Price Action Strength (PAS) with a Machine Learning (ML) derived signal to form a dynamic hybrid momentum model. It helps visualize underlying trend quality and predictive strength, and includes optional Bollinger Bands for volatility context.
- PAS (Price Action Strength):
Measures directional momentum using the slope of a linear regression and candle body bias. The slope can be normalized by ATR or price and is smoothed using EMAs for stability. - ML Score:
Computes a predictive signal using multiple technical features (such as distance from recent highs/lows, EMA change, SMA slope, and MACD histogram). The result is z-scored and smoothed via WMA for noise reduction. - Hybrid Score:
Dynamically weights PAS and ML signals. PAS dominates when ML confidence is low; ML influence increases as predictive strength rises. Produces a smooth, normalized hybrid curve oscillating around zero. - Bollinger Bands (optional):
Can be plotted on the ML smooth line, PAS normalized line, or Hybrid Score (selectable). Configurable length and multiplier to visualize volatility and overbought/oversold zones. - Visualization:
- PAS (blue), ML (orange), and Hybrid (aqua) plotted together.
- Background shading indicates bullish (green) or bearish (red) hybrid momentum.
- Optional Bollinger Bands for visual reference. - Inputs:
- PAS length, smoothing, and signal EMA
- ATR normalization toggle
- ML toggle, smoothing, and weighting scale
- Bollinger Bands toggle, source, length, and multiplier - Usage:
- Hybrid Score above zero suggests bullish momentum
- Hybrid Score below zero suggests bearish momentum
- Bollinger Band extremes can highlight potential turning points
- Better results on higher timeframes (i.e. 1H+) - Companion Indicator:
This indicator pairs with "PAS/ML Hybrid Score System Metrics & Signals", a separate tool that displays trade signals and performance metrics directly on the price chart. Use both together for a full analytical workflow.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。