OPEN-SOURCE SCRIPT

Super RSI: Multi-Timeframe, Multi-RSI-MA, Multi Symbol [DucTri]

DucTri_dev tarafından
Güncellendi
Overview
RSI is a very popular indicator that almost every trader knows about. I created this indicator with the goal of helping you use RSI more conveniently and effectively.

Uses
  • Monitor the RSI of 10 currency pairs simultaneously.anlık görüntü
    The first column shows the RSI of the current currency pair.
    RSI below 30 will have a Red background, and above 70 will have a Green background.

  • Display multiple RSI lines with different lengths (or timeframes).anlık görüntü
    Displays 3 RSI with 3 different lengths 7, 14 and 21

    anlık görüntü
    Displays two RSI lines with two different timeframes. The purple line shows RSI (14) for the 1H timeframe, and the blue line shows RSI (14) for the 4H timeframe.

  • Display MA and Bollinger Band lines for RSI.anlık görüntü
    Shows the RSI line along with two MA lines of the RSI: EMA (9) in blue and WMA (45) in red.

  • Identify RSI Divergence with custom settingsanlık görüntü


Input
- You can have up to three RSI lines, with customizable lengths and timeframes.
- You also have up to three RSI-MA lines, where you can customize the MA type and length.
- You can track RSI for up to 10 currency pairs at the same time.
- Additionally, you can change how the top (or bottom) is determined when identifying divergence.

Alerts
  • Send alerts when two RSI lines cross. For example, when the RSI 14 crosses above the RSI 21, or the RSI on the 1H timeframe crosses above the RSI on the 4H timeframe.*
  • Send alerts when RSI crosses above or below the RSI-MA line.
  • Send alerts when two RSI-MA lines cross. For example, when the RSI-EMA (9) crosses above the RSI-WMA (45).*
  • Send alerts when Divergence (Convergence) appears.
  • Send alerts when any currency pair in the monitored list shows an Overbought or Oversold signal.
Sürüm Notları
Overview
  • RSI is a very popular indicator that almost every trader knows.
  • I created the Super RSI indicator to add more features to the default RSI indicator.
  • With Super RSI, you can track multiple RSIs across different currency pairs, monitor multiple RSI lines with different timeframes simultaneously, and set more alerts. Here's how it works:


Usage and User Inputs
1. Track the RSI of 10 currency pairs at the same time.
anlık görüntü
- The first column displays the RSI values for the currently opened currency pair.
- If any RSI value in the table is above 70, the background will be green; if it’s below 30, it will be red.
- You can select the currency pairs of your choice.
anlık görüntü
If you only want to monitor one RSI line, select "Show Row One Only."

2. Display multiple RSI lines with different lengths or timeframes.
anlık görüntü
The image above shows three RSI lines with different lengths: 7, 14, and 21.
anlık görüntü
The image above shows two RSI lines with different timeframes. The purple line represents RSI (14) for the 1H timeframe, while the blue line represents RSI for the 4H timeframe.
anlık görüntü
You can set the length, timeframe, and choose to hide or show the RSI lines in the Input and Style sections, as shown above.

3. Display RSI-MA and Bollinger Bands.
anlık görüntü
The image above shows the RSI line along with two moving averages of the RSI: EMA (9) in blue and WMA (45) in red.
anlık görüntü
Set and display the RSI-MA lines as shown above.

4. Detect RSI Divergence.
anlık görüntü
The default RSI indicator identifies divergence with the following conditions:
**Bearish Divergence:**
1. RSI forms a lower peak after the previous peak.
2. At both RSI peaks, the highest price at the second peak is higher than the highest price at the first peak (note that the price does not need to create a new peak and it’s the highest price, not the closing price).
3. The two RSI peaks must be at least 5 candles apart and no more than 60 candles apart.
4. The RSI peak is identified when there are at least 5 candles before and 5 candles after that have lower values than the peak (this number cannot be changed).
**Bullish Divergence:** Similar to Bearish Divergence.

With Super RSI, you can customize all of these parameters.
anlık görüntü
- You can choose the number of candles on the left and right to define a top or bottom.
- When RSI creates a top or bottom, you can decide if the price must also create a top or bottom or just be higher or lower. You can also choose whether to check the price as the highest/lowest price or the closing price.
- You can select the shortest or longest distance between two tops or bottoms.

Alerts.
- Send an alert when two RSI lines cross each other. For example, when the RSI 14 line crosses the RSI 21 line, or when the RSI on the 1H timeframe crosses the RSI on the 4H timeframe.
anlık görüntü
- Send alert when RSI crosses up or down with RSI-MA line
anlık görüntü
- Send alert when 2 RSI-MA lines cross each other. For example, RSI-EMA (9) line crosses up RSI-WMA (45) line
anlık görüntü
- Send alert when Divergence occurs
- Send alert when any currency pair in the monitored table shows Overbought or Oversold signal
anlık görüntü

Tiếng Việt:

RSI là một chỉ báo rất phổ biến mà gần như mọi trader đều biết đến.

Mình tạo ra chỉ báo Super RSI này với mục đích mở rộng các tính năng từ chỉ báo RSI mặc định.

Với Super RSI bạn có thể theo dõi cùng nhiều RSI của nhiều cặp tiền, theo dõi nhiều đường RSI với các timeframe khác nhau cùng một lúc, tạo được nhiều cảnh báo hơn. Cụ thể như sau:

- Theo dõi cùng một lúc RSI của 10 cặp tiền.
- Hiện thị các đường MA và Bollinger Band của RSI
- Xác định RSI Phân Kì, Hội Tụ
Chỉ báo RSI mặc định xác định phân kì khi thỏa mãn các điều kiện sau:

Bearish Divergence
1. RSI tạo đỉnh sau thấp hơn đỉnh trước
2. Tại 2 đỉnh của RSI, giá cao nhất tại đỉnh sau cao hơn giá cao nhất tại đỉnh trước (chú ý là giá không cần tạo đỉnh mới và đây là giá cao nhất chứ không phải giá đóng cửa)
3. Hai đỉnh của RSI phải cách nhau ít nhất 5 cây nến và nhiều nhất là 60 cây nến
4. Đỉnh của RSI được xác định khi có ít nhất 5 cây nến trước và 5 cây nến sau có giá trị thấp hơn giá trị tại đỉnh (bạn không thay đổi được con số trên)

Tương tự cho Bullish Divergence

Với Super RSI, bạn có thể tùy chỉnh tất cả các thông số trên

- Bạn có thể tự chọn số nến bên trái và phải để tạo đỉnh hoặc đáy
- Khi RSI tạo đỉnh/đáy, bạn có thể chọn giá cũng phải tạo đỉnh/đáy hoặc chỉ cần lớn hơn/nhỏ hơn. Và bạn cũng có thể chọn được người để check giá là giá cao nhất/thấp nhất hay giá đóng cửa
- Bạn cũng có thể chọn khoảng cánh ngắn nhất hoặc dài nhất giữa 2 đỉnh.

█ Alerts.
- Gửi cảnh báo khi 2 đường RSI cắt nhau. VD đường RSI 14 cắt lên đường RSI 21, hoặc RSI trên timeframe 1H cắt lên đường RSI trên timeframe 4H
- Gửi cảnh báo khi RSI cắt lên hoặc xuống với đường RSI-MA
- Gửi cảnh báo khi 2 đường RSI-MA cắt nhau. VD đường RSI-EMA (9) cắt lên đường RSI-WMA (45)
- Gửi cảnh báo khi xuất hiện Phân Kì (Hội Tụ)
- Gửi cảnh báo khi bất kì một cặp tiền nào trong bảng được theo dõi xuất hiện tín hiệu Overbought hoặc Oversold
multitimeframeRelative Strength Index (RSI)rsi_divergencersi-emarsima

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname