Atr

From bytesagain/ai-skills · View interactive version

Atr is an AI agent skill from the GitHub repository bytesagain/ai-skills. Use when measuring volatility with ATR, setting ATR-based stop-losses, calculating position sizes by risk tolerance, or comparing volatility across timeframes.

How to use this skill

Skill file

ATR — Average True Range Volatility Meter

Measure market volatility using Average True Range. Calculate ATR-based stop-losses, position sizes, and compare volatility across different timeframes and assets.

Commands

calculate

Calculate ATR from price data with True Range breakdown.

bash scripts/script.sh calculate 14

interpret

Interpret an ATR value relative to price for volatility assessment.

bash scripts/script.sh interpret 2.45 150.00

stoploss

Calculate ATR-based stop-loss levels using ATR multiples.

bash scripts/script.sh stoploss 2.45 150.00 long 2.0

position-size

Calculate position size based on ATR and risk parameters.

bash scripts/script.sh position-size 2.45 10000 2.0 2.0

compare

Compare ATR volatility across different periods and contexts.

bash scripts/script.sh compare

help

Show all commands.

bash scripts/script.sh help

Output

Feedback

https://bytesagain.com/feedback/

Powered by BytesAgain | bytesagain.com

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.