Noldo

Function StochRSI

Stochastic Relative Strength Index developed by Tushar Chande and Stanley Kroll.
This script has been written to eliminate the period variable.(Integer)
Thus, it can be used comfortably in adaptive period scripts ! (For example : Adaptive Moving Average , KAMA , FAMA .. etc. )
All efforts goes to ChaosTrader (https://www.tradingview.com/script/I6rPL...) ,
RicardoSantos (https://tradingview.com/script/32ohT5SQ-...) ,
Hpotter for barcolor codes (iff) (https://www.tradingview.com/script/8cuqB...)

I hope it will help your new ideas . Best regards ! Noldo .
Notas de Lançamento: Dear users, I made a big mistake. I have analyzed the Stochastic Oscillator function instead of StochRSI.This is the correct function. Also added alarms. Best regards !
Notas de Lançamento: Added some values ​​for better observation.
Notas de Lançamento: UPDATE :The rsi code pattern prepared by Tradingview is used. (Line 65 ) Because it is much more efficient where the period is less than 1.
Notas de Lançamento: This is the most effective version than the others.
Notas de Lançamento: This is to avoid distress if the variable average period drops to values ​​between 0 and 1. (RSI Functions )
Notas de Lançamento: Update : Colors
Remover dos scripts favoritos Adicionar aos scripts favoritos


For alerts :

alertcondition(possig ==1 , title='Buy Signal', message='Buy Signal ')
alertcondition(possig ==-1, title='Sell Signal', message='Sell Signal ')
Resposta
Nice! Thanks ^^
+1 Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de criptomoedas Calendário econômico Como Funciona Recursos gráficos Preços Regras da Casa Moderadores Soluções para sites e corretoras Widgets Soluções em Gráficos Central de Ajuda Solicitação de recurso Blog & Notícias FAQ Wiki Twitter
Perfil Configurações de perfil Conta e cobrança TradingView Coins Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar