PROTECTED SOURCE SCRIPT
RSI Back-calculation

■Purpose of this script
Back-calculate the stock price limit based on the RSI formula
■Logic overview
This time, RSI calculation formula by Cutler is adopted.
In this formula, RSI is calculated from the ratio of the sum of price movements and the sum of price increases during a fixed period.
This script back-calculates future stock prices from past stock price data and set RSI values.
Therefore, you can receive the offer of the buy price in the oversold phase and the offer of the sell price in the overbought phase with reference to the RSI index.
■How to use
・Enter the following on the parameters input screen
・sauce (usually close)
・Reference period(14 is optimal by J.W. Wilder)
・RSI target value (Generally, buy below 30 and sell above 70)
・When to ask for stock price (After the latest bar closing price is decided: next. The latest bar is moving: current.)
For example, when selecting a daily chart, before trading hours: [before], during trading hours: [current]
when selecting a weekly chart, the closing price is not fixed, for example on Wednesday: [current]
Back-calculate the stock price limit based on the RSI formula
■Logic overview
This time, RSI calculation formula by Cutler is adopted.
In this formula, RSI is calculated from the ratio of the sum of price movements and the sum of price increases during a fixed period.
This script back-calculates future stock prices from past stock price data and set RSI values.
Therefore, you can receive the offer of the buy price in the oversold phase and the offer of the sell price in the overbought phase with reference to the RSI index.
■How to use
・Enter the following on the parameters input screen
・sauce (usually close)
・Reference period(14 is optimal by J.W. Wilder)
・RSI target value (Generally, buy below 30 and sell above 70)
・When to ask for stock price (After the latest bar closing price is decided: next. The latest bar is moving: current.)
For example, when selecting a daily chart, before trading hours: [before], during trading hours: [current]
when selecting a weekly chart, the closing price is not fixed, for example on Wednesday: [current]
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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ã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.