OPEN-SOURCE SCRIPT

RSI & Williams %R Strategy

已更新
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.
發行說明
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.
發行說明
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.
發行說明
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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明