RSI in pane and 3 EMAs on chartCustom RSI in Pane + 3 EMAs on Chart — with Optional RSI Divergence Detection
Combines RSI in a separate pane with 3 EMAs on the chart and optional RSI-based divergence detection. Useful for analyzing both momentum and trend structure.
Features
RSI Pane
Custom RSI calculation (not built-in ta.rsi) with adjustable source and length
Overlay optional moving average (SMA, EMA, SMMA/RMA, WMA, VWMA, or Bollinger Bands) Overbought/oversold gradient fill for visual clarity (70 / 30 zones)
Midline (50) for neutral RSI territory
RSI Divergence Detection
Optional: toggle on/off with one input
Regular Bullish Divergence : Price makes a lower low, RSI makes a higher low
Regular Bearish Divergence : Price makes a higher high, RSI makes a lower high
Customizable lookback for pivot detection
Visual markers and labels plotted on RSI
Built-in alert conditions for both divergence types
3 EMA Trend Indicators on Price Chart
Three customizable EMAs (default: 20, 50, 200)
Color-coded and clearly plotted on main chart
Use to determine short/mid/long-term trend bias
No repainting or smoothing artifacts
Why use this script?
Gives a full view of trend + momentum without cluttering the main price chart, and it helps confirm entries and exits by observing RSI behavior alongside EMAs. The optional divergence detection can act as a signal for potential exhaustion or reversal (not entry signals on their own). It is a Good fit for traders who use RSI zones, divergences, and EMA structure in their decision-making, both for intra-day and swing trades (where it performs best).
How to use
Add this script to your chart. EMAs will appear on the main price chart; RSI and divergence will appear in a separate pane.
Adjust RSI and MA settings to fit your trading style (e.g., fast RSI for scalping, slower for swing)
Enable "Show Divergence" if you want visual alerts and markers
Use alerts to get notified when a divergence occurs without watching the chart
Always check the divergences on different time frames to validate the setup, and do not consider them valid on small time frames (<15 minutes).
Built for traders who want both momentum and trend context in a single tool — without clutter, repainting, or noise. I created this script to streamline my own analysis and avoid switching between multiple indicators. It's not meant to be a "signal generator" but a visual assistant for making better decisions. If you find it useful or have feedback, feel free to reach out.
Relative Strength Index (RSI)
Machine Learning RSI ║ BullVisionOverview:
Introducing the Machine Learning RSI with KNN Adaptation – a cutting-edge momentum indicator that blends the classic Relative Strength Index (RSI) with machine learning principles. By leveraging K-Nearest Neighbors (KNN), this indicator aims at identifying historical patterns that resemble current market behavior and uses this context to refine RSI readings with enhanced sensitivity and responsiveness.
Unlike traditional RSI models, which treat every market environment the same, this version adapts in real-time based on how similar past conditions evolved, offering an analytical edge without relying on predictive assumptions.
Key Features:
🔁 KNN-Based RSI Refinement
This indicator uses a machine learning algorithm (K-Nearest Neighbors) to compare current RSI and price action characteristics to similar historical conditions. The resulting RSI is weighted accordingly, producing a dynamically adjusted value that reflects historical context.
📈 Multi-Feature Similarity Analysis
Pattern similarity is calculated using up to five customizable features:
RSI level
RSI momentum
Volatility
Linear regression slope
Price momentum
Users can adjust how many features are used to tailor the behavior of the KNN logic.
🧠 Machine Learning Weight Control
The influence of the machine learning model on the final RSI output can be fine-tuned using a simple slider. This lets you blend traditional RSI and machine learning-enhanced RSI to suit your preferred level of adaptation.
🎛️ Adaptive Filtering
Additional smoothing options (Kalman Filter, ALMA, Double EMA) can be applied to the RSI, offering better visual clarity and helping to reduce noise in high-frequency environments.
🎨 Visual & Accessibility Settings
Custom color palettes, including support for color vision deficiencies, ensure that trend coloring remains readable for all users. A built-in neon mode adds high-contrast visuals to improve RSI visibility across dark or light themes.
How It Works:
Similarity Matching with KNN:
At each candle, the current RSI and optional market characteristics are compared to historical bars using a KNN search. The algorithm selects the closest matches and averages their RSI values, weighted by similarity. The more similar the pattern, the greater its influence.
Feature-Based Weighting:
Similarity is determined using normalized values of the selected features, which gives a more refined result than RSI alone. You can choose to use only 1 (RSI) or up to all 5 features for deeper analysis.
Filtering & Blending:
After the machine learning-enhanced RSI is calculated, it can be optionally smoothed using advanced filters to suppress short-term noise or sharp spikes. This makes it easier to evaluate RSI signals in different volatility regimes.
Parameters Explained:
📊 RSI Settings:
Set the base RSI length and select your preferred smoothing method from 10+ moving average types (e.g., EMA, ALMA, TEMA).
🧠 Machine Learning Controls:
Enable or disable the KNN engine
Select how many nearest neighbors to compare (K)
Choose the number of features used in similarity detection
Control how much the machine learning engine affects the RSI calculation
🔍 Filtering Options:
Enable one of several advanced smoothing techniques (Kalman Filter, ALMA, Double EMA) to adjust the indicator’s reactivity and stability.
📏 Threshold Levels:
Define static overbought/oversold boundaries or reference dynamically adjusted thresholds based on historical context identified by the KNN algorithm.
🎨 Visual Enhancements:
Select between trend-following or impulse coloring styles. Customize color palettes to accommodate different types of color blindness. Enable neon-style effects for visual clarity.
Use Cases:
Swing & Trend Traders
Can use the indicator to explore how current RSI readings compare to similar market phases, helping to assess trend strength or potential turning points.
Intraday Traders
Benefit from adjustable filters and fast-reacting smoothing to reduce noise in shorter timeframes while retaining contextual relevance.
Discretionary Analysts
Use the adaptive OB/OS thresholds and visual cues to supplement broader confluence zones or market structure analysis.
Customization Tips:
Higher Volatility Periods: Use more neighbors and enable filtering to reduce noise.
Lower Volatility Markets: Use fewer features and disable filtering for quicker RSI adaptation.
Deeper Contextual Analysis: Increase KNN lookback and raise the feature count to refine pattern recognition.
Accessibility Needs: Switch to Deuteranopia or Monochrome mode for clearer visuals in specific color vision conditions.
Final Thoughts:
The Machine Learning RSI combines familiar momentum logic with statistical context derived from historical similarity analysis. It does not attempt to predict price action but rather contextualizes RSI behavior with added nuance. This makes it a valuable tool for those looking to elevate traditional RSI workflows with adaptive, research-driven enhancements.
RSI Full [Titans_Invest]RSI Full
One of the most complete RSI indicators on the market.
While maintaining the classic RSI foundation, our indicator integrates multiple entry conditions to generate more accurate buy and sell signals.
All conditions are fully configurable, allowing complete customization to fit your trading strategy.
⯁ WHAT IS THE RSI❓
The Relative Strength Index (RSI) is a technical analysis indicator developed by J. Welles Wilder. It measures the magnitude of recent price movements to evaluate overbought or oversold conditions in a market. The RSI is an oscillator that ranges from 0 to 100 and is commonly used to identify potential reversal points, as well as the strength of a trend.
⯁ HOW TO USE THE RSI❓
The RSI is calculated based on average gains and losses over a specified period (usually 14 periods). It is plotted on a scale from 0 to 100 and includes three main zones:
Overbought: When the RSI is above 70, indicating that the asset may be overbought.
Oversold: When the RSI is below 30, indicating that the asset may be oversold.
Neutral Zone: Between 30 and 70, where there is no clear signal of overbought or oversold conditions.
⯁ ENTRY CONDITIONS
The conditions below are fully flexible and allow for complete customization of the signal.
______________________________________________________
🔹 CONDITIONS TO BUY 📈
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📈 RSI Conditions:
🔹 RSI > Upper
🔹 RSI < Upper
🔹 RSI > Lower
🔹 RSI < Lower
🔹 RSI > Middle
🔹 RSI < Middle
🔹 RSI > MA
🔹 RSI < MA
📈 MA Conditions:
🔹 MA > Upper
🔹 MA < Upper
🔹 MA > Lower
🔹 MA < Lower
📈 Crossovers:
🔹 RSI (Crossover) Upper
🔹 RSI (Crossunder) Upper
🔹 RSI (Crossover) Lower
🔹 RSI (Crossunder) Lower
🔹 RSI (Crossover) Middle
🔹 RSI (Crossunder) Middle
🔹 RSI (Crossover) MA
🔹 RSI (Crossunder) MA
🔹 MA (Crossover) Upper
🔹 MA (Crossunder) Upper
🔹 MA (Crossover) Lower
🔹 MA (Crossunder) Lower
📈 RSI Divergences:
🔹 RSI Divergence Bull
🔹 RSI Divergence Bear
______________________________________________________
______________________________________________________
🔸 CONDITIONS TO SELL 📉
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📉 RSI Conditions:
🔸 RSI > Upper
🔸 RSI < Upper
🔸 RSI > Lower
🔸 RSI < Lower
🔸 RSI > Middle
🔸 RSI < Middle
🔸 RSI > MA
🔸 RSI < MA
📉 MA Conditions:
🔸 MA > Upper
🔸 MA < Upper
🔸 MA > Lower
🔸 MA < Lower
📉 Crossovers:
🔸 RSI (Crossover) Upper
🔸 RSI (Crossunder) Upper
🔸 RSI (Crossover) Lower
🔸 RSI (Crossunder) Lower
🔸 RSI (Crossover) Middle
🔸 RSI (Crossunder) Middle
🔸 RSI (Crossover) MA
🔸 RSI (Crossunder) MA
🔸 MA (Crossover) Upper
🔸 MA (Crossunder) Upper
🔸 MA (Crossover) Lower
🔸 MA (Crossunder) Lower
📉 RSI Divergences:
🔸 RSI Divergence Bull
🔸 RSI Divergence Bear
______________________________________________________
______________________________________________________
🤖 AUTOMATION 🤖
• You can automate the BUY and SELL signals of this indicator.
______________________________________________________
______________________________________________________
⯁ UNIQUE FEATURES
______________________________________________________
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
______________________________________________________
📜 SCRIPT : RSI Full
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy the Spell!
______________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
Trading-Focused RSI with Quality SignalsOverview
Transforms the classic Relative Strength Index into a comprehensive trading system that delivers clear, high-quality signals. Unlike basic RSI indicators that leave interpretation to the trader, TraderRSI filters out noise and highlights only the most promising trading opportunities.
Key Features
Signal Quality Over Quantity
Smart Divergence Detection that identifies only significant, tradable divergences (not every minor oscillation)
Automated Signal Confirmation requiring persistence for multiple bars to eliminate false signals
Clear BUY/SELL Labels appear only on high-probability setups where multiple conditions align
Enhanced Visualization
Color-Coded RSI Line instantly communicates bullish/bearish momentum
Signal Line Crossovers to confirm trend changes early
Trend-Based Background Coloring providing immediate market context
Uncluttered Chart designed specifically for day traders and swing traders
Integrated Market Context
Optional Trend Filter using a 50-period moving average for directional bias
Overbought/Oversold Zones with subtle background highlighting
Divergence Strength Filtering ensures only meaningful divergences are displayed
Trading Applications
For Day Traders
Find precise entry and exit points with clear visual signals. Divergence signals combined with RSI crossovers provide powerful intraday setups.
For Swing Traders
The quality-focused signal system identifies only high-probability trend reversals, perfect for multi-day positions. Background coloring provides immediate trend context.
For Investors
Easily identify overbought or oversold conditions in your watchlist. The trend filter helps distinguish between temporary pullbacks and major reversals.
How to Use
Strong Buy Signal: When a green "BUY" label appears, RSI has crossed above the oversold level with bullish divergence confirmation and (optional) trend alignment
Strong Sell Signal: When a red "SELL" label appears, RSI has crossed below the overbought level with bearish divergence confirmation and (optional) trend alignment
Alert System: Set alerts on any of the eight customizable conditions to never miss a quality trade setup
Smooth Gradient RSIThe RSI READY NO1 is a custom-designed Relative Strength Index (RSI) indicator that visually enhances the classic RSI functionality with modern aesthetics and user-friendly features. Its purpose is to provide smooth and clear insights into price momentum and potential reversal zones.
**Key Features**:
- **Smooth Gradient Line**: The RSI line dynamically changes color from green (low RSI values) to red (high RSI values) through a gradient transition. This visually intuitive representation highlights changes in momentum and overbought/oversold conditions.
- **Customizable Background**: Users can select their preferred background color to enhance visual clarity and suit their personal preferences or chart themes.
- **Precise Levels Marking**: The Overbought Level (default: 70) and Oversold Level (default: 30) are marked with white dashed lines of thickness 2, ensuring clear visibility of critical zones.
**Visual Enhancements**:
- The gradient feature makes the RSI more visually appealing, helping traders quickly identify shifts in market momentum.
- Clean design ensures focus remains on the RSI line, with minimal distractions.
**Usability**:
- Designed for easy integration into charts with parameters customizable directly from the interface.
- Compatible with TradingView platform, leveraging Pine Script Version 5.
This indicator is ideal for traders who prioritize visual clarity and customization, providing enhanced insights into market trends and dynamics.
Scaled RSI CCI +DivNormal RSI overlaid with Dynamic Scaling CCI.
Customizable static or dynamic normalization with vertical offset to ensure CCI and RSI are scaled appropriately on top of each other.
Includes divergences for each, and an additional set of threshold levels.
Default settings have the RSI as the base and CCI dynamically normalized. Threshold levels are standard RSI 30/50/70 levels and is also fully customizable. Includes standard RSI signal line.
CCI will not be perfectly scaled, the default settings are the best fit; but both the RSI and the CCI can be customized individually.
PumpC RSI NTZ BarsPumpC RSI NTZ Bars — Slope-Aware RSI Momentum Overlay
The PumpC RSI NTZ Bars indicator builds on the classic RSI by combining it with slope detection and custom bar highlighting, helping traders quickly identify strong momentum breakouts while avoiding sideways chop — the (NTZ) or No Trade Zone .
What is (NTZ)?
(NTZ) stands for No Trade Zone — the neutral RSI area between bullish and bearish thresholds. In this zone, RSI lacks directional strength, which often reflects indecision or consolidation in price. This indicator helps visually separate the chop from true momentum, so you can trade the breakout, not the noise .
Core Features
Dynamic RSI-Based Bar Coloring with Slope Awareness
Bars change color based on RSI value and its slope:
Bright Green: RSI ≥ Bullish Threshold and sloping upward
Teal Green: RSI ≥ Bullish Threshold but sloping downward
Bright Red: RSI ≤ Bearish Threshold and sloping downward
Orange: RSI ≤ Bearish Threshold but sloping upward
White: RSI is between thresholds (NTZ)
Slope Detection Logic
RSI slope is used to confirm directional bias and filter out weak or fading momentum.
Clean Visual Integration
Choose how signals appear: full bar color, border-only style, background shading, or a mix of all three.
RSI Smoothing Option
Optional smoothing to reduce noise — especially useful on faster timeframes.
Built-In Alerts
RSI crossing above the bullish threshold with an upward slope
RSI crossing below the bearish threshold with a downward slope
User Inputs & Customization Options
RSI Length: Default 14
RSI Source: Default Close
Smooth RSI: On or Off
Smoothing Length: Default 2
Bullish Threshold: Default 60
Bearish Threshold: Default 40
Bar Highlight Style: Full Bar or Border Only
Display Mode: Bar Color, Background, or Both
How to Use It
Step 1 – Adjust Your RSI Settings:
Start by setting the RSI Length (default is 14) and choosing which price source to use — typically close , but you can experiment with hl2 , ohlc4 , etc.
You can also turn on smoothing if you want to reduce noise, especially on fast timeframes like the 1m or 5m chart.
Step 2 – Define Your No Trade Zone (NTZ):
The NTZ is the space between the bullish and bearish thresholds (default 60 and 40).
This is where momentum is weak and price is often ranging or chopping. You don’t want to trade in this zone — you're waiting for RSI to break out of it with conviction.
Step 3 – Choose Your Visual Style:
You can choose to: Highlight the entire candle (Full Bar)
Just highlight the outline (Border Only)
Add a background color behind the chart
Or use a combination of the above This makes the signal easy to see without changing your whole chart look.
Step 4 – Read the Colors for Quick Clarity:
Bright Green / Bright Red = Strong Momentum (with RSI slope confirmation)
Teal / Orange = Momentum is weakening — RSI value is above/below threshold but losing slope strength
White = RSI is in the No Trade Zone (NTZ) — not enough strength to trade
Use this color feedback to stay out during weak periods and act when the trend gains strength.
Step 5 – Use Alerts for Clean Signals:
Set alerts when RSI breaks out of the NTZ with slope confirmation .
These are high-quality signals you can use to trigger your setups or review potential entries.
Disclaimer
This indicator is for educational and informational purposes only and should not be considered financial advice. Always combine tools like this with proper market context and risk management.
RSI Support & Resistance Breakouts with OrderblocksThis tool is an overly simplified method of finding market squeeze and breakout completely based on a dynamic RSI calculation. It is designed to draw out areas of price levels where the market is pushing back against price action leaving behind instances of short term support and resistance levels you otherwise wouldn't see with the common RSI.
It uses the changes in market momentum to determine support and resistance levels in real time while offering price zone where order blocks exist in the short term.
In ranging markets we need to know a couple things.
1. External Zone - It's important to know where the highs and lows were left behind as they hold liquidity. Here you will have later price swings and more false breakouts.
2. Internal Zone - It's important to know where the highest and lowest closing values were so we can see the limitations of that squeeze. Here you will find the stronger cluster of orders often seen as orderblocks.
In this tool I've added a 200 period Smoothed Moving Average as a trend filter which causes the RSI calculation to change dynamically.
Regular Zones - without extending
The Zones draw out automatically but are often too small to work with.
To solve this problem, you can extend the zones into the future up to 40 bars.
This allows for more visibility against future price action.
--------------------------------------------
Two Types of Zones
External Zones - These zones give you positioning of the highest and lowest price traded within the ranging market. This is where liquidity will be swept and often is an ultimate breaking point for new price swings.
How to use them :
External Zones - External zones form at the top of a pullback. After this price should move back into its impulsive wave.
During the next corrective way, if price breaches the top of the previous External Zone, this is a sign of trend weakness. Expect a divergence and trend reversal.
Internal Zones - (OrderBlocks) Current price will move in relation to previous internal zones. The internal zone is where a majority of price action and trading took place. It's a stronger SQUEEZE area. Current price action will often have a hard time closing beyond the previous Internal Zones high or low. You can expect these zones to show you where the market will flip over. In these same internal zones you'll find large rejection candles.
**Important Note** Size Doesn't Matter
The size of the internal zone does not matter. It can be very small and still very powerful.
Once an internal zone has been hit a few times, its often not relevant any longer.
Order Block Zone Examples
In this image you can see the Internal Zone that was untouched had a STRONG price reaction later on.
Internal Zones that were touched multiple times had weak reactions later as price respected them less over time.
Zone Overlay Breakdown
The Zones form and update in real time until momentum has picked up and price begins to trend. However it leaves behind the elements of the inducement area and all the key levels you need to know about for future price action.
Resistance Fakeout : Later on after the zone has formed, price will return to this upper zone of price levels and cause fakeouts. A close above this zone implies the market moves long again.
Midline Equilibrium : This is simply the center of the strongest traded area. We can call this the Point of Control within the orderblock. If price expands through both extremes of this zone multiple times in the future, it eliminates the orderblock.
Support Fakeout : Just like its opposing brother, price will wick through this zone and rip back causing inducement to trap traders. You would need a clear close below this zone to be in a bearish trend.
BARCOLOR or Candle Color: (Optional)
Bars are colored under three conditions
Bullish Color = A confirmed bullish breakout of the range.
Bearish Color = A confirmed bearish breakout of the range.
Squeeze Color = Even if no box is formed a candle or candles can have a squeeze color. This means the ranging market happened within the high and low of that singular candle.
RSI + ADX + ATR Combo Indicator: RSI + ADX + ATR Combo Filter
This indicator is a confluence filter tool that combines RSI, ADX, and ATR into a single, easy-to-read chart overlay. It is designed to help traders identify low-volatility, non-trending zones with balanced momentum—ideal for strategies that rely on breakouts or reversals.
🔍 Core Components:
RSI (Relative Strength Index)
Standard RSI with custom upper and lower bounds (default: 60 and 40).
Filters out extreme overbought/oversold regions and focuses on price consolidation zones.
ADX (Average Directional Index)
Measures trend strength.
When ADX is below a custom threshold (default: 20), it indicates a weak or range-bound trend.
ATR (Average True Range)
Represents volatility.
Low ATR values (default threshold: 2.5) are used to filter out high-volatility environments, helping refine entries.
🟣 Signal Logic:
A signal is highlighted with a background color when all three conditions are met:
RSI is between lower and upper bounds (e.g., 40 < RSI < 60) ✅
ADX is below the trend threshold (e.g., ADX < 20) ✅
ATR is below the volatility threshold (e.g., ATR < 2.5) ✅
These combined conditions suggest a low-volatility, low-trend strength, and balanced momentum zone—perfect for anticipating breakouts or strong directional moves.
Trailing Monster StrategyTrailing Monster Strategy
This is an experimental trend-following strategy that incorporates a custom adaptive moving average (PKAMA), RSI-based momentum filtering, and dynamic trailing stop-loss logic. It is designed for educational and research purposes only, and may require further optimization or risk management considerations prior to live deployment.
Strategy Logic
The strategy attempts to participate in sustained price trends by combining:
- A Power Kaufman Adaptive Moving Average (PKAMA) for dynamic trend detection,
- RSI and Simple Moving Average (SMA) filters for market condition confirmation,
- A delayed trailing stop-loss to manage exits once a trade is in profit.
Entry Conditions
Long Entry:
- RSI exceeds the overbought threshold (default: 70),
- Price is trading above the 200-period SMA,
- PKAMA slope is positive (indicating upward momentum),
- A minimum number of bars have passed since the last entry.
Short Entry:
- RSI falls below the oversold threshold (default: 30),
- Price is trading below the 200-period SMA,
- PKAMA slope is negative (indicating downward momentum),
-A minimum number of bars have passed since the last entry.
Exit Conditions
- A trailing stop-loss is applied once the position has been open for a user-defined number of bars.
- The trailing distance is calculated as a fixed percentage of the average entry price.
Technical Notes
This script implements a custom version of the Power Kaufman Adaptive Moving Average (PKAMA), conceptually inspired by alexgrover’s public implementation on TradingView .
Unlike traditional moving averages, PKAMA dynamically adjusts its responsiveness based on recent market volatility, allowing it to better capture trend changes in fast-moving assets like altcoins.
Disclaimer
This strategy is provided for educational purposes only.
It is not financial advice, and no guarantee of profitability is implied.
Always conduct thorough backtesting and forward testing before using any strategy in a live environment.
Adjust inputs based on your individual risk tolerance, asset class, and trading style.
Feedback is encouraged. You are welcome to fork and modify this script to suit your own preferences and market approach.
Scalping all timeframe EMA & RSIEMA 50 and EMA 100 combined with RSI 14
Should also be accompanied by the RSI 14 chart.
With the following conditions:
IF the EMAs are close but not crossing:
* Be prepared to take a Sell position if the first Bearish Candlestick crosses the lowest EMA, and the RSI value is equal to or below 40.
* Be prepared to take a Buy position if the first Bullish Candlestick crosses the highest EMA, and the RSI value is equal to or above 60.
IF the EMAs are overlapping and crossing:
* Be prepared to take a Sell position if the first Bearish Candlestick crosses both EMAs, and the RSI value crosses below 50.
*Be prepared to take a Buy position if the first Bullish Candlestick crosses both EMAs, and the RSI value crosses above 50.
RSI SiaThis script is a custom indicator for TradingView written in Pine Script version 5. It calculates the Relative Strength Index (RSI) and uses it to generate trading signals. Here's a breakdown of what the script does:
Key Features:
RSI Calculation:
The script calculates the RSI using a 14-period window.
It also calculates the momentum of the RSI over a 9-period window (rsi delta) and a simple moving average (SMA) of the RSI over a 3-period window (rsi sma).
Composite Index (CI):
The composite index is calculated as the sum of rsi delta and rsi sma.
Horizontal Lines and Zones:
Several horizontal lines are plotted at different levels (e.g., 20, 40, 60, 80, 120, 150, 180) to indicate overbought and oversold conditions.
Filled zones are created between certain levels to highlight areas of interest.
Moving Averages:
The script plots SMA and EMA of the RSI when Enable RSI ma is set to true.
It also plots moving averages of the composite index.
Crossover Signals:
The script detects bullish and bearish crossovers between the SMA and EMA of the RSI.
It plots shapes (labels) on the chart to indicate buy (BUY) and sell (SELL) signals based on these crossovers.
Usage:
Enable RSIma: This input allows you to enable or disable the plotting of RSI moving averages.
i1: This variable is used to adjust the vertical position of the composite index and its moving averages.
Visualization:
The RSI is plotted in black.
The RSI fast trigger line (SMA of RSI) is plotted in green when enabled.
The RSI slow trigger line (EMA of RSI) is plotted in orange when enabled.
The composite index and its moving averages are plotted in red, green, and orange.
Buy and sell signals are indicated with green and red labels, respectively.
This script can be used to identify potential trading opportunities based on RSI crossovers and the composite index.
Reversal Trading Bot Strategy[BullByte]Overview :
The indicator Reversal Trading Bot Strategy is crafted to capture potential market reversal points by combining momentum, volatility, and trend alignment filters. It uses a blend of technical indicators to identify both bullish and bearish reversal setups, ensuring that multiple market conditions are met before entering a trade.
Core Components :
Technical Indicators Used :
RSI (Relative Strength Index) :
Purpose : Detects divergence conditions by comparing recent lows/highs in price with the RSI.
Parameter : Length of 8.
Bollinger Bands (BB) :
Purpose : Measures volatility and identifies price levels that are statistically extreme.
Parameter : Length of 20 and a 2-standard deviation multiplier.
ADX (Average Directional Index) & DMI (Directional Movement Index) :
Purpose : Quantifies the strength of the trend. The ADX threshold is set at 20, and additional filters check for the alignment of the directional indicators (DI+ and DI–).
ATR (Average True Range) :
Purpose : Provides a volatility measure used to set stop levels and determine risk through trailing stops.
Volume SMA (Simple Moving Average of Volume ):
Purpose : Helps confirm strength by comparing the current volume against a 20-period average, with an optional filter to ensure volume is at least twice the SMA.
User-Defined Toggle Filters :
Volume Filter : Confirms that the volume is above average (or twice the SMA) before taking trades.
ADX Trend Alignment Filter : Checks that the ADX’s directional indicators support the trade direction.
BB Close Confirmation : Optionally refines the entry by requiring price to be beyond the upper or lower Bollinger Band rather than just above or below.
RSI Divergence Exit : Allows the script to close positions if RSI divergence is detected.
BB Mean Reversion Exit : Closes positions if the price reverts to the Bollinger Bands’ middle line.
Risk/Reward Filter : Ensures that the potential reward is at least twice the risk by comparing the distance to the Bollinger Band with the ATR.
Candle Movement Filter : Optional filter to require a minimum percentage move in the candle to confirm momentum.
ADX Trend Exit : Closes positions if the ADX falls below the threshold and the directional indicators reverse.
Entry Conditions :
Bullish Entry :
RSI Divergence : Checks if the current close is lower than a previous low while the RSI is above the previous low, suggesting bullish divergence.
Bollinger Confirmation : Requires that the price is above the lower (or upper if confirmation is toggled) Bollinger Band.
Volume & Trend Filters : Combines volume condition, ADX strength, and an optional candle momentum condition.
Risk/Reward Check : Validates that the trade meets a favorable risk-to-reward ratio.
Bearish Entry :
Uses a mirror logic of the bullish entry by checking for bearish divergence, ensuring the price is below the appropriate Bollinger level, and confirming volume, trend strength, candle pattern, and risk/reward criteria.
Trade Execution and Exit Strateg y:
Trade Execution :
Upon meeting the entry conditions, the strategy initiates a long or short position.
Stop Loss & Trailing Stops :
A stop-loss is dynamically set using the ATR value, and trailing stops are implemented as a percentage of the close price.
Exit Conditions :
Additional exit filters can trigger early closures based on RSI divergence, mean reversion (via the middle Bollinger Band), or a weakening trend as signaled by ADX falling below its threshold.
This multi-layered exit strategy is designed to lock in gains or minimize losses if the market begins to reverse unexpectedly.
How the Strategy Works in Different Market Conditions :
Trending Markets :
The ADX filter ensures that trades are only taken when the trend is strong. When the market is trending, the directional movement indicators help confirm the momentum, making the reversal signal more reliable.
Ranging Markets :
In choppy markets, the Bollinger Bands expand and contract, while the RSI divergence can highlight potential turning points. The optional filters can be adjusted to avoid false signals in low-volume or low-volatility conditions.
Volatility Management :
With ATR-based stop-losses and a risk/reward filter, the strategy adapts to current market volatility, ensuring that risk is managed consistently.
Recommendation on using this Strategy with a Trading Bot :
This strategy is well-suited for high-frequency trading (HFT) due to its ability to quickly identify reversal setups and execute trades dynamically with automated stop-loss and trailing exits. By integrating this script with a TradingView webhook-based bot or an API-driven execution system, traders can automate trade entries and exits in real-time, reducing manual execution delays and capitalizing on fast market movements.
Disclaimer :
This script is provided for educational and informational purposes only. It is not intended as investment advice. Trading involves significant risk, and you should always conduct your own research and analysis before making any trading decisions. The author is not responsible for any losses incurred while using this script.
Log Regression Oscillator Channel [BigBeluga]
This unique overlay tool blends logarithmic trend analysis with dynamic oscillator behavior. It projects RSI, MFI, or Stochastic lines directly into a log regression channel on the price chart — offering an intuitive way to detect overbought/oversold momentum within the broader price structure.
🔵Key Features:
Logarithmic Regression Channel:
➣ Draws a trend-based channel using logarithmic regression, adapting to price growth curvature over time.
➣ Features upper, lower, and optional midline boundaries to visualize trend flow and range extremes.
Oscillator Overlay (RSI / MFI / Stochastic):
➣ Projects your chosen oscillator inside the channel using dynamic polylines.
➣ Allows switching between RSI, Money Flow Index, or Stochastic for versatile momentum insight.
Threshold-Based Scaling:
➣ The top and bottom of the channel represent traditional oscillator thresholds (e.g., RSI 70/30).
➣ Users can modify the scale in settings to customize what "overbought" or "oversold" means visually.
Signal Line Integration:
➣ Adds a yellow moving average (signal line) for smoother confirmation of oscillator turns.
➣ Helps identify divergence, momentum shifts, and fakeouts with better clarity.
Live Oscillator Readout:
➣ Displays the real-time oscillator value at the right edge of the chart.
➣ Ensures traders stay aware of current momentum levels without switching panels.
🔵Usage:
Momentum Context:
➣ When the oscillator touches the upper regression band, it may signal local overbought pressure.
➣ Touching the lower band may indicate oversold conditions within the current log trend.
Divergence Detection:
➣ Use the oscillator’s behavior relative to the channel slope to spot divergence from price.
➣ For example, RSI rising inside a falling channel can flag early trend shifts.
Trend-Sensitive Entries:
➣ Combine oscillator signals with log channel direction to filter trades in trend alignment.
➣ Signal line crossovers inside the channel act as early warning for momentum turns.
The Log Regression Oscillator Channel transforms how traders view classic momentum tools. By embedding oscillators into a logarithmic trend structure, it offers unmatched clarity on momentum positioning relative to price expansion. Ideal for swing traders, mean-reverters, or trend followers looking to sharpen entries and exits with style.
Smart Mean Reversion DashboardThis indicator is designed to help traders identify potential mean reversion opportunities using a combination of Bollinger Bands, RSI, and deviation from the moving average. It provides a clean, visually appealing dashboard that displays key metrics and signals in real-time.
How to Read and Use:
Deviation from Mean:
Displays the percentage deviation of the current price from the moving average.
A high positive or negative deviation may indicate overextension and a potential mean reversion opportunity.
Bollinger Band Status:
Indicates whether the price is inside or outside the Bollinger Bands.
"Outside Upper" suggests overbought conditions, while "Outside Lower" suggests oversold conditions.
RSI Status:
Shows whether the RSI is in overbought (>70), oversold (<30), or neutral conditions.
Overbought and oversold levels can confirm potential reversal zones.
Signal:
BUY: Triggered when the price is outside the lower Bollinger Band and RSI is in the oversold zone.
SELL: Triggered when the price is outside the upper Bollinger Band and RSI is in the overbought zone.
WAIT: No clear signal; wait for better conditions.
Important Notes:
This is NOT a buy or sell recommendation. This indicator is a tool to assist in identifying potential trading opportunities. Always use it in conjunction with your own analysis and risk management.
The signals generated by this indicator are based on historical data and do not guarantee future performance.
It is recommended to use this indicator alongside other technical analysis tools and confirm signals with price action or other strategies.
Features:
Dashboard: Displays deviation, Bollinger Band status, RSI status, and signals in a clean, movable interface.
Customizable Settings: Adjust Bollinger Band length, RSI length, and moving average length to suit your trading style.
Visual Enhancements: Color-coded signals and metrics for easy interpretation in both light and dark modes.
Disclaimer:
Trading involves significant risk, and past performance is not indicative of future results. This indicator is for educational purposes only and should not be considered financial advice. Always consult with a financial advisor before making trading decisions.
Smart Grid Scalping (Pullback) Strategy[BullByte]The Smart Grid Scalping (Pullback) Strategy is a high-frequency trading strategy designed for short-term traders who seek to capitalize on market pullbacks. This strategy utilizes a dynamic ATR-based grid system to define optimal entry points, ensuring precise trade execution. It integrates volatility filtering and an RSI-based confirmation mechanism to enhance signal accuracy and reduce false entries.
This strategy is specifically optimized for scalping by dynamically adjusting trade levels based on current market conditions. The grid-based system helps capture retracement opportunities while maintaining strict trade management through predefined profit targets and trailing stop-loss mechanisms.
Key Features :
1. ATR-Based Grid System :
- Uses a 10-period ATR to dynamically calculate grid levels for entry points.
- Prevents chasing trades by ensuring price has reached key levels before executing entries.
2. No Trade Zone Protection :
- Avoids low-volatility zones where price action is indecisive.
- Ensures only high-momentum trades are executed to improve success rate.
3. RSI-Based Entry Confirmation :
- Long trades are triggered when RSI is below 30 (oversold) and price is in the lower grid zone.
- Short trades are triggered when RSI is above 70 (overbought) and price is in the upper grid zone.
4. Automated Trade Execution :
- Long Entry: Triggered when price drops below the first grid level with sufficient volatility.
- Short Entry: Triggered when price exceeds the highest grid level with sufficient volatility.
5. Take Profit & Trailing Stop :
- Profit target set at a customizable percentage (default 0.2%).
- Adaptive trailing stop mechanism using ATR to lock in profits while minimizing premature exits.
6. Visual Trade Annotations :
- Clearly labeled "LONG" and "SHORT" markers appear at trade entries for better visualization.
- Grid levels are plotted dynamically to aid decision-making.
Strategy Logic :
- The script first calculates the ATR-based grid levels and ensures price action has sufficient volatility before allowing trades.
- An additional RSI filter is used to ensure trades are taken at ideal market conditions.
- Once a trade is executed, the script implements a trailing stop and predefined take profit to maximize gains while reducing risks.
---
Disclaimer :
Risk Warning :
This strategy is provided for educational and informational purposes only. Trading involves significant risk, and past performance is not indicative of future results. Users are advised to conduct their own due diligence and risk management before using this strategy in live trading.
The developer and publisher of this script are not responsible for any financial losses incurred by the use of this strategy. Market conditions, slippage, and execution quality can affect real-world trading outcomes.
Use this script at your own discretion and always trade responsibly.
Customizable RSI/StochRSI Double ConfirmationBelow are the key adjustable parameters in the script and their usage:
RSI Parameters
RSI Length: The number of periods used to calculate the RSI, with a default value of 7. Adjusting this parameter changes the sensitivity of the RSI—shorter periods make it more sensitive, while longer periods make it smoother.
RSI Source: The price source used for RSI calculation, defaulting to the closing price (close). This can be changed to the opening price or other price types as needed.
StochRSI Parameters
StochRSI Length: The number of periods used to calculate the StochRSI, with a default value of 5. This affects how quickly the StochRSI reacts to changes in the RSI.
StochRSI Smooth K: The smoothing period for the StochRSI %K line, with a default value of 3. This is used to reduce noise.
StochRSI Smooth D: The smoothing period for the StochRSI %D line, with a default value of 3. It works in conjunction with %K to provide more stable signals.
Signal Thresholds
RSI Buy Threshold: A buy signal is triggered when the RSI crosses above this value (default 20).
RSI Sell Threshold: A sell signal is triggered when the RSI crosses below this value (default 80).
StochRSI Buy Threshold: A buy signal is triggered when the StochRSI %K crosses above this value (default 20).
StochRSI Sell Threshold: A sell signal is triggered when the StochRSI %K crosses below this value (default 80).
Signals
RSI Buy/Sell Signals: When the RSI crosses the buy/sell threshold, a green "RSI Buy" or red "RSI Sell" is displayed on the chart.
StochRSI Buy/Sell Signals: When the StochRSI %K crosses the buy/sell threshold, a yellow "StochRSI Buy" or purple "StochRSI Sell" is displayed.
Double Buy/Sell Signals: When both RSI and StochRSI simultaneously trigger buy/sell signals, a green "Double Buy" or red "Double Sell" is displayed, indicating a stronger trading opportunity.
The volatility of different cryptocurrencies varies, and different parameters may be suitable for each. Users need to experiment and select the most appropriate parameters themselves.
Disclaimer: This script is for informational purposes only and should not be considered financial advice; use it at your own risk.
Relative Directional Index (RDI)🔍 Overview
The Relative Directional Index (RDI) is a hybrid tool that fuses the Average Directional and the Relative Strength Indices (ADX and RSI) into a single, highly visual interface. While the former captures trend strength, the latter reveals momentum shifts and potential exhaustion. Together, they can confirm trend structure, anticipate reversals, and sharpen the timing entries and exits.
📌 Why Combine ADX with RSI?
Most indicators focus on either trend-following (like ADX) or momentum detection (like RSI)—but rarely both. Each comes with trade-offs:
- ADX alone confirms trend strength but ignores momentum.
- RSI alone signals overbought/oversold, but lacks trend context.
The RDI resolves this by integrating both, offering:
- Smarter filters for trend entries
- Early warnings of momentum breakdowns
- More confident signal validation
🧠 Design Note: Fibonacci Harmony
All default values—5, 13, 21—are Fibonacci numbers. This is intentional, as these values reflect the natural rhythm of market cycles, and promote harmonic calibration between price action and indicator logic.
🔥 Key Features
✅ ADX Histogram
- Green bars = trend gaining strength
- Red bars = trend weakening
- Adjustable transparency for visual tuning
✅ ADX Line (Orange)
- Measures trend strength over time
- Rising = accelerating trend
- Falling = trend may be fading
✅ RSI Line (Lemon Yellow)
- Captures momentum surges and slowdowns
- Above 50 = bullish control
- Below 50 = bearish pressure
✅ Trend Strength Squares
- Bright green = strong uptrend
- Bright red = strong downtrend
- Faded colors = range-bound or indecisive
✅ ADX/RSI Crossover Markers
- Yellow square = RSI crosses above ADX → momentum building
- Orange square = ADX crosses above RSI → trend still dominant
✅ Customizable Reference Lines
- Yellow (50) = strong trend threshold
- Red (30) = weak trend zone
- Green (70) = overextended, potential exhaustion
_______________________________________________________
🎯 How to Trade with the RDI
The RDI helps traders identify momentum-supported trends, catch early reversals, and avoid false signals during consolidation.
✅ Trend Confirmation Entries
🔼 Bullish → Enter long on pullbacks or resistance breakouts
- ADX rising above 30
- RSI above 50
- Green trend square visible
🔽 Bearish → Enter short on breakdowns or failed retests
- ADX rising
- RSI below 50
- Red trend square visible
🧯 Exit if RSI crosses back against trend direction or ADX flattens
🚨 Reversal Setups Using Divergence
📈 Bullish Divergence → Long entry after confirmation (e.g. engulfing bar, volume spike)
- Price prints lower low
- RSI prints higher low
- Green triangle
📉 Bearish Divergence → Short entry on breakdown
- Price prints higher high
- RSI prints lower high
- Red triangle
Tip: Stronger if ADX is declining (fading trend strength)
🔂 Breakout Detection via Cross Markers
- Yellow square = RSI > ADX → breakout brewing
- Orange square = ADX > RSI → trend continuation likely
⏸️ Avoid Choppy Markets
- RSI between 45–55
- Faded trend squares
- Flat ADX below 20–30
🧠 Pro Tips
- Combine RDI with VWAPs, moving averages and/or pitchforks
- Watch for alignment between trend and momentum
- Use divergence markers as confirmation, not stand-alone triggers
_______________________________________________________
⚠️ Hidden Divergence (Optional)
The RDI includes optional hidden divergence detection. These signals suggest trend continuation but are off by default. Use with discretion—best in established trends, not sideways markets.
🙈 Hidden Bullish
- Price prints higher low
- RSI prints lower low
🙈 Hidden Bearish
- Price prints lower high
- RSI prints higher high
RSI + MFI Momentum Mapper - CoffeeKillerRSI + MFI Momentum Mapper - CoffeeKiller Indicator Guide
Welcome traders! This guide will walk you through the RSI + MFI Momentum Mapper indicator, an innovative market analysis tool developed by CoffeeKiller that combines two powerful oscillators to create a comprehensive momentum visualization system.
🔔 **Warning: This Is Not a Standard RSI or MFI Indicator** 🔔 This indicator combines and normalizes RSI and MFI data to create a unified momentum representation with boundary detection and peak signaling features.
Core Concept: Combined Momentum Analysis
The foundation of this indicator lies in merging the strengths of two complementary oscillators - Relative Strength Index (RSI) and Money Flow Index (MFI) - to provide a more robust momentum signal that accounts for both price action and volume.
Directional Columns: Momentum Strength
- Positive Green Columns: Bullish momentum
- Negative Red Columns: Bearish momentum
- Color intensity varies based on momentum strength
- Special coloring for new high/low boundaries
Marker Lines: Dynamic Support/Resistance
- High Marker Line (Magenta): Tracks the highest point reached during a bullish phase
- Low Marker Line (Cyan): Tracks the lowest point reached during a bearish phase
- Creates visual boundaries showing momentum extremes
Peak Detection System:
- Triangular markers identify significant local maxima and minima
- Background highlighting shows important momentum peaks
- Helps identify potential reversal points and momentum exhaustion
Reference Lines:
- Zero Line (Gray): Divides bullish from bearish momentum
- High Line (+1): Upper threshold for extremely bullish conditions
- Low Line (-1): Lower threshold for extremely bearish conditions
Core Components
1. Oscillator Normalization
- RSI and MFI values centered around zero
- Values scaled to create consistent visualization
- Normalized range typically between -1 and +1
- Combination of indicators for signal reliability
2. Boundary Tracking System
- Automatic detection of highest values in bullish phases
- Automatic detection of lowest values in bearish phases
- Step-line visualization of boundaries
- Color-coded for easy identification
3. Peak Detection System
- Identification of local maxima and minima
- Background highlighting of significant peaks
- Triangle markers for peak visualization
- Zero-line cross detection for trend changes
4. Signal Smoothing
- Signal line calculation via SMA
- Helps filter noise and identify trends
- Provides confirmation of momentum direction
Main Features
Oscillator Settings
- Customizable RSI length for sensitivity control
- Customizable MFI length for sensitivity control
- Normalized display for consistent visualization
- Signal smoothing for clearer readings
Visual Elements
- Color-coded columns showing momentum direction and strength
- Dynamic marker lines for momentum boundaries
- Peak triangles for significant turning points
- Background highlighting for peak identification
- Reference lines for momentum threshold levels
Signal Generation
- Zero-line crosses for trend change signals
- Boundary breaks for momentum strength
- Peak formation for potential reversals
- Color changes for momentum direction and acceleration
Customization Options
- RSI and MFI length parameters
- Marker line visibility and colors
- Peak marker color selection
- Peak background display options
Trading Applications
1. Trend Identification
- Directional line crossing above zero: bullish trend beginning
- Directional line crossing below zero: bearish trend beginning
- Column color: indicates momentum direction
- Column height: indicates momentum strength
2. Reversal Detection
- Peak triangles after extended trend: potential exhaustion
- Background highlighting: significant reversal points
- Directional line approaching marker lines: potential trend change
- Color shifts from bright to muted: decreasing momentum
3. Momentum Analysis
- Breaking above previous high boundary: accelerating bullish momentum
- Breaking below previous low boundary: accelerating bearish momentum
- Special coloring (magenta/cyan): boundary breaks indicating strength
- Approaching +1/-1 lines: extreme momentum conditions
4. Market Structure Assessment
- Consecutive higher peaks: strengthening bullish structure
- Consecutive lower troughs: strengthening bearish structure
- Peak comparisons: relative strength of momentum phases
- Boundary line steps: market structure levels
Optimization Guide
1. Oscillator Settings
- RSI Length: Default 14 provides balanced signals
- Lower values (7-10): More responsive, potentially noisier
- Higher values (20-30): Smoother, fewer false signals
- MFI Length: Default 14 provides balanced signals
- Lower values: More responsive to volume changes
- Higher values: Less sensitive to short-term volume spikes
2. Visual Customization
- Marker Line Colors: Adjust for visibility on your chart
- Peak Marker Color: Default yellow provides good contrast
- Enable/disable background highlights based on preference
- Consider chart background when selecting colors
3. Signal Interpretation
- Stronger signals: When directional line approaches +1/-1
- Confirmation: When peaks form after extended momentum
- Early warnings: When color intensity changes before direction
- Trend strength: Distance between zero line and current reading
4. Reference Line Usage
- Zero line: Primary trend divider
- +1/-1 lines: Extreme momentum thresholds
- Marker lines: Dynamic support/resistance levels
- Distance from reference: Momentum strength measure
Best Practices
1. Signal Confirmation
- Wait for zero-line crosses to confirm trend changes
- Look for peak formations to identify potential reversals
- Check for boundary breaks to confirm strong momentum
- Use with price action for entry/exit precision
2. Timeframe Selection
- Lower timeframes: more signals, potential noise
- Higher timeframes: cleaner signals, less frequent
- Multiple timeframes: confirm signals across time horizons
- Match to your trading style and holding period
3. Market Context
- Strong bullish phase: positive columns breaking above marker line
- Strong bearish phase: negative columns breaking below marker line
- Columns approaching zero: potential trend change
- Columns approaching +1/-1: extreme conditions, potential reversal
4. Combining with Other Indicators
- Use with trend indicators for confirmation
- Pair with other oscillators for divergence detection
- Combine with volume analysis for validation
- Consider support/resistance levels with boundary lines
Advanced Trading Strategies
1. Boundary Break Strategy
- Enter long when directional line breaks above previous high marker line
- Enter short when directional line breaks below previous low marker line
- Use zero-line as initial stop-loss reference
- Take profits at formation of opposing peaks
2. Peak Trading Strategy
- Identify significant peaks with triangular markers
- Look for consecutive lower peaks in bullish phases for shorting opportunities
- Look for consecutive higher troughs in bearish phases for buying opportunities
- Use zero-line crosses as confirmation
3. Extreme Reading Strategy
- Look for directional line approaching +1/-1 lines
- Watch for color changes and peak formations
- Enter counter-trend positions after confirmed peaks
- Use tight stops due to extreme momentum conditions
4. Column Color Strategy
- Enter long when columns turn bright green (increasing momentum)
- Enter short when columns turn bright red (increasing momentum)
- Exit when color intensity fades (decreasing momentum)
- Use marker lines as dynamic support/resistance
Practical Analysis Examples
Bullish Market Scenario
- Directional line crosses above zero line
- Green columns grow in height and intensity
- High marker line forms steps upward
- Peak triangles appear at local maxima
- Background highlights appear at significant momentum peaks
Bearish Market Scenario
- Directional line crosses below zero line
- Red columns grow in depth and intensity
- Low marker line forms steps downward
- Peak triangles appear at local minima
- Background highlights appear at significant momentum troughs
Consolidation Scenario
- Directional line oscillates around zero line
- Column colors alternate frequently
- Marker lines remain relatively flat
- Few or no new peak highlights appear
- Directional values remain small
Understanding Market Dynamics Through RSI + MFI Momentum Mapper
At its core, this indicator provides a unique lens to visualize market momentum by combining two complementary oscillators:
1. Combined Strength: By averaging RSI (price-based) and MFI (volume-based), the indicator provides a more comprehensive view of market momentum that considers both price action and buying/selling pressure.
2. Normalized Scale: The indicator normalizes values around zero, making it easier to identify bullish vs bearish conditions and the relative strength of momentum in either direction.
3. Dynamic Boundaries: The marker lines create a visual representation of the "high water marks" of momentum in both directions, helping to identify when markets are making new momentum extremes.
4. Exhaustion Signals: The peak detection system highlights moments where momentum has reached a local maximum or minimum, often precursors to reversals or consolidations.
Remember:
- Combine signals from directional line, marker lines, and peak formations
- Use appropriate timeframe settings for your trading style
- Customize the indicator to match your visual preferences
- Consider market conditions and correlate with price action
This indicator works best when:
- Used as part of a comprehensive trading system
- Combined with proper risk management
- Applied with an understanding of current market conditions
- Signals are confirmed by price action and other indicators
DISCLAIMER: This indicator and its signals are intended solely for educational and informational purposes. They do not constitute financial advice. Trading involves significant risk of loss. Always conduct your own analysis and consult with financial professionals before making trading decisions.
RSI Pro+ (Bear market, financial crisis and so on EditionIn markets defined by volatility, fear, and uncertainty – the battlegrounds of bear markets and financial crises – you need tools forged in resilience. Introducing RSI Pro+, a strategy built upon a legendary indicator born in 1978, yet engineered with modern visual clarity to remain devastatingly effective even in the chaotic financial landscapes of 3078.
This isn't about complex algorithms predicting the unpredictable. It's about harnessing the raw, time-tested power of the Relative Strength Index (RSI) to identify potential exhaustion points and capitalize on oversold conditions. RSI Pro+ cuts through the noise, providing clear, actionable signals when markets might be poised for a relief bounce or reversal.
Core Technology (The 1978 Engine):
RSI Crossover Entry: The strategy initiates a LONG position when the RSI (default period 11) crosses above a user-defined low threshold (default 30). This classic technique aims to enter when selling pressure may be waning, offering potential entry points during sharp downturns or periods of consolidation after a fall.
Modern Enhancements (The 3078 Cockpit):
RSI Pro+ isn't just about the signal; it's about providing a professional-grade visual experience directly on your chart:
Entry Bar Highlight: A subtle background flash on the chart signals the exact bar where the RSI crossover condition is met, alerting you to potential entry opportunities.
Trade Bar Coloring: Once a trade is active, the price bars are subtly colored, giving you immediate visual confirmation that the strategy is live in the market.
Entry Price Line: A clear, persistent line marks your exact average entry price for the duration of the trade, serving as a crucial visual anchor.
Take Profit Line: Your calculated Take Profit target is plotted as a distinct line, keeping your objective clearly in sight.
Custom Entry Marker: A precise shape (▲) appears below the bar where the trade entry was actually executed, pinpointing the start of the position.
On-Chart Info Table (HUD): A clean, customizable Heads-Up Display appears when a trade is active, showing vital information at a glance:
Entry Price: Your position's average cost basis.
TP Target: The calculated price level for your Take Profit exit.
Current PnL%: Real-time Profit/Loss percentage for the open trade.
Full Customization: Nearly every aspect is configurable via the settings menu:
RSI Period & Crossover Level
Take Profit Percentage
Toggle ALL visual enhancements on/off individually
Position the Info Table wherever you prefer on the chart.
How to Use RSI Pro+:
Add to Chart: Apply the "RSI Pro+ (Bear market...)" strategy to your TradingView chart. Ensure any previous versions are removed.
Access Settings: Click the cogwheel icon (⚙️) next to the strategy name on your chart.
Configure Inputs (Crucial Step):
RSI Crossover Level: This is key. The default (30) targets standard oversold conditions. In severe downturns, you might experiment with lower levels (e.g., 25, 20) or higher ones (e.g., 40) depending on the asset and timeframe. Observe where RSI(11) typically bottoms out on your chart.
Take Profit Percentage (%): Define your desired profit target per trade (e.g., enter 0.5 for 0.5%, 1.0 for 1%). The default is a very small 0.11%.
RSI Period: While default is 11, you can adjust this (e.g., the standard 14).
Visual Enhancements: Enable or disable the visual features (background highlights, bar coloring, lines, markers, table) according to your preference using the checkboxes. Adjust table position.
Observe & Backtest: Watch how the strategy behaves on your chosen asset and timeframe. Use TradingView's Strategy Tester to analyze historical performance based on your settings. No strategy works perfectly everywhere; testing is essential.
Important Considerations:
Risk Management: This specific script version focuses on a Take Profit exit. It does not include an explicit Stop Loss. You MUST manage risk through appropriate position sizing, potentially adding a Stop Loss manually, or by modifying the script.
Oversold ≠ Reversal: An RSI crossover is an indicator of potential exhaustion, not a guarantee of a price reversal.
Fixed TP: A fixed percentage TP ensures small wins but may exit before larger potential moves.
Backtesting Limitations: Past performance does not guarantee future results.
RSI Pro+ strips away complexity to focus on a robust, time-honored principle, enhanced with modern visuals for the discerning trader navigating today's (and tomorrow's) challenging markets
Long Term Profitable Swing | AbbasA Story of a Profitable Swing Trading Strategy
Imagine you're sailing across the ocean, looking for the perfect wave to ride. Swing trading is quite similar—you're navigating the stock market, searching for the ideal moments to enter and exit trades. This strategy, created by Abbas, helps you find those waves and ride them effectively to profitable outcomes.
🌊 Finding the Perfect Wave (Entry)
Our journey begins with two simple signs that tell us a great trading opportunity is forming:
- Moving Averages: We use two lines that follow price trends—the faster one (EMA 16) reacts quickly to recent price moves, and the slower one (EMA 30) gives us a longer-term perspective. When the faster line crosses above the slower line, it's like a clear signal saying, "Hey! The wave is rising, and prices might move higher!"
- RSI Momentum: Next, we check a tool called the RSI, which measures momentum (how strongly prices are moving). If the RSI number is above 50, it means there's enough strength behind this rising wave to carry us forward.
When both signals appear together, that's our green light. It's time to jump on our surfboard and start riding this promising wave.
⚓ Safely Riding the Wave (Risk Management)
While we're riding this wave, we want to ensure we're safe from sudden surprises. To do this, we use something called the Average True Range (ATR), which measures how volatile (or bumpy) the price movements are:
- Stop-Loss: To avoid falling too hard, we set a safety line (stop-loss) 8 times the ATR below our entry price. This helps ensure we exit if the wave suddenly turns against us, protecting us from heavy losses.
- Take Profit: We also set a goal to exit the trade at 11 times the ATR above our entry. This way, we capture significant profits when the wave reaches a nice high point.
🌟 Multiple Rides, Bigger Adventures
This strategy allows us to take multiple positions simultaneously—like riding several waves at once, up to 5. Each trade we make uses only 10% of our trading capital, keeping risks manageable and giving us multiple opportunities to win big.
🗺️ Easy to Follow Settings
Here are the basic settings we use:
- Fast EMA**: 16
- Slow EMA**: 30
- RSI Length**: 9
- RSI Threshold**: 50
- ATR Length**: 21
- ATR Stop-Loss Multiplier**: 8
- ATR Take-Profit Multiplier**: 11
These settings are flexible—you can adjust them to better suit different markets or your personal trading style.
🎉 Riding the Waves of Success
This simple yet powerful swing trading approach helps you confidently enter trades, clearly know when to exit, and effectively manage your risk. It’s a reliable way to ride market waves, capture profits, and minimize losses.
Happy trading, and may you find many profitable waves to ride! 🌊✨
Please test, and take into account that it depends on taking multiple longs within the swing, and you only get to invest 25/30% of your equity.
IDX - 5UPThe UDX-5UP is a custom indicator designed to assist traders in identifying trends, entry and exit signals, and market reversal moments with greater accuracy. It combines price analysis, volume, and momentum (RSI) to provide clear buy ("Buy") and sell ("Sell") signals across any asset and timeframe, whether you're a scalper on the 5M chart or a swing trader on the 4H chart. Inspired by robust technical analysis strategies, the UDX-5UP is ideal for traders seeking a reliable tool to operate in volatile markets such as cryptocurrencies, forex, stocks, and futures.
Components of the UDX-5UP
The UDX-5UP consists of three main panels that work together to provide a comprehensive view of the market:
Main Panel (Price):
Pivot Supertrend: A dynamic line that changes color to indicate the trend. Green for an uptrend (look for buys), red for a downtrend (look for sells).
SMAs (Simple Moving Averages): Two SMAs (8 and 21 periods) to confirm the trend direction. When the SMA 8 crosses above the SMA 21, it’s a bullish signal; when it crosses below, it’s a bearish signal.
Entry/Exit Signals: "Buy" (green) and "Sell" (red) labels are plotted on the chart when entry or exit conditions are met.
Volume Panel:
Colored Volume Bars: Green bars indicate dominant buying volume, while red bars indicate dominant selling volume.
Volume Moving Average (MA 20): A blue line that helps identify whether the current volume is above or below the average, confirming the strength of the movement.
RSI Panel:
RSI (Relative Strength Index): Calculated with a period of 14, with overbought (70) and oversold (30) lines to identify momentum extremes.
Divergences: The indicator detects divergences between the RSI and price, plotting signals for potential reversals.
How the UDX-5UP Works
The UDX-5UP uses a combination of rules to generate buy and sell signals:
Buy Signal ("Buy"):
The Pivot Supertrend changes from red to green.
The SMA 8 crosses above the SMA 21.
The volume is above the MA 20, with green bars (indicating buying pressure).
The RSI is rising and, ideally, below 70 (not overbought).
Example: On the 4H chart, the price of Tether (USDT) is at 0.05515. The Pivot Supertrend turns green, the SMA 8 crosses above the SMA 21, the volume shows green bars above the MA 20, and the RSI is at 46. The UDX-5UP plots a "Buy".
Sell Signal ("Sell"):
The Pivot Supertrend changes from green to red.
The SMA 8 crosses below the SMA 21.
The volume is above the MA 20, with red bars (indicating selling pressure).
The RSI is falling and, ideally, above 70 (overbought).
Example: On the 4H chart, the price of Tether rises to 0.05817. The Pivot Supertrend turns red, the SMA 8 crosses below the SMA 21, the volume shows red bars, and the RSI is above 70. The UDX-5UP plots a "Sell".
RSI Divergences:
The indicator identifies bullish divergences (price makes a lower low, but RSI makes a higher low) and bearish divergences (price makes a higher high, but RSI makes a lower high), plotting alerts for potential reversals.
Adjustable Settings
The UDX-5UP is highly customizable to suit your trading style:
Pivot Supertrend Period: Default is 2. Increase to 3 or 4 for more conservative signals (fewer false positives, but more lag).
SMA Periods: Default is 8 and 21. Adjust to 5 and 13 for smaller timeframes (e.g., 5M) or 13 and 34 for larger timeframes (e.g., 1D).
RSI Period: Default is 14. Reduce to 10 for greater sensitivity or increase to 20 for smoother signals.
Overbought/Oversold Levels: Default is 70/30. Adjust to 80/20 in volatile markets.
Display Panels: You can enable/disable the volume and RSI panels to simplify the chart.
How to Use the UDX-5UP
Identify the Trend:
Use the Pivot Supertrend and SMAs to determine the market direction. Uptrend: look for buys. Downtrend: look for sells.
Confirm with Volume and RSI:
For buys: Volume above the MA 20 with green bars, RSI rising and below 70.
For sells: Volume above the MA 20 with red bars, RSI falling and above 70.
Enter the Trade:
Enter a buy when the UDX-5UP plots a "Buy" and all conditions are aligned.
Enter a sell when the UDX-5UP plots a "Sell" and all conditions are aligned.
Plan the Exit:
Use Fibonacci levels or support/resistance on the price chart to set targets.
Exit the trade when the UDX-5UP plots an opposite signal ("Sell" after a buy, "Buy" after a sell).
Tips for Beginners
Start with Larger Timeframes: Use the 4H or 1D chart for more reliable signals and less noise.
Combine with Other Indicators: Use the UDX-5UP with tools like Fibonacci or the Candles RSI (another powerful indicator) to confirm signals.
Practice in Demo Mode: Test the indicator in a demo account before using real money.
Manage Risk: Always use a stop-loss and don’t risk more than 1-2% of your capital per trade.
Why Use the UDX-5UP?
Simplicity: Clear "Buy" and "Sell" signals make trading accessible even for beginners.
Versatility: Works on any asset (crypto, forex, stocks) and timeframe.
Multiple Confirmations: Combines price, volume, and momentum to reduce false signals.
Customizable: Adjust the settings to match your trading style.
Author’s Notes
The UDX-5UP was developed based on years of trading and technical analysis experience. It is an evolution of tested strategies, designed to help traders navigate volatile markets with confidence. However, no indicator is infallible. Always combine the UDX-5UP with proper risk management and fundamental analysis, especially in unpredictable markets. Feedback is welcome – leave a comment or reach out with suggestions for improvements!
Volume Weighted RSI (VW RSI)The Volume Weighted RSI (VW RSI) is a momentum oscillator designed for TradingView, implemented in Pine Script v6, that enhances the traditional Relative Strength Index (RSI) by incorporating trading volume into its calculation. Unlike the standard RSI, which measures the speed and change of price movements based solely on price data, the VW RSI weights its analysis by volume, emphasizing price movements backed by significant trading activity. This makes the VW RSI particularly effective for identifying bullish or bearish momentum, overbought/oversold conditions, and potential trend reversals in markets where volume plays a critical role, such as stocks, forex, and cryptocurrencies.
Key Features
Volume-Weighted Momentum Calculation:
The VW RSI calculates momentum by comparing the volume associated with upward price movements (up-volume) to the volume associated with downward price movements (down-volume).
Up-volume is the volume on bars where the closing price is higher than the previous close, while down-volume is the volume on bars where the closing price is lower than the previous close.
These volumes are smoothed over a user-defined period (default: 14 bars) using a Running Moving Average (RMA), and the VW RSI is computed using the formula:
\text{VW RSI} = 100 - \frac{100}{1 + \text{VoRS}}
where
\text{VoRS} = \frac{\text{Average Up-Volume}}{\text{Average Down-Volume}}
.
Oscillator Range and Interpretation:
The VW RSI oscillates between 0 and 100, with a centerline at 50.
Above 50: Indicates bullish volume momentum, suggesting that volume on up bars dominates, which may signal buying pressure and a potential uptrend.
Below 50: Indicates bearish volume momentum, suggesting that volume on down bars dominates, which may signal selling pressure and a potential downtrend.
Overbought/Oversold Levels: User-defined thresholds (default: 70 for overbought, 30 for oversold) help identify potential reversal points:
VW RSI > 70: Overbought, indicating a possible pullback or reversal.
VW RSI < 30: Oversold, indicating a possible bounce or reversal.
Visual Elements:
VW RSI Line: Plotted in a separate pane below the price chart, colored dynamically based on its value:
Green when above 50 (bullish momentum).
Red when below 50 (bearish momentum).
Gray when at 50 (neutral).
Centerline: A dashed line at 50, optionally displayed, serving as the neutral threshold between bullish and bearish momentum.
Overbought/Oversold Lines: Dashed lines at the user-defined overbought (default: 70) and oversold (default: 30) levels, optionally displayed, to highlight extreme conditions.
Background Coloring: The background of the VW RSI pane is shaded red when the indicator is in overbought territory and green when in oversold territory, providing a quick visual cue of potential reversal zones.
Alerts:
Built-in alerts for key events:
Bullish Momentum: Triggered when the VW RSI crosses above 50, indicating a shift to bullish volume momentum.
Bearish Momentum: Triggered when the VW RSI crosses below 50, indicating a shift to bearish volume momentum.
Overbought Condition: Triggered when the VW RSI crosses above the overbought threshold (default: 70), signaling a potential pullback.
Oversold Condition: Triggered when the VW RSI crosses below the oversold threshold (default: 30), signaling a potential bounce.
Input Parameters
VW RSI Length (default: 14): The period over which the up-volume and down-volume are smoothed to calculate the VW RSI. A longer period results in smoother signals, while a shorter period increases sensitivity.
Overbought Level (default: 70): The threshold above which the VW RSI is considered overbought, indicating a potential reversal or pullback.
Oversold Level (default: 30): The threshold below which the VW RSI is considered oversold, indicating a potential reversal or bounce.
Show Centerline (default: true): Toggles the display of the 50 centerline, which separates bullish and bearish momentum zones.
Show Overbought/Oversold Lines (default: true): Toggles the display of the overbought and oversold threshold lines.
How It Works
Volume Classification:
For each bar, the indicator determines whether the price movement is upward or downward:
If the current close is higher than the previous close, the bar’s volume is classified as up-volume.
If the current close is lower than the previous close, the bar’s volume is classified as down-volume.
If the close is unchanged, both up-volume and down-volume are set to 0 for that bar.
Smoothing:
The up-volume and down-volume are smoothed using a Running Moving Average (RMA) over the specified period (default: 14 bars) to reduce noise and provide a more stable measure of volume momentum.
VW RSI Calculation:
The Volume Relative Strength (VoRS) is calculated as the ratio of smoothed up-volume to smoothed down-volume.
The VW RSI is then computed using the standard RSI formula, but with volume data instead of price changes, resulting in a value between 0 and 100.
Visualization and Alerts:
The VW RSI is plotted with dynamic coloring to reflect its momentum direction, and optional lines are drawn for the centerline and overbought/oversold levels.
Background coloring highlights overbought and oversold conditions, and alerts notify the trader of significant crossings.
Usage
Timeframe: The VW RSI can be used on any timeframe, but it is particularly effective on intraday charts (e.g., 1-hour, 4-hour) or daily charts where volume data is reliable. Shorter timeframes may require a shorter length for increased sensitivity, while longer timeframes may benefit from a longer length for smoother signals.
Markets: Best suited for markets with significant and reliable volume data, such as stocks, forex, and cryptocurrencies. It may be less effective in markets with low or inconsistent volume, such as certain futures contracts.
Trading Strategies:
Trend Confirmation:
Use the VW RSI to confirm the direction of a trend. For example, in an uptrend, look for the VW RSI to remain above 50, indicating sustained bullish volume momentum, and consider buying on pullbacks when the VW RSI dips but stays above 50.
In a downtrend, look for the VW RSI to remain below 50, indicating sustained bearish volume momentum, and consider selling on rallies when the VW RSI rises but stays below 50.
Overbought/Oversold Conditions:
When the VW RSI crosses above 70, the market may be overbought, suggesting a potential pullback or reversal. Consider taking profits on long positions or preparing for a short entry, but confirm with price action or other indicators.
When the VW RSI crosses below 30, the market may be oversold, suggesting a potential bounce or reversal. Consider entering long positions or covering shorts, but confirm with additional signals.
Divergences:
Look for divergences between the VW RSI and price to spot potential reversals. For example, if the price makes a higher high but the VW RSI makes a lower high, this bearish divergence may signal an impending downtrend.
Conversely, if the price makes a lower low but the VW RSI makes a higher low, this bullish divergence may signal an impending uptrend.
Momentum Shifts:
A crossover above 50 can signal the start of bullish momentum, making it a potential entry point for long trades.
A crossunder below 50 can signal the start of bearish momentum, making it a potential entry point for short trades or an exit for long positions.
Example
On a 4-hour SOLUSDT chart:
During an uptrend, the VW RSI might rise above 50 and stay there, confirming bullish volume momentum. If it approaches 70, it may indicate overbought conditions, as seen near a price peak of 145.08, suggesting a potential pullback.
During a downtrend, the VW RSI might fall below 50, confirming bearish volume momentum. If it drops below 30 near a price low of 141.82, it may indicate oversold conditions, suggesting a potential bounce, as seen in a slight recovery afterward.
A bullish divergence might occur if the price makes a lower low during the downtrend, but the VW RSI makes a higher low, signaling a potential reversal.
Limitations
Lagging Nature: Like the traditional RSI, the VW RSI is a lagging indicator because it relies on smoothed data (RMA). It may not react quickly to sudden price reversals, potentially missing the start of new trends.
False Signals in Ranging Markets: In choppy or ranging markets, the VW RSI may oscillate around 50, generating frequent crossovers that lead to false signals. Combining it with a trend filter (e.g., ADX) can help mitigate this.
Volume Data Dependency: The VW RSI relies on accurate volume data, which may be inconsistent or unavailable in some markets (e.g., certain forex pairs or futures contracts). In such cases, the indicator’s effectiveness may be reduced.
Overbought/Oversold in Strong Trends: During strong trends, the VW RSI can remain in overbought or oversold territory for extended periods, leading to premature exit signals. Use additional confirmation to avoid exiting too early.
Potential Improvements
Smoothing Options: Add options to use different smoothing methods (e.g., EMA, SMA) instead of RMA for the up/down volume calculations, allowing users to adjust the indicator’s responsiveness.
Divergence Detection: Include logic to detect and plot bullish/bearish divergences between the VW RSI and price, providing visual cues for potential reversals.
Customizable Colors: Allow users to customize the colors of the VW RSI line, centerline, overbought/oversold lines, and background shading.
Trend Filter: Integrate a trend strength filter (e.g., ADX > 25) to ensure signals are generated only during strong trends, reducing false signals in ranging markets.
The Volume Weighted RSI (VW RSI) is a powerful tool for traders seeking to incorporate volume into their momentum analysis, offering a unique perspective on market dynamics by emphasizing price movements backed by significant trading activity. It is best used in conjunction with other indicators and price action analysis to confirm signals and improve trading decisions.