OPEN-SOURCE SCRIPT
更新済 Skew MTF Trend

Multi-timeframe trend structure at a glance.
Three fully configurable timeframes on one chart every average colored by its native timeframe's trend state: green above, red below, gray neutral.
Main Timeframe (default 4H)
EMAs 21, 50, 100, 200. A ribbon fills between the 21/50/100 — green when bull-stacked, red when bear-stacked, gray when mixed.
HTF 1 (default Daily)
EMAs 50 and 200 with trend coloring.
HTF 2 (default Weekly)
EMAs 21, 50, 200 and SMA 200 with trend coloring.
All three timeframes can be changed to any combination. Linewidth scales by layer (Main: 2, HTF 1: 3, HTF 2: 4) for instant visual separation. Master toggles show/hide each timeframe with one click. Every period and line is independently configurable.
Trend Table
A compact table in the bottom right reads trend state per timeframe using the 50 EMA and 200 EMA:
▲ Green — price above both the 50 EMA and 200 EMA (uptrend)
▼ Red — price below both the 50 EMA and 200 EMA (downtrend)
● Gray — price between the 50 and 200, or mixed (pending)
The table dynamically displays each selected timeframe, updating automatically when settings change.
Trading with it
The 50 EMA is the key level that defines the trend. The 200 EMA is the level you trade into.
Uptrend — Price holds the 50 EMA as support, table showing ▲. Dips into the 50 EMA and the ribbon are buying opportunities. If price dips deeper, the 200 EMA is the next level to bid — the last line of trend defense.
Downtrend — Price rejects the 50 EMA as resistance, table showing ▼. Rips into the 50 EMA and the ribbon are selling opportunities. The 200 EMA above is the level to sell into on deeper retracements.
Chop — Price is caught between the 50 and 200, table showing ● on one or more timeframes. Neither side has control. Reduce size or sit flat until the 50 EMA cleanly holds or rejects.
When all three timeframes agree, the trend is strong. When they disagree, conditions are transitional.
Three fully configurable timeframes on one chart every average colored by its native timeframe's trend state: green above, red below, gray neutral.
Main Timeframe (default 4H)
EMAs 21, 50, 100, 200. A ribbon fills between the 21/50/100 — green when bull-stacked, red when bear-stacked, gray when mixed.
HTF 1 (default Daily)
EMAs 50 and 200 with trend coloring.
HTF 2 (default Weekly)
EMAs 21, 50, 200 and SMA 200 with trend coloring.
All three timeframes can be changed to any combination. Linewidth scales by layer (Main: 2, HTF 1: 3, HTF 2: 4) for instant visual separation. Master toggles show/hide each timeframe with one click. Every period and line is independently configurable.
Trend Table
A compact table in the bottom right reads trend state per timeframe using the 50 EMA and 200 EMA:
▲ Green — price above both the 50 EMA and 200 EMA (uptrend)
▼ Red — price below both the 50 EMA and 200 EMA (downtrend)
● Gray — price between the 50 and 200, or mixed (pending)
The table dynamically displays each selected timeframe, updating automatically when settings change.
Trading with it
The 50 EMA is the key level that defines the trend. The 200 EMA is the level you trade into.
Uptrend — Price holds the 50 EMA as support, table showing ▲. Dips into the 50 EMA and the ribbon are buying opportunities. If price dips deeper, the 200 EMA is the next level to bid — the last line of trend defense.
Downtrend — Price rejects the 50 EMA as resistance, table showing ▼. Rips into the 50 EMA and the ribbon are selling opportunities. The 200 EMA above is the level to sell into on deeper retracements.
Chop — Price is caught between the 50 and 200, table showing ● on one or more timeframes. Neither side has control. Reduce size or sit flat until the 50 EMA cleanly holds or rejects.
When all three timeframes agree, the trend is strong. When they disagree, conditions are transitional.
リリースノート
Momentum + Candle ColoringAdded trend table with two columns: Trend (T) based on 50/200 EMA positioning, and Momentum (M) based on RSI + Stochastic RSI per timeframe. Table dynamically displays selected timeframe labels.
Added ATR Trend candle coloring on the main timeframe — clean directional blocks using Supertrend (default: factor 4.0, ATR 14). Toggleable independently.
All momentum parameters (RSI length, Stoch length, K smoothing, ATR factor, ATR length) are configurable under the Momentum settings group.
リリースノート
Enhanced Trend TableTable now splits state and direction into separate cells with independent colors per timeframe.
T (Trend) — ▲/▼/● shows where price sits relative to the 50 and 200 EMA. The arrow shows if the 50 EMA is rising (green ↑) or falling (red ↓).
M (Momentum) — ▲/▼/● shows RSI and Stoch RSI positioning above or below 50. The arrow shows if RSI is rising (green ↑) or falling (red ↓).
Uptrend — T and M showing green ▲ with green ↑ across timeframes. Trend and momentum aligned, direction strengthening.
Downtrend — T and M showing red ▼ with red ↓ across timeframes. Trend and momentum aligned, direction worsening.
Transition / Chop — Mixed states across timeframes or direction arrows opposing the state. Green ▲ with red ↓ = trend holding but momentum fading. States disagreeing between timeframes (4H red, 1D green) = transition in progress, reduce size or sit flat until alignment returns.
リリースノート
Fixed Built in Table- Zero flicker now for T (Trend) & M (Momentum)
- Signals update on candle closes for Main Timeframe, HTF 1 & HTF 2
リリースノート
Tier Candle Coloring & Linewidth FixCandle Coloring (off by default — enable in settings)
Candles are colored by how deep price sits in the main timeframe EMA stack, with RSI momentum confirmation on every tier.
Soft green/red — price trading above/below the 21 + 50 EMA with RSI confirming. Early trend forming or trend fading.
Mid green/red — price above/below 21 + 50 + 100 EMA with RSI. Stronger trend, building through the structure.
Neon green/red — price above/below all four EMAs (21+50+100+200) with RSI. Full alignment. Strongest conviction.
Teal — price retesting the 50 EMA from above. Potential support in an uptrend.
Orange — price retesting the 50 EMA from below. Potential resistance in a downtrend.
The color intensity shows where you are in the trend lifecycle. In an uptrend, candles progress soft → mid → neon as price clears more structure. Fading back through the tiers tells you the trend is weakening before it breaks. Teal and orange mark the 50 EMA as the regime line — when candles shift from green through teal to orange and into red, you're watching the transition between trends in real time.
Linewidth Hierarchy
EMA lines scale by timeframe: Main = 1, HTF 1 = 2, HTF 2 = 3. Cleaner default with less visual weight.
リリースノート
Performance OptimizationReduced security calls from 16 to 6 by packing multiple values into single cross-timeframe requests. Removed the 5000 bar history buffer. Stripped the strict body check to eliminate open price fetches across all timeframes. Trend color logic simplified to close-based one-liners.
Loads faster, runs lighter. Same functionality.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。