calculate_atr
Calculate Average True Range (ATR) to determine optimal stop-loss levels based on market volatility. Input symbol, period, and timeframe.
Instructions
Average True Range — useful for stop-loss placement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| period | No | ||
| timeframe | No | ONE_DAY |