OPEN-SOURCE SCRIPT
Atualizado Stochastic RSI with crossover-indication and alerts

On the normal Stochastic RSI it may be hard to see the exact crosses between the two lines. This version makes that a little easier.
Shows green line when K-line crosses up the D-line, but below the 50-level (this treshold level can be adjusted in the settings).
Shows red line when K-line crosses down the D-line, but above the 50-level (treshold level can be adjusted).
Option to show lines on the subsequent one or two bars. For instance you can use a rule that a crossover is still valid for trade-entry when it happened 2 bars ago.
Shows green line when K-line crosses up the D-line, but below the 50-level (this treshold level can be adjusted in the settings).
Shows red line when K-line crosses down the D-line, but above the 50-level (treshold level can be adjusted).
Option to show lines on the subsequent one or two bars. For instance you can use a rule that a crossover is still valid for trade-entry when it happened 2 bars ago.
Notas de Lançamento
Cleaned up the code.Linewidth can now be adjusted.
In the style-settings you can get rid of the vertical lines, leaving just a tiny cross as an indication where the K and D have crossed.
Notas de Lançamento
New version can generate alerts with crossover / crossunder,but with additional condition that candle itself is bulllish (green) or bearish (red).Notas de Lançamento
.Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.