OPEN-SOURCE SCRIPT

MTF RSI + Average (Multi-Timeframe) [TH]

已更新
Multi-Timeframe Relative Strength Index --- MTF RSI

Eliminates having to change time intervals to view a different Time Interval's RSI value (up to 5 time intervals possible through the settings).

The RSI values from Multiple Time Frames can be averaged together to show one single RSI.

A table overlay (info box) makes it easy to quickly identify RSI values on the multiple different time frames.
發行說明
Added Alerts
1. Add the indicator to the chart then, the go into its settings
2. Scroll to the bottom and check off each piece of criteria you want for the alerts
3. Create Alert
4. Set condition to "MTF RSI + Average"
5. Select create

Note: Only timeframes that are greater or equal to a chart's current timeframe can be used. (incorrect data will be displayed otherwise). Added a warning that needs to be checked when applying the indicator to the chart.
發行說明
Improved the settings layout.
The time labels within the RSI info box are now togglable to correspond to the color its RSI line.
發行說明
Bug Fixes.
發行說明
Settings Improvements.
Added RSI divergences (bullish/bearish regular and hidden).
Added ability to plot 2 separate RSI averages, instead of only one.
Labels indicating which timeframes are included in the RSI average and the current value of the the RSI average.
發行說明
Chart Updated.
發行說明
Fix.
發行說明
Major Changes:
-Repainting settings. The 'Repaint' option only should be disabled if any timeframe is set to something other than 'chart'. (when repaint is disabled, everything references the prior confirmed bar). The ability to reference a prior confirmed bar is necessary if a higher timeframe than the chart is used because the higher timeframe close is not known on every close of the current timeframe.
-Fixed Divergences to reference RSI source instead of wicks.
-Moving Averages can be applied to any individual RSI or the two Average RSIs using SMA, Bollinger Bands, EMA, DEMA, TEMA, SMMA (RMA), WMA, VWMA, HMA (HULL), ALMA, VWAP , VIDYA, Karobein, LSMA, eVWMA, COVWMA, KAMA, ESS 2 (Ehler's Super Smoother - 2 Pole), and ESS 3 (Ehler's Super Smoother - 3 Pole).
-Signals can be applied to any individual RSI or the two Average RSIs for Exit OB/OS, Weakening OB/OS, Enter OB/OS, MA cross, and 50-Cross. Another signal called 'RSI Difference' (not sure if very useful yet) was added to see the difference between two RSIs (for example if the RSI difference is none, then the line is plotted on the 50 line, if the RSI difference is 25, then the line is plotted at 75).

Minor Changes:
-Table reformatting.
-Settings reformatting.
-Ability to select which individual RSI or Average RSI divergences are applied to (only one at a time can be applied).
-Tooltips added.

Default settings modified: Currently, this indicator is displaying an average RSI of the periods 14, 42, and 168, for the
5min timeframe. Which corresponds similarly to a 14 period RSI for a 5min, 15min, and
1 hour timeframe averaged together. Referencing the different periods instead of
timeframes provides quicker information than referencing the prior close of a higher
timeframe to prevent repainting. (You can do this though by disabling the 'repaint' setting)
發行說明
Fixed Chart.
發行說明
Removed unused inputs.
發行說明
Bug fix.
發行說明
Alerts now have a 'Confirm' and 'Potential' option.

Confirm = alert waits until bar close occurs while criteria is true (prevents repainting).
Potential = alert occurs immediately when criteria is true (since this does not wait until a bar closes, the criteria can become invalid a the signal can dissapear)
發行說明
This update introduces several variations of Wilder's original Relative Strength Index (RSI). Descriptions of the formulas used for each calculation are provided below.

RSI (Relative Strength Index)
Description: The Relative Strength Index (RSI) is a momentum oscillator developed by J. Welles Wilder. It measures the speed and change of price movements, oscillating between 0 and 100. RSI values above 70 typically indicate overbought conditions, while values below 30 suggest oversold conditions. Traders use RSI to identify potential reversal points and to gauge the strength of a trend.
快照

MFI (Money Flow Index)
Description: The Money Flow Index (MFI) is a momentum indicator that uses both price and volume to identify overbought or oversold conditions. It's sometimes referred to as the volume-weighted RSI. MFI values above 80 indicate overbought conditions, while values below 20 suggest oversold conditions.
快照

Laguerre (Laguerre Filtered RSI)
Description: Laguerre RSI applies a Laguerre filter to the RSI calculation, reducing noise and lag. This results in a more responsive indicator that adapts quickly to price changes while smoothing out minor fluctuations.
快照

Connors (Connors RSI)
Description: Connors RSI is a composite indicator developed by Larry Connors for short-term trading. It combines three components: a short-term RSI, the number of consecutive up or down closes (streak), and the Rate of Change (ROC) percentile ranking. This provides a nuanced view of price momentum and volatility.
快照

Cutlers (Cutler's RSI)
Description: Cutler's RSI is a variation of the traditional RSI that uses a simple moving average (SMA) instead of Wilder's exponential moving average for calculating average gains and losses. This approach can provide a different perspective on momentum by equally weighting each period.
快照

Cumulative (Cumulative RSI)
Description: Cumulative RSI involves applying a second RSI calculation to the standard RSI values. This method deepens trend filtering and can smooth out signals, potentially reducing false positives in volatile markets.
快照

Hann (Hann Windowed RSI)
Description: The Hann Windowed RSI applies a Hann window function to smooth the RSI calculation. This reduces noise and highlights the underlying trend by weighting data points within the calculation.
快照

Harris (Harris RSI)
Description: The Harris RSI enhances the traditional RSI by adjusting the period based on the number of up and down movements, aiming for increased responsiveness and precision in volatile markets.
快照

VRSI (Volume-Weighted RSI)
Description: Volume-Weighted RSI adjusts the traditional RSI by incorporating volume into the calculation, giving more weight to price changes that occur with higher trading volume.
快照

PVRSI (Price & Volume Weighted RSI)
Description: PVRSI further refines the volume-weighted approach by considering both the price change and the change in volume, providing a more nuanced weighting of the RSI.
快照

EVRSI (Exponential Volume-Weighted RSI)
Description: EVRSI adjusts the RSI to respond more quickly to volume-weighted price changes by applying exponential weighting, making it more sensitive to recent significant movements.
快照

RMI (Relative Momentum Index)
Description: The Relative Momentum Index (RMI) extends the concept of the RSI by measuring the momentum of price changes over a specified number of periods, rather than just single-period price changes.
快照

DRSI (Dynamic RSI)
Description: Dynamic RSI adapts the RSI period length based on market volatility, measured by the correlation between price and momentum. This allows the RSI to adjust to changing market conditions for potentially more accurate signals.
快照

True (True RSI)
Description: True RSI aims to increase the precision of the RSI by using SMA (Simple Moving Average) for average gains and losses instead of Wilder's smoothing method, and by adjusting the formula slightly.
快照

Trix (Trix RSI)
Description: Trix RSI applies a triple exponential moving average to the rate of change (ROC) before calculating the RSI. This method reduces lag and smooths the indicator, potentially providing earlier signals.
快照

Weighted (Weighted RSI)
Description: Weighted RSI applies weighting factors to the gains and losses in the RSI calculation, emphasizing certain periods (e.g., recent periods). This can make the RSI more sensitive to recent price changes.
快照

Adaptive (Adaptive RSI)
Description: Adaptive RSI adjusts the RSI calculation based on market volatility, making the indicator more reliable in different market conditions. It modifies the smoothing factors to adapt to changing volatility.
快照
MTF-RSImultiplersimulti-timeframeRelative Strength Index (RSI)rsiaveragersitabletanhef

開源腳本

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

想在圖表上使用此腳本?


tanhef.com/

Scripts and content from TanHef are solely for information and education. Past performance does not guarantee of future results.
更多:

免責聲明