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.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.