RSI in pane and 3 EMAs on chartCustom indicator that displays RSI divergence along with bollinger bands on RSI and custom MA
Oscillatori
Impulse MACD + OBVOSC StrategyCombining Lazybear's impulse MACD and obvosc strategy, after observing the macd golden cross, then buy when obvosc crosses the 0-axis or is already above the 0-axis
and sell when the macd is dead.
[SM-042] EMA 5-8-13 with ADX FilterWhat is the strategy?
The strategy combines three exponential moving averages (EMAs) — 5, 8, and 13 periods — with an optional ADX (Average Directional Index) filter. It is designed to enter long or short positions based on EMA crossovers and to exit positions when the price crosses a specific EMA. The ADX filter, if enabled, adds a condition that only allows trades when the ADX value is above a certain threshold, indicating trend strength.
Who is it for?
This strategy is for traders leveraging EMAs and trend strength indicators to make trade decisions. It can be used by anyone looking for a simple trend-following strategy, with the flexibility to adjust for trend strength using the ADX filter.
When is it used?
- **Long trades**: When the 5-period EMA crosses above the 8-period EMA, with an optional ADX condition (if enabled) that requires the ADX value to be above a specified threshold.
- **Short trades**: When the 5-period EMA crosses below the 8-period EMA, with the ADX filter again optional.
- **Exits**: The strategy exits a long position when the price falls below the 13-period EMA and exits a short position when the price rises above the 13-period EMA.
Where is it applied?
This strategy is applied on a chart with any asset on TradingView, with the EMAs and ADX plotted for visual reference. The strategy uses `strategy.entry` to open positions and `strategy.close` to close them based on the set conditions.
Why is it useful?
This strategy helps traders identify trending conditions and filter out potential false signals by using both EMAs (to capture short-term price movements) and the ADX (to confirm the strength of the trend). The ADX filter can be turned off if not desired, making the strategy flexible for both trending and range-bound markets.
How does it work?
- **EMA Crossover**: The strategy enters a long position when the 5-period EMA crosses above the 8-period EMA, and enters a short position when the 5-period EMA crosses below the 8-period EMA.
- **ADX Filter**: If enabled, the strategy checks whether the ADX value is above a set threshold (default is 20) before allowing a trade.
- **Exit Conditions**: Long positions are closed when the price falls below the 13-period EMA, and short positions are closed when the price rises above the 13-period EMA.
- **Plotting**: The strategy plots the three EMAs and the ADX value on the chart for visualization. It also displays a horizontal line at the ADX threshold.
This setup allows for clear decision-making based on the interaction between different time-frame EMAs and trend strength as indicated by ADX.
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.
CCI MR-TDescription:
This advanced indicator enhances the traditional Commodity Channel Index (CCI) by integrating two powerful tools:
🔹 CCI: Measures momentum and identifies overbought (>100) and oversold (<-100) conditions based on the hlc3 price source.
🔹 WMA (Weighted Moving Average): Smooths the CCI line using a 14-period WMA for clearer trend direction.
🔹 Bollinger Bands on CCI: Applies a 20-period SMA with ±2 standard deviations to visualize CCI volatility and potential reversal zones.
Visual Highlights:
Background turns red when CCI > 100 (overbought), green when < -100 (oversold).
Orange line = 14-period WMA of CCI
Purple lines = Bollinger Band upper/lower bounds on CCI
This combination helps traders confirm momentum strength, spot extreme moves, and avoid false signals during sideways markets.
Use this tool in conjunction with price action, trendlines, or volume for best results.
Stochastic RSI - PhilStochastic RSI (StochRSI) is a technical analysis indicator used to support stock market prediction by comparing a security's price range and closing price. StochRSI fulfills a unique role in that it concentrates on market momentum and succeeds at providing readings for overbought and oversold market conditions.
SHORT_TRADING📈 EMA34 (Exponential Moving Average - 34 Period)
EMA34 is a technical analysis indicator that calculates the average price of an asset over the past 34 periods, giving more weight to recent prices. This makes it more responsive to recent price changes compared to a simple moving average.
🔍 Key Features:
Period: 34 candles (can be minutes, hours, days, depending on the chart timeframe)
Type: Exponential (faster reaction to price movements)
Purpose: Helps identify the current trend direction and potential support/resistance levels
📊 How Traders Use EMA34:
Trend Identification:
Price above EMA34 → uptrend
Price below EMA34 → downtrend
Dynamic Support/Resistance:
During uptrends, EMA34 often acts as a support
During downtrends, it acts as resistance
Entry/Exit Signals:
Crossovers with other EMAs (like EMA13 or EMA200) can signal potential trade setups
🧠 Common Pairing:
EMA34 is often used with shorter EMAs like EMA13 or longer ones like EMA55/EMA200 to create a moving average ribbon or crossover strategy.
50-Line Oscillator // (\_/)
// ( •.•)
// (")_(")
25-Line Oscillator
Description:
The 25-Line Oscillator is a sophisticated technical analysis tool designed to visualize market trends through the use of multiple Simple Moving Averages (SMAs). This indicator computes a series of 26 SMAs, incrementally increasing the base length, providing traders with a comprehensive view of price dynamics.
Features:
Customizable Base Length: Adjust the base length of the SMAs according to trading preferences, enhancing versatility for different market conditions.
Rainbow Effect: The indicator employs a visually appealing rainbow color scheme to differentiate between the various trend lines, making it easy to identify crossovers and momentum shifts.
Crossovers Detection: The script includes logic to detect crossover events between consecutive trend lines, which can serve as signals for potential entry or exit points in trading.
Clear Visualization: Suitable for both novice and seasoned traders, the plots enable quick interpretation of trends and market behavior.
How to Use:
Add the indicator to your chart and customize the base length as desired.
Observe the rainbow-colored lines for trend direction.
Look for crossover events between the SMAs as potential trading signals.
Application: This indicator is particularly useful for swing traders and trend followers who aim to capitalize on market momentum and identify reversals. By monitoring the behavior of multiple SMAs, traders can gain insights into the strength and direction of price movements over various time frames.
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.
Double RSI OscillatorThe Double RSI Oscillator
Hello Gs,
I came back from the dead and tried to see what a little tweak to RSI could do, and I think it is quite interesting and might be worth checking out.
Warning:
This indicator has lots of false signals unfortunatly
How does the DRSI Oscillator work?
Very simple, the DRSI oscillator at the very base is just 2 RSIs that should smooth each other out, making a smoother trend signal generation for trend analysis. One RSI is set to have lower values, by considering the lowest point of the price, and one RSI is set to have higher values using pretty much the same thing. The trend changes from positive to negative if RSI with higher values crosses negative treshhold, and from negative to positive if RSI with lower value crosses positive treshhold. On top of this I added some additional settings to smooth or speed it further, if these were a good idea, I guess only time will tell :D.
Settings
Here is a guide of what setting changes what and how it might be suitable for you:
RSI Optimism length: length of the RSI with higher values (higher values will be better for longer term, lower for medium term)
RSI Pesimism length: length of the RSI with lower values (higher values will be better for longer term, lower for medium term)
Positive treshhold: The value RSI pesimism needs to pass in order to change trends (in case of using RSI avg. the value the average needs to pass), making this higher can give you faster signals, but expect more false ones
Negative treshholds: The value RSI optimism needs to pass in order to change trends (in case of using RSI avg. the value the average needs to pass), lowering this can give you faster signals, but expect more false ones
Smoothing type: Select the type of smoothing (or none) to smooth your signals as you want, this one you need to play around with.
Smoothing length: The length of your smoothing method (if none is selected it wont change anything)
Use RSI average instead: self-explanatory, go figure
Above/Below Mean Trend: Changes the way trend logic works
Why consider using this indicator?
The DRSI Oscillator is a tool that has huge flexibility (due to tons of settings that base RSI doesnt, like trend treshholds), and is smoother allowing traders and investors to get high quality or high speed signals, allowing great entries and exits
Z SMMA | QuantEdgeB📈 Introducing Z-Score SMMA (Z SMMA) by QuantEdgeB
🛠️ Overview
Z SMMA is a momentum-driven oscillator designed to track the standardized deviation of a Smoothed Moving Average (SMMA). By applying Z-score normalization, this tool dynamically adapts to price volatility, enabling traders to detect meaningful directional shifts and trend changes with enhanced clarity.
It serves both as a trend-following and mean-reversion system, identifying opportunities through standardized thresholds while remaining robust across volatile and calm market conditions.
✨ Key Features
🔹 Z-Score Normalization Engine
Applies Z-score to a custom SMMA baseline, allowing traders to compare price action relative to its recent volatility-adjusted mean.
🔹 Dynamic Trend Detection
Generates actionable long/short signals based on customizable Z-thresholds, making it adaptable across different asset classes and timeframes.
🔹 Overbought/Oversold Zones
Highlight reversion and profit-taking zones (default OB: +2 to +4, OS: -2 to -4), great for counter-trend or mean-reversion strategies.
🔹 Visual Reinforcement Tools
Includes candle coloring, gradient fills, and optional ALMA/EMA band overlays to visualize trend regime transitions.
🔍 How It Works
1️⃣ Z-Score SMMA Calculation
The core is a custom Smoothed Moving Average (SMMA) that is normalized by its standard deviation over a lookback period.
Final Formula:
Z = (SMMA - Mean) / StdDev
2️⃣ Signal Generation
• ✅ Long Bias: Z-Score > Long Threshold (default: 0)
• ❌ Short Bias: Z-Score < Short Threshold (default: 0)
3️⃣ Visual Aids
• Candle Color → Shows trend bias
• Band Fills → Highlight trend strength
• Overlays → Optional ALMA/EMA bands for structure analysis
⚙️ Custom Settings
• SMMA Length → Default: 12
• Z-Score Lookback → Default: 30
• Long Threshold → Default: 0
• Short Threshold → Default: 0
• Color Themes → Choose from 6 visual modes
• Extra Plots → Toggle advanced overlays (ALMA, EMA, bands)
• Label Display → Show/hide “𝓛𝓸𝓷𝓰” & “𝓢𝓱𝓸𝓻𝓽” markers
👥 Who Should Use It?
✅ Trend Traders → For early entries with confirmation from Z-score expansion
✅ Quantitative Analysts → Standardized deviation enables comparison across assets
✅ Mean-Reversion Traders → Use OB/OS zones to fade parabolic spikes
✅ Swing & Systematic Traders → Identify momentum shifts with optional ALMA/EMA overlays
📌 Conclusion
Z SMMA offers a smart, adaptive framework for tracking deviation from equilibrium in a quant-friendly format. Whether you're looking to follow trends or catch exhaustion points, Z SMMA provides a clear, standardized view of momentum and price extremes.
🔹 Key Takeaways:
1️⃣ Z-Score standardization ensures dynamic range awareness
2️⃣ SMMA base filters out noise, offering smoother signals
3️⃣ Color-coded visuals support faster reaction and cleaner charts
📌 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
📌 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before
Kernel Weighted DMI | QuantEdgeB📊 Introducing Kernel Weighted DMI (K-DMI) by QuantEdgeB
🛠️ Overview
K-DMI is a next-gen momentum indicator that combines the traditional Directional Movement Index (DMI) with advanced kernel smoothing techniques to produce a highly adaptive, noise-resistant trend signal.
Unlike standard DMI that can be overly reactive or choppy in consolidation phases, K-DMI applies kernel-weighted filtering (Linear, Exponential, or Gaussian) to stabilize directional movement readings and extract a more reliable momentum signal.
✨ Key Features
🔹 Kernel Smoothing Engine
Smooths DMI using your choice of kernel (Linear, Exponential, Gaussian) for flexible noise reduction and clarity.
🔹 Dynamic Trend Signal
Generates real-time long/short trend bias based on signal crossing upper or lower thresholds (defaults: ±1).
🔹 Visual Encoding
Includes directional gradient fills, candle coloring, and momentum-based overlays for instant signal comprehension.
🔹 Multi-Mode Plotting
Optional moving average overlays visualize structure and compression/expansion within price action.
📐 How It Works
1️⃣ Directional Movement Index (DMI)
Calculates the traditional +DI and -DI differential to derive directional bias.
2️⃣ Kernel-Based Smoothing
Applies a custom-weighted average across historical DMI values using one of three smoothing methods:
• Linear → Simple tapering weights
• Exponential → Decay curve for recent emphasis
• Gaussian → Bell-shaped weight for centered precision
3️⃣ Signal Generation
• ✅ Long → Signal > Long Threshold (default: +1)
• ❌ Short → Signal < Short Threshold (default: -1)
Additional overlays signal potential compression zones or trend resumption using gradient and line fills.
⚙️ Custom Settings
• DMI Length: Default = 7
• Kernel Type: Options → Linear, Exponential, Gaussian (Def:Linear)
• Kernel Length: Default = 25
• Long Threshold: Default = 1
• Short Threshold: Default = -1
• Color Mode: Strategy, Solar, Warm, Cool, Classic, Magic
• Show Labels: Optional entry signal labels (Long/Short)
• Enable Extra Plots: Toggle MA overlays and dynamic bands
👥 Who Is It For?
✅ Trend Traders → Identify sustained directional bias with smoother signal lines
✅ Quant Analysts → Leverage advanced smoothing models to enhance data clarity
✅ Discretionary Swing Traders → Visualize clean breakouts or fades within choppy zones
✅ MA Compression Traders → Use overlay MAs to detect expansion opportunities
📌 Conclusion
Kernel Weighted DMI is the evolution of classic momentum tracking—merging traditional DMI logic with adaptable kernel filters. It provides a refined lens for trend detection, while optional visual overlays support price structure analysis.
🔹 Key Takeaways:
1️⃣ Smoothed and stabilized DMI for reliable trend signal generation
2️⃣ Optional Gaussian/exponential weighting for adaptive responsiveness
3️⃣ Custom gradient fills, dynamic MAs, and candle coloring to support visual clarity
📌 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
📌 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Normalized DEMA Oscillator SD| QuantEdgeB📊 Introducing Normalized DEMA Oscillator SD (NDOSD) by QuantEdgeB
🛠️ Overview
Normalized DEMA Oscillator SD (NDOSD) is a powerful trend and momentum indicator that blends DEMA-based smoothing with a standard deviation-based normalization engine. The result is an oscillator that adapts to volatility, filters noise, and highlights both trend continuations and reversal zones with exceptional clarity.
It normalizes price momentum within an adaptive SD envelope, allowing comparisons across assets and market conditions. Whether you're a trend trader or mean-reverter, NDOSD provides the insight needed for smarter decision-making.
✨ Key Features
🔹 DEMA-Powered Momentum Core
Utilizes a Double EMA (DEMA) for smoother trend detection with reduced lag.
🔹 Normalized SD Bands
Price momentum is standardized using a dynamic 2× standard deviation range—enabling consistent interpretation across assets and timeframes.
🔹 Overbought/Oversold Detection
Includes clear OB/OS zones with shaded thresholds to identify potential reversals or trend exhaustion areas.
🔹 Visual Trend Feedback
Color-coded oscillator zones, candle coloring, and optional signal labels help traders immediately see trend direction and strength.
📐 How It Works
1️⃣ DEMA Calculation
The core of NDOSD is a smoothed price line using a Double EMA, designed to reduce false signals in choppy markets.
2️⃣ Normalization with SD
The DEMA is normalized within a volatility range using a 2x SD calculation, producing a bounded oscillator from 0–100. This transforms the raw signal into a structured format, allowing for OB/OS detection and trend entry clarity.
3️⃣ Signal Generation
• ✅ Long Signal → Oscillator crosses above the long threshold (default: 55) and price holds above the lower SD boundary.
• ❌ Short Signal → Oscillator drops below short threshold (default: 45), often within upper SD boundary context.
4️⃣ OB/OS Thresholds
• Overbought Zone: Above 100 → Caution / Consider profit-taking.
• Oversold Zone: Below 0 → Watch for accumulation setups.
⚙️ Custom Settings
• Calculation Source: Default = close
• DEMA Period: Default = 30
• Base SMA Period: Default = 20
• Long Threshold: Default = 55
• Short Threshold: Default = 45
• Color Mode: Choose from Strategy, Solar, Warm, Cool, Classic, or Magic
• Signal Labels Toggle: Show/hide Long/Short markers on chart
👥 Ideal For
✅ Trend Followers – Identify breakout continuation zones using oscillator thrust and SD structure
✅ Swing Traders – Catch mid-trend entries or mean reversion setups at OB/OS extremes
✅ Quant/Systemic Traders – Normalize signals for algorithmic integration across assets
✅ Multi-Timeframe Analysts – Easily compare trend health using standardized oscillator ranges
📌 Conclusion
Normalized DEMA Oscillator SD is a sleek and adaptive momentum toolkit that helps traders distinguish true momentum from false noise. With its fusion of DEMA smoothing and SD normalization, it works equally well in trending and range-bound conditions.
🔹 Key Takeaways:
1️⃣ Smoother momentum tracking using DEMA
2️⃣ Cross-asset consistency via SD-based normalization
3️⃣ Versatile for both trend confirmation and reversal identification
📌 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
📌 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Let me know if you want a strategy script or publish-ready layout for TradingView next!
Median RSI SD| QuantEdgeB📈 Introducing Median RSI SD by QuantEdgeB
🛠️ Overview
Median RSI SD is a hybrid momentum tool that fuses two powerful techniques: Median Price Filtering and RSI-based Momentum. The result? A cleaner, more responsive oscillator designed to reduce noise and increase clarity in trend detection and potential reversals.
By applying the RSI not to raw price but to the percentile-based median, the indicator adapts better to real structural shifts in the market while filtering out temporary price spikes.
✨ Key Features
🔹 Smoothed RSI Momentum
Utilizes a percentile-based median as input to RSI, reducing volatility and enhancing signal reliability.
🔹 Volatility-Weighted SD Zones
Automatically detects overbought/oversold extremes using ±1 standard deviation bands on the median, adapting to current market volatility.
🔹 Trend Signal Overlay
A directional trend signal (Long / Short / Neutral) is derived from the RSI crossing custom thresholds, combined with position relative to SD bands.
🔹 Visual Labeling System
Optional in-chart labels for Long / Short signals and fully color-customizable theme modes.
📊 How It Works
1️⃣ Median RSI Calculation
Instead of using the close price directly, the script first computes a smoothed median via percentile ranking. RSI is then applied to this filtered stream, improving reactivity without overfitting to short-term noise.
2️⃣ Standard Deviation Filtering
Upper and lower SD bands are calculated around the median to identify extreme conditions. A position near the upper SD while RSI is below the short threshold triggers bearish bias. The reverse applies for longs.
3️⃣ Signal Generation
• ✅ Long Signal → RSI crosses above the Long Threshold (default: 65) and price holds above lower SD.
• ❌ Short Signal → RSI crosses below the Short Threshold (default: 45), typically within upper SD range.
4️⃣ Contextual Highlighting
Zone fills on the chart and RSI subgraph indicate Overbought (>75) and Oversold (<25) conditions for added clarity.
⚙️ Custom Settings
• RSI Length → Default: 21
• Median Length → Default: 10
• Long Threshold → Default: 65
• Short Threshold → Default: 45
• Color Mode → Choose from Strategy, Solar, Warm, Cool, Classic, Magic
• Signal Labels Toggle → Optional in-chart long/short labels
👥 Who Should Use It?
✅ Swing & Momentum Traders → Filter entries based on confirmed directional RSI setups.
✅ Range-Bound Traders → Use SD thresholds to spot fakeouts or exhaustion zones.
✅ Intraday Strategists → Enhanced signal clarity makes it usable even on lower timeframes.
✅ System Builders → Combine this signal with price action or confluence layers for smarter rules.
📌 Conclusion
Median RSI SD by QuantEdgeB is more than just a modified oscillator—it's a robust momentum confirmation framework designed for modern volatility. By replacing noisy price feeds with a statistically stable input and layering RSI + SD logic, this tool provides high-clarity signals without sacrificing responsiveness.
🔹 Key Takeaways:
1️⃣ Median-filtered RSI eliminates noise without lag
2️⃣ Standard deviation bands identify exhaustion zones
3️⃣ Reliable for both trend continuation and mean-reversion strategies
📌 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
📌 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Filtered QQE + EMA + Supertrend (Alternating Signals)used qqe mod + supertrend + 20 ema to build perfectly working script.
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.
Iron Condor Sideways Market Detector📘 Description: Iron Condor Sideways Market Detector
This indicator helps option traders find sideways markets for Iron Condor strategy.
🔍 What it does:
📏 Detects when the market is moving in a small range.
✅ Gives a signal when the price is not trending and staying flat.
📉 Shows a label below the candle when conditions are right for an Iron Condor setup.
📊 How it works:
RSI between 40 and 60
→ Market is not overbought or oversold.
ADX below 25
→ Market has low trend strength.
Bollinger Band width is small
→ Price volatility is low.
Price range is within a fixed %
→ Market is moving inside a tight range.
🔔 Alerts:
You get an alert when all sideways conditions are true.
Great for planning neutral option strategies like Iron Condor.
---------------------------------------------------------------------------
⚠️ Risk Disclaimer
📈 Trading involves risk. Always trade with proper knowledge and money management.
💸 You can lose part or all of your capital. Only invest what you can afford to lose.
🧠 This indicator is a tool, not a guarantee of profit.
🕵️♂️ Always verify signals with your own analysis before taking any position.
🛠️ Past performance of any strategy or tool does not guarantee future results.
📊 Options strategies like Iron Condor require understanding of option greeks, volatility, and risk/reward balance.
Coppock Curve
The Coppock Curve is a long-term momentum indicator, also known as the "Coppock Guide," used to identify potential long-term market turning points, particularly major downturns and upturns, by smoothing the sum of 14-month and 11-month rates of change with a 10-month weighted moving average.
Here's a more detailed breakdown:
What it is:
The Coppock Curve is a technical indicator designed to identify long-term buy and sell signals in major stock market indices and related ETFs.
How it's calculated:
Rate of Change (ROC): The indicator starts by calculating the rate of change (ROC) for 14 and 11 periods (usually months).
Sum of ROCs: The ROC for the 14-period and 11-period are summed.
Weighted Moving Average (WMA): A 10-period weighted moving average (WMA) is then applied to the sum of the ROCs.
Interpreting the Curve:
Buy Signals: A buy signal is often generated when the Coppock Curve crosses above the zero line, suggesting a potential transition from a bearish to a bullish phase.
Sell Signals: While primarily designed to identify market bottoms, some traders may interpret a cross below the zero line as a sell signal or a bearish warning.
Origin and Purpose:
The Coppock Curve was introduced by economist Edwin Coppock in 1962.
It was originally designed to help investors identify opportune moments to enter the market.
Coppock's inspiration came from the Episcopal Church's concept of the average mourning period, which he believed mirrored the stock market's recovery period.
Limitations:
The Coppock Curve is primarily used for long-term analysis and may not be as effective for short-term or intraday trading.
It may lag in rapidly changing markets, and its signals may not always be reliable.
Multi-Oscillator Adaptive Kernel | OpusMulti-Oscillator Adaptive Kernel | Opus 📈
Technical Indicator Overview
The Multi-Oscillator Adaptive Kernel (MOAK) | Opus is a sophisticated technical analysis tool 🛠️ that combines multiple oscillators—RSI, Stochastic, MFI, and CCI—through advanced kernel-based smoothing algorithms.
Designed to filter market noise and deliver clear trend signals, this indicator provides traders with a comprehensive, adaptive view of momentum across various timeframes.
Key Features 🌟
Oscillator Fusion : Integrates normalized readings from RSI, Stochastic, MFI, and CCI for a holistic momentum assessment.
Advanced Kernel Smoothing : Offers three kernel types—Exponential, Linear, and Gaussian—to refine signals and reduce noise.
Customizable Sensitivity : Allows adjustment of lookback periods, kernel length, and sensitivity for tailored responsiveness.
Clear Visual Signals : Displays trend shifts with a color-coded signal line (cyan for bullish, magenta for bearish) and gradient fills for trend intensity.
Overbought/Oversold Zones : Uses a zero line to highlight momentum extremes, with gradient layers indicating signal strength.
Adaptive Signal Design : Dynamically adjusts to market conditions, enhancing reliability across trends and ranges.
Usage Guidelines 📋
Bullish Momentum (Cyan) : Enter long positions when the signal line rises above the zero line, indicating upward momentum.
Bearish Momentum (Magenta) : Consider shorts or exits when the signal line falls below the zero line, signaling downward momentum.
Trend Shifts : Monitor the signal line’s direction and gradient intensity to anticipate momentum changes .
Overbought/Oversold Conditions : Watch for extreme values relative to the zero line to identify potential reversals or pullbacks.
Customizable Settings ⚙️
Oscillator Selection : Enable/disable RSI, Stochastic, MFI, or CCI, and adjust their lookback periods (default: 14 for RSI/Stochastic/MFI, 20 for CCI).
Kernel Type : Choose Exponential (trend-focused), Linear (balanced), or Gaussian (range-friendly) smoothing (default: Exponential) .
Kernel Length : Set the smoothing period (default: 25) for the kernel function.
Sensitivity : Fine-tune responsiveness (default: 1.5) to market changes.
Display Options : Toggle bar coloring and customize gradient layers for a personalized visual experience .
Applications 🌍
The Multi-Oscillator Adaptive Kernel | Opus is a versatile tool for traders seeking noise-filtered momentum signals. Its fusion of multiple oscillators, adaptive kernel smoothing, and gradient visualization makes it ideal for trend-following, counter-trend strategies, and multi-timeframe analysis, offering actionable insights in diverse market conditions .
Technical Methodology (Bonus Section) 🔍
1. Oscillator Fusion : Normalizes and combines RSI, Stochastic, MFI, and CCI values, scaling them around a zero baseline.
2. Kernel Smoothing : Applies Exponential, Linear, or Gaussian kernel weighting to smooth the combined oscillator data, with a secondary smoothing layer for trend confirmation.
3. Visualization : Plots a main signal line with gradient fills (10 layers per side) to reflect trend strength, alongside bar coloring for trend direction.
All under a Creative Commons Attribution-Non Commercial 4.0 International License (CC BY-NC 4.0) © 2025 Opus Capital.
Market Flow Exit SignalsThis Market Flow indicator with Exit Signals is a customized momentum oscillator that measures buying and selling pressure using price and volume data.
THIS IS ONLY AN EXIT SIGNAL INDICATOR - No Entry Signals Are Given.
This version plots as a clean step-line for clarity, with visual overbought and oversold zones marked at 80 and 20, respectively.
The overbought and oversold values can be changed by the user to your preference depending how sensitive you want the exit signals to be given.
Similar to RSI, when the line crosses above the overbought level or below the oversold level, it can signal potential exit points from a smooth flowing market.
These signals are designed to help traders lock in profits or avoid reversals by identifying when market momentum may be shifting.
Exit signals only appear in the Indicator pane and not directly on your chart.
I offer a separate indicator in my scripts that plots these above/below candles if you prefer that view instead.
Dynamic Momentum Bands | OpusDynamic Momentum Bands | Opus
Technical Indicator Overview
The Dynamic Momentum Bands indicator is a sophisticated technical analysis tool 🛠️ that fuses multiple methodologies—RSI (Relative Strength Index), volatility analysis, and adaptive moving averages—to deliver a comprehensive view of market momentum and trend dynamics. This indicator provides traders with a nuanced, actionable perspective on evolving market conditions.
Key Features 🌟
Adaptive Band Calculation ✅ : Dynamically adjusts band width based on price momentum for responsive trend tracking.
Integrated RSI-Driven Volatility Scaling 📊 : Incorporates RSI to modulate band sensitivity, reflecting market volatility shifts.
Multiple Moving Average Options ⚙️ : Supports EMA, SMA, and VWMA for customizable band construction.
Smooth Gradient-Based Visualization 🎨 : Features fluid, color-coded bands for intuitive trend interpretation.
Optional Price Bar Coloring 🌈 : Enhances trend identification with color-coded price bars alongside the bands.
Usage Guidelines 📋
Bullish Trend (Blue Bands) ✅ : Enter long positions when price moves above the bands and RSI approaches or exceeds 50, signaling upward momentum.
Bearish Trend (Pink Bands) ❌ : Consider exiting or shorting when price falls below the bands and RSI drops toward 50 or lower, indicating weakening momentum.
Momentum Shifts : Monitor color transitions and gradient intensity to anticipate trend changes ⚠️.
Volatility Insights : Observe widening bands for breakouts or narrowing bands for consolidation, using RSI context to confirm 💪.
Customizable Settings ⚙️
Price Source : Select the price data (e.g., close, high/low) for calculations 🔧.
RSI Length : Adjust the RSI period (1-50) to suit your timeframe 🎚️.
Band Length : Set the moving average period (5-100) for band smoothing 📏.
Volatility Multiplier : Fine-tune band width to match market conditions 📐.
Band Type : Choose between EMA, SMA, or VWMA for tailored analysis 🔄.
Visual Options : Toggle bar coloring, gradient styles, and color transitions for a personalized display 🖌️.
Applications 🌍
The Dynamic Momentum Bands | Opus is a versatile tool for traders aiming to capture trends and assess volatility with precision. Its integration of RSI-driven scaling, adaptive bands, and visual clarity makes it ideal for trend-following strategies, breakout detection, and market context analysis across diverse trading environments 💼.
Technical Methodology (Bonus Section) 🔍
1. Momentum Calculation :
- Computes RSI with a customizable length.
- Adjusts band volatility based on RSI's distance from the 50 level.
2. Band Construction :
- Applies the selected moving average to the price source.
- Calculates deviations using ATR (Average True Range) for band width.
- Smooths band edges for enhanced visual readability.
All under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0) © 2025 Opus Capital 💼.
Market Flow Exit Alerts On ChartThis Market Flow exit signals measures buying and selling pressure using price and volume data.
These signals are designed to help traders lock in profits or avoid reversals by identifying when market momentum may be shifting.
These are Exit Only Signals - No entry signals are given, this is only to help you consider when it may be time to get out of the current trend in the market.
MA Smoothed RSI For Loop | OpusMA Smoothed RSI For Loop | Opus
Technical Indicator Overview
The MA Smoothed RSI For Loop | Opus is an innovative technical tool 🛠️ that combines traditional RSI with multiple moving average smoothing options and a unique for-loop calculation method. This indicator provides enhanced trend detection and momentum analysis by applying customizable moving averages to the RSI calculation and implementing a weighted comparison system across multiple timeframes.
Key Features 🌟
• Multi-MA Smoothing Options ✅: Supports 8 different moving average types (EMA, SMA, WMA, VWMA, HMA, RMA, DEMA, or None) for RSI smoothing 📊
• Weighted For-Loop Analysis 🔄: Implements a sophisticated loop calculation that compares current values against historical data with optional weighting ⚡
• Dynamic Color Signals 🎨: Features customizable color themes (Synthwave, Origins, Outrun, Lush, Eighties, Sapphire, Scarlet Blues) for enhanced visual interpretation 🎯
• Comprehensive Dashboard 📊: Includes a detailed information panel with signal strength, trend direction, and duration metrics 📈
Usage Guidelines 📋
• Bullish Signal (Above Upper Threshold) ✅: Enter long positions when the indicator crosses above the upper threshold (default 40) 🚀
• Bearish Signal (Below Lower Threshold) ❌: Consider short positions when the indicator falls below the lower threshold (default -40) 🛑
• Trend Confirmation : Use the weighted for-loop calculation to confirm trend strength and direction 💪
• Signal Stars : Watch for decorative signal markers that appear at trend changes ⭐
Customizable Settings ⚙️
RSI Settings :
• Length : Adjust the RSI calculation period (default: 14) 🔧
• Source : Select price source for RSI calculation (default: close) 📊
Moving Average Options :
• Type : Choose from 8 different MA types for smoothing 📈
• Smooth Length : Set the period for MA smoothing (default: 3) ⚙️
For Loop Parameters :
• Range : Define the comparison range (default: 1 to 50) 🔄
• Weighted Calculation: Toggle weighted vs. unweighted comparison 🎚️
Threshold Settings :
• Upper Threshold: Adjust bullish signal level (default: 40) 📈
• Lower Threshold: Adjust bearish signal level (default: -40) 📉
Applications 🌍
The MA Smoothed RSI For Loop | Opus is particularly effective for:
• Trend identification and confirmation across multiple timeframes
• Momentum analysis with reduced noise through MA smoothing
• Entry and exit signal generation with customizable sensitivity
• Market regime detection through the weighted for-loop calculation
Technical Methodology (Bonus Section) 🔍
1. RSI Calculation :
• Computes traditional RSI using the specified price source and length
• Applies the selected moving average type to smooth the RSI values
2. For-Loop Analysis :
• Compares current values against historical data within the specified range
• Implements optional weighting to give more importance to recent price action
3. Signal Generation :
• Generates signals based on threshold crossings
• Calculates trend strength and duration for additional confirmation
The indicator includes built-in alerts for both long and short signals, a customizable dashboard with three display styles (Minimal, Standard, Full), decorative elements like pulse effects and signal stars for enhanced visualization, and supports multiple color themes for different visual preferences.
All under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0) © 2025 Opus Capital 💼.