Skip to content
All library documents

Composite Indicator Scoring for Swing Breakouts and Trend Direction

Article Strategy library · Author: jigneshjc

Summary

This Pine Script strategy combines several familiar indicators into a directional score. Its components include MACD-style averages, RSI, Williams %R, directional movement and ADX-like strength, a volume-weighted price measure, and an ATR-based trailing direction. Each component contributes a bullish, bearish, or neutral point, and the script sums these readings into a composite score. It also derives price levels when the score crosses between positive and negative territory.

The code exposes indicator settings and includes a backtesting toggle, but the provided excerpt does not show entry or exit conditions, completed plotting logic, or any strategy report. As supplied, it is therefore possible to describe the scoring approach but not establish how it would trade or assess its results. The excerpt ends mid-statement, and its obfuscated variable names make interpretation harder. No markets, tested period, performance statistics, transaction costs, or risk controls are documented.

Key ideas

  • The script combines momentum, trend, directional movement, and volume-related signals into a signed score.
  • Indicator components are reduced to bullish, bearish, or neutral contributions before being summed.
  • A volatility-based trailing direction contributes another component to the composite reading.
  • The excerpt does not provide complete trade rules or evidence from backtesting.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.