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.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill pine-script-v5-consolidation-indicator-using-atrAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.3 KB, 176 tokens by cl100k_base, as published. Nobody here has run it
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
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.