# ATRBot: Discord Member Cheat Sheet

Display volatility bands around a stock or ETF's latest completed candle close.
Replies are public. ATR describes historical volatility; it is not a price prediction or trading signal.

## Commands

```text
/atr ticker:NVDA
/atr ticker:SPY timeframe:weekly
/atr ticker:NVDA timeframe:15m period:20
```

Type `/atr` in Discord and fill in the named fields.

| Field | Meaning |
|---|---|
| `ticker` | Required stock or ETF symbol. |
| `timeframe` | Optional: `daily`, `weekly`, `5m`, `15m`, `30m`, or `1h`. Default: `daily`. |
| `period` | Optional Wilder ATR lookback, 1-100 completed candles. Default: `14`. |

There is no `private` option, account input, or order-execution feature.

## Sample output

For `/atr ticker:NVDA`, this fictional **public** response uses a completed close of 150 and ATR of 5. Prices and timestamps are illustrative, not live market data. ANSI colors are omitted here.

```text
NVDA | daily | Wilder ATR(14)
ATR: 5.0000 USD | Close: 150.00

160.00 |-------------------- +2.0 ATR
157.50 |-------------------- +1.5 ATR
155.00 |-------------------- +1.0 ATR
152.50 |-------------------- +0.5 ATR
150.00 |-------------------- CLOSE
147.50 |-------------------- -0.5 ATR
145.00 |-------------------- -1.0 ATR
142.50 |-------------------- -1.5 ATR
140.00 |-------------------- -2.0 ATR
Last completed candle starts: 2026-11-16 14:30 (UTC)
Fetched: 2026-11-16 21:10 (UTC)
Market data may be delayed. Regular session only.
Green/+ = above close; red/- = below. Colors vary by Discord client.
Levels are volatility bands, not predictions or investment advice.
```

## Reading the chart

- **CLOSE:** the latest completed candle close, not a live quote or today's open.
- **ATR:** Wilder average true range for your timeframe and period.
- **+/- 0.5, 1, 1.5, 2 ATR:** reference close plus/minus that multiple of ATR.
- Positive levels are green, close is yellow, and negative offsets are red when your Discord client renders ANSI color. Text labels still work without color.

Illustrative example: close 150 and ATR 5 give +1 ATR at 155 and -1 ATR at 145.
Use the displayed currency; not every ticker trades in USD.

## Data and candle timing

- Market data can be delayed or unavailable.
- Only completed regular-session candles are used; extended hours are excluded.
- Weekly candles are conservatively available starting the following Monday in the exchange timezone.
- Intraday candles appear only after their full interval has elapsed.
- Candle timestamps show the candle's **start** in UTC. Fetch time is separate and does not mean the data is live.

## Common issues

- **Insufficient history:** the calculation needs at least `period + 1` completed candles. A newer ticker or large period may not qualify.
- **Unsupported symbol:** this bot accepts equities and ETFs, not an arbitrary index/futures substitute.
- **Provider error:** wait and retry later rather than repeatedly spamming commands; no fake prices are substituted.
- **No color on mobile:** read the labeled levels instead.
- **Different ATR from another platform:** historical depth, adjustments, session boundaries, and smoothing can differ.

ATR bands do not guarantee a trading range or stop execution. Extreme lower offsets may even be negative mathematical values, not tradable prices.
