OPEN-SOURCE SCRIPT
APEX - RSI with MA [v1]

The Relative Strength Index (RSI) is as a momentum oscillator originally developed by J. Welles Wilder. The indicator is calculated as a Ratio of higher closes to lower closes on a scale of 0 to 100.
If the indicator reaches values above 80 (some use 70 or 75) it means the instrument is overbought and if the values are below 20 (25 or 30) it is oversold. But be aware those are just terms oversold/overbought main oversold /overbought for a long time. In general values over 50 mean your instrument is in a bullish state and below 50 it is in a bearish state.
The indicator is most commonly used with the length of 14. Some use RSI in a much more aggressive manner with the length of 2 (also known as Connors RSI). Whereas others have used length up to 20.
Use greater length values on the lower the timeframe to help with the noise. On larger time frames, you should be looking at lower length values.
If the indicator reaches values above 80 (some use 70 or 75) it means the instrument is overbought and if the values are below 20 (25 or 30) it is oversold. But be aware those are just terms oversold/overbought main oversold /overbought for a long time. In general values over 50 mean your instrument is in a bullish state and below 50 it is in a bearish state.
The indicator is most commonly used with the length of 14. Some use RSI in a much more aggressive manner with the length of 2 (also known as Connors RSI). Whereas others have used length up to 20.
Use greater length values on the lower the timeframe to help with the noise. On larger time frames, you should be looking at lower length values.
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.