OPEN-SOURCE SCRIPT

RSI & Williams %R Strategy

Atualizado
RSI 14 is calculated using the default rsi formula.
RSI's Moving Average is calculated using a simple moving average (default length is 7 but adjustable).
Williams %R is calculated over the specified length (default is 14).
Buy Signal:

RSI crosses above its moving average.
Williams %R crosses above the -80 level.
Sell Signal:

RSI crosses below its moving average.
Williams %R crosses below the -20 level.
Visual Indicators:

Green upward labels for buy signals.
Red downward labels for sell signals.
Williams %R and RSI are plotted for better visualization with threshold levels.
Notas de Lançamento
RSI 14 is calculated using the default rsi formula.
RSI's Moving Average is calculated using a simple moving average (default length is 7 but adjustable).
Williams %R is calculated over the specified length (default is 14).
Buy Signal:

RSI crosses above its moving average.
Williams %R crosses above the -80 level.
Sell Signal:

RSI crosses below its moving average.
Williams %R crosses below the -20 level.
Visual Indicators:

Green upward labels for buy signals.
Red downward labels for sell signals.
Williams %R and RSI are plotted for better visualization with threshold levels.
Notas de Lançamento
RSI 14 is calculated using the default rsi formula.
RSI's Moving Average is calculated using a simple moving average (default length is 7 but adjustable).
Williams %R is calculated over the specified length (default is 14).
Buy Signal:

RSI crosses above its moving average.
Williams %R crosses above the -80 level.
Sell Signal:

RSI crosses below its moving average.
Williams %R crosses below the -20 level.
Visual Indicators:

Green upward labels for buy signals.
Red downward labels for sell signals.
Williams %R and RSI are plotted for better visualization with threshold levels.
Notas de Lançamento
Buy/Sell Signals:

Williams %R crosses above -80 and crosses above its moving average (for Buy).
Williams %R crosses below -20 and crosses below its moving average (for Sell).
RSI crosses above its moving average (for Buy).
RSI crosses below its moving average (for Sell).
These labels are displayed below bars for Buy and above bars for Sell.
Price Levels:

The Lowest and Highest Price Levels are plotted using horizontal lines for reference.
Red line for the Lowest Price Level (priceMin).
Green line for the Highest Price Level (priceMax).

BUY and SELL Labels will be displayed on the chart at the appropriate locations.
Lowest and Highest Price Levels will be plotted as horizontal lines.
The chart will remain clean, focusing only on the conditions and reference levels you specified.

Bill Williams IndicatorsTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal