Skip to content
All library documents

Confluence-Based Trading with Structural Entries and ATR Risk Controls

Article Strategy library · Author: officialjackofalltrades

Summary

This Pine Script strategy combines market structure, trend measures, volatility, and multiple entry types. Its visible setup defines a smoothed moving-average baseline, bands scaled by the average high-low range, ATR, and pivot highs and lows used to track swing structure. Inputs allow baseline pullback, squeeze breakout, and sweep reversal entries, with a configurable minimum confluence score and an optional volume-expansion filter.

Risk controls include a user-set risk percentage, an ATR-multiple stop, two reward targets, and an optional ATR-based trailing stop after the first target. Re-entry after the first target can also be enabled. The excerpt ends during the structural calculations, so it does not show the complete signal rules, order handling, or final strategy behavior. It provides configurable design choices rather than performance evidence; no backtest results or market-specific validation are included, and outcomes will depend on settings, instrument, timeframe, and execution costs.

Key ideas

  • The strategy combines a smoothed baseline, range-derived bands, ATR, and swing pivots to assess trend and structure.
  • It offers pullback, squeeze-breakout, and sweep-reversal entry modules.
  • A minimum confluence score and optional volume expansion setting can filter entries.
  • Stops and targets are defined relative to ATR and risk-reward inputs, with optional trailing after the first target.
  • The available excerpt omits the complete entry logic and provides no performance evidence.

Tags

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