PROTECTED SOURCE SCRIPT
Updated

PAS/ML Hybrid Score System Metrics & Signals

45
This tool provides trade signal visualization and live performance metrics for the PAS+ML Hybrid framework. It builds on the core "Price Action Strength/Machine Learning Hybrid Score System" indicator and displays actionable entries, exits, and historical trade statistics directly on the chart.

  • Signals:
    Plots entry (▲) and exit (▼) arrows based on the Hybrid PAS+ML crossover logic, with an optional long-term trend filter for confirmation. Entry arrows occur at candle following the signal (i.e. the next open); exit arrows occur on the same candle, at the close. Metrics are calculated using these prices.

  • Performance Metrics:
    Displays a live table of cumulative results including total trades, win rate, average realized profit, average maximum profit, and profit after X bars. Results can be viewed in percent or pips.

  • Customization:
    Adjustable parameters for lookback lengths, smoothing, ML weighting, trend filter type (SMA/EMA), and FX pip display options.

  • Integration:
    Designed to be used together with the ""Price Action Strength/Machine Learning Hybrid Score System" indicator, which provides the underlying hybrid score and volatility context. Use this metrics version for trade execution analysis and performance tracking.

  • Use Case:
    Ideal for traders who want to quantify the historical and ongoing effectiveness of PAS+ML hybrid signals. Can assist in refining thresholds, holding periods, and risk-reward calibration.


Release Notes
OCTOBER 9, 2025 UPDATE:
  • Metrics table is less invasive and to the side
  • Introducing "gap" signals and stats: Gives a blue dot on green arrows where the signal is below the previous bearish signal/exit, suggesting a possibility of gapping up to that exit price. A separate stat table outlines the number of time this occurs, success rate in gapping up towards the previous bearish signal closing price and avg profit from this strategy.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.