OPEN-SOURCE SCRIPT
Atualizado

RSI chop filter

This demonstrates how you might filter your signals using RSI, but the same technique could be applied to Stochastic RSI and any other oscillator that has overbought and oversold conditions.

Use it as a visual indicator to determine when to enter a trade:

Red = Chop zone (no trade)
Bright red = Tight chop (dear god stay away)
Green = Overbought or oversold (signals permitted)
Bright green = Crossing up/down (take the trade)

To apply the filter, simply add 'and not chop' after your conditions as seen in the commented out example.
Notas de Lançamento
Swapping out a variable. A minor improvement.

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.