OPEN-SOURCE SCRIPT

RSI Multi Alerts MTF

Updated
This indicator won't plot anything to the chart.

Please follow steps below to set your alarms based on RSI oversold and overbought levels:

1) Add indicator to the chart
2) Go to settings
3) Choose up to 8 different symbols to get alert notification
4) Choose up to 4 different timeframes
5) Set overbought and oversold levels
6) Once all is set go back to the chart and click on 3 dots to set alert in this indicator, rename your alert and confirm
7) You can remove indicator after alert is set and it'll keep working as expected

What is does:

This indicator will generate alerts based on symbols, timeframes and RSI levels settings.

It will consider overbought and oversold levels to alert in each symbol and each timeframe selected. Once these levels are achieved it will send an alert with the following information:

- Symbol name (BTC, ETH, LTC)
- Specific RSI level achieved (e.g: RSI 30, RSI 70 or any custom level)
- Timeframe (e.g: 5m, 1h, 1D)
- Current symbol price

This script will request RSI OB/OS information through request.security() function from all different symbols and timeframes settings. It also requests symbols' price (close).
Due to Tradingview limitation (40 requests calls) it can only request information for 8 symbols for this script (8 symbols X 4 timeframes = 32 + 8 symbols' price (close) = 40)

Standard symbols are Binance USDT-M Futures but you can choose any symbol from Tradingview.
Standard timeframes are 5m|15m|1h|4h but you can choose from a list.
Standard overbought and oversold levels are 70 and 30 but you can change it to other integer values.

Feel free to give feedbacks on comments section below.

Enjoy!
Release Notes
minor fix in conditions
Release Notes
Input name changes
Release Notes
Minor updates:
1) Notification text layout update
- Alert information now is in a single line instead of 3 lines
- Alert information now can be fully readable in new pop-up messages from Tradingview and on smartphones
2) Changes in digits shown on alerts
- Now it'll use the same digit count as symbol's chart

Pequenas atualizações:
1) Atualização da formatação do texto das notificações
- A informação do alerta agora aparece em apenas 1 linha, ao invés de em 3 linhas
- A informação do alerta agora pode ser totalmente lido no novo formato de notificações de pop-up do Tradingview (e também nos smartphones)
2) Mudanças na quantidade de dígitos nos alertas
- Agora a quantidade de dígitos mostrada é a mesma que aparece nos gráficos de cada símbolo
Release Notes
Fixes and updates:
1) Bug fix
1.1) Fixed a problem with value digits (mintick)
- Digits from different symbols kept the same from the current symbol chart when alert was set.
- Now the script will request correct amount of digits for each symbol.
- Due to this fix this indicator will now only support 3 different timeframes to send alerts.

2) New option
2.1) Alert on bar close
- Added a new option on settings to trigger alert only after bar closes with RSI level crossed.
- If this option isn't checked alerts will keep the same way as before, triggering once RSI level is reached.

3) Minor fixes
- Minor changes in script (added some functions).

-----------------------------------------------------------------------------------------------

Correções e atualizações:
1) Correção de bug
1.1) Corrigido um problema com a quantidade de dígitos dos preços (mintick)
- A quantidade de dígitos de diferentes símbolos permaneciam com as mesmas configurações do gráfico ativo na hora de criar o alerta.
- Agora o código solicita a quantidade correta de dígitos padrão para cada símbolo.
- Devido a essa correção o indicador agora somente suportará 3 tempos gráficos diferentes (ao invés de 4) para o envio de alertas, por questão de limite de solicitações permitidas pelo Tradingview.

2) Adição de nova opção
2.1) Alertar somente após fechamento da barra
- Foi adicionada uma opção nas configurações para ativação de alerta somente caso a barra feche após o rompimento do nível de RSI
- Caso esta opção não esteja ativa o alerta permanecerá funcionando como já ocorria antes, enviando alerta assim que o nível de RSI for atingido.

3) Pequenas correções
- Pequenos ajustes feitos no código (adição de algumas funções).
Release Notes
Fixes and updates (new features):
1) Fixed a symbol that was delisted (RNDR is now updated to RENDER)

2) New features:
2.1) There are new fields to check:
2.1.1) RSI Reset/Return Level
This is a new feature to help indicator to keep alerts frequency and you can set a range that RSI Level must achieve before triggering alert once again.
Example: if RSI is standard (overbought 70 and oversold 30) and RSI Reset/Return level is set as 5, then RSI will trigger once again only after RSI levels reach 65/35. The value input in this field will calculate the difference between overbought/oversold levels
2.1.2) Alert when returning into RSI range? (checkbox)
If this checkbox is checked then the indicator will do the opposite of the situation above (2.1.1) it will trigger alerts when RSI Level returns into overbought/oversold range and the value in the field above will do opposite calculation.
Example: if RSI levels are 70/30, and RSI Reset/Return level is 5, then alerts will be triggered only after reaching 75/25 then returning and crossing 70/30.

Note: If you want to keep script working as before, just keep this field value as 0 (zero).

Hope you enjoy these new features.
Release Notes
Minor bug fixes.
alertMIUmtfrsiRelative Strength Index (RSI)rsi_alertrsialert

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer