Liquidity Compression Coil (Full Recovery)TLDR:
This indicator maps key market structure levels with clear visual cues and emojis:
Swing High/Low Detection:
Identifies swing highs (Monastery) and swing lows (School) as key market pivot points.
Trendlines & Rays:
Draws trendlines connecting these pivots and horizontal rays extending into the future for visual reference.
Dynamic Swing Labels:
Each pivot is labeled with its price and a positive percentage that tells you how far the live price must move to reach that level.
If the live price is below the pivot, it shows the percentage "up" needed.
If above, it shows the percentage "down" needed.
Range Calculations:
🧱 Structure Origin: The original range between the swing high and low.
🎯 Projection Bracket: The current active price range.
🌪️ Volatility Span: The total range including extreme price movements.
Dynamic Tracker & Alerts:
📊 Position Metric: Displays where the live price sits within the current range.
⚠️ Breakout/Breakdown Alerts: Signals when the price moves beyond the tracked range.
Overall, it’s a comprehensive tool that visually communicates where price is relative to key support/resistance levels and alerts you to potential reversals or breakouts—all in a straightforward, emoji-enhanced format.
Indikatoren und Strategien
P*V Liquidity Check (in M)
By Alireza Sharifan
This indicator highlights the value of trading rather than just volume. It calculates today’s trading value (today’s volume × today’s closing price) and allows you to compare it with the 20-day and 50-day average trading values.
This tool helps you assess liquidity and filter stocks that align with your swing trading strategy."
J Weighted Average Price📘 How to Use the OBV VWAP Reentry Signal Effectively
This indicator plots a VWAP based on OBV (On-Balance Volume), along with dynamic bands to identify overbought and oversold conditions in volume flow.
🔺 Red Triangle Up: Appears when OBV crosses back below the upper band → Potential reversal from overbought → Watch for short opportunities.
🔻 Blue Triangle Down: Appears when OBV crosses back above the lower band → Potential reversal from oversold → Watch for long opportunities.
📌 Tip: Use these signals in confluence with price action or trend confirmation to filter false signals. For example:
Enter short after a reentry from upper band and a lower high in price.
Enter long after a reentry from lower band and a bullish candle structure.
This setup helps you catch mean reversion moves based on volume flow, not just price.
FUTURE PREDICTThis script predicts future price movement by looking back on past 1000 bars of price action and predicting future price movement. Use this on 15 minute time frame and Buy/Sell when you see sharp upward, or downward prediction.
DEGA RMA | QuantEdgeB🧠 Introducing DEGA RMA (DGR ) by QuantEdgeB
🛠️ Overview
DEGA RMA (DGR) is a precision-engineered trend-following system that merges DEMA, Gaussian kernel smoothing, and ATR-based envelopes into a single, seamless overlay indicator. Its mission: to filter out market noise while accurately capturing directional bias using a layered volatility-sensitive trend core.
DGR excels at identifying valid breakouts, sustained momentum conditions, and trend-defining price behavior without falling into the trap of frequent signal reversals.
🔍 How It Works
1️⃣ Double Exponential Moving Average (DEMA)
The system begins by applying a DEMA to the selected price source. DEMA responds faster than a traditional EMA, making it ideal for capturing transitions in momentum.
2️⃣ Gaussian Filtering
A custom Gaussian kernel is used to smooth the DEMA signal. The Gaussian function applies symmetrical weights, centered around the most recent bar, effectively softening sharp price oscillations while preserving the underlying trend structure.
3️⃣ Recursive Moving Average (RMA) Core
The filtered Gaussian output is then processed through an RMA to generate a stable dynamic baseline. This baseline becomes the foundation for the final trend logic.
4️⃣ ATR-Scaled Breakout Zones
Upper and lower trend envelopes are calculated using a custom ATR filter built on DEMA-smoothed volatility.
• ✅ Long Signal when price closes above the upper envelope
• ❌ Short Signal when price closes below the lower envelope
• ➖ Neutral when inside the band (no signal noise)
✨ Key Features
🔹 Multi-Layer Trend Model
DEMA → Gaussian → RMA creates a signal structure that is both responsive and robust.
🔹 Volatility-Aware Entry System
Adaptive ATR bands adjust in real-time, expanding during high volatility and contracting during calm periods.
🔹 Noise-Reducing Gaussian Kernel
Sigma-adjustable kernel ensures signal smoothness without introducing excessive lag.
🔹 Clean Visual System
Candle coloring and band fills make trend state easy to read and act on at a glance.
⚙️ Custom Settings
• DEMA Source – Input source for trend core (default: close)
• DEMA Length – Length for initial smoothing (default: 30)
• Gaussian Filter Length – Determines smoothing depth (default: 4)
• Gaussian Sigma – Sharpness of Gaussian curve (default: 2.0)
• RMA Length – Core baseline smoothing (default: 12)
• ATR Length – Volatility detection period (default: 40)
• ATR Mult Up/Down – Controls the upper/lower threshold range for signals (default: 1.7)
📌 How to Use
1️⃣ Trend-Following Mode
• Go Long when price closes above the upper ATR band
• Go Short when price closes below the lower ATR band
• Remain neutral otherwise
2️⃣ Breakout Confirmation Tool
DGR’s ATR-based zone logic helps validate price breakouts and filter out false signals that occur inside compressed ranges.
3️⃣ Volatility Monitoring
Watch the ATR envelope width — a narrowing band often precedes expansion and potential directional shifts.
📌 Conclusion
DEGA RMA (DGR) is a thoughtfully constructed trend-following framework that goes beyond basic moving averages. Its Gaussian smoothing, adaptive ATR thresholds, and layered filtering logic provide a versatile solution for traders looking for cleaner signals, less noise, and real-time trend awareness.
Whether you're trading crypto, forex, or equities — DGR adapts to volatility while keeping your chart clean and actionable.
🔹 Summary
• ✅ Advanced Smoothing → DEMA + Gaussian + RMA = ultra-smooth trend core
• ✅ Volatility-Adjusted Zones → ATR envelope scaling removes whipsaws
• ✅ Fully Customizable → Tailor to any asset or timeframe
• ✅ Quant-Inspired Structure → Built for clarity, consistency, and confidence
📌 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.
Footprint Advanced (Apicode)This more sophisticated and precise indicator works on the foundations of FOOTPRINT and represents the corresponding BID, ASK, and Volume values for each candle (each price).
No configuration required.
Quantile DEMA Trend | QuantEdgeB🚀 Introducing Quantile DEMA Trend (QDT) by QuantEdgeB
🛠️ Overview
Quantile DEMA Trend (QDT) is an advanced trend-following and momentum detection indicator designed to capture price trends with superior accuracy. Combining DEMA (Double Exponential Moving Average) with SuperTrend and Quantile Filtering, QDT identifies strong trends while maintaining the ability to adapt to various market conditions.
Unlike traditional trend indicators, QDT uses percentile filtering to adjust for volatility and provides dynamic thresholds, ensuring consistent signal performance across different assets and timeframes.
✨ Key Features
🔹 Trend Following with Adaptive Sensitivity
The DEMA component ensures quicker responses to price changes while reducing lag, offering a real-time reflection of market momentum.
🔹 Volatility-Adjusted Filtering
The SuperTrend logic incorporates quantile percentile filters and ATR (Average True Range) multipliers, allowing QDT to adapt to fluctuating market volatility.
🔹 Clear Signal Generation
QDT generates clear Long and Short signals using percentile thresholds, effectively identifying trend changes and market reversals.
🔹 Customizable Visual & Signal Settings
With multiple color modes and customizable settings, you can easily align the QDT indicator with your trading strategy, whether you're focused on trend-following or volatility adjustments.
📊 How It Works
1️⃣ DEMA Calculation
DEMA is used to reduce lag compared to traditional moving averages. It is calculated by applying a Double Exponential Moving Average to price data. This smoother trend-following mechanism ensures responsiveness to market movements without introducing excessive noise.
2️⃣ SuperTrend with Percentile Filtering
The SuperTrend component adapts the trend-following signal by incorporating quantile percentile filters. It identifies dynamic support and resistance levels based on historical price data:
• Upper Band: Calculated using the 75th percentile + ATR (adjusted with multiplier)
• Lower Band: Calculated using the 25th percentile - ATR (adjusted with multiplier)
These dynamic bands adjust to market conditions, filtering out noise while identifying the true direction.
3️⃣ Signal Generation
• Long Signal: Triggered when price crosses below the SuperTrend Lower Band
• Short Signal: Triggered when price crosses above the SuperTrend Upper Band
The indicator provides signals with corresponding trend direction based on these crossovers.
👁 Visual & Custom Features
• 🎨 Multiple Color Modes: Choose from "Strategy", "Solar", "Warm", "Cool", "Classic", and "Magic" color palettes to match your charting style.
• 🏷️ Long/Short Signal Labels: Optional labels for visual cueing when a long or short trend is triggered.
• 📉 Bar Color Customization: Bar colors dynamically adjust based on trend direction to visually distinguish the market bias.
👥 Who Should Use QDT?
✅ Trend Followers: Use QDT as a dynamic tool to confirm trends and capture profits in trending markets.
✅ Swing Traders: Use QDT to time entries based on confirmed breakouts or breakdowns.
✅ Volatility Traders: Identify market exhaustion or expansion points, especially during volatile periods.
✅ Systematic & Quant Traders: Integrate QDT into algorithmic strategies to enhance market detection with adaptive filtering.
⚙️ Customization & Default Settings
- DEMA Length(30): Controls the lookback period for DEMA calculation
- Percentile Length(10): Sets the lookback period for percentile filtering
- ATR Length(14): Defines the length for calculating ATR (used in SuperTrend)
- ATR Multiplier(1.2 ): Multiplier for ATR in SuperTrend calculation
- SuperTrend Length(30):Defines the length for SuperTrend calculations
📌 How to Use QDT in Trading
1️⃣ Trend-Following Strategy
✔ Enter Long positions when QDT signals a bullish breakout (price crosses below the SuperTrend lower band).
✔ Enter Short positions when QDT signals a bearish breakdown (price crosses above the SuperTrend upper band).
✔ Hold positions as long as QDT continues to provide the same direction.
2️⃣ Reversal Strategy
✔ Take profits when price reaches extreme levels (upper or lower percentile zones) that may indicate trend exhaustion or reversion.
3️⃣ Volatility-Driven Entries
✔ Use the percentile filtering to enter positions based on mean-reversion logic or breakout setups in volatile markets.
🧠 Why It Works
QDT combines the DEMA’s quick response to price changes with SuperTrend's volatility-adjusted thresholds, ensuring a responsive and adaptive indicator. The use of percentile filters and ATR multipliers helps adjust to varying market conditions, making QDT suitable for both trending and range-bound environments.
🔹 Conclusion
The Quantile DEMA Trend (QDT) by QuantEdgeB is a powerful, adaptive trend-following and momentum detection system. By integrating DEMA, SuperTrend, and quantile percentile filtering, it provides accurate and timely signals while adjusting to market volatility. Whether you are a trend follower or volatility trader, QDT offers a robust solution to identify high-probability entry and exit points.
🔹 Key Takeaways:
1️⃣ Trend Confirmation – Uses DEMA and SuperTrend for dynamic trend detection
2️⃣ Volatility Filtering – Adjusts to varying market conditions using percentile logic
3️⃣ Clear Signal Generation – Easy-to-read signals and visual cues for strategy implementation
📌 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.
Tetris with Auto-PlayThis indicator is implemented in Pine Script™ v6 and serves as a demonstration of TradingView's capabilities. The core concept is to simulate a classic Tetris game by creating a grid-based environment and managing game state entirely within Pine Script.
Key Technical Aspects:
Grid Representation:
The script defines a custom grid structure using a user-defined type that holds the grid’s dimensions and a one-dimensional array to simulate a two-dimensional board. This structure is used to track occupied cells, clear full rows, and determine stack height.
Piece Management:
A second custom type is used to represent the state of a tetromino piece, including its type, rotation, and position. The code includes functions to calculate the block offsets for each tetromino based on its rotation state.
Collision Detection and Piece Locking:
Dedicated functions check for collisions against the grid borders and existing blocks. When a collision is detected during a downward move, the piece is locked into the grid, and any complete lines are cleared.
AIgo-Driven Placement:
The script incorporates a simple heuristic to determine the best placement for the next tetromino. It simulates different rotations and horizontal positions, evaluating each based on aggregated column height, cleared lines, holes, and bumpiness. This decision-making process is encapsulated in an AI-like function that returns the optimal rotation and placement.
Rendering Using Tables:
The visual representation is managed via TradingView’s table objects. The game board is rendered with a bordered layout, while a separate preview table displays the next piece and the current score. Each cell is updated with text and background colors that correspond to the state of the game.
Execution Flow and Timing:
The main execution loop handles real-time updates by dropping pieces at set intervals and checking for game-over conditions. The code leverages persistent variables and time comparisons to control game speed and manage transitions between piece drops.
Executing:
Add the indicator to the chart
It starts playing itself till game over
There are no parameters to change in this version but the grid in the code directly
p.s. Sadly we have no interactive buttons in the current pinescript versions to play ourself, but its about the possibilitys what we could do ;-)
Maybe in a future version there is more possible, if i find time to enhance and expand the idea
Have fun :-)
SMC Structures and FVGThe provided Pine Script code is an indicator for trading platforms, specifically designed to identify and visualize key trading concepts such as Fair Value Gaps (FVG) and market structures. Here is a detailed description of its functionality:
### Overall Purpose
This indicator aims to assist traders in analyzing market dynamics by highlighting important price levels and areas of interest. It combines the identification of FVGs and market structures to provide a comprehensive view of the market.
### Key Features and Functionalities
#### 1. Input Parameters
- **Fair Value Gap (FVG) Settings**:
- `isFvgToShow`: A boolean input to determine whether to display FVGs on the chart.
- `bullishFvgColor` and `bearishFvgColor`: Define the colors for bullish and bearish FVGs respectively.
- `mitigatedFvgColor`: Specifies the color for mitigated FVGs.
- `fvgHistoryNbr`: Determines the number of FVGs to display on the chart (default set to 10).
- `isMitigatedFvgToReduce`: A boolean input to decide whether to reduce the size of mitigated FVGs.
- **Market Structure Settings**:
- `isStructBodyCandleBreak`: A boolean input to indicate whether to consider the candle body for structure breaks.
- `isCurrentStructToShow`: A boolean input to control the display of the current market structure.
- `bullishBosColor` and `bearishBosColor`: Set the colors for bullish and bearish Break of Structure (BOS) lines (both set to green).
- `bosLineStyleOption` and `bosLineWidth`: Define the style and width (set to 2) of BOS lines.
- `bullishChochColor` and `bearishChochColor`: Determine the colors for bullish and bearish Change of Character (CHoCH) lines.
- `chochLineStyleOption` and `chochLineWidth`: Specify the style and width (set to 2) of CHoCH lines.
- `currentStructColor`, `currentStructLineStyleOption`, and `currentStructLineWidth`: Set the color, style, and width (set to 2) of the current market structure lines.
- `structHistoryNbr`: Defines the number of structure breaks to display on the chart.
#### 2. Fair Value Gap (FVG) Detection and Visualization
- **FVG Identification**:
- The code identifies bullish FVGs when the high of the third - previous bar is less than the low of the previous bar (`isBullishFVG`).
- Bearish FVGs are identified when the low of the third - previous bar is greater than the high of the previous bar (`isBearishFVG`).
- **FVG Drawing**:
- For each identified FVG, a box is drawn on the chart with the appropriate color based on its bullish or bearish nature.
- Labels are added to the FVG boxes.
- The code also handles the removal of FVGs that have been mitigated (i.e., when the price crosses the FVG range).
- Mitigated FVGs are colored differently, and an alert can be triggered when an FVG is mitigated.
#### 3. Market Structure Analysis
- **Structure Identification**:
- The code identifies the highest and lowest price levels within a lookback period (default 10 bars).
- It tracks the start index of the current high and low structures.
- Structure breaks are detected based on whether the price crosses the previous high or low structure levels, considering the candle body if `isStructBodyCandleBreak` is set to true.
- **Line Drawing**:
- When a structure break occurs, either a BOS or CHoCH line is drawn on the chart depending on the market direction.
- The lines are drawn with the specified color, style, and width.
- Labels are added to the lines to indicate whether they are BOS or CHoCH lines.
- The current market structure is also displayed on the chart with the defined color, style, and width.
#### 4. Alerts
- **Alert Conditions**:
- Alerts are set for BOS and CHoCH events. When a BOS or CHoCH occurs, an alert is triggered with the corresponding title and message.
In summary, this indicator provides traders with a visual representation of FVGs and market structures, along with alerts for key events, helping them to make more informed trading decisions.
Footprint Vumeter (Apicode)This indicator is very useful for detecting potential false trends and changes in direction.
It works on the basis of FOOTPRINT and displays the corresponding BID, ASK, and Volume values for each candle (each price).
No configuration required.
Footprint Simplified (Aplicode)This indicator works on the basis of FOOTPRINT and represents the corresponding BID, ASK, and Volume values for each candle (each price).
No configuration required.
2m 20T Trend Reversal SignalsI don't understand this generation. I kissed like 5 fricking girls and one of them have a boyfriend. I swear at one point she was gonna start fricking me. Like what the frick.
CRT:)
here's an indicator that detects CRTs (4h, daily and weekly only) once the manipulation candle is closed!
Possibility of setting alerts for busy people.
This indicator will never, and I mean NEVER, replace the eye of a seasoned trader. It's for beginners and alerts only.
PS:
- it detects CRTs where 50% of the manipulated pips have not been targeted
- the indicator is to be combined with the concepts
- the indicator does not detect all CRTs
- not all CRTs are good to take!!!
Translated with DeepL.com (free version)
[icreature] Various types of MA with Auto-coloured and LabelsHi all,
This MA includes multiple types for you to choose from, with automatic color changes to indicate bullish or bearish trends. It also comes with labels, so you won’t have to remember which MA periods or timeframe you’ve set. Enjoy!
Intraday & PositionalThis indicator allows for Buying & Selling for Intraday & Positional Trading, The rules as under:
Buy When T1 = Green, T2 = Green
Sell When T1 = Green, T2 = Red
Short When T1= Red, T2= Red
Cover When T1= Red, T2= Green
Works for Timeframes below 4 Hr Timeline with auto changeover of Trend T1 & T2 as per timeframe selections. The lower the better for Intraday and Positional Trades
Best suited for Stocks/Options/Commodities/Indian markets etc
DeenDun.com Fundamentals📊 PERFECT Trades - Fundamental Snapshot Undel Panel
This indicator by PERFECT Trades fetches and displays key fundamental financial metrics directly on the TradingView chart for the current stock symbol.
🧾 What It Does:
Shows essential financial data (e.g., Market Cap, P/E Ratio, ROE, Sales Growth, etc.) for the stock currently loaded on the chart. If the metric is negative then ignore it.
Helps investors quickly evaluate fundamentals without switching to external websites.
Perfect for fundamental screening during chart analysis, especially for halal investment decisions.
📌 Metrics Displayed (examples – update as per script):
Market Capitalization
Price-to-Earnings (P/E) Ratio
Return on Equity (ROE)
Net Profit Growth %
Sales Growth %
Debt-to-Equity Ratio
Dividend Yield
Book Value
Trading Value (in Million) by AsharifanA clean and practical tool for swing traders to evaluate stock liquidity using Price × Volume (P×V), displayed in millions of currency units.
✅ What It Shows:
Today’s P×V as a green bar
20-day and 50-day average P×V as trendlines
A red dashed line at 20M for a minimum liquidity threshold
🔍 Built for:
Filtering out illiquid stocks
Spotting volume-dry, high-quality setups (especially at the end of reaccumulation bases)
Weekend watchlist building with stable volume insights
⏱ Works on daily or weekly charts
🌎 Applicable to any stock market (not region-specific)
Simple. Smart. Focused on what really matters for real-world trading.
STFS-EZ, SMA200, FI TriggerThe Force Index is a technical indicator that measures the strength behind a price movement by combining three elements:
1. Price direction (up or down)
2. Price range (the difference between prices)
3. Trading volume
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.
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.
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.