OPEN-SOURCE SCRIPT

MTF ATR(1H,4H,1D,1W,1M) by ogudora v4

227
庸平さん、TradingViewの公開説明文を想定した英文です。

---

**MTF ATR (1H, 4H, 1D, 1W, 1M) by ogudora**

Multi-timeframe ATR Supertrend overlay for trend tracking and exit management. Five timeframes (1H, 4H, 1D, 1W, 1M) are drawn on a single chart, each with its own ATR period and multiplier. Daily and higher timeframes use the previous completed bar, so lines do not repaint intrabar.

**Lines and signals**
- Supertrend line per timeframe (ATR period 10, multiplier 1.0 by default). Up trend and down trend are drawn in different colors, with a small circle at each trend change.
- Warning (⚠️) when price closes below the up-trend line, Break (⚡) when price closes above the down-trend line. Signals are rate-limited per bar and per day to avoid clutter.
- 1D Extra Lines: optional 1.5× and 2.0× ATR lines on the daily timeframe, with their own Warning/Break labels (off by default).
- Overheating Line: daily up-trend line plus 1.6× ATR, used as an extension reference. Optional touch marker (🔥).
- Old Support: when the daily trend turns down, the last daily up-trend level is kept as a dotted line (off by default). Green while close is at or above it, red below.
- ATH Finder: all-time-high line with label.

**Highlighter**
Optional fill between price and the Supertrend line for each timeframe. By default the fill is shown only on daily and higher timeframes; intraday charts show lines only.

**Status Table**
Optional table showing, for each timeframe: trend direction (UP/DN), line value, distance from close in %, 1D ATR%, estimated loss per 100 shares to the stop line, old support level, and drawdown from the high since the daily up trend began.

**Display controls**
- Master switches for highlighter, signals, up-trend lines, and down-trend lines.
- Timeframe controls: hide intraday timeframes on daily+ charts, show or hide 1W/1M signals on daily+, hide all ATR lines on daily+ while keeping the highlighter, hide the highlighter below daily.

**Alerts**
Warning and Break alerts for 1H, 4H, and 1D, plus an Overheating touch alert.

Fill colors are fixed in code to stay within TradingView's plot limit; adjust them from the Style tab.

---

用途に合わせて長さを削れます(例: 「Display controls」と「Alerts」を落とすと短縮版になります)。

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.