Smart WaveTrend Crossover█ OVERVIEW
Smart WaveTrend Crossover is an indicator based on WaveTrend crossovers, designed to reduce the number of false signals typically produced by classic oscillator crossovers.
Instead of triggering a signal immediately at the line crossover, the indicator requires additional confirmation in the form of a price breakout from a box, created at the moment of the WaveTrend signal.
The script also includes:
- a trend filter based on a separate WaveTrend
- “fog” visualization
- candle coloring based on trend direction
- fully configurable entry signals
- automatic Take Profit / Stop Loss levels
- a real-time TP/SL table
█ CONCEPTS
Classic WaveTrend crossovers often generate noise, especially during consolidation.
Smart WaveTrend Crossover attempts to address this issue using a breakout confirmation mechanism:
- at the moment WT1 crosses WT2, a horizontal price box is created
- a trade signal is generated only when price closes outside the box
- an optional trend filter limits signals to the dominant market direction
The trend filter is built on a WaveTrend crossover using larger, slower parameters, independent from the signal-generating WaveTrend.
This allows short-term momentum to be separated from the broader market direction, and all trend filter parameters can be freely adjusted.
WaveTrend signal settings are not identical to the original / classic values.
They are configured to generate a higher number of signals, which works better in combination with breakout boxes and confirmation logic.
Signal sensitivity can be easily adjusted by modifying channel length and averaging parameters.
By default, show_only_matching is enabled:
- bullish crossover → bullish breakout only (BUY)
- bearish crossover → bearish breakout only (SELL)
█ FEATURES
WaveTrend (Signals & Trend):
- two independent WaveTrend setups:
- one for signal generation
- one for trend determination
- signal parameters configured more aggressively than classic defaults
- trend filter based on a slower WaveTrend crossover
- trend direction visualized using directional fog, not a histogram
WaveTrend Input Explanation:
- Channel Length – controls WaveTrend reaction speed (shorter = more signals)
- Average Length – smoothing of the main WT1 line
- MA Length – smoothing of the signal line WT2
- Source – price source used in calculations (default: hlc3)
Fog (Visualization):
- visual representation of market pressure in the direction of the trend
- fog height based on average candle size × offset_mult
- adjustable transparency or fully disableable
Breakout Boxes:
- a box is created on every WaveTrend direction change
- default height based on the signal candle range
- optional box expansion using average candle size × box_multiplier
Signals:
- triangles or “BUY / SELL” labels
- direction matching filter (show_only_matching)
- option to display all breakouts regardless of crossover direction
- built-in BUY and SELL alerts
Visual Settings:
- candle coloring based on WaveTrend trend direction
- full control over bullish and bearish colors
Risk Management – TP / SL:
- automatic TP1, TP2, TP3 and SL levels
- two calculation modes:
- Candle Multiplier – based on average candle range
- Percentage – percentage from entry price
- separate parameters for each level
- TP/SL lines drawn on the chart
- real-time TP/SL price table
█ HOW TO USE
Add the indicator to your TradingView chart → Indicators → search “Smart WaveTrend Crossover”
Key settings:
- WaveTrend Settings for Signals – signal sensitivity
- WaveTrend Settings for Trend – market direction filter
- Signal Settings – signal type and box logic
- Fog – pressure visualization
- Risk Management – TP/SL configuration
Signal meaning:
- BUY → upward breakout from a box after a bullish crossover
- SELL → downward breakout from a box after a bearish crossover
- visible boxes → breakout watch zones
- fog and candle color → current market direction
█ APPLICATIONS
Standalone entry system
- entering directly on BUY / SELL signals
- or entering on trend color change
Filter for price-action strategies
- using WaveTrend signals as directional confirmation
- e.g. level breakout + WaveTrend confirmation = entry
Trend indicator
- trading other tools only in the direction of the WaveTrend trend
- e.g. RSI breaks above 50 while WaveTrend trend is bullish
█ NOTES
- Default settings are a starting point and may require adjustment
- The indicator works best as part of a broader trading system
מתנדים
KAMA Oscillator | IkkeOmarThis script transforms the Kaufman Adaptive Moving Average (KAMA) into an oscillator format, designed to visualize trend direction with reduced noise sensitivity. It operates in two modes: a Raw mode that tracks price levels directly, and a Normalized mode that bounds the oscillator between -1 and +1 for easier comparison across assets.
The calculations are the same as for the Normalized KAMA Oscillator, but I added a few features that users of the old version wouldn't necessarily want.
How it works
Efficiency Ratio (ER): The script calculates the "efficiency" of price movement by comparing the net direction of price to the total volatility over a set period.
Adaptive Smoothing:
When volatility is high but direction is unclear (choppy), the KAMA slows down to filter noise.
When price trends clearly, the KAMA speeds up to track the move.
Normalization (Optional): If enabled, the script takes the raw KAMA value and scales it relative to its highest and lowest points over the Normalization lookback period. The result oscillates between -1 (extreme low) and +1 (extreme high).
The SMA Signal Logic
The script allows you to overlay an SMA (Simple Moving Average) on the oscillator. This serves as a dynamic baseline for the oscillator's momentum.
Signal Generation: A signal is generated when the KAMA Oscillator crosses its SMA.
Bullish: Oscillator crosses above the SMA.
Bearish: Oscillator crosses below the SMA.
Lag vs. Noise Trade-off:
Advantage (Reduced Lag): Crossing the SMA often triggers a signal earlier than waiting for the oscillator to change color (slope change) or cross the zero line. It identifies when immediate momentum is outperforming the recent average.
Risk (Increased Noise): During consolidation, the oscillator will hover close to the SMA line. This increases the probability of "whipsaws" (false signals) where the line crosses back and forth rapidly without a sustained trend. This signal is aggressive and should be used with trend filters.
BE-Synergistic RSI Fusion Strategy█ Overview of the Script:
The Synergistic RSI Fusion Strategy is a sophisticated technical analysis tool designed to detect market turning points (reversals) and high-momentum breakouts. Unlike standard indicators that simply tell you to "Buy" or "Sell" based on a crossed line or overbought/oversold levels, this script builds a structural trade setup using zones. It waits for price action to confirm the signal before acting.
█ Why "Synergistic RSI Fusion"?:
The core engine of the indicator makes it all:
Fusion : Standard RSI only looks at the closing price relative to the previous closing price. This script calculates a comprehensive RSI that incorporates the candle's Highs and Lows.
Why is this more powerful? Imagine a "Hammer" candle where price drops significantly during the session but recovers to close near the open. A standard RSI sees almost no change because the Close is near the Open. However, Fusion RSI captures the full volatility of that dip and recovery, recognizing the massive "effort" and hidden battle between buyers and sellers that standard RSI completely misses.
Synergy : It combines this advanced momentum reading with ATR (Average True Range) to define volatility-based entry and exit zones. It blends momentum (RSI) with market structure (Price Action Zones).
█ How it Stands Unique:
The Core engine: Capturing the true efforts of the movement in price.
Multi-Peak Divergence: Instead of simple A-to-B divergence, this script uses a state machine to track local peaks by filtering out weak signals and waits for a significant disagreement between price and momentum.
The Zone System: It doesn't plot signals blindly. When divergence is found, it draws two "waiting rooms" (Green and Red zones). The trade is only taken if the candle closes inside one of these zones.
█ Divergence Trades: The Two-Way Setup:
A unique feature of this script is that when a Divergence signal appears, it generates two potential entry zones: a Bullish zone and a Bearish zone.
The Rational Behind the Two-Way Approach:
New traders often assume a Divergence means "Reversal." However, experienced traders know that Divergence simply means "Tension is building."
Scenario A (The Reversal): The RSI is screaming that momentum is dying, but price is pushing higher. If price respects the divergence, it will drop into the reversal zone. This is the standard divergence trade.
Scenario B (The Failure/Trap): sometimes, momentum is so strong that it blows through the divergence. If price ignores the RSI warning and breaks into the continuation zone, it signals that the trend is incredibly powerful.
Why Trade Both Ways?
By placing zones on both sides, the script essentially says: " I know a big move is coming because of the tension (Divergence), but I will let the market prove direction first. " This prevents you from " catching a falling knife " by trying to pick the exact top or bottom.
The Counter-Trading Logic (The Trap):
The script includes advanced logic for failed trades. If you enter a trade and the Stop Loss is hit immediately (a "fake-out"), the script adjusts the opposing zone by considering the liquidity of that particular candle.
Why? If the market traps Long traders and hits their stops, that selling pressure often fuels a massive move downwards. This logic allows the script to flip bias instantly and join the real move.
█ Continuation Trends: Why Price Runs After TP:
You may notice that often, after the Take Profit (TP) is hit, the price continues to run in that direction for a long time.
The "Breakout" Effect:
The Take Profit levels in this script are calculated using ATR (Average True Range). This is a conservative target based on recent average volatility.
Structural Breaks: The entry zones are usually positioned at key structural pivots. When price has enough energy to enter the zone and hit 100% of the ATR target, it effectively confirms a Break of Structure.
Momentum Release: The Divergence phase acts like a coiled spring. When that spring finally snaps (the trade entry), the release of energy is often far greater than just one ATR unit.
Psychology: When the TP is hit, it confirms the analysis was correct. This draws in other traders and algorithms who missed the initial entry, adding fuel to the fire and extending the trend.
█ Major Support & Resistance Zone:
The untested zones are typically the safe haven to place your SLs, which definitely act as Support & Resistance once the price approaches these zones.
SCOTTGO - MOMO RVOL Trend Painter V2 (Elite Pro)SCOTTGO - MOMO RVOL Trend Painter V2 (Elite Pro)
This professional-grade trend-following indicator identifies high-probability "Elite" entry points by combining Relative Volume (RVOL) with strict trend alignment and momentum filters. It is designed to filter out market noise and highlight only the most significant institutional moves.
Core Features
Elite Signal Logic: Triggers only when high RVOL (default >2.0x) aligns with a confirmed trend (Price vs. VWAP & 9EMA) and positive momentum (RSI & MACD).
Dynamic Bar Coloring: Instantly paints bars Green (Bullish) or Red (Bearish) when all "Elite" criteria are met.
Smart Labeling: Labels are corner-anchored to the left of the signal bar. This prevents visual clutter and ensures labels never obstruct new price action.
Detailed Tooltips: Hover over any "Elite" flag to see a comprehensive breakdown of the specific metrics (RVOL value, Trend status, RSI, and MACD) that triggered the signal.
Key Components
RVOL Threshold: Adjustable sensitivity to volume spikes.
Trend Filter: Optional requirement for price to stay above/below VWAP and the 9EMA.
Momentum Filters: Integrated RSI and MACD confirmation to avoid "exhaustion" trades.
Visual Customization: Full control over label spacing, colors, and opacity.
How to use: Look for the ⭐ ELITE flags as confirmation for trend continuation or high-volume breakouts. Use the triangles for precise candle entry points.
Disclaimer: Technical analysis tools are for informational purposes only. Trading involves significant financial risk.
Rachev Regime AnalyzerRachev Regime Analyzer ~ GForge
What It Does
Measures the ratio of extreme gains to extreme losses to identify whether markets favor bulls or bears. When your best moves are bigger than your worst moves, conditions are bullish. When the opposite is true, conditions are bearish.
Simple Interpretation:
Ratio > 1.2 → Bullish regime (tail gains exceed tail losses)
Ratio < 0.8 → Bearish regime (tail losses exceed tail gains)
Between → Neutral/transitional
Key Features
Two Modes:
Single Asset: Analyze current chart
Multi-Asset: Aggregate regime across 5 assets with custom weights (great for gauging overall crypto/market conditions)
Customizable:
Lookback period (20-200 bars)
Tail percentile (what counts as "extreme")
Bullish/bearish thresholds
6 color schemes
Optional MA smoothing
Visual Signals:
Buy/sell markers at threshold crosses
Background regime coloring
Info table with current values and confidence score
Configurable alerts
How to Use
Choose lookback period based on your timeframe (40-60 bars is a good start)
Watch for threshold crosses - these mark regime changes
Check confidence score - higher = more reliable
Use multi-asset mode to see if entire market is shifting (not just one coin)
Best combined with: Trend indicators, support/resistance, volume analysis
Parameters
Lookback: More bars = smoother, less responsive
Alpha (0.10): Defines extreme events - lower = more extreme
Thresholds: Adjust based on asset volatility
Return Type: Log returns recommended for most assets
What Makes It Useful
Unlike simple volatility measures, this shows asymmetry - whether extreme moves favor upside or downside. A ratio of 1.5 means your extreme gains are 50% larger than extreme losses - that's actionable information about risk-reward dynamics.
Multi-asset aggregation is particularly powerful for crypto traders wanting to gauge if BTC, ETH, SOL, etc. are all showing similar regime characteristics.
Disclaimer
Educational tool only. Not financial advice. Use proper risk management. No indicator works in isolation - always consider broader market context.
Developed by GForge
Comments and feedback welcome! 👍
Elite Cumulative Volume Delta OscillatorOverview
The Elite CVD+ is a premium-grade, session-resettable Cumulative Volume Delta indicator designed exclusively for professional futures and volume-profile traders. By focusing on the cleaner and more actionable Line-Focused mode, it transforms raw order flow data into a precise decision engine that reveals institutional buying/selling pressure, absorption, exhaustion, and high-probability reversal/continuation zones.
Unlike standard CVD tools that accumulate indefinitely or reset awkwardly, this version resets cleanly at your chosen anchor period (default daily) while pulling granular delta from lower timeframes when desired. The result: a smooth, non-repainting line that highlights real-time shifts in aggressive participation without the noise of perpetual accumulation.
Why This Indicator Is Elite-Level Useful
True Institutional Footprint
Cumulative Volume Delta measures the net aggressive buying (bid hits) vs. selling (ask hits). Sustained positive CVD = buyers in control; negative = sellers dominating. When price makes new highs on weakening CVD → classic bearish divergence signaling distribution. The session reset prevents old data from distorting current conviction, making divergences far more reliable than perpetual CVD.
Early Reversal Detection via Absorption & Extremes
Absorption highlighting flags scenarios where heavy delta pushes against price but price refuses to follow (e.g., massive selling into lows yet price holds or closes higher) — textbook trapping/retail stop-hunting.
Session CVD extremes with dynamic test zones pinpoint where aggressive flow is exhausted. Price returning to test these levels often produces high-R:R reversals.
Confluence-Rich Signals
Dual EMAs provide trend/filter context (crossovers, zero-line bounces). Dynamic coloring instantly shows momentum strength. Extreme single-bar delta highlights climax buying/selling. Built-in regular + hidden divergences align order flow with price structure.
Multi-Timeframe Consistency
Optional custom lower-TF delta fetch ensures the same granular data regardless of chart timeframe — critical for traders who switch between 1-min execution charts and 15-min/1H analysis charts.
Clean, Low-Lag Visuals
Thick CVD line with intelligent coloring, subtle backgrounds, persistent extreme lines, and optional labels keep the pane readable even during fast markets. No clutter from inferior candle representations.
How Professional Traders Use Elite CVD+ Most Successfully
Primary Setup Framework
Use on futures with reliable volume delta (ES, NQ, YM, CL, GC, etc.). Best timeframes: 3–15 minutes for intraday, 1H–4H for swing. Combine with price action structure (order blocks, fair value gaps, market profile highs/lows).
Practical Tips for Maximum Edge
Anchor Period: '1D' for regular session trading (resets at 00:00 exchange time). Use '1W' for weekly bias or '4H' for London/NY session-specific flow.
Lower Timeframe Delta: Enable custom and set to '1' or '3' for maximum granularity on indices. Leave disabled on higher charts for smoother read.
Absorption Tuning: Raise threshold to 80–90 on volatile instruments (NQ) to filter noise; lower to 70 on quieter ones (CL, GC).
Divergences: Most powerful on 15M+. Disable hidden on very low TFs if too noisy.
Alerts: Use the master “Any Event” alert for push/email/webhook notifications of zero crosses or new extremes — perfect for mobile monitoring.
Combination Tools: Pair with session VWAP, volume profile (fixed range at highs/lows), or psychological levels for triple confluence.
RSI & MACD SuiteRSI & MACD Suite
A professional combination of two essential momentum indicators - Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) - designed to provide comprehensive market analysis in a single, clean interface.
OVERVIEW
This indicator combines the power of RSI and MACD to help traders identify potential overbought/oversold conditions, momentum shifts, and trend changes. Both indicators are displayed with enhanced visual elements including gradient fills, customizable bands, and clear signal lines.
FEATURES
RSI (Relative Strength Index)
- Customizable Period: Adjustable RSI length (default: 14)
- Visual Zones: Overbought zone (above 70) with green gradient, Oversold zone (below 30) with red gradient, Background fill between bands for easy reference
- Key Levels: Clear horizontal lines at 30, 50, and 70
- Flexible Source: Choose any price source (close, open, high, low, etc.)
MACD (Moving Average Convergence Divergence)
- Customizable Parameters: Fast Length (default: 12), Slow Length (default: 26), Signal Length (default: 9)
- MA Type Selection: Choose between EMA or SMA for both oscillator and signal line
- Color-Coded Histogram: Green for bullish momentum, Red for bearish momentum
- Clear Signal Lines: Blue MACD line and orange Signal line for easy identification
ALERT CONDITIONS
The indicator includes 7 built-in alert conditions:
RSI Alerts:
1. RSI Overbought - Triggers when RSI crosses above 70
2. RSI Oversold - Triggers when RSI crosses below 30
3. RSI Midline Cross - Triggers when RSI crosses the 50 level
MACD Alerts:
4. MACD Bullish Cross - Triggers when MACD line crosses above Signal line
5. MACD Bearish Cross - Triggers when MACD line crosses below Signal line
6. MACD Histogram Bullish - Triggers when histogram crosses above zero
7. MACD Histogram Bearish - Triggers when histogram crosses below zero
CUSTOMIZATION
Clean Organization
- Inputs Tab: Separate groups for RSI and MACD settings
- Style Tab: All visual elements clearly labeled with "RSI -" or "MACD -" prefixes for easy identification
- Full Control: Customize colors, line widths, and visibility of all elements
Visual Clarity
- Professional color scheme optimized for both light and dark themes
- Gradient fills for intuitive zone identification
- Clear separation between RSI and MACD elements
SETTINGS
RSI Settings
- Length: Lookback period for RSI calculation (default: 14)
- Source: Price data to use for calculation (default: close)
MACD Settings
- Source: Price data to use for calculation (default: close)
- Fast Length: Period for fast moving average (default: 12)
- Slow Length: Period for slow moving average (default: 26)
- Signal Length: Period for signal line (default: 9)
- Oscillator MA Type: EMA or SMA for MACD calculation
- Signal MA Type: EMA or SMA for signal line
TECHNICAL DETAILS
- Pine Script Version: v6
- Indicator Type: Oscillator (subplot)
- Calculation Method: RSI uses Relative Strength Index with RMA smoothing, MACD uses Fast MA minus Slow MA with configurable MA types
- Input Validation: Built-in checks to ensure valid parameter combinations
NOTES
- Default settings are industry-standard values (RSI: 14, MACD: 12/26/9)
- All visual elements can be hidden/shown individually in the Style tab
- Alerts must be manually created by users through TradingView's alert system
- This indicator does not repaint - all signals are based on closed candles
WHO SHOULD USE THIS
- Day traders looking for momentum signals
- Swing traders identifying trend changes
- Technical analysts performing multi-indicator analysis
- Traders who want a clean, all-in-one momentum solution
DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always perform your own analysis and risk assessment before making trading decisions.
Version: 1.0
Author: aaboomar
License: Mozilla Public License 2.0
BTC - StableFlow: Pit-Stop & Refuel EngineBTC – StableFlow: Pit-Stop & Refuel Engine | RM
Strategic Context: The Institutional Gas Station In the high-speed race of the crypto markets, Stablecoins (USDT, USDC, DAI) represent the Fuel, and Bitcoin is the Race Car. Most traders only look at the car's speed (Price), but they ignore the gas tank. The StableFlow Engine is a telemetry dashboard designed to monitor the "Fuel Pressure" within the ecosystem, identifying exactly when the car is being refueled and when it is running on empty.
The Telemetry Logic: How to Read the Race
The indicator operates on a Relative Velocity model. We aren't just looking at how many Stablecoins exist; we are measuring the Acceleration of Stablecoin Market Cap relative to the Acceleration of BTC Price.
1. The Fuel Reservoir (The Histogram)
• Cyan Zones (Refuel): The gas station is open. Institutional "Dry Powder" is flowing into stables faster than it is being spent on BTC. The tank is filling up.
• Orange Zones (Exhaust): The "Overdrive." The car is driving faster than the gas can be pumped. Price is outperforming the stablecoin supply—this is unsustainable and usually precedes a stall.
2. Lap Transitions (The Grey Lines)
These vertical markers signify a Regime Shift . They trigger the moment the momentum crosses the zero-axis, visually distinguishing the transition between a "Net-Refueling" period and a "Net-Exhaustion" period. While not used as direct entry signals, they define the Macro Lap we are currently in.
Operational Playbook: The Pit-Stop Signals
We don't just buy because the tank is full; we buy when the car exits the pits and begins to accelerate. This is captured by our proprietary Pit-Stop Pips.
• Blue Pip (Pit-Stop Buy): Triggered when the Refuel momentum has peaked and is now rotating back into the market. The refuel is complete; the car is rejoining the race with a full tank.
• Red Pip (Exhaust Sell): Triggered when the price acceleration has overextended relative to its fuel source and begins to "roll over." The tank is near empty; time for a tactical pull-back.
Settings & Calibration: The Pit Wall Dashboard
Signal Mode & Logic The engine features a dual-mode signaling system to adapt to different market conditions (or your personal preferred logic):
• Consecutive Mode: Best for high-velocity trends. Fires a pip after n bars of momentum reversal (Default: 2 bars).
• Percentage (%) Mode: Best for structural fades. Fires a pip when the momentum retraces by a specific percentage (e.g., 15%) from its local peak, regardless of the bar count.
Recommended Calibration
While the engine is versatile across various timeframes, the Weekly (1W) chart is the preferred setting for identifying high-conviction macro signals. Lower timeframes provide tactical speed, but the 1W frame offers significantly cleaner signals by filtering out the daily market noise.
Weekly (1W) — The Macro Signal (Preferred): * Velocity Lookback: 20 | Smoothing: 5.
Peak Lookback: 25 (Represents roughly half a year of telemetry data). This is a good starting point for identifying major cycle rotations.
Daily (1D) — The Tactical Pulse: * Velocity Lookback: 20 | Smoothing: 5.
Peak Lookback: 25 (Represents one trading month of telemetry). Useful for active swing traders looking for entry/exit timing within an established macro trend.
Technical Documentation
Data Sourcing & Aggregation The script utilizes request.security to aggregate a "Big Three" Stablecoin Market Cap (USDT + USDC + DAI). This prevents "False Exhaustion" signals caused by capital simply migrating between different stablecoin assets.
Mathematical Foundation The core engine calculates the Rate of Change (ROC) for the Aggregate Stablecoin Supply and BTC Price over a synchronized lookback window.
Formula Logic: Fuel Pressure = EMA ( ROC(Stables) - ROC(BTC) )
The Pit-Stop Pips utilize a local peak-finding algorithm via ta.highest and ta.lowest within a rolling 25-bar window to calculate the Relative Retracement Magnitude . This ensures signals are mathematically tied to the volatility of the current market regime.
The Dual-Fuel Framework: StableFlow x Liquisync
The StableFlow Engine is designed to function as the tactical counterpart to the Liquisync: Macro Pulse Engine . While Liquisync monitors the Global Supply Line (the "Tanker Truck" of M2 Liquidity moving from Central Banks toward the track with a 60-day lead), StableFlow measures the Immediate Fuel Pressure (the "Dry Powder" already in the pit lane, ready to be pumped into the car).
By using both indicators in tandem, you can follow the Dual-Fuel Strategy: Liquisync identifies the fundamental macro regime, while StableFlow identifies the specific "Refuel" and "Exhaustion" pivots within that regime. We will be providing a comprehensive breakdown of this synchronized telemetry in our upcoming Substack Masterclass: The Dual-Fuel Architecture.
Risk Disclaimer & Credits
The StableFlow is a thematic macro tool tracking on-chain liquidity proxies. Stablecoin data is subject to exchange reporting delays. This is not financial advice; it is a telemetry model for institutional education. Rob Maths is not liable for losses incurred via use of this model.
Tags:
indicator, bitcoin, btc, stablecoins, usdt, flow, liquidity, macro, refuel, institutional, robmaths, Rob Maths
Relative Strength Index SmoothedDefinition
The Relative Strength Index (RSI) is a well versed momentum based oscillator which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements. Essentially RSI, when graphed, provides a visual mean to monitor both the current, as well as historical, strength and weakness of a particular market. The strength or weakness is based on closing prices over the duration of a specified trading period creating a reliable metric of price and momentum changes. Given the popularity of cash settled instruments (stock indexes) and leveraged financial products (the entire field of derivatives); RSI has proven to be a viable indicator of price movements.
History
J.Welles Wilder Jr. is the creator of the Relative Strength Index. A former Navy mechanic, Wilder would later go on to a career as a mechanical engineer. After a few years of trading commodities, Wilder focused his efforts on the study of technical analysis. In 1978 he published New Concepts in Technical Trading Systems. This work featured the debut of his new momentum oscillator, the Relative Strength Index, better known as RSI.
Over the years, RSI has remained quite popular and is now seen as one of the core, essential tools used by technical analysts the world over. Some practitioners of RSI have gone on to further build upon the work of Wilder. One rather notable example is Andrew Cardwell who used RSI for trend confirmation.
Calculation
RSI = 100 – 100/ (1 + RS)
RS = Average Gain of n days UP / Average Loss of n days DOWN
For a practical example, the built-in Pine Script function rsi(), could be replicated in long form as follows.
change = change(close)
gain = change >= 0 ? change : 0.0
loss = change < 0 ? (-1) * change : 0.0
avgGain = rma(gain, 14)
avgLoss = rma(loss, 14)
rs = avgGain / avgLoss
rsi = 100 - (100 / (1 + rs))
"rsi", above, is exactly equal to rsi(close, 14).
The basics
As previously mentioned, RSI is a momentum based oscillator. What this means is that as an oscillator, this indicator operates within a band or a set range of numbers or parameters. Specifically, RSI operates between a scale of 0 and 100. The closer RSI is to 0, the weaker the momentum is for price movements. The opposite is also true. An RSI closer to 100 indicates a period of stronger momentum.
- 14 days is likely the most popular period, however traders have been known to use a wide variety of numbers of days.
What to look for
Overbought/Oversold
Wilder believed that when prices rose very rapidly and therefore momentum was high enough, that the underlying financial instrument/commodity would have to eventually be considered overbought and a selling opportunity was possibly at hand. Likewise, when prices dropped rapidly and therefore momentum was low enough, the financial instrument would at some point be considered oversold presenting a possible buying opportunity.
There are set number ranges within RSI that Wilder consider useful and noteworthy in this regard. According to Wilder, any number above 70 should be considered overbought and any number below 30 should be considered oversold.
An RSI between 30 and 70 was to be considered neutral and an RSI around 50 signified “no trend”.
Some traders believe that Wilder’s overbought/oversold ranges are too wide and choose to alter those ranges. For example, someone might consider any number above 80 as overbought and anything below 20 as oversold. This is entirely at the trader’s discretion.
Divergence
RSI Divergence occurs when there is a difference between what the price action is indicating and what RSI is indicating. These differences can be interpreted as an impending reversal. Specifically there are two types of divergences, bearish and bullish.
Bullish RSI Divergence – When price makes a new low but RSI makes a higher low.
Bearish RSI Divergence – When price makes a new high but RSI makes a lower high.
Wilder believed that Bearish Divergence creates a selling opportunity while Bullish Divergence creates a buying opportunity.
Failure Swings
Failure swings are another occurrence which Wilder believed increased the likelihood of a price reversal. One thing to keep in mind about failure swings is that they are completely independent of price and rely solely on RSI. Failure swings consist of four “steps” and are considered to be either Bullish (buying opportunity) or Bearish (selling opportunity).
Bullish Failure Swing
RSI drops below 30 (considered oversold).
RSI bounces back above 30.
RSI pulls back but remains above 30 (remains above oversold)
RSI breaks out above its previous high.
Bearish Failure Swing
RSI rises above 70 (considered overbought)
RSI drops back below 70
RSI rises slightly but remains below 70 (remains below overbought)
RSI drops lower than its previous low.
Cardwell’s trend confirmations
Of course no one indicator is a magic bullet and almost nothing can be taken simply at face value. Andrew Cardwell, who was mentioned earlier, was one of those students who took Wilder’s RSI interpretations and built upon them. Cardwell’s work with RSI led to RSI being a great tool not just for anticipating reversals but also for confirming trends.
Uptrends/Downtrends
Cardwell made keen observations while studying Wilder’s ideas of divergence. Cardwell believed that:
Bullish Divergence only occurs in a Bearish Trend.
Bearish Divergence only occurs in an Bullish Trend.
Both Bullish and Bearish Divergence usually cause a brief price correction and not an actual trend reversal.
What this means is that essentially Divergence should be used as a way to confirm trends and not necessarily anticipate reversals.
Reversals
Cardwell also discovered what are referred to as Positive and Negative Reversals. Positive and Negative Reversals are basically the opposite of Divergence.
Positive Reversal occurs when price makes a higher low while RSI makes a lower low. Price proceeds to rise. Positive Reversals only occur in Bullish Trends.
Negative Reversal occurs when price makes a lower high while RSI makes a higher high. Price proceeds to fall. Negative Reversals only occur in Bearish Trends.
Positive and Negative Reversals can be boiled down to cases where price outperformed momentum. And because Positive and Negative Reversals only occur in their specified trends, they can be used as yet another tool for trend confirmation.
Summary
For more than four decades the Relative Strength Index (RSI) has been an extremely valuable tool for almost any serious technical analyst. Wilder’s work with momentum laid the groundwork for future chartists and analysts to dive in deeper to further explore the implications of his RSI modeling and its correlation with underlying price movements. As such, RSI is simply one of the best tools or indicators in a trader’s arsenal of market metrics to develop most any trading methodology. Only the novice will take one look at RSI and assume which direction the market will be heading next based off of one number. Wilder believed that a bullish divergence was a sign that the market would soon be on the rise, while Cardwell believed that such a divergence was merely a slight price correction on the continued road of a downward trend. As with any indicator, a trader should take the time to research and experiment with the indicator before relying on it as a sole source of information for any trading decision. When used in proper its perspective, RSI has proven to be a core indicator and reliable metric of price, velocity and depth of market.
HMA 9/50 Crossover + RSI 50 Filter1. The Core Indicators
HMA 9 (Fast): Acts as the primary trigger line. Its unique calculation minimizes lag compared to standard moving averages, allowing for faster entries.
HMA 50 (Slow): Defines the medium-term trend direction and acts as the "anchor" for crossover signals.
RSI 14: Serves as a "momentum gate." Instead of traditional overbought/oversold levels, we use the 50 midline to confirm that the directional strength supports the crossover.
2. Entry Conditions
Long Entry: Triggered when the HMA 9 crosses above the HMA 50 AND the RSI is greater than 50.
Short Entry: Triggered when the HMA 9 crosses below the HMA 50 AND the RSI is less than 50.
3. Execution & Reversal
This strategy is currently configured as an Always-in-the-Market system.
A "Long" position is automatically closed when a "Short" signal is triggered.
To prevent "pyramiding" (buying multiple positions in one direction), the script checks the current position_size before opening new entries.
How to Use
Timeframe: Optimized for 3-minute (3m) candles but can be tuned for 1m to 15m scalping.
Settings: Use the Inputs panel to adjust HMA lengths based on the volatility of your specific asset (e.g., shorter for stable stocks, longer for volatile crypto).
Visuals:
Aqua Line: HMA 9
Orange Line: HMA 50
Green Background: Bullish RSI Momentum (> 50)
Red Background: Bearish RSI Momentum (< 50)
Risk Disclosure
Whipsaws: This strategy is likely to underperform in sideways markets.
Backtesting: Past performance does not guarantee future results. Always test this strategy in the Strategy Tester with appropriate commission and slippage settings before live use.
Custom Sector Comparison Index (CSCI)Compare any stock against a custom basket of its true peers.
Most traders compare stocks to broad indexes like the S&P 500 (SPY) or the Nasdaq (QQQ). But if you are analyzing a niche sector—like Residential REITs, Gold Miners, or AI Semis—broad indexes are too noisy.
This indicator allows you to build your own Custom Equal-Weight Index made up of up to 12 specific symbols. It then plots the performance of the stock you are currently viewing against that custom index, starting from a specific "Anchor Date" of your choosing.
Why use this?
Standard relative strength tools force you to compare against a single symbol (like SPY). But if you want to know if Centerspace (CSR) is lagging its direct competitors, comparing it to SPY (which contains Tech and Healthcare) is useless. Comparing it to VNQ (which contains Cell Towers and Malls) is also imperfect.
With this tool, you can create a "Pure Residential REIT" index and see exactly how your stock is performing against the group.
Key Features:
Fully Configurable: Input up to 12 different symbols to build your custom index.
Smart Filtering: Automatically ignores blank slots. You can build a basket of 3 stocks or 12 stocks without breaking the math.
Custom Anchor Date: Set the specific start date for the comparison (e.g., YTD, Q3 start, or a specific market event).
Visual Performance Gap: Green shading indicates your stock is outperforming the basket; Red shading indicates underperformance.
Example Use Case: Residential REITs
I developed this to analyze the "Residential REIT" sector. I wanted to see if Invitation Homes (INVH) was trading at a discount due to fundamentals or if the whole sector was down.
I configured the basket with 9 of its closest peers:
NYSE:VRE, NYSE:UDR, NYSE:MAA
NYSE:EQR, NYSE:CSR, NYSE:ESS
NYSE:CPT, NYSE:AVB, NYSE:AMH
The Result: The indicator draws a gray line representing the average return of those 9 "Big Boys." I can then load CSR on the chart and immediately see if it is lagging the pack (a potential value buy) or leading it.
How to Use:
Add the indicator to your chart.
Open Settings (Double-click the line).
Start Date: Set the date you want the "race" to begin (where all returns reset to 0%).
Symbols: Type in the tickers for your custom basket (e.g., NVDA, AMD, INTC). Leave unused slots blank.
Analyze:
Gray Line: The average performance of your basket.
Blue Line: The performance of the current symbol on your chart.
Pro Tip: You can save different "Presets" in the indicator settings for different sectors (e.g., save one preset as "Semis" and another as "Oil Majors") so you don't have to re-type symbols every time.
Advanced Power Index (GGE)# Advanced Power Index (GGE)
## Overview
The Advanced Power Index is a momentum oscillator that provides faster and more responsive signals compared to traditional RSI indicators. It uses direct summation calculations instead of exponential smoothing, making it particularly effective for short to medium-term trading.
## Key Features
- **Faster Response**: Reacts more quickly to price changes than standard RSI
- **Clearer Signals**: Provides sharper, more defined momentum shifts
- **Customizable Levels**: Overbought (68) and Oversold (32) zones
- **Visual Alerts**: Color-coded plot and background highlighting for critical zones
- **Adaptive**: Works well in both trending and ranging markets
## How It Works
The indicator calculates the ratio between positive and negative price changes over a specified period, converting this into a 0-100 scale oscillator. Unlike traditional RSI which uses Wilder's smoothing method, this approach delivers more immediate signals for momentum changes.
## Trading Applications
### 1. Overbought/Oversold Strategy
- **Oversold (< 32)**: Potential buying opportunity when indicator rises back above 32
- **Overbought (> 68)**: Potential selling opportunity when indicator falls back below 68
### 2. Midline Crossovers
- **Above 50**: Bullish momentum, consider long positions
- **Below 50**: Bearish momentum, consider short positions
### 3. Divergence Trading
- **Bullish Divergence**: Price makes lower lows while indicator makes higher lows
- **Bearish Divergence**: Price makes higher highs while indicator makes lower highs
### 4. Trend Following
- In uptrends: Use pullbacks to the 50 level as entry points
- In downtrends: Use rallies to the 50 level as exit/short points
## Color Coding
- **Green**: Strong bullish momentum (> 68)
- **Red**: Strong bearish momentum (< 32)
- **Yellow**: Neutral zone (32-68)
## Settings
- **Period**: Default 14, adjustable based on your trading timeframe
- **Price Type**: Close, Open, High, Low, or custom source
- **Highlight Zones**: Toggle background highlighting for critical levels
## Best Timeframes
- Most effective on 5-minute to 4-hour charts
- Ideal for day trading and scalping strategies
- Can be combined with trend indicators for confirmation
## Tips for Use
- Don't use in isolation - combine with volume, support/resistance levels
- Works best in liquid, actively traded markets
- Consider using alongside moving averages or MACD
- Always implement proper risk management and stop-losses
## Advantages Over Standard RSI
✓ Faster signal generation
✓ Less lag in volatile markets
✓ Better suited for short-term trading
✓ Clearer momentum shifts
✓ More responsive to sudden price changes
---
**Note**: No indicator is perfect. Always use proper risk management and combine multiple forms of analysis before making trading decisions.
**Disclaimer**: This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Trading involves substantial risk of loss.
Stochastic RSI (adjustable fast line color)Definition
The Stochastic RSI indicator (Stoch RSI) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time. The Stochastic RSI is an oscillator that calculates a value between 0 and 1 which is then plotted as a line. This indicator is primarily used for identifying overbought and oversold conditions.
History
The Stochastic RSI (Stoch RSI) indicator was developed by Tushard Chande and Stanley Kroll. They introduced their indicator in their 1994 book The New Technical Trader.
Calculation
In this example, a very common 14 Period Stoch RSI is used.
Stoch RSI = (RSI - Lowest Low RSI) / (Highest High RSI - Lowest Low RSI)
Here are some approximate benchmark levels:
14 Day Stoch RSI = 1 when RSI is at its highest level in 14 Days.
14 Day Stoch RSI = .8 when RSI is near the high of its 14 Day high/low range.
14 Day Stoch RSI = .5 when RSI is in the middle of its 14 Day high/low range.
14 Day Stoch RSI = .2 when RSI is near the low of its 14 Day high/low range.
14 Day Stoch RSI = 0 when RSI is at its lowest level in 14 Days.
The basics
It is important to remember that the Stoch RSI is an indicator of an indicator making it two steps away from price. RSI is one step away from price and therefore a stochastic calculation of the RSI is two steps away. This is important because as with any indicator that is multiple steps away from price, Stoch RSI can have brief disconnects from actual price movement. That being said, as a range bound indicator, the Stoch RSI's primary function is identifying crossovers as well as overbought and oversold conditions.
What to look for
Overbought/Oversold
Overbought and Oversold conditions are traditionally different than the RSI. While RSI overbought and oversold conditions are traditionally set at 70 for overbought and 30 for oversold, Stoch RSI are typically .80 and .20 respectively. When using the Stoch RSI, overbought and oversold work best when trading along with the underlying trend.
During an uptrend, look for oversold conditions for points of entry.
During a downtrend, look for overbought conditions for points of entry.
Summary
When using Stoch RSI in technical analysis, a trader should be careful. By adding the Stochastic calculation to RSI, speed is greatly increased. This can generate many more signals and therefore more bad signals as well as the good ones. Stoch RSI needs to be combined with additional tools or indicators in order to be at its most effective. Using trend lines or basic chart pattern analysis can help to identify major, underlying trends and increase the Stoch RSI's accuracy. Using Stoch RSI to make trades that go against the underlying trend is a dangerous proposition.
Inputs
K
The time period to be used in calculating the %K. 3 is the default.
D
% D = Percent of Deviation between price and the average of previous prices (Momentum). The time period to be used in calculating the %D. 3 is the default.
RSI Length
The time period to be used in calculating the RSI
Stochastic Length
The time period to be used in calculating the Stochastic
RSI Source
Determines what data from each bar will be used in calculations. Close is the default.
Confluence Strength Meter (Bull/Bear) [v6]This indicator provides a quantified "Strength Score" (0-5) for price action setups by measuring the confluence of five key technical drivers. It features a Strategy Mode toggle, allowing traders to instantly switch between Bullish (Long) and Bearish (Short) scoring logic.
How it Works: The script analyzes the following factors to build a Confluence Score:
Trend Direction: Price relation to the Slow EMA (50).
EMA Stack: Fast EMA (20) vs. Slow EMA (50) alignment.
Volume Sentiment: Price relation to the Intraday VWAP.
Momentum: MACD vs. Signal line crossover.
RSI Health: Checks for momentum in the correct direction while filtering out extreme exhaustion (Overbought/Oversold).
Features:
Visual Histogram: Color-coded bars (Green/Red for strong setups, Orange for moderate, Gray for weak) make it easy to spot high-confluence zones.
Dual Modes: Input setting to switch the entire logic engine between Bullish and Bearish detection.
Alerts: Pre-configured alert conditions for both Long and Short setups, ready for webhook integration.
Usage: Look for a score of 4 or 5 (brightly colored bars) to confirm high-probability entries in the direction of your selected trend.
BB Squeeze - HighQToolsBBW Squeeze — HighQTools
As always, if anyone has any tips or additional features they'd like to see, feel free to reach out!
Overview
The BBW Percentile Squeeze highlights periods of exceptionally compressed volatility by measuring Bollinger Band Width (BBW) and ranking it within a rolling historical percentile. When BBW falls into the lowest portion of its own distribution, price is statistically “tight” relative to recent history—a condition that often precedes volatility expansion.
Instead of plotting an oscillator in a separate pane, this tool expresses information directly on the price chart by changing bar colors during squeeze conditions, keeping charts clean and execution-focused.
How It Works
Standard Bollinger Bands are calculated using a configurable length and standard deviation.
Band width is normalized and evaluated against a rolling lookback window.
The current width is converted into a percentile rank (0–100):
Lower percentile = tighter volatility
Higher percentile = expanded volatility
When the percentile drops below the user-defined threshold, the market is considered to be in a squeeze.
An optional RTH-only mode allows the percentile calculation to consider Regular Trading Hours bars only, which is especially useful for futures traders who want to ignore overnight volatility distortions.
Visual Signals
Squeeze Bars
Bars are recolored when BBW percentile falls below the selected threshold, indicating extreme compression.
Release Bar (optional)
The first bar exiting the squeeze can be highlighted separately, marking the resolution of compression.
No oscillator, no bands, no shapes—only context applied directly to price.
How to Use It
The squeeze itself is not a trade signal.
Squeeze conditions indicate stored energy—expect range expansion, not direction.
Focus on:
Market structure
Higher-timeframe context
Volume, delta, or acceptance/rejection
The release from squeeze often provides the best opportunity, especially when aligned with directional bias or structural breaks.
For best results, use this tool as a context filter alongside execution setups rather than as a standalone entry signal.
Recommended Settings
BB Length: 10
Std Dev: 2.0
Percentile Lookback: 200–300 bars
Squeeze Threshold: 5-10 percentile
RTH-only: Enabled for index futures
Disclaimer
This indicator is designed to provide context, not predictions. Always combine volatility information with sound risk management and a complete trading plan.
Scalping MTF F-Bands Signals (L/S) + RSI Filter [RCOHelpline] v4Overview of Scalping MTF F-Bands Signals (L/S) + RSI Filter v4:
This indicator is a scalping / intraday signal system built on Multi-Timeframe (MTF) Fibonacci-style bands, combined with an RSI midline filter and an optional direction-lock mechanism designed to reduce repeated entries during unfavorable conditions.
The script focuses on identifying statistically stretched price areas rather than chasing momentum.
Core Concept
The indicator plots two independent Fibo Band layers (A & B).
Each layer is calculated using:
SMA (baseline)
ATR (volatility expansion)
Fibonacci-style multipliers
Both layers are calculated on user-selected higher timeframes and projected onto the current chart.
Signal Sources (A / B / BOTH)
You can choose how signals are generated:
A → Signals based only on Fibo Bands A
B → Signals based only on Fibo Bands B
BOTH → Signals require confluence between A and B
When BOTH is selected, a signal is triggered only if price simultaneously reaches valid zones on both band layers, helping filter noise.
Entry Logic
LONG
Price closes inside the Lower Zone (between Fib Band 2 and Band 3)
RSI is above the midline (default 50)
SHORT
Price closes inside the Upper Zone (between Fib Band 2 and Band 3)
RSI is below the midline (default 50)
All signals are designed to trigger on confirmed candle closes to reduce MTF instability.
Direction Lock System (Optional)
If enabled, the script locks the trade direction when a Stop Loss occurs before TP1 is reached.
This helps prevent repeated entries in the same direction during unfavorable or choppy conditions.
Unlock Logic
A locked direction can be unlocked when:
RSI crosses back over the midline
AND price closes again inside the valid Band 2–3 zone
With the optional setting enabled, a new entry may occur on the same candle as the unlock condition.
TP & Stop Logic (Price-Action Based)
This indicator uses structure-based exits, not fixed pip targets.
Before TP1
LONG → Two consecutive closes below Lower Band 3
SHORT → Two consecutive closes above Upper Band 3
After TP1
Stop automatically shifts to Break-Even
Any return to entry price closes the position
MTF & Usage Notes
The indicator relies on higher timeframe data
Signals are gated until band data is fully formed
Designed for structured price action environments
⚠️ Not recommended for:
High-impact news
Sudden volatility spikes
Extremely fast impulsive moves
[RoyalNeuron] RSI-SMA [WidowMaker v1.0]Hey everyone,👋
This is WidowMaker v1.0 — my free take on a really clean, zero-lag smoothed RSI that actually helps you see momentum without all the noise.
What makes it different:
- Smoothed RSI (you pick SMA or EMA) so it doesn’t whipsaw as much as the default one
- Green line when momentum is rising, red when it’s falling — super easy to read at a glance
- Histogram turns solid green for strong upward push, solid red when things are fading
- Very faint green background in oversold (buy zone) and faint red in overbought (caution zone)
Quick way to use it:
- Green line + solid green histogram near the bottom (oversold) → good spot for longs
- Red line + solid red histogram near the top (overbought) → time to think about shorts or taking profit
I made it because I was tired of cluttered indicators that look cool but don’t help much in real trading.
I am thinking of an updated version, still thinking of what to add so that to add value.
Would love your honest feedback — like it, use it, tell me what you’d add. More free tools on the way!
Cheers,
RoyalNeuron 👑
RSI, Smoothed RSI, Momentum, Oscillator, Overbought, Oversold, Histogram, Green Red, Free, Alerts
Williams %R Smoothed (EMA colour & bar toggle)From TradingView's description:
Williams %R (%R) is a momentum-based oscillator used in technical analysis, primarily to identify overbought and oversold conditions. The %R is based on a comparison between the current close and the highest high for a user defined look back period. %R Oscillates between 0 and -100 (note the negative values) with readings closer to zero indicating more overbought conditions and readings closer to -100 indicating oversold. Typically %R can generate set ups based on overbought and oversold conditions as well overall changes in momentum.
What's special?
This indicator adds two additional EMA lines to the original Williams %R indicator. Default EMA lengths are 5 and 13. The result is 2 smoother average lines, which are easier to read.
This indicator includes:
- signals for EMA crosses. EMA crosses can help indicate confirmed trend changes. Default colors are green and red
- signals for trend reversals on the faster EMA line. Default colors are blue and orange
Alerts available for bullish/bearish crossovers and reversals.
3D Isometric MFI (Christmas Edition) [Kodexius]3D Isometric MFI (Christmas Edition) is a visual-first interpretation of the classic Money Flow Index, rendered as a projected 3D-style ribbon using an isometric mapping. Instead of plotting a standard oscillator line, the script reconstructs recent MFI history as a depth-aware ribbon that moves from back to front, producing a layered perspective effect that helps you read momentum shifts, regime transitions, and relative strength changes as a continuous structure.
This Christmas Edition was also built for fun and as a creative seasonal experiment. The goal is to keep the underlying indicator logic familiar, while presenting it in a playful, “3D showroom” style that looks great in a separate oscillator panel.
The indicator is designed for presentation quality and chart readability. It uses controlled object management (lines, polylines, labels) and renders only the most recent portion of the MFI history (user-defined depth). A decorative snow background effect adds atmosphere.
🔹 Features 🎄
🔸 Isometric 3D Projection Engine
The ribbon is produced by projecting 3D points (time offset, MFI value, depth) into 2D chart coordinates.
- X represents bar offset into history
- Y represents the MFI value
- Z introduces depth and perspective
Angle controls the projection direction, and Vertical Zoom scales the perceived amplitude.
🔸 Depth-Limited Ribbon Rendering (Back to Front)
Only the most recent History Depth values are drawn to keep performance and readability stable.
- Each segment connects two consecutive MFI values
- A top edge, bottom edge, and filled face are drawn to simulate thickness
- Older segments fade into the background
🔸 Dynamic Gradient Coloring + Depth Fade
Ribbon color follows a value-based gradient:
- Lower values lean red (risk-off pressure)
- Higher values lean green (risk-on pressure)
- Mid values blend naturally
Transparency increases with depth so older history is less dominant but still readable.
🔸 Tip Label (Value + Candy Marker) 🍭🍬
The most recent ribbon tip displays current MFI value.
A candy symbol that switches based on the 50 midpoint
The label is offset so it does not cover the ribbon tip.
🔸 Projected Reference Grid (80, 50, 20)
A projected grid is drawn at classic MFI reference levels to improve orientation:
- 80 Overbought reference
- 50 Midpoint reference
- 20 Oversold reference
These grid lines use the same projection math, so they stay aligned at any angle or zoom.
🔸 Seasonal Snow Background Effect ❄️
Randomized snow is rendered behind the ribbon using lightweight labels. This is purely decorative and does not alter MFI values or logic.
🔸 Object Lifecycle Management
Because 3D-style drawing uses many objects, the script manages them explicitly by storing references in arrays, deleting old objects, and redrawing on the last bar. This helps prevent visual stacking artifacts and keeps the panel clean.
🔹 Calculations
1) Money Flow Index Computation
The script separates “positive” and “negative” money flow based on the direction of change in the selected source, then converts their ratio into the standard 0 to 100 oscillator. Classic MFI Calculations.
calc_mfi(int length, float source) =>
float upper = math.sum(volume * (ta.change(source) <= 0 ? 0 : source), length)
float lower = math.sum(volume * (ta.change(source) >= 0 ? 0 : source), length)
float mfi = 100.0
if lower != 0
float r = upper / lower
mfi := 100 - (100 / (1 + r))
mfi
Interpretation:
upper accumulates volume-weighted source values on up moves
lower accumulates volume-weighted source values on down moves
if lower is zero, MFI defaults to 100 to avoid division errors
otherwise, MFI is computed from the ratio transform
2) History Buffer Management
The current MFI value is pushed into the front of an array every bar. The array is trimmed to History Depth so rendering stays bounded.
array.unshift(ctx.history_val, mfi_curr)
if ctx.history_val.size() > depth
ctx.history_val.pop()
3) 3D Point Model and Ribbon Thickness
Each segment is built from four projected points to form a filled face (a simple quad). A small thickness is applied to create the “ribbon” look, and depth is used to simulate perspective.
4) Isometric Projection to Chart Coordinates
3D points are mapped into chart coordinates with an angle rotation and scaling for zoom and depth.
method project(Point3 p, int anchor_bar, float angle_rad, float zoom, float z_scale) =>
float x_world = -float(p.x) * 2.0
float z_val = p.z * z_scale
float screen_x_offset = (x_world * math.cos(angle_rad)) - (z_val * 1.0)
float screen_y_offset = (p.y * zoom) + (x_world * math.sin(angle_rad)) * 0.5
int final_x = anchor_bar + int(math.round(screen_x_offset))
float final_y = screen_y_offset
chart.point.from_index(final_x, final_y)
5) Gradient and Depth Transparency
Color is derived from MFI value via a gradient, and transparency increases with segment depth so recent data remains dominant while older context stays visible.
6) Projected Reference Grid Construction
The 80, 50, 20 levels are drawn as dotted segments across the same historical span, using the same projection and depth fade logic for consistent alignment.
🎆 Wishing you a great year ahead 🎄✨
May your charts be clear, your risk be controlled, and your next year be filled with health, peace, and good trades. Happy Holidays and Happy New Year.
TradingView Alert Adapter for AlgoWayTRALADAL is a universal TradingView alert adapter designed for traders who work with indicators and want to test and automate indicator-based signals in a structured way.
It allows users to convert indicator outputs into a TradingView strategy and forward the same logic through alerts for multi-platform execution via AlgoWay.
This script can be used as TradingView indicator automation, enabling traders to build a TradingView strategy from indicators and route TradingView alerts through an AlgoWay connector TradingView workflow for multi-platform execution.
Why this adapter is needed
Most TradingView indicators are not available as strategies.
Traders often receive visual signals or alerts but have no access to objective statistics such as win rate, drawdown, or profit factor.
This adapter solves that problem by providing a generic framework that transforms indicator signals into a backtestable strategy — without modifying indicator code and without requiring Pine Script knowledge.
Input source–based design (including closed indicators)
All conditions in TRALADAL are built using input sources, which means you can connect:
Event-based signals (1 / non-zero values, arrows, shapes)
Indicator lines and values (EMA, VWAP, RSI, MACD, etc.)
Outputs from invite-only or closed-source indicators
If an indicator produces a visible signal or alert-compatible output, it can be evaluated and tested using this adapter, even when the source code is locked.
Three-level signal logic
The strategy uses a three-layer condition model commonly applied in discretionary and systematic trading:
Signal — primary entry trigger
Confirmation — directional validation
Filter — additional noise reduction
Each level can be enabled independently and combined using AND / OR logic, allowing traders to test multi-indicator systems without writing complex scripts.
Risk management and alert execution
The adapter supports practical risk parameters:
Stop Loss (pips)
Take Profit (pips)
Trailing Stop (pips)
Two execution modes are available:
Strategy Mode — risk rules are applied inside the TradingView Strategy Tester
Alert Mode — risk parameters are embedded into structured TradingView alerts and handled by AlgoWay during execution
Position sizing follows TradingView conventions (percent of equity, cash, or contracts) to keep strategy results and alerts aligned.
Typical use cases
This TradingView alert adapter is intended for:
Indicator-based trading systems
Backtesting signals from closed or invite-only scripts
Comparing multiple indicators within a single strategy
Sending TradingView alerts to external trading platforms via AlgoWay
The adapter does not generate signals or trading recommendations.
Its purpose is to provide a transparent and testable workflow from indicator signals to TradingView alerts and automated execution.
VIX Percentile OscillatorWhat is this script?
This is a trading tool that helps you decide when to buy or sell options based on market volatility. Think of it as a "fear meter" for the stock market.
What is VIX?
VIX = Volatility Index (also called the "fear index")
When VIX is HIGH → Market is scared/volatile → Options are EXPENSIVE
When VIX is LOW → Market is calm → Options are CHEAP
What does "Percentile" mean?
Instead of just showing VIX price, this script shows where VIX is compared to history.
Example: If VIX Percentile = 85%
This means VIX is higher than 85% of all past readings
Only 15% of the time was VIX higher than now
Translation: Volatility is unusually HIGH
The 5 Trading Zones
The script divides the market into 5 zones:
🔴 EXTREME SELLING ZONE (90-100%)
VIX is in the top 10% historically
Action: AGGRESSIVELY SELL OPTIONS (collect big premiums)
Market panic = expensive options = profit for sellers
🟠 SELLING ZONE (80-89%)
VIX is elevated but not extreme
Action: SELL OPTIONS (good premiums available)
⚪ NEUTRAL ZONE (20-79%)
VIX is normal
Action: WAIT or use other strategies
🟢 BUYING ZONE (10-19%)
VIX is low
Action: BUY OPTIONS (they're cheap)
🟢 EXTREME BUYING ZONE (0-9%)
VIX is in the bottom 10% historically
Action: AGGRESSIVELY BUY OPTIONS (bargain prices)
Market complacency = cheap options = opportunity
Understanding the Chart
Main Line (Blue/Red/Green):
Shows current VIX percentile
Color changes based on zone
Thick line = easy to see
Histogram (Background bars):
Red bars = above 50% (high volatility)
Green bars = below 50% (low volatility)
Purple Momentum Line:
Shows if VIX is rising or falling
Helps you catch trends early
Background Colors:
Light red/orange = Selling zones
Light green = Buying zones
Triangle Markers:
Appear when entering new zones
"EXTREME" label = strongest signals
The Statistics Table (Top Right)
VIX Price: Current VIX value (e.g., 16.50)
Percentile: Where VIX ranks (0-100%)
Z-Score: Statistical measure
Above +2 or below -2 = extreme
Red text = unusually high/low
Momentum: Rate of change
Red = rising (volatility increasing)
Green = falling (volatility decreasing)
Avg VIX: Average VIX over lookback period
Current Zone: Which zone you're in right now
Bars in Zone: How long you've been in this zone
Simple Trading Rules
FOR OPTION SELLERS (Premium Collectors):
✅ SELL when: Percentile > 80% (especially > 90%)
High premiums available
Examples: Sell covered calls, cash-secured puts, credit spreads
FOR OPTION BUYERS (Hedgers/Speculators):
✅ BUY when: Percentile < 20% (especially < 10%)
Cheap options available
Examples: Buy protective puts, long calls, debit spreads
Key Settings You Can Adjust
Lookback Period (default: 252)
How far back to compare (252 = 1 year of trading days)
Longer = smoother, more stable
Shorter = more sensitive to recent changes
Smoothing Period (default: 3)
Reduces noise/wiggling
Higher = smoother line
Lower = more responsive
Zone Thresholds:
Extreme Sell: 90%
Sell: 80%
Buy: 20%
Extreme Buy: 10%
You can customize these!
Real-World Example
Scenario: VIX Percentile jumps to 92%
What this means:
VIX is higher than 92% of all past readings
Market is in panic mode
Option premiums are INFLATED
Trading Action:
✅ Sell covered calls on stocks you own
✅ Sell cash-secured puts on stocks you want to buy
✅ Sell credit spreads
❌ DON'T buy expensive options right now
Why it works: When fear is extreme, it usually calms down eventually. You profit as premiums deflate.
Important Reminders
⚠️ This is a TIMING tool, not a crystal ball
It tells you WHEN premiums are expensive/cheap
It doesn't tell you WHICH options to trade
You still need proper risk management
⚠️ Works on ALL timeframes
Daily charts = swing trading
Weekly charts = position trading
Intraday charts = day trading volatility
⚠️ Best for:
Option sellers during high VIX (>80%)
Option buyers during low VIX (<20%)
Portfolio hedging decisions
Volatility trading strategies
Bottom Line: This script helps you buy options when they're cheap and sell options when they're expensive. It's like shopping for sales, but for volatility!
DISCLAIMER: This information is provided for educational purposes only and should not be considered financial, investment, or trading advice. Please do boost if you like it. Happy Trading.
Buying Opportunity Score V2.2Buying Opportunity Indicator V2.2
What This Indicator Does
This indicator identifies potential buying opportunities during market fear and pullbacks by combining multiple technical signals into a single composite score (0-100). Higher scores indicate more fear/oversold conditions are present simultaneously.
Why These Components?
Market bottoms typically occur when multiple fear signals align. This indicator combines five complementary measurements that each capture different aspects of market stress:
1. VIX Level (30 points) - Measures implied volatility/fear. VIX spikes during selloffs as traders buy protection. Thresholds based on historical percentiles (VIX 25+ is ~85th percentile historically).
2. Price Drawdown (30 points) - Distance from 52-week high. Larger drawdowns create better risk/reward for mean reversion entries. A 10%+ drawdown from highs historically presents better entry points than buying at all-time highs.
3. RSI 14 (12 points) - Classic momentum oscillator measuring oversold conditions. RSI below 30 indicates short-term selling exhaustion.
4. Bollinger Band Position (13 points) - Statistical measure of price extension. Price below the lower band (2 standard deviations) indicates statistically unusual weakness.
5. VIX Timing (15 points) - Bonus points when VIX is declining from a recent peak. This helps avoid catching falling knives by waiting for fear to subside.
How The Score Works
- Each component contributes points based on severity
- Components are weighted by predictive value from historical analysis
- Score of 70+ means multiple fear signals are present
- Score of 80+ means extreme fear across most components
How To Use
1. Apply to SPY, QQQ, or IWM on daily timeframe
2. Monitor the Current Score in the statistics table
3. Scores below 50 = normal conditions, no action needed
4. Scores 60-69 = elevated fear, monitor closely
5. Scores 70+ = consider entering long positions
6. Scores 80+ = strongest historical entry points
Important Limitations
- This is a research tool, not financial advice
- Past patterns may not repeat in the future
- Signals are infrequent (typically 2-4 per year reaching 70+)
- Works best on broad market ETFs; not validated for individual stocks
- Always use proper position sizing and risk management
- The indicator identifies conditions that have historically been favorable, but cannot predict future returns
Statistics Table
The table shows:
- Current Score with context message
- Chart Results: Rolling 1Y/3Y/5Y statistics from your loaded chart data
Alerts
Multiple alert options available for different score thresholds.
Open Source
Code is fully visible for review and educational purposes.
RS Rating Multi-Timeframe v2RS Rating Multi-Timeframe
A relative strength rating indicator modeled after IBD's proprietary RS Rating system. This indicator measures a stock's price performance relative to the S&P 500 (or any benchmark you choose) and converts it to a 1-99 rating scale.
How It Works
The indicator calculates weighted performance ratios across four timeframes:
40% weight: 63-day (3-month) performance
20% weight: 126-day (6-month) performance
20% weight: 189-day (9-month) performance
20% weight: 252-day (12-month) performance
This weighting emphasizes recent performance while still accounting for longer-term strength—the same methodology used by leading growth stock research services.
Rating Scale
90-99: Elite relative strength (top 10% of stocks)
80-89: Strong relative strength (top 20%)
50-79: Average performance
30-49: Below average
1-29: Weak relative strength (bottom 30%)
Features
Customizable benchmark index (default: S&P 500)
Optional moving average overlay (EMA or SMA)
Visual zones with color-coded backgrounds
Signal markers when RS crosses key thresholds (80 and 30)
Info table showing current rating, daily change, MA value, and raw score
Built-in alerts for threshold crossovers
Pine Screener Compatible
This indicator includes state-based plots specifically designed for TradingView's Pine Screener. You can screen watchlists for:
RS Above 90, 80, 70, or 50
RS Below 50 or 30
RS Above/Below its moving average
Custom thresholds using the raw RS Rating value
In the Pine Screener, select the "Screener RS Above 80" output and set it to "True" (or equals 1) to find all stocks currently above 80—not just those crossing on that bar.
Usage Tips
Growth investors typically look for stocks with RS Ratings above 80, indicating the stock is outperforming 80% of the market. Combining high RS Rating with other technical signals (breakouts, volume, moving averages) can help identify leading stocks.






















