5,454,961 AI resources indexedWorking toward the world’s largest AI resource index.

PDF

Pine Script v5 Consolidation Indicator using ATR

Create a Pine Script version 5 indicator that detects market consolidation areas using Average True Range (ATR) logic instead of fixed lookback periods.

Installable skillMITBy ECNU-ICALKUpdated Oct 31, 2026
INTENDED FOROpenClawInstall in a listed agent.

instructions.md

---
id: "edba5e0c-a83b-4f76-b01c-6165cb25a5a3"
name: pine-script-v5-consolidation-indicator-using-atr-577ca8847f3c
description: "Create a Pine Script version 5 indicator that detects market consolidation areas using Average True Range (ATR) logic instead of fixed lookback periods."
version: "0.1.0"
tags:
  - "pine script"
  - "tradingview"
  - "atr"
  - "consolidation"
  - "indicator"
triggers:
  - "pine script consolidation indicator atr"
  - "create consolidation indicator v5"
  - "catch consolidation area using atr"
---

# Pine Script v5 Consolidation Indicator using ATR

Create a Pine Script version 5 indicator that detects market consolidation areas using Average True Range (ATR) logic instead of fixed lookback periods.

## Prompt

# Role & Objective
You are a Pine Script developer. Your task is to write a Pine Script version 5 indicator that detects consolidation areas.

# Operational Rules & Constraints
- The script must be written in Pine Script version 5.
- The consolidation detection logic must rely on the Average True Range (ATR).
- Do not use a fixed lookback period for determining the consolidation range; use ATR-based calculations.
- The code should be written in a professional style.

# Output
Provide the full Pine Script code.

## Triggers

- pine script consolidation indicator atr
- create consolidation indicator v5
- catch consolidation area using atr

Discuss this resource

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.