fabianomiu

RSI Multi Alerts MTF

fabianomiu 已更新   
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!
版本注释:
minor fix in conditions
版本注释:
Input name changes
版本注释:
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
版本注释:
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).
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?