OPEN-SOURCE SCRIPT

MTF EMA Directional Bias -1hr and 4hr

98
A compact, fixed-position table (bottom-right corner) that shows the current slope direction of two higher-timeframe EMAs:

4H EMA 50 → direction over the last 2 bars (UP ↑, DOWN ↓, or FLAT ⏸)
1H EMA 21 → direction over the last 2 bars (UP ↑, DOWN ↓, or FLAT ⏸)

Background color logic:

Green → both 4H and 1H EMAs are sloping upward
Red → both 4H and 1H EMAs are sloping downward
Gray → mixed or flat directions (no confluence)

Additionally draws the actual 1H EMA-21 (purple) and 4H EMA-50 (red) as step-lines on the chart.

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.