calculate_atr
Compute the Average True Range (ATR) for a symbol to set stop-loss orders based on volatility. Specify period and timeframe for customized analysis.
Instructions
Average True Range — useful for stop-loss placement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| period | No | ||
| timeframe | No | ONE_DAY |