RSI Screener and Divergence [5ema]
 Displayed on the RSI chart according to a custom timeframe.
 Displays the RSI tracking table of various timeframes.
 Identify normal divergence, hidden divergence on RSI chat.
 Show buy and sell signals (strong, weak) on the board.
 Send notifications when RSI has a buy or sell signal.
 
-----
 I reused some functions, made by (i believe that):  
 
 ©paaax : The table position function. 
 @everget : The RSI divergence function. 
 @QuantNomad : The function calculated value and array to show on table for input symbols. 
 
I have commented in my code. Thanks so much!
-----
 How it works: 
1. Input :
 
 input.int length of RSI => calculate RSI.
 input.int upper/lower => checking RSI overbought/oversold.
 input.int right bars / left bars => returns price of the pivot low & high point => checking divergence.
 input.int range upper / lower bars => compare the low & high point => checking divergence.
 input.timeframe => request.security another time frame.
 input.string table position => display screener table.
 
2. Input bool:
 
 plot RSI on chart.
 Plot Regular Bullish divergence .
 Regular Bearish divergence.
 Hidden Bullish divergence .
 Hidden Bearish divergence.
 
3. Basic calculated:
 
 Make function for RSI , pivot low & high point of RSI and price.
 Request.security that function for earch time frame.
 Result RSI, Divergence.
 
4. Condition of signal:
 Buy condition: 
 
 RSI oversold (1)
 Bullish divergence (2).
 => Buy if (1) and (2), review buy (1) or (2).
 
 Sell condition: 
 
 RSI overbought (3).
 Bearish divergence (4).
=> Sell if (3) and (4), review sell (3) or (4).
 
5. Table screener:
 
 Time frame.
 RSI (green - oversold, red - overbought)
 Divergence (⬈⬈ - regular bullish , ⬊⬊ regular bearish , ⬊ - hidden bullish , ⬈ - hidden bearish ).
 Signal (🟢 - Buy, 🔴 - sell, green 〇 - review buy, red 〇 - review sell)
 
----
 This indicator is for reference only, you need your own method and strategy. 
 If you have any questions, please let me know in the comments.
In den Scripts nach "rsi" suchen
RSI ProfileThis indicator shows the RSI profile from historical RSI Value and High / Low RSI Pivots.
It is inspired by the Volume Profile which is a common charting study that indicates activity at specified levels. It plots a histogram on the chart meant to identify dominant/significant levels.
This script is profiling RSI levels into a histogram, which can identify the crucial RSI values in the chart. Along with the pivot options that can help identify the dominant pivot points where RSI values had been rebounding historically.
How to use:
There are three profile types available in the settings. When selecting RSI Values, the indicator will count RSI values from history, and plot the count in a histogram at the end of the chart. If you select RSI Pivots High or RSI Pivots Low, the indicator will count only the RSI Pivot Highs and Lows and plot the count in a histogram. Users can select the Pivot Left/Right length from the settings.
Users can extend the POC line to the left, to study how the values had been reacting to POC
Please note: Since the RSi values range from 0 to 100, the indicator is rounding off the values to absolute numbers. This can cause a situation where multiple POC are identified, to find the unique POC, you can increase the width of the histogram.
The Max/Min RSI settings are for visual purposes only, it can help users shrink down the histogram's top and bottom visibility
RSI Scalping & Swing Signals With AlertsThis RSI indicator shows a green or red ribbon when the smoothed RSI is bullish or bearish. It also includes a long moving average for overall trend confirmation. Wait until the ribbon holds above or below the long moving average and take positions in that direction.
To get an easier to read RSI indicator, I smoothed the RSI out and paired it next to a short term RMA. These two together form the ribbon that will show you early reversals and trend direction. The long moving average is used as an overall trend detector and confirmation for longer term trends.
 ***HOW TO USE*** 
Scalping: Enter longs when the ribbon turns green and enter shorts when the ribbon turns red. Exit positions when the ribbon turns the opposite color or crosses the long moving average.
Swing Trading: When the ribbon holds above the long moving average or breaks out and retests it, look for long positions and exit when the ribbon turns red or crosses the long moving average. When the ribbon holds below the long moving average or breaks down and retests it, look for short positions and exit when the ribbon turns green or crosses the long moving average.
 ***DETAILS*** 
This indicator gives early reversal signals very well and waiting for the RSI ribbon to cross the long moving average helps to get you into positions when the market is ready to really move while filtering out some of the noise.
The ribbon and background will change to green or red depending on whether it is currently bullish or bearish. 
There is also a label that changes colors and tells you if RSI is bullish or bearish and also whether the RSI ribbon is above or below the long moving average.
Green or red circles will appear on the indicator when there is a bullish or bearish cross of the RSI ribbon and the long moving average.
It also has alerts that trigger when RSI is turning bullish/bearish or when the RSI ribbon is crossing the long moving average.
 ***CUSTOMIZATION*** 
Each piece of this indicator can be customized to suit your preferences including the RSI source, length, smoothing length, short moving average length and long moving average length. You can also turn off the labels, signals and long moving average. All of these settings can be managed within the indicator settings input tab.
 ***MARKETS*** 
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
 ***TIMEFRAMES*** 
This RSI Scalping & Swing Signals indicator can be used on all timeframes.
 ***TIPS*** 
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are Trend Friend Scalp & Swing Trade Signals, Volume Spike Scanner, Buy & Sell Pressure Volume Profile, and Momentum Scalper in combination with this RSI indicator. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
RSI Failure Swings & AO DivergencesHello!
The script identifies RSI divergences, similar to other public scripts; however, RSI failure swings are also distinguished. When a failure swing is identified, the script calculates the highest RSI measurement (bottom failure swing) or the lowest RSI measurement (top failure swing) between the two RSI pivot points. A continually updating line is plotted at the "fail point" until it is penetrated for two sessions! In addition, the script displays the RSI fail point measurement. RSI bearish divergences are only distinguished when both RSI peaks form above 70. bullish divergences are only distinguished when both RSI troughs form below 30. Top failure swings require the initial RSI peak be above 70, the second RSI peak can form at any measurement. Bottom failure swings require the initial RSI trough be below 30, the second RSI trough can form at any measurement. 
Included are Awesome Oscillator divergences. The indicator is a bit tricky; the oscillator does not incorporate an upper or lower extremity. Consequently, the script uses interpolated percentiles to characterize relatively high measurements and relatively low measurements. Bearish divergences that form within the 90th - 99th percentile are distinguished, and bullish divergences that form within the 1 - 10th percentile are distinguished. This can CERTAINLY be changed should you copy the source code and think of something better! For AO, white columns reflect a difference measurement >= 0; black bars reflect a difference measurement < 0 
RSI Divergence UltimateHere it is Everyone - What was once hidden is now revealed
This is the Ultimate RSI Divergence Indicator
Not only does it plot Regular and Hidden Divergence lines for an RSI smoothed by an EMA and for its Signal Line
The RSI can be set to change color with direction or can be set as single color with or with out OB / OS highlights 
Color Changing RSI helps when trading Multiple Time Frames as you can look for confluence in the direction of RSI
Included options for the Signal Line include;
                                              Various calculations EMA, SMA and Linear Regression which provides very accurate signal line crossover signals
                                              Color Changing with direction
                                              Second RSI with different Length
                                              Multi Time Frame RSI
                                              Bollinger Bands applied to the RSI
                                              RSI Stochastic that has been compressed to fit into RSI OB / OS so that it doesnt compress the RSI when in these regions                                               
                                                  There are also Background Highlights (thanks to Chris Moody) for when the RSI Stochastic moves into OB / OS and crosses its signal line
There are plenty of Alerts for signals with more complex alerts coming soon
I have also added Hima Reddy's Power Zones for support and resistance so now you can also
Take full advantage of trading; signal line crosses, 50 crosses and Power Zone RSI support and resistance and much more
The divergence script is thanks to @RicardoSantos, I've just adjusted it to suite my indicator
Remember that divergences work best when traded with the trend or very late in a trend when going against the trend
RSI Trendline Pro - Multi Confirmation
Overview
RSI Trendline Pro is an advanced Pine Script indicator that automatically draws trendlines on the RSI (Relative Strength Index) to detect support and resistance breakouts. It generates high-quality trading signals through a multi-confirmation system.
Key Features
Auto Trendlines: Detects pivot points on RSI to create intelligent support and resistance lines
Multi-Confirmation System: Combines Volume, Stochastic RSI, ADX, and Divergence filters to reduce false signals
RSI Divergence Detection: Automatically identifies bullish/bearish divergences between price and RSI
Live Dashboard: Displays RSI value, active trendlines, ADX strength, and last signal info on a visual panel
Smart Breakout Detection: Identifies trendline breaks and generates LONG/SHORT signals
How to Use
Add to TradingView: Paste code into Pine Editor and add to chart
Configure Parameters:
RSI Length: RSI period (default: 14)
Pivot Strength: Trendline sensitivity (lower = more lines)
Filters: Enable/disable Volume, Divergence, Stoch RSI, and ADX confirmations
Follow Signals:
LONG (Green): When RSI breaks resistance upward
SHORT (Red): When RSI breaks support downward
Divergence: "D" markers indicate potential trend reversals
Alert Setup
Script offers 4 alert types:
LONG Breakout: Resistance break
SHORT Breakout: Support break
Bullish/Bearish Divergence: Divergence detection
Any Signal: Combined alert for all signals
Best Practices
Prioritize high-volume breakouts (Volume Filter enabled)
Trends are stronger when ADX > 25
Confirm divergence signals with price action
Trade when 2-3 confirmations align
RSI Colored by Relative StrengthThis indicator enhances the traditional RSI by combining it with Relative Strength (RS) — the ratio of an asset’s price to a chosen benchmark (e.g., SPY, QQQ, BTCUSD) — to create a more accurate, powerful, and dynamic momentum confirmation tool.
Instead of relying solely on RSI’s internal momentum, this version color-codes RSI values and backgrounds based on whether the asset is outperforming, underperforming, or neutral relative to the benchmark, not only identifying the RSI value, but color codes it in relation to the overall market to give more accurate confirmations.
	•	RS > 1 → The asset is outperforming the benchmark (relative strength).
	•	RS < 1 → The asset is underperforming.
	•	RS ≈ 1 → Neutral or moving in sync with the benchmark.
Gradient background zones:
	•	Green tones = outperformance (RS > 1).
	•	Red tones = underperformance (RS < 1).
	•	Gray neutral band = parity (RS ≈ 1).
Intensity adjusts dynamically based on how far RS deviates from 1, giving an at-a-glance view of market leadership strength.
	•	Color-coded RSI line: Green when RS > 1, red when RS < 1.
	•	Optional markers and labels show confirmed RS+RSI crossovers with smart spacing to prevent clutter.
	•	Alerts included for bullish and bearish RS+RSI alignment events.
How to Use
	1.	Add your preferred benchmark symbol (default: SPY).
	2.	Move this indicator into the same pane as your RSI (No need to overlay, does so automatically) and can also be used standalone.
	3.	Watch for:
	•	Green RSI & background: Significant momentum strength (asset trending upward and outpacing the market).
	•	Red RSI & background: False or insignificant momentum (asset lagging).
	•	Gray zone: neutral phase — consolidation or rotation period.
Use this as a trend-confirmation filter rather than a signal generator.
For example:
	•	Confirm and refine breakout entries when RS > 1 (RSI support = stronger conviction).
	•	Take profits when RSI weakens and RS slips below 1.
RSI deyvidholnik
📊 Overview
RSI deyvidholnik is an advanced technical indicator that combines the power of traditional RSI (Relative Strength Index) with automatic divergence detection to identify potential market reversal points. This indicator was developed by kingthies and offers clear visual analysis of overbought/oversold conditions along with highly precise divergence signals.
🔧 Key Features
Customizable RSI
Data Source: Configurable (default: close)
Period: Adjustable (default: 14)
Moving Average: Multiple types available (SMA, EMA, SMMA, WMA, VWMA, MMS)
MA Period: Configurable (default: 14)
Divergence Detection
The indicator identifies four types of divergences:
🟢 Bullish Divergence
Occurs when price makes lower lows, but RSI makes higher lows
Indicates possible trend reversal from bearish to bullish
Signaled with green dots on RSI
🔴 Bearish Divergence
Occurs when price makes higher highs, but RSI makes lower highs
Indicates possible trend reversal from bullish to bearish
Signaled with red dots on RSI
🟢 Hidden Bullish Divergence (Optional)
Price makes higher lows while RSI makes lower lows
Confirms continuation of bullish trend
Useful in trending markets
🔴 Hidden Bearish Divergence (Optional)
Price makes lower highs while RSI makes higher highs
Confirms continuation of bearish trend
Useful in trending markets
⚙️ Pivot Settings
Optimized Default Configuration
Right Bars: 1 (quick confirmation)
Left Bars: 5 (noise filtering)
Maximum Bars Between Pivots: 60
Minimum Bars Between Pivots: 3
These settings have been adjusted to provide:
✅ Faster and more responsive signals
✅ Reduction of false signals
✅ Better identification of significant pivots
🎨 Visual Interface
RSI Levels
Line 70: Overbought zone (red)
Line 50: Neutral centerline
Line 30: Oversold zone (green)
Gradient fill: Visually intensifies extreme zones
Graphical Elements
RSI: Main line in white
Moving Average: Smoothed yellow line
Divergence Points: Colored markers on pivots
Background: Subtle fill for better readability
📈 How to Use
For Reversal Trading
Enable only: Bullish and Bearish (default)
Look for: Divergences in overbought/oversold zones
Confirm with: Other indicators or price analysis
For Trend Trading
Enable: Hidden Bull and Hidden Bear
Use in: Markets with clear established trends
Combine with: Market structure analysis
Alert Configuration
The indicator includes automatic alerts for:
⚠️ Bullish Divergence
⚠️ Bearish Divergence
⚠️ Hidden Bullish Divergence
⚠️ Hidden Bearish Divergence
💡 Main Advantages
✅ Automatic Detection: Identifies divergences without manual interpretation
✅ Optimized Configuration: Default values tested for maximum efficiency
✅ Clean Interface: Clear and professional visual
✅ Integrated Alerts: Automatic signal notifications
✅ Flexibility: Multiple customization options
✅ Performance: Optimized code for efficient execution
🎯 Recommended Timeframes
Scalping: 1m, 5m (with more sensitive settings)
Intraday: 15m, 30m, 1h (default configuration)
Swing: 4h, 1D (for medium-term signals)
⚠️ Important Considerations
Not infallible: Always use in conjunction with other analysis methods
Sideways markets: More effective in markets with directional movement
Confirmation: Always wait for signal confirmation before trading
Risk management: Always implement adequate stop-loss and take-profit
RSI Momentum Divergence Zones [ChartPrime]⯁ OVERVIEW 
 RSI Momentum Divergence Zones   is a hybrid oscillator and chart overlay tool that detects RSI-based momentum divergences and projects them as key zones on the chart. By combining RSI divergence logic with horizontal level plotting, this indicator reveals high-probability support and resistance areas where price has historically reacted to hidden or classic divergences.
 ⯁ KEY FEATURES 
 
 Momentum-Based RSI Source: 
Instead of the classic RSI input, this tool uses the momentum of price as the RSI source:
 rsiSrc = ta.mom(close, 10) 
This emphasizes acceleration and deceleration of price moves, sharpening divergence signals and making them more responsive to early shifts in momentum.
 Automatic Divergence Detection (Optional): 
When enabled, the indicator continuously scans for:
—  Bullish Divergence : Price makes a Lower Low while RSI forms a Higher Low
—  Bearish Divergence : Price makes a Higher High while RSI forms a Lower High
It ensures divergence is valid by checking the spacing between pivots (min 5, max 50 bars).
 Divergence Labels & Markers (RSI Pane + Chart):
 When a valid divergence is detected:
— On RSI pane:
Labels appear at HL/LH points (“Bull” / “Bear”)
Colored lines show pivot structures
— On price chart:
  
Labels (“▲ Bull” / “Bear ▼”) mark price pivot that triggered the divergence
Lines highlight the exact price level at the divergence origin
  
 Divergence Zones / Levels (Toggleable):
 The indicator projects horizontal zones across the chart based on confirmed divergence points.
These levels dynamically extend as long as price respects them, and auto-expire once broken.
They act as S/R levels created by market imbalance caused by divergence reactions.
  
 Dynamic Zone Extension Logic: 
Once plotted, divergence levels will extend to the right:
— If price respects the level, the zone keeps growing
— If broken in the opposite direction, the level stops extending and turns dashed (visually showing break)
  
 Zone Layering and Limit Control: 
You can limit the number of simultaneous zones shown on the chart (e.g., 10 most recent).
Old zones automatically expire and are removed to keep the chart clean and focused.
  
 Color Customization and Intensity: 
Different colors for bullish and bearish zones let you easily distinguish trend direction.
Background fill, line width, and transparency are all adjustable.
 Clean Zone Management with Arrays: 
Behind the scenes, the script uses custom divLevel type arrays to manage plotted levels, ensuring they stay up-to-date, extend correctly, and delete once invalidated.
 
 ⯁ USAGE 
 
  Use bullish divergence zones as potential demand areas and bearish ones as supply zones.
  Combine RSI pane labels with price-level zones to confirm strength of reversal.
  Watch for price approaching a divergence level to anticipate reactions or breakouts.
  Use divergence levels as trade triggers, stop-loss guides, or take-profit markers.
  Limit signal count using the “Qty Divergence Zones” setting to reduce chart clutter.
  Enable divergence detection only when you want to focus on key structural zones — ideal for swing or positional setups.
 
 ⯁ CONCLUSION 
 RSI Momentum Divergence Zones   blends oscillator divergence logic with price action structure to uncover hidden strength or weakness in the market. With flexible zone plotting and clean visual signals, this tool empowers traders to identify where momentum turns into structure — turning hidden signals into tradable edges.
RSI Multi-Timeframe Dashboard by giua64)### Summary
This is an advanced dashboard that provides a comprehensive overview of market strength and momentum, based on the Relative Strength Index (RSI) analyzed across 6 different timeframes simultaneously (from 5 minutes to the daily chart).
The purpose of this script is to offer traders an immediate and easy-to-read summary of market conditions, helping to identify the prevailing trend direction, overbought/oversold levels, and potential reversals through divergence detection. All of this is available in a single panel, eliminating the need to switch timeframes on your main chart.
### Key Features
* **Multi-Timeframe Analysis:** Simultaneously monitors the 5m, 15m, 30m, 1H, 4H, and Daily timeframes.
* **Scoring System:** Each timeframe is assigned a score based on multiple RSI conditions (e.g., above/below 50, overbought/oversold status, direction) to quantify bullish or bearish strength.
* **Aggregated Signal:** The dashboard calculates a total percentage score and provides a clear summary signal: **LONG**, **SHORT**, or **WAIT**.
* **Divergence Detection:** Automatically identifies Bullish and Bearish divergences between price and RSI for each timeframe.
* **Non-Repainting Option:** In the settings, you can choose to base calculations on the close of the previous candle (`Use RSI on Closed Candle`). This ensures that past signals (like status and score) do not change, providing more reliable data for analysis.
* **Fully Customizable:** Users can modify the RSI period, overbought/oversold thresholds, divergence detection settings, and the appearance of the table.
### How to Read the Dashboard
The table consists of 6 columns, each providing specific information:
* **% (Total Score):**
* **Header:** Shows the overall strength as a percentage. A positive value indicates bullish momentum, while a negative value indicates bearish momentum. The background color changes based on intensity.
* **Rows:** Displays the numerical score for the individual timeframe.
* **RSI:**
* **Header:** The background color indicates the average of all RSI values. Green if the average is > 50, Red if < 50.
* **Rows:** Shows the real-time RSI value for that timeframe.
* **Signal (Status):**
* **Header:** This is the final operational signal. It turns **🟢 LONG** when bullish strength is high, **🔴 SHORT** when bearish strength is high, and **⚪ WAIT** in neutral conditions.
* **Rows:** Describes the RSI status for that timeframe (e.g., Bullish, Bearish, Overbought, Oversold).
* **Dir (Direction):**
* **Header:** Displays an arrow representing the majority direction across all timeframes.
* **Rows:** Shows the instantaneous direction of the RSI (↗️ for rising, ↘️ for falling).
* **Diverg (Divergence):**
* Indicates if a bullish (`🟢 Bull`) or bearish (`🔴 Bear`) divergence has been detected on that timeframe.
* **TF (Timeframe):**
* Indicates the reference timeframe for that row.
### Advantages and Practical Use
This tool was created to solve a common problem: the need to analyze multiple charts to understand the bigger picture. With this dashboard, you can:
1. **Confirm a Trend:** A predominance of green and a "LONG" signal provides strong confirmation of bullish sentiment.
2. **Identify Weakness:** Red signals on higher timeframes can warn of an impending loss of momentum.
3. **Spot Turning Points:** A divergence on a major timeframe can signal an excellent reversal opportunity.
### Originality and Acknowledgements
This script is an original work, written from scratch by giua64. The idea was to create a comprehensive and visually intuitive tool for RSI analysis.
Any feedback, comments, or suggestions to improve the script are welcome!
**Disclaimer:** This is a technical analysis tool and should not be considered financial advice. Always do your own research and backtest any tool before using it in a live trading environment.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
giua64
borsamercati.it – Educational tools by giua64
Anche su:
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
RSI-Adaptive T3 [ChartPrime]The  RSI-Adaptive T3  is a precision trend-following tool built around the legendary  T3 smoothing algorithm  developed by  Tim Tillson , designed to enhance responsiveness while reducing lag compared to traditional moving averages. Current implementation takes it a step further by dynamically adapting the smoothing length based on real-time RSI conditions — allowing the T3 to “breathe” with market volatility. This dynamic length makes the curve faster in trending moves and smoother during consolidations.
To help traders visualize volatility and directional momentum, adaptive volatility bands are plotted around the T3 line, with visual crossover markers and a dynamic info panel on the chart. It’s ideal for identifying trend shifts, spotting momentum surges, and adapting strategy execution to the pace of the market.
 HOIW IT WORKS 
At its core, this indicator fuses two ideas:
 
 The  T3 Moving Average  — a 6-stage recursively smoothed exponential average created by  Tim Tillson , designed to reduce lag without sacrificing smoothness. It uses a volume factor to control curvature.
 A  Dynamic Length Engine  — powered by the RSI. When RSI is low (market oversold), the T3 becomes shorter and more reactive. When RSI is high (overbought), the T3 becomes longer and smoother. This creates a feedback loop between price momentum and trend sensitivity.
 
// Step 1: Adaptive length via RSI
rsi = ta.rsi(src, rsiLen)
rsi_scale = 1 - rsi / 100
len = math.round(minLen + (maxLen - minLen) * rsi_scale)
pine_ema(src, length) =>
    alpha = 2 / (length + 1)
    sum = 0.0
    sum := na(sum ) ? src : alpha * src + (1 - alpha) * nz(sum )
    sum
// Step 2: T3 with adaptive length
e1 = pine_ema(src, len)
e2 = pine_ema(e1, len)
e3 = pine_ema(e2, len)
e4 = pine_ema(e3, len)
e5 = pine_ema(e4, len)
e6 = pine_ema(e5, len)
c1 = -v * v * v
c2 = 3 * v * v + 3 * v * v * v
c3 = -6 * v * v - 3 * v - 3 * v * v * v
c4 = 1 + 3 * v + v * v * v + 3 * v * v
t3 = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3
 
 
The result: an evolving trend line that adapts to market tempo in real-time.
 KEY FEATURES 
 ⯁ RSI-Based Adaptive Smoothing 
 
 The length of the T3 calculation dynamically adjusts between a  Min Length  and  Max Length , based on the current RSI.
 When RSI is low → the T3 shortens, tracking reversals faster.
 When RSI is high → the T3 stretches, filtering out noise during euphoria phases.
 Displayed length is shown in a floating table, colored on a gradient between min/max values.
 
 ⯁ T3 Calculation (Tim Tillson Method) 
 
 The script uses a 6-stage EMA cascade with a customizable  Volume Factor (v) , as designed by  Tillson (1998) .
 Formula:
 
T3 = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3
 
 This technique gives smoother yet faster curves than EMAs or DEMA/Triple EMA.
 
 ⯁ Visual Trend Direction & Transitions 
 
 The T3 line changes color dynamically:
 Color Up (default: blue) → bullish curvature
 Color Down (default: orange) → bearish curvature
 Plot fill between T3 and delayed T3 creates a gradient ribbon to show momentum expansion/contraction.
 Directional shift markers (“🞛”) are plotted when T3 crosses its own delayed value — helping traders spot trend flips or pullback entries.
  
 
 ⯁ Adaptive Volatility Bands 
 
 Optional upper/lower bands are plotted around the T3 line using a user-defined  volatility window  (default: 100).
 Bands widen when volatility rises, and contract during compression — similar to Bollinger logic but centered on the adaptive T3.
 Shaded band zones help frame breakout setups or mean-reversion zones.
  
 
 ⯁ Dynamic Info Table 
 
 A live stats panel shows:
 Current adaptive length
 Maximum smoothing (▲ MaxLen)
 Minimum smoothing (▼ MinLen)
 All values update in real time and are color-coded to match trend direction.
  
 
 HOW TO USE 
 
 Use T3 crossovers  to detect trend transitions, especially during periods of volatility compression.
 Watch for volatility contraction in the bands  — breakouts from narrow band periods often precede trend bursts.
  
 The  adaptive smoothing length  can also be used to assess current market tempo — tighter = faster; wider = slower.
 
 CONCLUSION 
 RSI-Adaptive T3   modernizes one of the most elegant smoothing algorithms in technical analysis with intelligent RSI responsiveness and built-in volatility bands. It gives traders a cleaner read on trend health, directional shifts, and expansion dynamics — all in a visually efficient package. Perfect for scalpers, swing traders, and algorithmic modelers alike, it delivers advanced logic in a plug-and-play format.
RSI Divergence Strategy - AliferCryptoStrategy Overview 
The  RSI Divergence Strategy  is designed to identify potential reversals by detecting regular bullish and bearish divergences between price action and the Relative Strength Index (RSI). It automatically enters positions when a divergence is confirmed and manages risk with configurable stop-loss and take-profit levels.
 Key Features 
 
 Automatic Divergence Detection:  Scans for RSI pivot lows/highs vs. price pivots using user-defined lookback windows and bar ranges.
 Dual SL/TP Methods: 
- Swing-based: Stops placed a configurable percentage beyond the most recent swing high/low.
- ATR-based: Stops placed at a multiple of Average True Range, with a separate risk/reward multiplier. 
 Long and Short Entries:  Buys on bullish divergences; sells short on bearish divergences.
 Fully Customizable:  Input groups for RSI, divergence, swing, ATR, and general SL/TP settings.
 Visual Plotting:  Marks divergences on chart and plots stop-loss (red) and take-profit (green) lines for active trades.
 Alerts:  Built-in alert conditions for both bullish and bearish RSI divergences.
 
 Detailed Logic 
 
 RSI Calculation:  Computes RSI of chosen source over a specified period.
 Pivot Detection: 
- Identifies RSI pivot lows/highs by scanning a lookback window to the left and right.
- Uses ta.barssince to ensure pivots are separated by a minimum/maximum number of bars. 
 Divergence Confirmation: 
-  Bullish:  Price makes a lower low while RSI makes a higher low.
-  Bearish:  Price makes a higher high while RSI makes a lower high. 
 Entry: 
- Opens a  Long  position when bullish divergence is true.
- Opens a  Short  position when bearish divergence is true. 
 Stop-Loss & Take-Profit: 
-  Swing Method:  Computes the recent swing high/low then adjusts by a percentage margin.
-  ATR Method:  Uses the current ATR × multiplier applied to the entry price.
-  Take-Profit:  Calculated as entry price ± (risk × R/R ratio). 
 Exit Orders:  Uses strategy.exit to place bracket orders (stop + limit) for both long and short positions.
 
 Inputs and Configuration 
 
 RSI Settings:  Length & price source for the RSI.
 Divergence Settings:  Pivot lookback parameters and valid bar ranges.
 SL/TP Settings:  Choice between Swing or ATR method.
 Swing Settings:  Swing lookback length, margin (%), and risk/reward ratio.
 ATR Settings:  ATR length, stop multiplier, and risk/reward ratio.
 
 Usage Notes 
 
 Adjust the  Pivot Lookback  and  Range  values to suit the volatility and timeframe of your market.
 Use higher  ATR multipliers  for wider stops in choppy conditions, or tighten  swing margins  in trending markets.
 Backtest different  R/R ratios  to find the balance between win rate and reward.
 
 Disclaimer 
 This script is for educational purposes only and does not constitute financial advice. Trading carries significant risk and you may lose more than your initial investment. Always conduct your own research and consider consulting a professional before making any trading decisions.
RSI Oversold ScannerPine Script Description for TradingView Publication
Title: RSI Oversold Scanner (1m, 5m, 15m)
Description:
The RSI Oversold Scanner is a powerful tool designed to identify stocks that are simultaneously oversold on the 1-minute, 5-minute, and 15-minute timeframes, based on the Relative Strength Index (RSI). This script is ideal for traders seeking short-term reversal or momentum opportunities across multiple intraday timeframes.
Key Features:
Multi-Timeframe RSI Analysis: Calculates RSI (default length: 14) on the 1m, 5m, and 15m timeframes and checks if all are below the oversold threshold (default: 30).
Visual Output: Displays a table in the top-right corner showing RSI values and oversold status ("Yes" or "No") for each timeframe, making it easy to verify conditions.
Scan Result: Plots a value of 1 when all three timeframes are oversold, or 0 otherwise, enabling quick identification of matching stocks.
Alert Support: Includes an alert condition that triggers when a stock is oversold on all timeframes, with a customizable message for real-time notifications.
User-Friendly: Built with Pine Script v6 for compatibility and reliability, with clear visual feedback for traders of all levels.
How It Works:
The script uses ta.rsi to compute RSI on the current chart’s timeframe (1m) and request.security to fetch RSI data for the 5m and 15m timeframes.
It checks if RSI is below the oversold level (default: 30) on all three timeframes.
A table displays the RSI values and oversold status for easy debugging.
The Scan Result plot (1 or 0) indicates whether the stock meets the oversold criteria, which can be used for manual scanning or alerts.
Usage Instructions:
Add the script to your chart via Pine Editor.
Use a watchlist to switch between stocks and check the table or Scan Result for oversold conditions.
Set alerts by selecting the script’s Scan Result condition (value = 1) to get notified when a stock is oversold on all timeframes.
Customize the RSI length or oversold level in the script’s code if needed (e.g., change rsiLength or oversoldLevel).
Notes:
Best used on intraday charts (e.g., 1m or higher) with a watchlist for manual scanning, as TradingView’s Stock Screener does not directly support custom Pine Scripts.
Real-time alerts and intraday data may require a TradingView paid plan.
The script uses only two request.security calls, staying well within Pine Script’s limits.
Ideal For:
Day traders and swing traders looking for oversold stocks across multiple intraday timeframes.
Users who want to combine technical analysis with visual and alert-based confirmation.
RSI Classic calculationClassic RSI with Moving Average
This script implements the Classic RSI (Relative Strength Index) method with the option to use either an Exponential Moving Average (EMA) or a Simple Moving Average (SMA) for smoothing the gains and losses. This custom implementation primarily aims to resolve a specific issue I encountered when cross-referencing RSI values with Python-based data, which is calculated differently than in Pine Script. However, the methodology here can benefit anyone who needs to align RSI calculations across different programming languages or platforms.
The Problem:
When working with Python for data analysis, the RSI values are calculated differently. The smoothing method, for example, can vary—RMA (Relative Moving Average) may be used instead of SMA or EMA, resulting in discrepancies when comparing RSI values across systems. To solve this problem, this script allows for the same type of smoothing to be applied (EMA or SMA) as used in Python, ensuring consistency in the data.
Why This Implementation:
The main goal of this approach was to align RSI calculations across Python and Pine Script so that I could cross-check the results accurately. By offering both EMA and SMA options, this script bridges the gap between Pine Script and Python, ensuring that the data is comparable and consistent. While this particular issue arose from my work with Python, this solution is valuable for anyone dealing with cross-platform RSI comparisons in different coding languages or systems.
Benefits:
Cross-Platform Consistency: This script ensures that RSI values calculated in Pine Script are directly comparable to those from Python (or any other platform), which is crucial for accurate analysis, especially in automated trading systems.
Flexibility: The ability to choose between EMA and SMA provides flexibility in line with the specific needs of your strategy or data source.
Ease of Use: The RSI is plotted with overbought and oversold levels clearly marked, making it easy to visualize and use in decision-making processes.
Limitations:
Calculation Differences: While this script bridges the gap between Pine Script and Python, if you're working with a different platform or coding language that uses variations like RMA, small discrepancies may still arise.
Sensitivity Trade-Off: The choice between EMA and SMA impacts the sensitivity of the RSI. EMA responds quicker to recent price changes, which could lead to faster signals, while SMA provides a more stable but slower response.
 Conclusion:
 This Classic RSI script, with its customizable moving average type (EMA or SMA), not only solves the issue I faced with Python-based calculations but also provides a solution for anyone needing consistency across different programming languages and platforms. Whether you're working with Pine Script, Python, or other languages, this script ensures that your RSI values are aligned for more accurate cross-platform analysis. However, always be mindful of the small differences that can arise when different smoothing techniques (like RMA) are used in other systems.
RSI of Accumulation/DistributionHow to Use the RSI of Accumulation/Distribution Indicator:
1. Identify Overbought/Oversold Conditions:
Overbought: When the RSI of the ADL is above 70, it indicates that the asset may be overbought and could be due for a pullback or correction.
Oversold: When the RSI of the ADL is below 30, it suggests that the asset may be oversold and could be poised for a rebound.
2. Look for Divergences:
Bullish Divergence: If the price is making lower lows while the RSI of the ADL is making higher lows, it can signal a potential reversal to the upside.
Bearish Divergence: If the price is making higher highs while the RSI of the ADL is making lower highs, it can indicate a potential reversal to the downside.
3. Confirm Trend Strength:
Use the RSI of the ADL to confirm the strength of a trend. For example, if the RSI is consistently above 50 during an uptrend, it suggests strong buying pressure and the trend is likely to continue.
Conversely, if the RSI is consistently below 50 during a downtrend, it indicates strong selling pressure and the trend is likely to persist.
4. Monitor for Reversals:
When the RSI of the ADL crosses above 50, it can signal a potential bullish reversal.
When the RSI of the ADL crosses below 50, it can signal a potential bearish reversal.
Is It Worth It?
The RSI of the Accumulation/Distribution Line can be a valuable tool for traders looking to gain insights into market momentum and trend strength. Here are a few reasons why it might be worth considering:
1. Volume and Price Combination: By combining price action (RSI) with volume-based analysis (ADL), this indicator provides a more comprehensive view of market dynamics.
2. Divergence Detection: It helps identify divergences between price and volume, which can be early signals of potential reversals.
3. Trend Confirmation: It offers additional confirmation of trend strength and potential reversal points, helping traders make more informed decisions.
However, like any indicator, it's important to use it in conjunction with other analysis methods and not rely on it solely for trading decisions. Backtesting the indicator on historical data and combining it with other technical analysis tools can improve its effectiveness.
Feel free to test the script in TradingView and see how it performs in different market conditions. If you have any specific questions or need further assistance, let me know! 😊
RSI OB/OS Strategy Analyzer█  OVERVIEW 
The  RSI OB/OS Strategy Analyzer  is a comprehensive trading tool designed to help traders identify and evaluate overbought/oversold reversal opportunities using the Relative Strength Index (RSI). It provides visual signals, performance metrics, and a detailed table to analyze the effectiveness of RSI-based strategies over a user-defined lookback period.
█  KEY FEATURES 
 RSI Calculation 
 
 Calculates RSI with customizable period (default 14)
 Plots dynamic overbought (70) and oversold (30) levels
 Adds background coloring for OB/OS regions
 
 Reversal Signals 
 
 Identifies signals based on RSI crossing OB/OS levels
 Two entry strategies available:
   
   Revert Cross:  Triggers when RSI exits OB/OS zone
   Cross Threshold:  Triggers when RSI enters OB/OS zone
   
 
 Trade Direction 
 
 Users can select a trade bias:
   
   Long:  Focuses on oversold reversals (bullish signals)
   Short:  Focuses on overbought reversals (bearish signals)
   
 
 Performance Metrics 
 
 Calculates three key statistics for each lookback period:
   
   Win Rate:  Percentage of profitable trades
   Mean Return:  Average return across all trades
   Median Return:  Median return across all trades
   
 Metrics calculated as percentage changes from entry price
 
 Visual Signals 
 
 Dual-layer signal display:
   
   BUY:  Green triangles + text labels below price
   SELL:  Red triangles + text labels above price
   
 Semi-transparent background highlighting in OB/OS zones
 
 Performance Table 
 
 Interactive table showing metrics for each lookback period
 Color-coded visualization:
   
   Win Rate: Gradient from red (low) to green (high)
   Returns: Green for positive, red for negative
   
 
 Time Filtering 
 
 Users can define a specific time window for the indicator to analyze trades, ensuring that performance metrics are calculated only for the desired period.
 
 Customizable Display 
 
 Adjustable table font sizes: Auto/Small/Normal/Large
 Toggle option for table visibility
 
█  PURPOSE 
The  RSI OB/OS Strategy Analyzer  helps traders:
 
 Identify mean-reversion opportunities through RSI extremes
 Backtest entry strategy effectiveness across multiple time horizons
 Optimize trade timing through visual historical performance data
 Quickly assess strategy robustness with color-coded metrics
 
█  IDEAL USERS 
 
 Counter-Trend Traders:  Looking to capitalize on RSI extremes
 Systematic Traders:  Needing quantitative strategy validation
 Educational Users:  Studying RSI behavior in different market conditions
 Multi-Timeframe Analysts:  Interested in forward returns analysis
RSI - EMA - WMA ( Phat-Truong )Indicator: RSI ( EMA - WMA )
This indicator, named "RSI ( EMA - WMA )", is a versatile tool designed to provide insights into market momentum and trend strength by combining multiple technical indicators.
The Relative Strength Index (RSI) is a popular momentum oscillator used to measure the speed and change of price movements. In this indicator, RSI is plotted alongside its Exponential Moving Average (EMA) and Weighted Moving Average (WMA). EMA and WMA are smoothing techniques applied to RSI to help identify trends more clearly.
Key features of this indicator include:
RSI: The main RSI line is plotted on the chart, offering insights into overbought and oversold conditions.
EMA of RSI: The Exponential Moving Average of RSI smooths out short-term fluctuations, aiding in trend identification.
WMA of RSI: The Weighted Moving Average of RSI gives more weight to recent data points, providing a faster response to price changes.
Additionally, this indicator marks specific RSI levels considered as bullish and bearish trends, helping traders identify potential entry or exit points based on market sentiment.
By combining these technical indicators, traders can gain a comprehensive understanding of market dynamics, helping them make more informed trading decisions.
RSI/MFI Divergence Finder [idahodev]Monitoring RSI (Relative Strength Index) and MFI (Money Flow Index) divergences on a stock or index chart offers several benefits to traders and analysts. Let's break down the advantages:
 
 Comprehensive Market View: Combining both indicators provides a more complete picture of market conditions, as they measure different aspects of price movement. RSI focuses on recent gains/losses relative to price change, while MFI incorporates volume data to assess money flow in and out of a security.
 Enhanced Signal Accuracy: When divergences occur simultaneously in both RSI and MFI, it may be considered a stronger signal than if only one indicator showed divergence. This can potentially lead to more reliable trading decisions.
 Identification of False Breakouts: Divergences between these indicators and price action can help identify false breakouts or misleading price movements that are not supported by underlying market strength or volume.
 More Nuanced Market Understanding: By examining divergent behavior between money flow (MFI) and momentum (RSI), traders gain a more detailed comprehension of the interplay between these factors in shaping market trends.
 Early Warning Signs: These divergences can act as early warning signs for potential trend reversals or changes in market sentiment, allowing traders to adjust their strategies proactively.
 
 It's important to note that RSI/MFI divergences should be used as part of a broader trading strategy rather than solely relying on them for buy/sell signals.  They can serve as valuable tools for confirming trends, identifying potential turning points, or warning against overbought/oversold conditions.
When using these indicators together, traders must  be cautious of false signals, especially in choppy markets or during periods of high volatility.  It's crucial to combine this analysis with other technical and fundamental factors before making trading decisions.
In summary, monitoring RSI/MFI divergences  may  offer a way to gain insights into the underlying strengths and weaknesses of market movements.
This utility differs from other in that it allows for a choke/threshold/sensitivity setting to help weed out noisy signals. This needs to be carefully adjusted per chart.
It also allows for tuning of the MFI smoothing length (number of bars on the current chart) as well as how many previous bars it will take into consideration when calculating RSI and MFI divergences. It will signal when it sees alignment forming between RSI and MFI divergences in a direction.  You will likely need to tune this script's settings every few days or at least anytime there is a change in overall market behavior or sustained volatility. 
Ultimately, the goal with this script is to provide an additional level of confirmation of weakness or strength. It should be combined with other indicators such as exhaustion, pivots, supply/demand, trendline breaks or tests, and structure changes, to name a few complementary tools or strategies.  It's not meant to be a standalone buy/sell signal indicator! 
Here are some settings for futures that may help you get started:
 ES (4m chart) 
 
 RSI Length: 26
 MFI Length: 8
 MFI Smoothing Length: 32
 Divergence Sensitivity: 124
 Left Bars for Pivot: 10
 Right Bars for Pivot: 1
 
NQ (4m chart)
 
 RSI Length: 14
 MFI Length: 14
 MFI Smoothing Length: 21
 Divergence Sensitivity: 400
 Left Bars for Pivot: 21
 Right Bars for Pivot: 1
 
YM (4m chart)
 
 RSI Length: 14
 MFI Length: 14
 MFI Smoothing Length: 21
 Divergence Sensitivity: 810
 Left Bars for Pivot: 33
 Right Bars for Pivot: 1
RSI Fakeout Filter with SMA Confirmation [CHE]  Introducing: RSI Fakeout Detection  
Are you tired of being caught in fakeouts that can lead to frustrating losses? The RSI Fakeout Detection   is here to enhance your trading strategy by filtering out false signals and providing you with more reliable entries. This innovative indicator is designed to help traders identify when market momentum, as indicated by the RSI, does not align with price movement – a key indicator of potential fakeouts!
  What Does It Do? 
The RSI Fakeout Detection focuses on one key goal: avoiding false signals. By monitoring when the RSI exceeds a customizable threshold (indicating strength) but the price remains below a moving average like the SMA, this indicator highlights situations where the market may seem strong, but the price action doesn't support that momentum. In other words, it saves you from those tricky fake breakouts.
  Key Benefits: 
1. Reduce Risk, Increase Confidence: Get an extra layer of protection against fakeouts by receiving signals only when both RSI and price confirm the market's true direction. Avoid entering false breakouts and trade with more confidence.
   
2. Dynamic Analysis of SMA Lengths: It doesn’t just rely on one SMA. The indicator automatically analyzes and sorts through different SMA lengths to find the most reliable one for your specific market condition, ensuring that you get the best possible signal.
3. Tailored for You: With customizable RSI thresholds, a choice of multiple moving average types (SMA, EMA, Bollinger Bands, and more), and vibrant color-coded visuals, this tool is built to fit your unique trading style and preferences.
4. Spot Fakeouts with Ease: Visual cues make it easy to see when the market might be tricking you. Labels, plotted lines, and a toggleable disclaimer keep everything transparent and easy to understand.
5. Friendly and Intuitive: Whether you’re new to trading or a seasoned pro, the RSI Fakeout Detection is designed to be simple and effective. The labels and plots are clear, the alerts are timely, and it seamlessly integrates into your chart without cluttering it.
 Why Choose RSI Fakeout Detection?
- Accuracy and Precision: By combining RSI and SMA analysis, this indicator minimizes the risk of following false trends and entering trades too early.
- Save Time and Reduce Guesswork: No more spending hours trying to figure out which SMA length works best – the RSI Fakeout Detection does it for you!
- Peace of Mind: Avoiding fakeouts means fewer bad trades, which can lead to more consistent performance and less stress.
Transform the way you trade, and step into a more confident trading future with RSI Fakeout Detection  . Whether you’re day trading or swing trading, this tool will give you an edge by helping you filter out the noise and make more informed decisions.
Best regards,  
Chervolino
 Disclaimer:
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
RSI Momentum [CrossTrade]The RSI Momentum indicator generates buy and sell signals based on the Relative Strength Index (RSI) crossing specific thresholds. The Key difference is that we're using RSI overbought and oversold readings as the foundation for finding continuation signals in the same direction of that momentum. This solves the issue of trying to buy the bottom or sell the top and offsets any oscillators main weakness, divergence and false signals in a strong trend.
 Key Parameters: 
RSI Length: Determines the calculation period for the RSI.
Overbought Threshold: The RSI level above which the asset is considered overbought.
Momentum Loss Threshold for Buy: The RSI level below which a loss in upward momentum is indicated, triggering a potential buy signal.
Oversold Threshold: The RSI level below which the asset is considered oversold.
Momentum Loss Threshold for Sell: The RSI level above which a loss in downward momentum is indicated, triggering a potential sell signal.
Allow Additional Retracement Signals: A toggle to allow more than one signal within a certain number of bars after the first signal.
Max Additional Signals: The maximum number of additional signals allowed after the first signal.
 Buy Signal Logic: 
Initial Signal: Generated when the RSI first exceeds the overbought threshold and then falls below the momentum loss buy threshold. Defaults are 70 for the overbought threshold and 60 for the retracement level.
Additional Signals for Deeper Retracements: If enabled, the script shows additional buy signals within the maximum limit set by Max Additional Signals. These additional signals are shown only if each new signal's bar has a lower low than the previous signal's bar.
 Sell Signal Logic: 
Initial Signal: Similar to the buy signal, a sell signal is generated when the RSI first drops below the oversold threshold and then rises above the momentum loss sell threshold. Defaults are 30 for the oversold threshold and 40 for the retracement level.
Additional Signals for Deeper Retracements: If enabled, additional sell signals are shown, limited by Max Additional Signals, and only if each new signal's bar has a higher high than the previous signal's bar.
 Continuation Signals in Strong Trends: 
The script allows for a new series of signals (starting with the first signal again) when the RSI pattern repeats. For buy signals, this means going above the overbought and then below the momentum loss buy threshold. For sell signals, it's dropping below oversold and then above the momentum loss sell threshold.
 Alerts: 
The script includes alert conditions for both buy and sell signals, which can be configured in the TradingView alerts.
 Rsi Long-Term Strategy [15min]Hello, I would like to present to you The "RSI Long-Term Strategy" for 15min tf
The "RSI Long-Term Strategy  " is designed for traders who prefer a combination of momentum and trend-following techniques. The strategy focuses on entering long positions during significant market corrections within an overall uptrend, confirmed by both RSI and volume. The use of long-term SMAs ensures that trades are made in line with the broader market trend. The stop-loss feature provides risk management by limiting losses on trades that do not perform as expected. This strategy is particularly well-suited for longer-term traders who monitor 15-minute charts but look for substantial trend reversals or continuations.
Indicators and Parameters:
 Relative Strength Index (RSI): 
- The RSI is calculated using a 10-period length. It measures the magnitude of recent price changes to evaluate overbought or oversold conditions. The script defines oversold conditions when the RSI is at or below 30 and overbought conditions when the RSI is at or above 70.
 Volume Condition: 
-The strategy incorporates a volume condition where the current volume must be greater than 2.5 times the 20-period moving average of volume. This is used to confirm the strength of the price movement.
 Simple Moving Averages (SMA): 
- The strategy uses two SMAs: SMA1 with a length of 250 periods and SMA2 with a length of 500 periods. These SMAs help identify long-term trends and generate signals based on their crossover.
Strategy Logic:
 Entry Logic: 
A long position is initiated when all the following conditions are met:
The RSI indicates an oversold condition (RSI ≤ 30).
SMA1 is above SMA2, indicating an uptrend.
The volume condition is satisfied, confirming the strength of the signal.
 Exit Logic: 
The strategy closes the long position when SMA1 crosses under SMA2, signaling a potential end of the uptrend (a "Death Cross").
 Stop-Loss: 
A stop-loss is set at 5% below the entry price to manage risk and limit potential losses.
Buy and sell signals are highlighted with circles below or above bars:
 Green Circle : Buy signal when RSI is oversold, SMA1 > SMA2, and the volume condition is met.
 Red Circle : Sell signal when RSI is overbought, SMA1 < SMA2, and the volume condition is met.
 Black Cross:  "Death Cross" when SMA1 crosses under SMA2, indicating a potential bearish signal.
to determine the level of stop loss and target point I used a piece of code by RafaelZioni, here is the script from which a piece of code was taken
  
I hope the strategy will be helpful, as always, best regards and safe trades
;)
RSI Slope Filtered Signals [UAlgo]The "RSI Slope Filtered Signals  " is a technical analysis tool designed to enhance the accuracy of RSI (Relative Strength Index) signals by incorporating slope analysis. This indicator not only considers the RSI value but also analyzes the slope of the RSI over a specified number of bars, providing a more refined signal that accounts for the momentum and trend strength. By utilizing both positive and negative slope arrays, the indicator dynamically adjusts its thresholds, ensuring that signals are responsive to changing market conditions. This tool is particularly useful for traders looking to identify overbought and oversold conditions with a higher degree of precision, filtering out noise and providing clear visual cues for potential market reversals.
  
 🔶 Key Features 
 Dynamic Slope Analysis:  Measures the slope of RSI over a customizable number of bars, offering insights into the momentum and trend direction.
 Adaptive Thresholds:  Uses historical slope data to calculate dynamic thresholds, adjusting signal sensitivity based on market conditions.
 Normalized Slope Calculation:  Normalizes the slope values to provide a consistent measure across different market conditions, making the indicator more versatile.
 Clear Signal Visualization:  The indicator plots both positive and negative normalized slopes with color gradients, visually representing the strength of the trend.
 Overbought and Oversold Signals:  Plots overbought and oversold signals directly on the chart when the calculated value reaches the user-specified threshold, helping traders identify potential reversal points.
 Customizable Settings:  Allows users to adjust the RSI length, slope measurement bars, and lookback periods, providing flexibility to tailor the indicator to different trading strategies.
 🔶 Interpreting the Indicator 
The "RSI Slope Filtered Signals  " indicator is designed to be easy to interpret. Here's how you can use it:
 Normalized Slope:  The indicator plots the normalized slope of the RSI, with values above zero indicating positive momentum and values below zero indicating negative momentum. A higher positive slope suggests a strong upward trend, while a deeper negative slope indicates a strong downward trend.
 Reversal Signals:  The indicator plots several horizontal lines at different thresholds (+3, +2, +1, 0, -1, -2, -3). These levels are used to gauge the strength of the momentum based on the normalized slope. For example, a normalized slope crossing above the +2 threshold may indicate a strong bullish trend, while crossing below the -2 threshold may suggest a strong bearish trend. These thresholds help in understanding the intensity of the current trend and provide context for interpreting the indicator's signals. 
This indicator generates overbought and oversold signals not solely based on the RSI entering extreme levels (above 70 for overbought and below 30 for oversold), but also by considering the behavior of the normalized slope relative to specific thresholds. Specifically, the Overbought Signal (🔽) is triggered when the RSI is above 70 and the normalized slope from the previous bar is greater than or equal to the upper threshold, with the current slope being lower than the previous slope, indicating a potential bearish reversal as momentum may be slowing down. 
Similarly, the Oversold Signal (🔼) is generated when the RSI is below 30 and the normalized slope from the previous bar is less than or equal to the lower threshold, with the current slope being higher than the previous slope, signaling a potential bullish reversal as the downward momentum may be weakening.
  
  
 Area Plots:  The indicator also plots the positive and negative slopes as filled areas, providing a quick visual cue for the strength and direction of the trend. Green areas represent positive slopes (upward momentum), while red areas represent negative slopes (downward momentum).
  
By combining these elements, the "RSI Slope Filtered Signals  " provides a comprehensive view of the market's momentum, helping traders make more informed decisions by filtering out false signals and focusing on the significant trends.
 🔶 Disclaimer 
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
RSI EMA WMA (hieuhn)Indicator: RSI & EMA & WMA (14-9-45) 
This indicator, named "RSI & EMA & WMA", is a versatile tool designed to provide insights into market momentum and trend strength by combining multiple technical indicators.
The Relative Strength Index (RSI) is a popular momentum oscillator used to measure the speed and change of price movements. In this indicator, RSI is plotted alongside its Exponential Moving Average (EMA) and Weighted Moving Average (WMA). EMA and WMA are smoothing techniques applied to RSI to help identify trends more clearly.
Key features of this indicator include:
RSI: The main RSI line is plotted on the chart, offering insights into overbought and oversold conditions.
EMA of RSI: The Exponential Moving Average of RSI smooths out short-term fluctuations, aiding in trend identification.
WMA of RSI: The Weighted Moving Average of RSI gives more weight to recent data points, providing a faster response to price changes.
Additionally, this indicator marks specific RSI levels considered as bullish and bearish trends, helping traders identify potential entry or exit points based on market sentiment.
By combining these technical indicators, traders can gain a comprehensive understanding of market dynamics, helping them make more informed trading decisions.






















