OPEN-SOURCE SCRIPT
[BoTo] RSI Trend Strategy

Open source code.
It is very old trade strategy. It is older than you :) Uses the RSI indicator. The RSI indicator has described Welles Wilder in the book in 1978. And all this is still profitable!
Additional articles
1. en.wikipedia.org/wiki/J._Welles_Wilder_Jr.
2. en.wikipedia.org/wiki/Relative_strength_index
3. tradingview.com/wiki/Relative_Strength_Index_(RSI)
How it works
Step 1. The user chooses length for RSI
Step 2. If RSI is more than 50, then it is a uptrend and the long position opens. It is necessary to close a short position if it is opened earlier.
Step 3. If RSI is less than 50, that is a downtrend and the short position opens. It is necessary to close a long position if it is opened earlier.
Well is suitable for the market of cryptocurrencies. Well length from 3 to 7 approaches. Don't use length 14 because for cryptocurrencies it is too much. Cryptocurrencies it is very volatile market. You can also use the RSI indicator which is built in on TradingView.com.
It is very old trade strategy. It is older than you :) Uses the RSI indicator. The RSI indicator has described Welles Wilder in the book in 1978. And all this is still profitable!
Additional articles
1. en.wikipedia.org/wiki/J._Welles_Wilder_Jr.
2. en.wikipedia.org/wiki/Relative_strength_index
3. tradingview.com/wiki/Relative_Strength_Index_(RSI)
How it works
Step 1. The user chooses length for RSI
Step 2. If RSI is more than 50, then it is a uptrend and the long position opens. It is necessary to close a short position if it is opened earlier.
Step 3. If RSI is less than 50, that is a downtrend and the short position opens. It is necessary to close a long position if it is opened earlier.
Well is suitable for the market of cryptocurrencies. Well length from 3 to 7 approaches. Don't use length 14 because for cryptocurrencies it is too much. Cryptocurrencies it is very volatile market. You can also use the RSI indicator which is built in on TradingView.com.
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.