OPEN-SOURCE SCRIPT
Skew MTF Trend + Regime (fork)

Skew MTF Trend + Regime, a fork of "Skew MTF Trend" by Skew (@52kskew), used with credit. All original trend logic is his; this version adds one column.
What's added: a "Regime" dot next to each timeframe's direction arrow, describing the character of the move right now:
- green = ORDERLY (clean move)
- amber = CHOPPY (volatility expanding)
- red = WHIPSAW (volatility spiking, MA read noisy)
How: per timeframe, ratio of short- to long-window realized volatility: stdev(log returns, 5) / stdev(log returns, 30). Above 1.4 = amber, above 2.0 = red.
What it is / isn't: it describes how the trend is behaving, not where price goes next. It is not a buy/sell signal, and it has no predictive edge (tested on BTC daily, it does not call tops or bottoms). Treat it as situational awareness: orderly vs choppy.
Note: the table reflects the developing higher-timeframe bar, so the current cell updates until that bar closes (same behavior as the underlying trend arrows).
Original:
What's added: a "Regime" dot next to each timeframe's direction arrow, describing the character of the move right now:
- green = ORDERLY (clean move)
- amber = CHOPPY (volatility expanding)
- red = WHIPSAW (volatility spiking, MA read noisy)
How: per timeframe, ratio of short- to long-window realized volatility: stdev(log returns, 5) / stdev(log returns, 30). Above 1.4 = amber, above 2.0 = red.
What it is / isn't: it describes how the trend is behaving, not where price goes next. It is not a buy/sell signal, and it has no predictive edge (tested on BTC daily, it does not call tops or bottoms). Treat it as situational awareness: orderly vs choppy.
Note: the table reflects the developing higher-timeframe bar, so the current cell updates until that bar closes (same behavior as the underlying trend arrows).
Original:

Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.