Volume & Trend Confluence OscillatorVolume & Trend Confluence Oscillator (VTCO)
Overview:
The Volume & Trend Confluence Oscillator (VTCO) is a technical analysis tool designed to help traders assess market conditions by integrating volume analysis, momentum, and trend direction into a single oscillator. This indicator provides traders with additional confirmation when evaluating potential trade entries and exits.
Key Features:
Volume Analysis: Calculates a Z-score to detect unusual trading activity.
Momentum Measurement: Evaluates the rate of price change to gauge market velocity.
Trend Confirmation: Utilizes an Exponential Moving Average (EMA) to assess overall market direction.
Signal Filtering: Incorporates minimum movement thresholds and a confirmation period to reduce false signals.
Visual Enhancements: Background shading indicates trend direction, and buy/sell markers highlight key signals.
How It Works:
The VTCO applies a volume multiplier to momentum readings when volume activity significantly deviates from its historical norm. Additionally, it prioritizes momentum moves that align with the prevailing market trend. A smoothing mechanism refines the oscillator’s signal line, ensuring a more stable and actionable output. The indicator generates alerts when key conditions are met, assisting traders in identifying potential trend shifts.
Signal Generation:
Buy Signal: Triggered when the oscillator crosses above zero after an oversold condition, ideally within an uptrend.
Sell Signal: Triggered when the oscillator crosses below zero after an overbought condition, ideally within a downtrend.
Alerts: Configurable alerts notify traders when key market conditions are met.
Usage Considerations:
Works effectively across various timeframes but may provide more reliable signals on higher timeframes.
Best utilized in conjunction with additional technical indicators and risk management strategies.
No indicator guarantees future performance; proper analysis and trade management remain essential.
Disclaimer:
This indicator is provided for educational purposes only and should not be considered financial advice. Trading involves risk, and past performance is not indicative of future results. Always conduct independent analysis before making trading decisions.
Oscillators
Reversal rehersal v1This indicator was designed to identify potential market reversal zones using a combination of RSI thresholds (shooting range/falling range), candlestick patterns, and Fair Value Gaps (FVGs). By combining all these elements into one indicator, it allow for outputting high probability buy/sell signals for use by scalpers on low timeframes like 1-15 mins, for quick but small profits.
Note: that this has been mainly tested on DE40 index on the 1 min timeframe, and need to be adjusted to whichever timeframe and symbol you intend to use. Refer to the backtester feature for checking if this indicator may work for you.
The indicator use RSI ranges from two timeframes to highlight where momentum is building up. During these areas, it will look for certain candlestick patterns (Sweeps as the primary one) and check for existance of fair value gaps to further enhance the hitrate of the signal.
The logic for FVG detection was based on ©pmk07's work with MTF FVG tiny indicator. Several major changes was implemented though and incorporated into this indicator. Among these are:
Automatically adjustments of FVG boxes when mitigated partially and options to extend/cull boxes for performance and clarity.
Backtesting Table (Experimental):
This indicator also features an optional simplified table to review historical theoretical performance of signals, including win rate, profit/loss, and trade statistics. This does not take commision or slippage into consideration.
Usage Notes:
Setup:
1. Add the indicator to your chart.
2. Decide if you want to use Long or Short (or both).
3. If you're scalping on ie. 1 min time frame, make sure to set FVG's to higher timeframes (ie. 5, 15, 60).
4. Enable the 'Show backtest results' and adjust the 'Signals' og 'Take profit' and 'Stop loss' values until you are satisfied with the results.
Use:
1. Setup an alert based on either of the 'BullishShooting range' or 'BearishFalling range' alerts. This will draw your attention to watch for the possible setups.
2. Verify if there's a significant imbalance prior to the signal before taking the trade. Otherwise this may invalidate the setup.
3. Once a signal is shown on the graph (either Green arrow up for buys/Red arrow down for sells) - you should enter a trade with the given 'Take profit' and 'Stop loss' values.
4. (optional) Setup an alert for either the Strong/Weak signals. Which corresponds to when one of the arrows are printed.
Important: This is the way I use it myself, but use at own risk and remember to combine with other indicators for further confluence. Remember this is no crystal ball and I do not guarantee profitable results. The indicator merely show signals with high probability setups for scalping.
Scalper Strategy 15M V3This script combines two popular indicators, MACD and RSI, to provide more accurate trading signals. Additionally, it displays Support & Resistance levels based on the last 50 candles, helping traders identify potential price reversal areas.
Intraday & Swing traders looking to optimize their entry & exit points
TradingView users seeking stronger confirmation in trading signals.
Traders who incorporate support & resistance into their strategies.
How to Use:
1. Adjust the MACD & RSI parameters to match your strategy.
2. Use Support & Resistance levels to spot potential price reversals.
3. Watch for Buy/Sell signals appearing on the chart.
Always use proper risk management. No strategy is perfect, so backtest before using it on a live account.
PRIME RSIThe "PRIME RSI" is a custom variation of the traditional RSI (Relative Strength Index) that offers enhanced flexibility and precision. This indicator provides an adaptable approach for tracking market conditions across different timeframes, making it an ideal tool for both short-term and long-term traders.
Key Features:
Custom Timeframe Selection: Users can select any timeframe to calculate the RSI, providing the ability to analyze data beyond the current chart's timeframe.
Smoothing Methods: Choose between Exponential Moving Average (EMA), Simple Moving Average (SMA), or the Relative Moving Average (RMA) for smoother, more accurate RSI values.
Signal Line: The signal line is smoothed using the selected method and visualized with dynamic coloring to indicate bullish (green) or bearish (red) market conditions.
Overbought/Oversold Levels: Clear levels at 70 (overbought) and 30 (oversold), with fill zones to highlight extreme market conditions, helping traders spot potential reversal points.
Midline at 50: The centerline at 50 serves as a neutral zone, allowing traders to identify shifts in market momentum quickly.
Practical Use:
Trend Confirmation: Use the PRIME RSI to confirm the prevailing market trend, with signals above 50 suggesting bullish momentum and signals below 50 indicating bearish trends.
Overbought/Oversold Conditions: The indicator’s overbought and oversold regions help pinpoint potential market reversals, giving traders valuable entry and exit signals.
Ideal For: All types of traders who want a more flexible and customizable RSI for better trend analysis, especially those working with smaller timeframes or seeking a more responsive momentum indicator.
HTC peppermint_07 CCI w signal + s&r RSI
This CCI version enhances the traditional Commodity Channel Index (CCI) by integrating a dynamically calculated Relative Strength Index (RSI) that acts as support and resistance as shown in the screenshot, it can add as a confirmation to the divergence found in the CCI.
Key Features:
Enhanced CCI: The primary plot (black line but customizable) represents the standard CCI, providing insight into price momentum and potential overbought/oversold conditions.
Dynamic RSI Support/Resistance: The upper and lower bands (medium cyan line) are derived from a smoothed RSI, dynamically adjusting to the current market volatility. These bands serve as potential support and resistance levels for the CCI as additional confirmation for the divergence.
Overbought/Oversold Zones: The traditional overbought (+100) and oversold (-100) levels for CCI are marked with horizontal dotted lines.
Benefits:
Improved Entry/Exit Signals: Combining CCI with dynamic RSI support/resistance may offer more precise trading signals compared to using CCI alone.
Dynamic Adaptation: The RSI-based bands adapt to changing market conditions, potentially providing more relevant support and resistance levels.
Divergence Confirmation: dynamic s&r RSI adds confluence to potential trend reversals identified by the CCI.
Potential Usage:
Traders might use this indicator to:
Identify potential overbought/oversold conditions using the CCI and its relationship to the dynamic RSI bands.
Look for breakouts beyond the dynamic support/resistance levels as potential entry points.
Confirm potential trend reversals using RSI divergence (cyan and red label above divergence) signals.
Further Development Considerations:
Customizable Parameters: Allowing users to adjust the CCI length, RSI periods, and smoothing factors would enhance flexibility.
Alert Conditions: Adding alerts for breakouts, overbought/oversold conditions, and divergence signals would improve usability.
Backtesting: Thoroughly backtesting the indicator's performance across different assets and timeframes is essential before using it for live trading.
DISCLAIMER: !!
indicator is a custom technical analysis tool designed for educational and informational purposes only. It should not be construed as financial advice or a recommendation to buy or sell any security. Trading involves substantial risk of loss and may not be suitable for all investors.
Key Points to Consider:
No Guarantee of Profitability: The indicator's past performance is not indicative of future results. No trading strategy can guarantee profits or eliminate the risk of losses. You could lose some or all of your investment.
Use at Your Own Risk: Use of this indicator is solely at your own discretion and risk. You are responsible for your trading decisions. The developers and distributors of this indicator are not liable for any losses incurred as a result of using it.
Not Financial Advice: This indicator does not provide financial advice. Consult with a qualified financial advisor before making any investment decisions.
Backtesting Limitations: Backtested results, if presented, should be viewed with caution. Past performance may not reflect future results due to various factors, including changing market conditions and the limitations of backtesting methodologies.
Indicator Limitations: Technical indicators, including this one, are not perfect. They can generate false signals, and their effectiveness can vary depending on market conditions and the specific parameters used.
Parameter Optimization: Optimizing indicator parameters for past performance can lead to overfitting, which may not translate to future profitability.
No Warranty: The indicator is provided "as is" without any warranty of any kind, either express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.
Changes and Updates: The developers may make changes or updates to the indicator without notice.
By using the "HTC peppermint_07 CCI w signal + s&r RSI" indicator, you acknowledge and agree to the terms of this disclaimer. If you do not agree with these terms, do not use the indicator.
Alienseeker GC and RSI StrategyDescription:
The Alienseeker GC and RSI Strategy is a technical trading strategy that combines the Gaussian Channel (GC) and Stochastic RSI indicators to identify potential entry and exit points in the market. The strategy is designed to work on any timeframe and is suitable for traders looking for a systematic approach to trading.
Key Features:
Gaussian Channel (GC):
The Gaussian Channel is calculated using an Exponential Moving Average (EMA) as the basis and a standard deviation multiplier to create upper and lower channels.
The upper channel acts as a dynamic resistance level, while the lower channel acts as a dynamic support level.
Stochastic RSI:
The Stochastic RSI is used to identify overbought and oversold conditions.
It smooths the RSI values and generates %K and %D lines, which help confirm potential reversals.
Trading Logic:
A long position is entered when the price crosses below the lower Gaussian Channel and the Stochastic RSI %K line crosses above the %D line (indicating a potential reversal).
The position is closed when the price crosses above the upper Gaussian Channel.
Date Range Filter:
The strategy includes a customizable date range filter, allowing users to backtest or trade the strategy within a specific time period.
Input Parameters:
Gaussian Channel Length: Length of the EMA used for the Gaussian Channel.
Standard Deviation Multiplier: Multiplier applied to the standard deviation for the Gaussian Channel.
RSI Length: Length of the RSI calculation.
Stochastic Length: Length of the Stochastic RSI calculation.
Smooth K and D: Smoothing periods for the %K and %D lines of the Stochastic RSI.
Start Date and End Date: Customizable date range for the strategy.
Disclaimer:
This strategy is for educational and informational purposes only. Past performance is not indicative of future results. Always conduct your own research and backtesting before using any strategy in live trading.
Multi-Indicator [ADX, MACD, Stoch, OBV] alamis custom multi-indicator combines several popular technical analysis tools in one view:
- ADX (Average Directional Index): Measures trend strength
- MACD (Moving Average Convergence Divergence): Shows momentum and trend changes
- Stochastic: Identifies overbought/oversold conditions
- OBV (On Balance Volume): Volume-based momentum indicator
Features:
- All indicators are normalized to the same scale for easy comparison
- Color-coded lines for clear visualization
- Reference lines for better readability
- Optimized scaling for each indicator
Settings:
ADX Length: 14
MACD: (12, 26, 9)
Stochastic: (14, 3, 3)
Lines:
Blue: ADX
Green: MACD Line
Red: MACD Signal
Orange: Stochastic K
Purple: Stochastic D
Yellow: Scaled OBV
Version: PineScript™ v6
Bottom FishingThe Bottom Fishing Indicator is a technical analysis tool that integrates RSI (Relative Strength Index), CCI (Commodity Channel Index), and MFI (Money Flow Index) to detect potential market bottoming opportunities. It calculates the oversold accumulation value of these indicators and marks buy signals when specific thresholds are met.
This indicator supports multi-timeframe (MTF) analysis, allowing users to track oversold conditions on higher timeframes such as daily or weekly charts.
Calculation Logic
(1) RSI Calculation
The Relative Strength Index (RSI) measures the strength of price movement by comparing recent gains and losses over a defined period. If the RSI value drops below 30, it indicates that the asset is oversold, meaning that selling pressure has been dominant and a potential rebound might occur. When this condition is met, the difference between 30 and the RSI value is added to the accumulation sum.
(2) CCI Calculation
The Commodity Channel Index (CCI) compares the current price level to its moving average over a specific period. If the CCI value falls below -100, it suggests that the asset is experiencing significant downward pressure. The difference between -100 and the actual CCI value is recorded and accumulated over time to gauge the intensity of the oversold condition.
(3) MFI Calculation
The Money Flow Index (MFI) evaluates price movements in relation to volume to determine buying and selling pressure. When the MFI drops below 20, it signals that the market is experiencing excessive selling pressure. The difference between 20 and the MFI value is added to the accumulation sum to track the degree of the oversold condition.
(4) Oversold Accumulation Calculation
Each time the selected indicator (RSI, CCI, or MFI) enters an oversold state, the corresponding difference is added to an ongoing sum. If the indicator exits the oversold zone, the accumulation sum resets to zero. Once the accumulation sum reaches or exceeds the defined threshold, the indicator marks a buy signal on the chart, indicating a potential bottom.
Multi-Timeframe (MTF) Calculation
Uses request.security() to fetch higher timeframe data (e.g., Daily, Weekly).
RSI, CCI, and MFI are recalculated on the selected timeframe.
The same oversold accumulation logic is applied to detect long-term buy opportunities.
The MTF accumulation line is plotted to visualize oversold conditions on higher timeframes.
Chart Display
(1) Indicator Lines
✅ Accumulation Value Line
Value Sum Line (Aqua color): Represents the oversold accumulation sum in the current timeframe.
MTF Value Sum Line (Orange color): Represents the oversold accumulation sum in the selected multi-timeframe.
✅ Divergence Signal Markers
If accumulation exceeds the threshold, a "Goal" marker is plotted above the candle, signaling a potential bottom.
Use Cases
🔹 Short-term Trading: Ideal for scalping and intraday trading, detecting potential reversals when RSI, CCI, or MFI enters the oversold zone.
🔹 Trend Reversal Trading: Works best with multi-timeframe confirmation, where a higher timeframe also signals an oversold condition.
🔹 Combining with Other Indicators: Can be used alongside moving averages, MACD, Bollinger Bands for higher accuracy.
LNYLRAThis indicator is designed to enhance your technical analysis by combining multiple popular tools into one comprehensive system. It integrates:
Supertrend: A trend-following indicator that helps identify market direction, with customizable ATR (Average True Range) settings and a multiplier for flexibility. It provides clear buy (green) and sell (red) signals based on market trends.
William Fractals: These are used to detect significant market turning points, with both Fractal Up and Fractal Down signals that mark key support and resistance levels.
Awesome Oscillator (AO): A momentum indicator that highlights the strength of market trends. It is calculated as the difference between two moving averages of the median price and is used to confirm trend direction.
RSI (Relative Strength Index): A widely-used momentum oscillator that helps identify overbought or oversold market conditions. This can be customized with user-defined thresholds to suit various trading strategies.
Stochastic Oscillator: Another momentum tool that compares a particular closing price to a range of its prices over time. It includes both %K and %D lines to help identify potential buy or sell signals based on overbought or oversold conditions.
Previous Day High and Low: Tracks the high and low of the previous daily candle, with breakout signals indicating potential market movements when price breaks above or below these levels.
This combined system allows traders to have a more comprehensive view of the market, offering clear signals for potential buy or sell opportunities based on trend direction, fractals, and momentum indicators.
Refined Support/Resistance with EMA and Zones9 EMA 15 EMA Support resistance zone tefsfab fadada staffs Arafat a acadada a facade afffava. Affable adds a
TDI 7 MA and HISTOGRAMTDI %K Histogram with 7 MA
Overview
This indicator enhances trend and momentum analysis using the %K line from the Traders Dynamic Index (TDI), combined with a 7-period moving average (MA) and a histogram.
How It Works
The script calculates %K (similar to Stochastic RSI), representing the relative price position within a given range.
A 7-period Simple Moving Average (SMA) is applied to smooth the %K line, reducing noise and improving trend clarity.
A histogram is plotted based on the difference between %K and the 7-period MA:
Green bars indicate that %K is above the 7-period MA, suggesting bullish momentum.
Red bars indicate that %K is below the 7-period MA, suggesting bearish momentum.
Key Features
-%K Line (Blue) – Reflects short-term momentum shifts.
-7-period MA (Purple) – Helps smooth out fluctuations in %K for better trend identification.
-Histogram (Green/Red Columns) – Highlights momentum shifts visually.
Overbought (68), Midpoint (50), and Oversold (32) Levels – Provides reference points for potential reversals or trend continuation.
How to Use
Bullish Confirmation: When the histogram turns green and %K is above the 7 MA, it suggests upward momentum.
Bearish Confirmation: When the histogram turns red and %K is below the 7 MA, it suggests downward momentum.
Overbought/Oversold Conditions: Use the 68 and 32 levels as potential reversal zones, but always confirm with price action.
Midpoint (50 Level): Acts as a dynamic support/resistance area for momentum shifts.
This indicator is suitable for trend-following and momentum-based trading strategies, whether on lower timeframes for scalping or higher timeframes for swing trading.
Try it out and integrate it with your trading system to refine your entries and exits!
Simple MA Crossover StrategyKey Features
Simple and Clean:
The script avoids complex conditions and focuses on a straightforward moving average crossover strategy.
Customizable Inputs:
You can adjust the lengths of the moving averages and RSI settings in the inputs.
Error-Free:
The script is designed to compile and run without errors.
How to Use
Copy and paste the script into TradingView's Pine Script editor.
Save the script and add it to your chart.
Adjust the input parameters (e.g., moving average lengths, RSI levels) as needed.
The script will plot buy/sell signals on the chart based on the strategy.
Example Inputs
Price Action Indicator (HarryDPotter)The "Enhanced Price Action Indicator" combines key technical analysis tools to identify high-probability trade entries in the crypto market. It integrates "price action" patterns (like bullish and bearish engulfing or pin bars) with trend confirmation from "EMA crossovers" and "ADX" for market strength. The indicator plots clear "long" and "short" signals based on these factors, with visual support and resistance levels, dynamic trendlines, and EMAs, helping traders make informed decisions during trending markets.
Refined Trend and Consolidation with MACD, RSI, OBV, and VolumeWe are implementing a trend analysis system using multiple technical indicators to determine the market state. We calculate two Simple Moving Averages (SMA 9 and SMA 21), the Relative Strength Index (RSI), the On-Balance Volume (OBV), and the MACD. Based on these indicators, we classify the market into three states: uptrend, downtrend, or consolidation. The script then changes the background color of the chart to visually represent the current market state: green for uptrend, red for downtrend, and yellow for consolidation. The transparency of the background is adjusted for a clear view of the price action.
The uptrend is identified when the short-term SMA (SMA 9) is above the long-term SMA (SMA 21), RSI is above 55 (indicating strong bullish momentum), OBV is rising, MACD line is above the signal line and zero, and volume is higher than the average.
The downtrend is recognized when the short-term SMA is below the long-term SMA, RSI is below 45 (indicating bearish momentum), OBV is falling, MACD line is below the signal line and zero, and volume exceeds the average.
Consolidation occurs when none of the uptrend or downtrend conditions are met, indicating range-bound movement. This is signified by the SMAs being close to each other, RSI near 50, OBV flat, MACD oscillating around zero, and volume either below average or neutral.
This provides a clear, visual representation of the market's current state by dynamically changing the chart's background color. The uptrend is shown with a green background, indicating a strong bullish market, while the downtrend is represented with a red background, signaling a bearish market. A yellow background marks consolidation, suggesting a period of sideways or range-bound movement with no clear direction. By using a combination of SMAs, RSI, OBV, MACD, and volume, the script helps traders quickly identify the prevailing market conditions, allowing them to make more informed decisions based on current trends and potential consolidations.
EMA+SMA+RSI AND SUPERTREND BY MANDALORIANThis indicator contains EMA/SMA/SUPERTREND/RSI. it gives more freedom to traders to make more conclusive decison on their trades. Its very easy to use and apply. user can also hide the features which they dont wants to use and keep only desirable features of indicator on screen.Traders should exercise their own experience and judgement in their trades and dont solely depend on indicators to be profitable. Happy to help.
IFR2 e Cruzamento de Média v1.4 podendo selecionar uma.Strategy for IFR2 and Moving Average crossovers
Strategy for backtesting IFR2 or moving average crossovers
At the exit of the trade, a box appears stating: the reason for the exit:
Green for Take Profit (TP)
Red for Stop Loss (ST)
BLUE for the number of IFR2 candles reached (CD)
PURPLE for Crossing Averages (CZ)
in this box you can also enter the number of tkts and the percentage of the trade taken and the trade number TR = XX
For IFR trades, you can select the IFR2 PERIOD and level and the number of candles to close the trade if it is not closed by TP or LOSS.
When you select the moving average crossover entry, you can choose the period of the fast average and the slow average, in both cases you can select a mm as a filter for the trade entry and the period of this mm.
You can also choose a percentage for TAke Profit and Sop Loss.
We can also select a date to start the Back Test and an end date.
Translated with www.DeepL.com (free version)
Explicação em português:
Estratégia para IFR2 e cruzamento de Media Movel
Estratégia para backTest de IFR2 ou Cruzamento da média Movel
Na saída da operação mostra uma caixa informando: o motivo da saída:
Verde para Take Profit (TP)
Vermelho para Stop Loss (ST)
AZUL para número de candles atingido IFR2 (CD)
Roxo para Cruzamento de Médias (CZ)
nesta caixa ainda informa o numero de tkts e o porcentual da operação realizada e o numero do trade TR = XX
Nas operações por IFR podemos selecionar o PERIODO do e o nivel do IFR2 e a quantidade de candles para fechar a operação se não for fechado por TP ou LOSS.
Quando selecionado a entrada por cruzamento de media movel, podemos escolher o período da media rápida e da média lenta, em ambos os casos podemos selecionar uma mm como filtro para entrada da operação e o período desta mm.
Podemos ainda escolher um porcentual para TAke Profit e Sop Loss.
E ainda selecionar uma data para iniciar o Back Test e uma data final.
Statistical Arbitrage Pairs Trading - Long-Side OnlyThis strategy implements a simplified statistical arbitrage (" stat arb ") approach focused on mean reversion between two correlated instruments. It identifies opportunities where the spread between their normalized price series (Z-scores) deviates significantly from historical norms, then executes long-only trades anticipating reversion to the mean.
Key Mechanics:
1. Spread Calculation: The strategy computes Z-scores for both instruments to normalize price movements, then tracks the spread between these Z-scores.
2. Modified Z-Score: Uses a robust measure combining the median and Median Absolute Deviation (MAD) to reduce outlier sensitivity.
3. Entry Signal: A long position is triggered when the spread’s modified Z-score falls below a user-defined threshold (e.g., -1.0), indicating extreme undervaluation of the main instrument relative to its pair.
4. Exit Signal: The position closes automatically when the spread reverts to its historical mean (Z-score ≥ 0).
Risk management:
Trades are sized as a percentage of equity (default: 10%).
Includes commissions and slippage for realistic backtesting.
RSI & RSI-MA Buy-Sell IndicatorThe RSI & RSI-MA Buy-Sell Indicator is a technical analysis tool designed to identify potential trading opportunities based on the Relative Strength Index (RSI) and its moving average (RSI-MA). The indicator provides clear buy and sell signals when specific conditions are met, helping traders make informed decisions.
How It Works
This indicator is based on two main components:
Relative Strength Index (RSI): Measures the strength and momentum of price movements.
RSI Moving Average (RSI-MA): A simple moving average of RSI values, used to smooth out volatility and confirm trends.
Trading Signals:
A buy signal occurs when the RSI crosses above 70 after previously being below 30, and the RSI-MA is above a predefined threshold.
A sell signal is generated when the RSI crosses below 30 after previously being above 70, and the RSI-MA is below the threshold.
Visual labels for "BUY" and "SELL" appear on the RSI chart rather than the price chart, making it easier to interpret the signals.
Alerts can be set to notify traders when a buy or sell condition is met.
Benefits of the Indicator
Clear Trading Signals: The indicator removes subjectivity by providing distinct buy and sell signals.
Enhanced Trend Confirmation: RSI-MA helps validate RSI movements, reducing false signals.
Customizable Inputs: Traders can adjust the RSI period, RSI-MA period, and reference level based on their strategy.
Efficient for Momentum Trading: Works well in volatile markets where RSI movements are pronounced.
Compatible with Alerts: Can send notifications when trading conditions are met, allowing traders to act swiftly.
Risks & Limitations
False Signals in Sideways Markets: RSI can generate misleading signals when the market lacks a clear trend.
Lagging Nature of Moving Averages: RSI-MA may cause a delay in signal generation compared to RSI alone.
Market Conditions Dependency: Works best in trending markets but may be unreliable during low volatility.
Not a Standalone Strategy: Should be used in conjunction with other indicators, fundamental analysis, and risk management techniques.
Overbought/Oversold Assumptions: Just because RSI reaches extreme levels doesn’t guarantee a reversal—prices can remain overbought/oversold for extended periods.
Conclusion
The RSI & RSI-MA Buy-Sell Indicator is a powerful tool for identifying momentum shifts and potential trade setups. However, like all technical indicators, it has limitations and should be used alongside other analysis techniques. Traders must implement proper risk management and avoid relying solely on RSI signals for trading decisions. With careful usage, this indicator can help enhance decision-making and improve trade timing in dynamic markets.
Momentum, RSI, and MACD Strategy with Stop Loss//@version=5
strategy("Momentum, RSI, and MACD Strategy with Stop Loss", overlay=true, calc_on_every_tick=true)
// Input for Momentum
length = input(12, title="Momentum Length")
price = close
// Input for RSI
rsiLength = input(14, title="RSI Length")
rsiSource = close
rsiValue = ta.rsi(rsiSource, rsiLength)
// Input for MACD
fast_length = input(12, title="Fast Length")
slow_length = input(26, title="Slow Length")
src = close
signal_length = input.int(9, title="Signal Smoothing")
sma_source = input.string("EMA", title="Oscillator MA Type", options= )
sma_signal = input.string("EMA", title="Signal Line MA Type", options= )
// ATR Inputs and Calculation
atrLength = input.int(title="ATR Length", defval=14, minval=1)
smoothing = input.string(title="ATR Smoothing", defval="RMA", options= )
ma_function(source, length) =>
switch smoothing
"RMA" => ta.rma(source, length)
"SMA" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
=> ta.wma(source, length)
atrValue = ma_function(ta.tr(true), atrLength)
// Calculating Momentum
momentum(seria, length) =>
mom = seria - seria
mom
mom0 = momentum(price, length)
mom1 = momentum(mom0, 1)
// Calculating MACD
fast_ma = sma_source == "SMA" ? ta.sma(src, fast_length) : ta.ema(src, fast_length)
slow_ma = sma_source == "SMA" ? ta.sma(src, slow_length) : ta.ema(src, slow_length)
macd = fast_ma - slow_ma
signal = sma_signal == "SMA" ? ta.sma(macd, signal_length) : ta.ema(macd, signal_length)
hist = macd - signal
// Long Entry Condition
longCondition = mom0 > 0 and mom1 > 0 and rsiValue > 50 and macd > 0
if (longCondition)
strategy.entry("MomRSIMACD Long", strategy.long, stop=high+syminfo.mintick, comment="MomRSIMACD Long")
strategy.exit("Exit Long", from_entry="MomRSIMACD Long", stop=price-15, limit=price+15)
// Short Entry Condition
shortCondition = mom0 < 0 and mom1 < 0 and rsiValue < 50 and macd < 0
if (shortCondition)
strategy.entry("MomRSIMACD Short", strategy.short, stop=low-syminfo.mintick, comment="MomRSIMACD Short")
strategy.exit("Exit Short", from_entry="MomRSIMACD Short", stop=price+15, limit=price-15)
RSI Deviation BY DINVESTORQOverview:
This indicator analyzes the Relative Strength Index (RSI) over 252 days, calculating its mean (average) and standard deviation. Based on this, it sets an upper and lower threshold to determine overbought and oversold conditions.
Additionally, it calculates the correlation between RSI and price using a moving average, helping traders understand if RSI is moving in sync with price trends.
Key Features:
✅ RSI Deviation Bands
Upper Limit = RSI Avg + (2 × SD × 2.5)
Lower Limit = RSI Avg - (2 × SD × 2.5)
✅ Trading Signals:
Sell Signal: RSI crosses above the upper limit
Buy Signal: RSI drops below the lower limit
✅ RSI-Price Correlation Moving Average
Uses 50-day correlation between RSI and price
Helps confirm trend strength
✅ Customizable Parameters
RSI Length (Default: 252 Days)
Correlation Period (Default: 50 Days)
✅ Chart Visuals:
Plots RSI (blue), Upper Band (red), Lower Band (green)
Plots RSI-Price Correlation (orange)
Buy/Sell signals appear on chart
TradingView Indicator: RSI Deviation & Correlation Indicator
Overview:
This indicator analyzes the Relative Strength Index (RSI) over 252 days, calculating its mean (average) and standard deviation. Based on this, it sets an upper and lower threshold to determine overbought and oversold conditions.
Additionally, it calculates the correlation between RSI and price using a moving average, helping traders understand if RSI is moving in sync with price trends.
Key Features:
✅ RSI Deviation Bands
Upper Limit = RSI Avg + (2 × SD × 2.5)
Lower Limit = RSI Avg - (2 × SD × 2.5)
✅ Trading Signals:
Sell Signal: RSI crosses above the upper limit
Buy Signal: RSI drops below the lower limit
✅ RSI-Price Correlation Moving Average
Uses 50-day correlation between RSI and price
Helps confirm trend strength
✅ Customizable Parameters
RSI Length (Default: 252 Days)
Correlation Period (Default: 50 Days)
✅ Chart Visuals:
Plots RSI (blue), Upper Band (red), Lower Band (green)
Plots RSI-Price Correlation (orange)
Buy/Sell signals appear on chart
Pine Script for TradingView:
pinescript
Copy
Edit
//@version=5
indicator("RSI Deviation & Correlation Indicator", overlay=false)
// User Inputs
length = input.int(252, title="RSI Period")
corr_length = input.int(50, title="Correlation Period")
// RSI Calculation
rsi_value = ta.rsi(close, length)
// Calculate Mean and Standard Deviation of RSI
rsi_avg = ta.sma(rsi_value, length)
rsi_sd = ta.stdev(rsi_value, length) * 2.5
// Define Upper and Lower Limits
upper_limit = rsi_avg + (rsi_sd * 2)
lower_limit = rsi_avg - (rsi_sd * 2)
// Buy and Sell Signals
buy_signal = rsi_value < lower_limit
sell_signal = rsi_value > upper_limit
// Correlation Moving Average between RSI and Price
rsi_price_correlation = ta.correlation(rsi_value, close, corr_length)
// Plot RSI with Bands
plot(rsi_value, title="RSI", color=color.blue)
plot(upper_limit, title="Upper Limit", color=color.red, linewidth=2)
plot(lower_limit, title="Lower Limit", color=color.green, linewidth=2)
plot(rsi_avg, title="Average RSI", color=color.gray, linewidth=2)
// Display Buy/Sell Signals on Chart
plotshape(buy_signal, location=location.bottom, color=color.green, style=shape.labelup, title="BUY Signal", size=size.small)
plotshape(sell_signal, location=location.top, color=color.red, style=shape.labeldown, title="SELL Signal", size=size.small)
// Plot Correlation Moving Average
plot(rsi_price_correlation, title="RSI-Price Correlation", color=color.orange, linewidth=2)
// Alerts for Buy/Sell
alertcondition(buy_signal, title="BUY Alert", message="RSI is below the Lower Limit - BUY Signal")
alertcondition(sell_signal, title="SELL Alert", message="RSI is above the Upper Limit - SELL Signal")
How to Use in TradingView:
1️⃣ Open TradingView and go to the Pine Editor
2️⃣ Paste the above Pine Script
3️⃣ Click Add to Chart
4️⃣ Adjust RSI Length and Correlation Period if needed
5️⃣ Buy/Sell alerts will trigger when conditions match
Trading Strategy:
📉 Sell (Short Entry) when RSI crosses above the upper limit
📈 Buy (Long Entry) when RSI drops below the lower limit
📊 Confirm trends with RSI-Price Correlation:
+1 means RSI and price are moving together
-1 means RSI and price are diverging
Final Notes:
Works best on higher timeframes (Daily, Weekly)
Helps filter overbought/oversold false signals
Can be combined with other indicators (MACD, Bollinger Bands, etc.)
Multi Stochastic AlertHello Everyone,
I have created a Multi Stochastic Alert based on Scalping Strategy
The Strategy uses below 4 Stochastic indicator:
1. Stochastic (9,3)
2. Stochastic (14,3)
3. Stochastic (40,4)
4. Stochastic (60,10)
Trade entry become active when all of these goes below 20 or above 80, In this indicator you don't need to use all 4, this will show red and green background whenever all of them goes below 20 or above 80.
As shown in picture below, it works better when script is making a channel, Our indicator shows green or red signal, we wait for RSI Divergence and we enter. We book when blue line (9,3) goes above 80, as shown by arrow, and trail rest at breakeven or your own trailing method
Same Situation shown for Short side. We book 50% when Blue line (9,3) Goes below 20 and trail rest at breakeven or your own trailing method
Happy trading, Let me know if any improvements required.
Stoc + Liq Zon + Buy/Sell Signals [5M/15M] RGUARDADOSV//@version=6
indicator("Stochastic + Liquidity Zones + Buy/Sell Signals ", overlay=true)
// Parámetros del Estocástico
stochLength = input.int(14, title="Stochastic Length")
kSmoothing = input.int(3, title="%K Smoothing")
dSmoothing = input.int(3, title="%D Smoothing")
overbought = input.int(80, title="Overbought Level")
oversold = input.int(20, title="Oversold Level")
// Calcular el Estocástico
k = ta.sma(ta.stoch(close, high, low, stochLength), kSmoothing)
d = ta.sma(k, dSmoothing)
// Condiciones de sobrecompra y sobreventa (Estocástico)
isOverbought = k >= overbought and d >= overbought
isOversold = k <= oversold and d <= oversold
// Identificar puntos de liquidez (soportes y resistencias)
liquidityLookback = input.int(20, title="Liquidity Lookback Period") // Ajusta según la temporalidad
recentHigh = ta.highest(high, liquidityLookback)
recentLow = ta.lowest(low, liquidityLookback)
// Dibujar soportes y resistencias
plot(recentHigh, color=color.new(color.red, 50), linewidth=2, title="Resistencia")
plot(recentLow, color=color.new(color.green, 50), linewidth=2, title="Soporte")
// Señales de compra y venta
buySignal = isOversold and close <= recentLow * 1.005 // Cerca de soporte y Estocástico en sobreventa
sellSignal = isOverbought and close >= recentHigh * 0.995 // Cerca de resistencia y Estocástico en sobrecompra
// Dibujar señales en el gráfico
plotshape(series=buySignal, location=location.belowbar, color=color.new(color.green, 0), style=shape.labelup, text="BUY", size=size.small)
plotshape(series=sellSignal, location=location.abovebar, color=color.new(color.red, 0), style=shape.labeldown, text="SELL", size=size.small)
// Alertas para señales de compra y venta
alertcondition(buySignal, title="Buy Signal Alert", message="Buy Signal Detected!")
alertcondition(sellSignal, title="Sell Signal Alert", message="Sell Signal Detected!")
======================================================================
Qué Hace el Código
Estocástico:
Identifica condiciones de sobrecompra (Estocástico ≥ 80) y sobreventa (Estocástico ≤ 20).
Utiliza las líneas %K y %D para confirmar las señales.
Puntos de Liquidez:
Identifica niveles clave de soporte (mínimos recientes) y resistencia (máximos recientes).
Dibuja líneas horizontales en estos niveles.
Señales de Compra y Venta:
Compra (BUY): Cuando el Estocástico está en sobreventa y el precio está cerca de un soporte.
Venta (SELL): Cuando el Estocástico está en sobrecompra y el precio está cerca de una resistencia.
Visualización:
Las señales se muestran en el gráfico con etiquetas "BUY" (verde) y "SELL" (roja).
Alertas:
Genera alertas cuando se detectan señales de compra o venta.
Cómo Usar el Script
Señales de Compra (BUY):
Aparece cuando el Estocástico está en sobreventa (≤ 20) y el precio está cerca de un soporte.
Es una señal para considerar una posición larga.
Señales de Venta (SELL):
Aparece cuando el Estocástico está en sobrecompra (≥ 80) y el precio está cerca de una resistencia.
Es una señal para considerar una posición corta.
Stop-loss y Take-profit:
Para BUY: Coloca el stop-loss por debajo del soporte y el take-profit en el siguiente nivel de resistencia.
Para SELL: Coloca el stop-loss por encima de la resistencia y el take-profit en el siguiente nivel de soporte.
Ejemplo de Uso
En un gráfico de 5 minutos:
Si aparece una señal "BUY", es una oportunidad para entrar en largo.
Si aparece una señal "SELL", es una oportunidad para entrar en corto.
En un gráfico de 15 minutos:
Las señales son menos frecuentes pero más confiables. Espera confirmación adicional (por ejemplo, un patrón de velas o un rompimiento de nivel).