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.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
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.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
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.