PROTECTED SOURCE SCRIPT
已更新

TripleTrend with RSI Reversal

176
TripleTrend with RSI Reversal

The TripleTrend with RSI Reversal indicator is a comprehensive trading tool designed to identify trend direction, potential trend reversals, and trade entry/exit signals. It combines three independent SuperTrend indicators with varying sensitivities to provide a multi-layered view of the market trend. Additionally, it incorporates an RSI (Relative Strength Index) module to detect potential price reversals based on overbought/oversold conditions and to filter trend flip signals.

This indicator aims to provide clear visual cues on the chart, including trend lines, trend flip labels, and RSI-based reversal warnings, helping traders make more informed decisions.



Key Features

Triple SuperTrend Analysis
Utilizes three configurable SuperTrend lines, each with its own ATR period and multiplier, allowing for a nuanced view of short, medium, and long-term trends.

RSI Reversal Signals
Identifies potential market turning points when the RSI deeply penetrates overbought or oversold zones, plotting distinct visual cues and labels.

Trend Flip Labels
Displays labels on the chart when one, two, or all three SuperTrends change direction simultaneously, indicating the strength of the new trend. These labels also include the current RSI value.

Customizable RSI Filtering
Offers an option to filter out trend flip labels when the RSI is within a user-defined neutral range, reducing signals in choppy market conditions.

Configurable Alerts
Provides various alert conditions for trend flips and signal confirmations.



How It Works


SuperTrend Calculation:
- The indicator plots three separate SuperTrend lines. Each SuperTrend is calculated using an Average True Range (ATR) period and a multiplier.

- A SuperTrend line below the price indicates an uptrend (typically colored green).

- A SuperTrend line above the price indicates a downtrend (typically colored red).

- The sensitivity of each SuperTrend can be adjusted independently.


RSI Reversal Detection:
- A standard RSI is calculated.

- The indicator monitors if the RSI moves significantly beyond the user-defined Upper Threshold (overbought) or Lower Threshold (oversold).

- The depth of this penetration is measured as a percentage. If this percentage exceeds the Upper reversal range percent trigger (for overbought) or Lower reversal range percent trigger (for oversold), a blue line is plotted above the high (for potential bearish reversal) or below the low (for potential bullish reversal) of the signal candle.

- A "REV" label appears at the start of this blue line, showing the penetration percentage and the current RSI value.


Trend Flip Labels:
- When one or more SuperTrends flip direction, the indicator checks RSI conditions.

- For buy signals (trend flips upwards), labels appear if the RSI is below the RSI Upper threshold (i.e., not extremely overbought).

- For sell signals (trend flips downwards), labels appear if the RSI is above the RSI Lower threshold (i.e., not extremely oversold).

- Labels indicate which SuperTrend(s) flipped ("1", "2", "3", "1 2", etc.) and the current RSI value.

- An optional Custom RSI Filter can be enabled. If active, trend flip labels will not be shown if the RSI value is between the Custom RSI filter high limit and Custom RSI filter low limit, helping to avoid signals during market indecision.



Usage Guide


Interpreting SuperTrend Lines:
- The three SuperTrend lines act as dynamic levels of support (in an uptrend) or resistance (in a downtrend).

- A break of a SuperTrend line by the price suggests a potential change in that specific trend's direction.

- Confluence of trends (e.g., all three lines indicating an uptrend) suggests a stronger overall trend.


Trend Flip Labels:
- Single Trend Flip Labels ("1", "2", or "3"): Indicate an early change in one of the SuperTrends. These can be used for more aggressive entries or to signal a potential shift in momentum. The label includes the RSI value at the time of the flip.

- Double Trend Flip Labels ("1 2", "1 3", "2 3"): Offer stronger confirmation as two SuperTrends align in a new direction.

- Triple Trend Flip Labels ("1 2 3"): Represent the strongest trend confirmation, as all three SuperTrends have flipped simultaneously.

- Green labels suggest buy signals; red labels suggest sell signals.

- Always consider the accompanying RSI value on the label and the overall market context.


RSI Reversal Signals (Blue Lines & "REV" Labels):
- REV is for Reverse

- A blue line appearing above the price with a "REV" label suggests the RSI is deeply overbought, indicating potential uptrend exhaustion or a bearish reversal.

- A blue line appearing below the price with a "REV" label suggests the RSI is deeply oversold, indicating potential downtrend exhaustion or a bullish reversal.

- These are counter-trend signals and should be used with caution, preferably with confirmation from other indicators or price action. They can also serve as warnings to take profit on existing trend-following trades.

- Trend flip labels are suppressed when an RSI Reversal line is active, prioritizing the exhaustion signal.


Combining Signals:
- Look for trend flip labels (especially double or triple) that align with the broader market structure and occur when the RSI is not in extreme territory (as per label logic).

- Use RSI Reversal signals as potential early warnings of a trend ending or for high-probability counter-trend setups if strongly supported by other factors.

- If the Use custom RSI filter is enabled, be aware that trend flip labels will be hidden if the RSI is within the specified neutral zone. This can help avoid weaker signals in range-bound markets.



Settings Customization


Trend 1, 2, 3 Settings:
- ATR Period: Adjusts the lookback period for ATR calculation. Shorter periods make the SuperTrend more sensitive to price changes.

- Source: The price source used for calculations (default is hl2).

- ATR Multiplier: Controls the distance of the SuperTrend line from the price. Smaller multipliers result in tighter stops and more signals; larger multipliers result in wider stops and fewer signals.

- Show single/double/triple trend flip labels: Toggle visibility for these specific label types.


Label settings:
- Label Size: Adjusts the size of all indicator labels.

- Show reversal labels: Toggles visibility for the "REV" labels associated with RSI Reversal signals.


RSI Settings (Change often):
- RSI Length: The lookback period for the RSI calculation.

- RSI Upper threshold: The RSI level considered overbought.

- RSI Lower threshold: The RSI level considered oversold.


RSI Reversal detection settings:
- Upper reversal range percent trigger: Percentage of penetration into the (RSI Upper Threshold to 100) zone required to trigger an upper reversal signal. Higher values mean RSI needs to be deeper into overbought.

- Lower reversal range percent trigger: Percentage of penetration into the (RSI Lower Threshold to 0) zone required to trigger a lower reversal signal. Higher values mean RSI needs to be deeper into oversold.


Custom RSI filter settings:
- Use custom RSI filter: Enable/disable this filter for trend flip labels.

- Custom RSI filter high limit: If the filter is active, no trend flip labels will show if RSI is below this value (and above the low limit).

- Custom RSI filter low limit: If the filter is active, no trend flip labels will show if RSI is above this value (and below the high limit).



Alerts

- Individual trend flips (TripleTrend: Trend 1/2/3 flipped).

- Multiple trend flips (TripleTrend: 2 Trends flipped, TripleTrend: 3 Trends flipped).

- Confirmed buy/sell signals based on label logic (TripleTrend: Early/Double/Triple trend buy/sell signals).

- Configure these alerts in TradingView to receive notifications for specific market events detected by the indicator.



How I use TripleTrend with RSI Reversal
I use it on 5, 10 and 30 minute time frames.

I adjust the settings, especially the RSI thresholds for what I am trading, the day could be in the lower or upper regions of the RSI, I adjust as needed, when needed. I then use the REV (aka REVERSAL) indicators to indicate when to get out or caution me to not enter at that point. Unless I see something else which indicates otherwise.



Disclaimer
Trading involves substantial risk of loss and is not suitable for every investor. The TripleTrend indicator is to be used at your own risk and is only created to help you make decisions, it is not intended to make decisions for you. Past performance is not indicative of future results. Always do your own research and risk assessment before making any trading decisions. By using this indicator you use it at your own risk.
發行說明
v1.0.2
- Simplified RSI settings
- Corrected typo
- Set some new defaults
- Corrected reversal lines and indicators for charts with price ranges 9 or less, 10 to 99, 100 to 999 and 1000 and above (it was built on a triple digit stock and thus incorrectly positioned for other stocks in the single, double or quadruple digit values/lengths)
發行說明
v1.0.8

- Improved trend indicators

- Trend indicators will now include the letters REV (aka REVERSAL) if they are above RSI upper limit and below the RSI lower limit

- Trend indicators that trigger at the same time as a reversal will prevent the reversal indicator being drawn in favor of the trend indicator (which will include the letters REV)

- Adjusted settings, added ability to turn off RSI filtering for trend labels so that you can see all. NOTE: Alerts use label visibility, if a label is drawn then the alert will trigger.

- Cleaned up some logic

- Adjusted some default values

- Set RSI filtering for labels off by default so that all trend indicators are shown, you can configure to how you want later

- Cleaned up the code a bit
發行說明
v1.0.8

Fixed RSI trend label filter bug.
發行說明
v1.1.0

Added a configurable trend table. The table can:
- show multiple trends
- have each trend time frame adjusted
- position adjusted (default bottom right)
- colours adjusted
- be turned off or on (default on)
發行說明
v1.1.1
Improved trend table trend detection
發行說明
v1.1.4
- Added Dynamic RSI Reversal Detection
- You can now switch between Fixed and Dynamic RSI Reversal detection
- Added settings to allow Dynamic RSI Reversal detection to be configured just the way you want it
- When Dynamic RSI Reversal Detection goes into values which are not usable or set to disable, reversal detection will auto switch to Fixed RSI Reversal till Dynamic RSI Reversal values and settings are in usable limits again.
發行說明
v1.1.7
- Fixed a bug with the Dynamic RSI reversal calculation for up reversal detection and input settings
- Disabled auto switching to Fixed RSI reversal when Dynamic RSI Reversal values do not meet certain criteria
- Updated some settings
發行說明
v1.2.1
- Added the ability to adjust trend table trend detection settings
- Added the ability to see the trend table trend line (while this is on all other indicators and trend lines are disabled)
- Added settings so you can adjust the trend table trend detection settings
- Added the ability to hide trend lables on doji candles
發行說明
v1.2.2

- Added a filter to filter candles below a certain body height and between an RSI range (cleans things up during low volume or the market is not moving much, sideways action)
- Added settings so you can turn the new filter on and off and adjust it's settings
- Updated some default settings values
- Adjusted the copy on some settings
發行說明
v1.2.3
- Simplified Dynamic RSI reversal detection mode
- Revised Dynamic RSI reversal detection logic
- Removed and added new settings for Dynamic RSI reversal mode
- Set some balanced defaults for the new Dynamic RSI reversal detection mode (you should change to what you trade with and how it is trading at the time, whether the RSI is long term in the upper, mid or lower regions of the RSI range)

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。