OPEN-SOURCE SCRIPT
Cập nhật Easy Trend Direction

Easy Trend Direction (ETD) – Smart UI Arrow
Keep your charts completely clean! Easy Trend Direction (ETD) places a dynamic trend arrow directly in the top right corner of your chart, giving you instant, distraction-free visual feedback on the current market structure and momentum.
Instead of cluttering your workspace with multiple moving averages and oscillators, ETD combines the logic of structural EMAs and RSI momentum into one single, elegant UI element.
How it Works
The indicator analyzes two key technical factors to dynamically update the symbol, angle, and color of the arrow in real-time:
Key Features
ETD is the perfect confluence filter for daytraders and swing traders who want to stay aligned with the trend at a single glance. Add it to your favorites and never lose sight of the market direction again!
Keep your charts completely clean! Easy Trend Direction (ETD) places a dynamic trend arrow directly in the top right corner of your chart, giving you instant, distraction-free visual feedback on the current market structure and momentum.
Instead of cluttering your workspace with multiple moving averages and oscillators, ETD combines the logic of structural EMAs and RSI momentum into one single, elegant UI element.
How it Works
The indicator analyzes two key technical factors to dynamically update the symbol, angle, and color of the arrow in real-time:
- Trend Structure (Direction): The script calculates the relationship between a Fast EMA (default 50) and a Slow EMA (default 200).
Fast EMA > Slow EMA = Bullish (Green)
Fast EMA < Slow EMA = Bearish (Red)
If both EMAs are extremely close to each other (defined by the customizable "Neutral Zone"), the market is consolidating, resulting in a Neutral state (Gray, horizontal arrow). - Momentum (Strength): Once a trend direction is established, the script uses the RSI (default 14) to determine the angle of the arrow.
High momentum (RSI hitting extreme thresholds like 70 or 30) points the arrow straight up or down.
Normal momentum results in a diagonal arrow, indicating a steady, healthy trend.
Key Features
- Zero Chart Clutter: Designed for minimalists. The UI table sits quietly in the top right corner, leaving your candles and price action fully visible.
- Customizable Arrow Styles: Use the dropdown menu in the settings to choose between three clean, built-in design sets: "Classic Line", "Heavy Blocks", or "Simple Triangles".
- Fully Adjustable Logic: Tweak the EMA lengths, RSI momentum thresholds, and the percentage-based "Neutral Zone" to perfectly fit your preferred asset and timeframe.
- Theme Integration: Personalize the Bullish, Bearish, and Neutral colors to match your specific chart setup.
ETD is the perfect confluence filter for daytraders and swing traders who want to stay aligned with the trend at a single glance. Add it to your favorites and never lose sight of the market direction again!
Phát hành các Ghi chú
v2Phát hành các Ghi chú
v3Mã 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.