OPEN-SOURCE SCRIPT
APEX - ADX/ADXR/DI+/DI- [v1]

Average Directional Movement Index – ADX can be used to help measure the overall strength of a trend. The ADX indicator is an average of expanding price range values. The ADX is a component of the Directional Movement System developed by Welles Wilder. This indicator on its own does not give you a direction but instead measure the strength of the trend. In general values above 20 are considered a trending environment above 30 is then a strong trend and above 50 is a very strong trend.
Average Directional Movement Rating is based on the momentum change of the ADX itself. It is calculated by adding two ADX values (the current value and a value n periods back), then dividing by two. This additional smoothing makes than the ADXR slightly less responsive than ADX but helps to avoid noise.
Minus Directional Indicator (-DI) measures the presence of a downtrend and is part of the Average Directional Index (ADX). If -DI is sloping upward, it's a sign that the price downtrend is getting stronger. The Positive Directional Indicator (+DI) is a component of the Average Directional Index (ADX) and is used to measure the presence of an uptrend. When the +DI is sloping upward, it is a signal that the uptrend is getting stronger. In general values above 20 are considered a trending environment above 30 is then a strong trend and above 50 is a very strong trend.
Average Directional Movement Rating is based on the momentum change of the ADX itself. It is calculated by adding two ADX values (the current value and a value n periods back), then dividing by two. This additional smoothing makes than the ADXR slightly less responsive than ADX but helps to avoid noise.
Minus Directional Indicator (-DI) measures the presence of a downtrend and is part of the Average Directional Index (ADX). If -DI is sloping upward, it's a sign that the price downtrend is getting stronger. The Positive Directional Indicator (+DI) is a component of the Average Directional Index (ADX) and is used to measure the presence of an uptrend. When the +DI is sloping upward, it is a signal that the uptrend is getting stronger. In general values above 20 are considered a trending environment above 30 is then a strong trend and above 50 is a very strong trend.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.