OPEN-SOURCE SCRIPT

RSI Xray + Volume

已更新
RSI Analysis:
The indicator calculates the Relative Strength Index (RSI) using a user-defined length (default: 14).
It colors the bars based on RSI levels to identify potential overbought and oversold conditions.
Bars exceeding the overbought level (default: 70) are colored, while bars below the oversold level (default: 30) are colored too.
This helps traders identify potential trend reversals or market exhaustion points.

Midpoint Analysis:
The indicator calculates the midpoint of each bar, which is the average of the high and low prices.
It colors the bars based on their relation to the midpoint.
Bars above the midpoint are colored, indicating potential bullish momentum.
Bars below the midpoint are colored, suggesting potential bearish momentum.

Volume Analysis:
The indicator offers the ability to analyze volume changes and identify high volume bars.
It colors the bars when the volume exceeds a user-defined threshold.
This feature helps traders identify potential areas of market interest and increased participation.

Moving Average (SMA):
The indicator plots a Simple Moving Average (SMA) line of the closing price over a user-defined period (default: 9).
This moving average line helps traders identify potential trends and spot areas of support or resistance.

RSI Extreme Conditions:
The indicator identifies extreme RSI conditions by comparing the current RSI value with the highest and lowest RSI values calculated from a user-defined number of previous bars (default: 10).
When the RSI exceeds the overbought level but is lower than the highest RSI value within the specified range, the bar color changes to a customizable color (default: blue).
Conversely, when the RSI falls below the oversold level but is higher than the lowest RSI value within the specified range, the bar color changes to the same customizable color.
This feature helps traders identify potential RSI-based trading opportunities and market turning points.

Customization:
The indicator offers customizable settings for colors, RSI levels, SMA length, volume thresholds, RSI extreme levels, and RSI label color.
Traders can modify these settings based on their preferences and trading strategies.
Overall, the 'RSI Xray + Volume' indicator provides a comprehensive view of RSI levels, market momentum, volume changes, and RSI extreme conditions. Traders can use this information to identify potential trade setups, validate market trends, and make more informed trading decisions. It can be applied to various timeframes and instruments, making it a valuable tool for both short-term and long-term traders.
發布通知
Added the option to automatically calculate the volume threshold!

The automatic calculation of the volume threshold percentage works as follows in the 'RSI Xray + Volume' indicator:

Enable Calculation: To activate this feature, you need to set the input parameter calculateVolumeIncrease to true.

Volume Streak Length: The input parameter volumeStreakLength determines the number of consecutive bars to consider for volume calculation. By default, it is set to 5, meaning the indicator will analyze the volume increase over the last 5 bars.

Volume Accumulation: The indicator calculates the accumulated volume over the specified volumeStreakLength. It sums up the volume for the current bar and the previous volumeStreakLength.

Volume Increase Percentage: The indicator then compares the current bar's volume to the volume of the bar volumeStreakLength. It calculates the percentage increase by dividing the difference between the current volume and previous volume by the previous volume and multiplying by 100.

By automatically calculating the volume increase as a percentage and comparing it to the user-defined threshold, the indicator helps traders identify periods of heightened volume activity. It provides a visual representation of these high volume bars, allowing traders to focus on potential areas of market interest or increased participation.
midpointRelative Strength Index (RSI)Trend AnalysisVolume

開源腳本

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

想在圖表上使用此腳本?

免責聲明