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精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明