US Net Liquidity + M2 / US Debt (FRED)US Net Liquidity + M2 / US Debt
🧩 What this chart shows
This indicator plots the ratio of US Net Liquidity + M2 Money Supply divided by Total Public Debt.
US Net Liquidity is defined here as the Federal Reserve Balance Sheet (WALCL) minus the Treasury General Account (TGA) and the Overnight Reverse Repo facility (ON RRP).
M2 Money Supply represents the broad pool of liquid money circulating in the economy.
US Debt uses the Federal Government’s total outstanding debt.
By combining net liquidity with M2, then dividing by total debt, this chart provides a structural view of how much monetary “fuel” is in the system relative to the size of the federal debt load.
🧮 Formula
Ratio
=
(
Fed Balance Sheet
−
(
TGA
+
ON RRP
)
)
+
M2
Total Public Debt
Ratio=
Total Public Debt
(Fed Balance Sheet−(TGA+ON RRP))+M2
An optional normalization feature scales the ratio to start at 100 on the first valid bar, making long-term trends easier to compare.
🔎 Why it matters
Liquidity vs. Debt Growth: The numerator (Net Liquidity + M2) captures the monetary resources available to markets, while the denominator (Debt) reflects the expanding obligation of the federal government.
Market Signal: Historically, shifts in net liquidity and money supply relative to debt have coincided with major turning points in risk assets like equities and Bitcoin.
Context: A rising ratio may suggest that liquidity conditions are improving relative to debt expansion, which can be supportive for risk assets. Conversely, a falling ratio may highlight tightening conditions or debt outpacing liquidity growth.
⚙️ How to use it
Overlay this chart against S&P 500, Bitcoin, or gold to analyze correlations with asset performance.
Watch for trend inflections—does the ratio bottom before equities rally, or peak before risk-off periods?
Use normalization for long historical comparisons, or raw values to see the absolute ratio.
📊 Data sources
This indicator pulls from FRED (Federal Reserve Economic Data) tickers available in TradingView:
WALCL: Fed balance sheet
RRPONTSYD: Overnight Reverse Repo
WTREGEN: Treasury General Account
M2SL: M2 money stock
GFDEBTN: Total federal public debt
⚠️ Notes
Some FRED series are updated weekly, others monthly—set your chart timeframe accordingly.
If any ticker is unavailable in your plan, replace it with the equivalent FRED symbol provided in TradingView.
This indicator is intended for macro analysis, not short-term trading signals.
Göstergeler ve stratejiler
Auto SMA 50&200 (D,4h,1h)Auto SMA 50&200 (Daily, 4hr,1hr)
About this Indicator:
This indicator plots the 50 and 200 Simple Moving Average (SMA) as horizontal price levels for the Daily, 4 hour, and 1 hour time frames. The SMAs available in this indicator will appear on each time frame saving you from having to switch to different Time frames, or having multiple charts open to view the large point of view SMAs. This is perfect for those who like to chart off the large point of view and then switch into the smaller time frames.
Settings Input:
Master Button to toggle on/off Text Bubbles or Price Scale Labels
Text Position is set to best position by default.
Each SMA setting gives you the option to enable/disable it, hide the text label, change the color, change the line style, and line width.
Settings Style:
Under "Style" you will see that you cannot change the lines because they are set to transparent. The idea was to make sure you have the option to view the SMA Price Labels on the Price Scale without seeing the trend lines, which makes it too cluttered.
You can also individually show/hide the Label on the Price Scale for each SMA
EMRVA//@version=5
indicator("EMRVA", overlay=true)
// === الإعدادات ===
emaLength = input.int(200, "EMA Length")
rsiLength = input.int(14, "RSI Length")
volLength = input.int(20, "Volume MA Length")
adxLength = input.int(14, "ADX Length")
adxFilter = input.int(20, "ADX Minimum Value") // فلتر الاتجاه
// === EMA200 ===
ema200 = ta.ema(close, emaLength)
plot(ema200, color=color.orange, linewidth=2, title="EMA 200")
// === MACD ===
macdLine = ta.ema(close, 12) - ta.ema(close, 26)
signalLine = ta.ema(macdLine, 9)
// === RSI ===
rsi = ta.rsi(close, rsiLength)
// === Volume Confirmation ===
volMA = ta.sma(volume, volLength)
volCond = volume > volMA
// === ADX Manual Calculation ===
upMove = high - high
downMove = low - low
plusDM = na(upMove) ? na : (upMove > downMove and upMove > 0 ? upMove : 0)
minusDM = na(downMove) ? na : (downMove > upMove and downMove > 0 ? downMove : 0)
tr = ta.rma(ta.tr, adxLength)
plusDI = 100 * ta.rma(plusDM, adxLength) / tr
minusDI = 100 * ta.rma(minusDM, adxLength) / tr
dx = 100 * math.abs(plusDI - minusDI) / (plusDI + minusDI)
adx = ta.rma(dx, adxLength)
adxCond = adx > adxFilter
// === شروط الدخول والخروج ===
longCond = close > ema200 and macdLine > signalLine and rsi > 50 and volCond and adxCond
shortCond = close < ema200 and macdLine < signalLine and rsi < 50 and volCond and adxCond
// === منطق الإشارة عند بداية الاتجاه فقط ===
var inLong = false
var inShort = false
buySignal = longCond and not inLong
sellSignal = shortCond and not inShort
if buySignal
inLong := true
inShort := false
if sellSignal
inShort := true
inLong := false
// === إشارات ثابتة ===
plotshape(buySignal, title="Buy Signal", location=location.belowbar,
color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="Sell Signal", location=location.abovebar,
color=color.red, style=shape.labeldown, text="SELL")
// === تنبيهات ===
alertcondition(buySignal, title="Buy Alert", message="📈 إشارة شراء مؤكدة مع فلتر ADX")
alertcondition(sellSignal, title="Sell Alert", message="📉 إشارة بيع مؤكدة مع فلتر ADX")
// === رسم ADX للتأكيد ===
plot(adx, title="ADX", color=color.blue)
hline(adxFilter, "ADX Filter", color=color.red)
Highest-Lowest & TrendTSL
This code is to find the highest and lowest since the beginning of a trend.
Once the trend is found respective TSL is plotted.
Screenshot explains more about the take outs from this indicator.
Timeframe option provided to run the indicator on user selected timeframe while the chart timeframe can be different.
This gives more insights from higher or lower timeframes.
hope this Indicator helps.
万物·玄览Telegram频道:lunarvoyagerss
👑付费会员可以享受使用权限
TD9、FVG、SFVG、SMT、supportandresistance、orderblocks、ICT、SMC、SFP
DrFX Reversal Algo - MACD-RSI System with Dynamic Zone Filtering**DrFX Reversal Algo** is a sophisticated reversal detection system that combines MACD momentum analysis with RSI confirmation and dynamic support/resistance zone filtering. This indicator employs advanced mathematical filtering techniques to identify high-probability reversal points while minimizing false signals through intelligent zone-based filtering.
**Core Innovation & Originality**
This system uniquely integrates four key analytical components:
1. **Enhanced MACD Engine** - Customizable fast (20), slow (50), and signal (12) lengths with crossover/crossunder detection optimized for reversal identification
2. **RSI Power Classification** - 14-period RSI used to classify signal strength and trend bias, distinguishing between "Strong" and regular signals
3. **Kalman-Filtered Dynamic Zones** - Advanced mathematical smoothing of support/resistance levels using Kalman filter algorithms for noise reduction
4. **Gradient-Based Visual System** - Power-weighted bar coloring that visualizes trend strength using MACD histogram and RSI signal intensity
**System Architecture & Functionality**
**Signal Generation Methodology:**
The core algorithm detects MACD line crossovers above and below the signal line, then applies RSI-based classification. When RSI signal (RSI-50) is positive during bullish MACD crossovers, the system generates "Strong Buy" signals. When RSI signal is negative or neutral, it produces regular "Buy" signals. The inverse logic applies for sell signals.
**Dynamic Zone Calculation:**
Support and resistance zones are calculated using a multi-step process:
1. **Volatility Bands**: ATR-based upper/lower bands using (high+low)/2 ± ATR * multiplier
2. **Precise Zone Definition**: Integration of 20-period highest/lowest calculations with volatility bands
3. **Kalman Filter Smoothing**: Advanced noise reduction using configurable Q (0.01) and R (0.1) parameters
4. **Zone Validation**: Real-time adjustment based on price action and volatility changes
**Kalman Filter Implementation:**
The system employs a custom Kalman filter function for zone smoothing:
```
kf_k = kf_p / (kf_p + kf_r)
kf_x = kf_k * input + (1 - kf_k) * previous_estimate
kf_p = (1 - kf_k) * kf_p + kf_q
```
This mathematical approach reduces zone boundary noise while maintaining responsiveness to genuine support/resistance level changes.
**Unique Visual Features**
**Power-Based Gradient System:**
Bar coloring utilizes a sophisticated gradient calculation based on MACD histogram power (absolute value) and RSI signal strength. The system creates dynamic color transitions:
- **Bullish Gradient**: Green spectrum (0-255 intensity) based on histogram power
- **Bearish Gradient**: Red spectrum (0-255 intensity) based on histogram power
- **Consolidation**: Mixed gradient indicating uncertain market conditions
**Dynamic Zone Visualization:**
- **Support Zones**: Blue-filled areas between smoothed support boundaries
- **Resistance Zones**: Red-filled areas between smoothed resistance boundaries
- **Zone Adaptation**: Real-time boundary adjustment based on volatility and price action
**Signal Classification System**
**Signal Strength Hierarchy:**
1. **Strong Buy**: MACD bullish crossover + RSI signal > 0 (above 50-line)
2. **Regular Buy**: MACD bullish crossover + RSI signal ≤ 0 (below 50-line)
3. **Strong Sell**: MACD bearish crossover + RSI signal < 0 (below 50-line)
4. **Regular Sell**: MACD bearish crossover + RSI signal ≥ 0 (above 50-line)
**Optional Zone Filtering:**
When enabled, the system only displays signals when:
- Buy signals: Price above smoothed support zone end
- Sell signals: Price below smoothed resistance zone start
**Usage Instructions**
**Primary Signal Interpretation:**
- **Large Green Triangles**: Strong buy signals with RSI confirmation above 50
- **Small Green Triangles**: Regular buy signals with RSI below 50
- **Large Red Triangles**: Strong sell signals with RSI confirmation below 50
- **Small Red Triangles**: Regular sell signals with RSI above 50
**Zone Analysis:**
- **Blue Zones**: Dynamic support areas where buying interest may emerge
- **Red Zones**: Dynamic resistance areas where selling pressure may increase
- **Zone Breaks**: Price movement outside zones indicates potential trend continuation
**Bar Color Interpretation:**
- **Bright Green**: Strong bullish momentum (high MACD histogram power + positive RSI)
- **Dark Green**: Moderate bullish momentum
- **Bright Red**: Strong bearish momentum (high MACD histogram power + negative RSI)
- **Dark Red**: Moderate bearish momentum
- **Mixed Colors**: Consolidation or uncertain trend direction
**Optimal Usage Strategies:**
1. **Reversal Trading**: Focus on signals occurring near zone boundaries
2. **Confirmation Trading**: Use zone filter to reduce false signals in trending markets
3. **Momentum Trading**: Prioritize "Strong" signals with bright gradient bar coloring
4. **Multi-Timeframe**: Combine with higher timeframe trend analysis for context
**Parameter Customization**
**MACD Settings:**
- **Fast Length (20)**: Shorter periods increase sensitivity
- **Slow Length (50)**: Longer periods reduce noise
- **Signal Smoothing (12)**: Affects crossover signal timing
**Support/Resistance Settings:**
- **Volatility Period (10)**: ATR calculation period for zone width
- **Multiplier (5.0)**: Zone expansion factor based on volatility
**Visual Settings:**
- **Gradient Range (2000)**: Controls color intensity scaling
- **Zone Filtering**: Enables/disables signal filtering based on zone position
**Advanced Features**
**Alert System:**
Comprehensive alert functionality with detailed messages including symbol, timeframe, current price, and signal type. Separate enable/disable options for long and short alerts.
**Mathematical Precision:**
The Kalman filter implementation provides superior noise reduction compared to simple moving averages while maintaining responsiveness to genuine market structure changes.
**Important Considerations**
This system works optimally in markets with clear support/resistance levels and moderate volatility. The Kalman filter smoothing may introduce slight lag during rapid market movements. Strong signals generally provide higher probability setups but may be less frequent than regular signals.
The algorithm combines established techniques (MACD, RSI) with advanced filtering and zone detection methodologies. The integration of multiple confirmation methods helps reduce false signals while maintaining sensitivity to genuine reversal opportunities.
**Disclaimer**: This indicator is designed for educational and analytical purposes. Past performance does not guarantee future results. The system's effectiveness varies across different market conditions and timeframes. Always implement proper risk management and consider multiple confirmation methods before making trading decisions.
万物·太初🔸Telegram:@lunarvoyagerss
👑付费会员可以享受使用权限
Divergence Profile Volumen BBand OpenInterest Trendline MultiTimeFrame Liquidity
FSVZO [Alpha Extract]A sophisticated volume-weighted momentum oscillator that combines Fourier smoothing with Volume Zone Oscillator methodology to deliver institutional-grade flow analysis and divergence detection. Utilizing advanced statistical filtering including ADF trend analysis and multi-dimensional volume dynamics, this indicator provides comprehensive market sentiment assessment through volume-price relationships with extreme zone detection and intelligent divergence recognition for high-probability reversal and continuation signals.
🔶 Advanced VZO Calculation Engine
Implements enhanced Volume Zone Oscillator methodology using relative volume analysis combined with smoothed price changes to create momentum-weighted oscillator values. The system applies exponential smoothing to both volume and price components before calculating positive and negative momentum ratios with trend factor integration for market regime awareness.
🔶 Fourier-Based Smoothing Architecture
Features advanced Fourier approximation smoothing using cosine-weighted calculations to reduce noise while preserving signal integrity. The system applies configurable Fourier length parameters with weighted sum normalization for optimal signal clarity across varying market conditions with enhanced responsiveness to genuine trend changes.
// Fourier Smoothing Algorithm
fourier_smooth(src, length) =>
sum = 0
weightSum = 0
for i = 0 to length - 1
weight = cos(2 * π * i / length)
sum += src * weight
weightSum += weight
sum / weightSum
🔶 Intelligent Divergence Detection System
Implements comprehensive divergence analysis using pivot point methodology with configurable lookback periods for both standard and hidden divergence patterns. The system validates divergence conditions through range analysis and provides visual confirmation through plot lines, labels, and color-coded identification for precise timing analysis.
15MIN
4H
12H
🔶 Flow Momentum Analysis Framework
Calculates flow momentum by measuring oscillator deviation from its exponential moving average, providing secondary confirmation of volume flow dynamics. The system creates momentum-based fills and visual indicators that complement the primary oscillator analysis for comprehensive market flow assessment.
🔶 Extreme Zone Detection Engine
Features sophisticated extreme zone identification at ±98 levels with specialized marker system including white X markers for signals occurring in extreme territory and directional triangles for potential reversal points. The system provides clear visual feedback for overbought/oversold conditions with institutional-level threshold accuracy.
🔶 Dynamic Visual Architecture
Provides advanced visualization engine with bullish/bearish color transitions, dynamic fill regions between oscillator and signal lines, and flow momentum overlay with configurable transparency levels. The system includes flip markers aligned to color junction points for precise signal timing with optional bar close confirmation to prevent repainting.
🔶 ADF Trend Filtering Integration
Incorporates Augmented Dickey-Fuller inspired trend filtering using normalized price statistics to enhance signal quality during trending versus ranging market conditions. The system calculates trend factors based on mean deviation and standard deviation analysis for improved oscillator accuracy across market regimes.
🔶 Comprehensive Alert System
Features intelligent multi-tier alert framework covering bullish/bearish flow detection, extreme zone reversals, and divergence confirmations with customizable message templates. The system provides real-time notifications for critical volume flow changes and structural market shifts with exchange and ticker integration.
🔶 Performance Optimization Framework
Utilizes efficient calculation methods with optimized variable management and configurable smoothing parameters to balance signal quality with computational efficiency. The system includes automatic pivot validation and range checking for consistent performance across extended analysis periods with minimal resource usage.
This indicator delivers sophisticated volume-weighted momentum analysis through advanced Fourier smoothing and comprehensive divergence detection capabilities. Unlike traditional volume oscillators that focus solely on volume patterns, the FSVZO integrates volume dynamics with price momentum and statistical trend filtering to provide institutional-grade flow analysis. The system's combination of extreme zone detection, intelligent divergence recognition, and multi-dimensional visual feedback makes it essential for traders seeking systematic approaches to volume-based market analysis across cryptocurrency, forex, and equity markets with clearly defined reversal and continuation signals.
DrFX Premium Algo v3.1 - Advanced Multi-Strategy Trading System
**DrFX Premium Algo v3.1** is a sophisticated trading ecosystem that integrates multiple proven strategies, advanced market analysis, and comprehensive risk management into a unified framework. This system represents a complete trading solution designed for traders who require multi-dimensional market analysis with precise signal generation.
**Core Innovation & Originality**
This algorithm uniquely synthesizes eight distinct trading methodologies:
1. **Adaptive Supertrend Engine** - Dynamic trend-following system with customizable sensitivity and intelligent signal tuning (1-25 range)
2. **WaveTrend Pullback Detection** - Advanced oscillator-based system identifying high-probability retracement entries
3. **Contrarian Signal Generator** - Custom RSI-based system with adaptive smoothing for counter-trend opportunities
4. **Multi-Preset Architecture** - Three distinct trading modes: "All Signals," "Strong+," and "Trend Scalper" for different market approaches
5. **Intelligent Signal Filtering** - Seven-layer filtering system including trend, strength, volume, cloud, and contrarian filters
6. **Dynamic Risk Management** - ATR-based stop-loss with multiple take-profit levels and trailing stop functionality
7. **Multi-Timeframe Dashboard** - Real-time analysis across 6 timeframes with market state, volatility, and session detection
8. **Advanced Market Structure** - ZigZag-based swing detection with consolidation zone identification
**System Architecture & Functionality**
**Primary Signal Generation:**
The core uses a modified Supertrend algorithm with user-defined sensitivity (0.1-10.0) and signal tuner (1-25). Unlike standard Supertrend implementations, this system incorporates MACD momentum confirmation, EMA trend filtering (150/250), and HMA directional bias to reduce false signals.
**WaveTrend Pullback System:**
Implements a sophisticated pullback detection mechanism using custom WaveTrend calculations with configurable tuning (2-30). The system identifies divergences and optimal retracement entries when the oscillator reaches extreme levels (-60/+60).
**Contrarian Signal Logic:**
Features a proprietary RSI-based system with adaptive smoothing using Wilders MA and ATR-RSI calculations. The system generates counter-trend signals when RSI crosses dynamic bands calculated using the formula: TsUP/TsDN = TsFast ± ATRRSI * 4.236.
**Multi-Layer Signal Filtering:**
- **Trending Filter**: ADX > 20 for trend strength confirmation
- **Strong Signals**: Price relative to 200 EMA filter
- **Volume Filter**: Comparative volume analysis using EMA ratios
- **Cloud Filter**: Trend cloud alignment requirement
- **Contrarian Filter**: Overbought (>60) / Oversold (<40) conditions
**Risk Management Integration:**
- Automatic SL/TP calculation using ATR methodology
- Three configurable take-profit levels (1:1, 2:1, 3:1 default ratios)
- Dynamic trailing stop with percentage or ATR-based options
- Visual TP/SL areas with real-time price level tracking
**Unique Visual Components**
**Trend Cloud System:**
Offers four cloud styles (Smooth, Scalping, Scalping+, Swing) using different EMA combinations and HMA calculations. The "Smooth" mode uses 150/250 EMAs, while scalping modes use faster 5/9/21 EMA combinations.
**Advanced Candle Coloring:**
Four distinct coloring schemes:
- **Trend Gradient**: MACD histogram-based momentum visualization
- **Signal Based**: Color coordination with current signal bias
- **RSI Gradient**: 13-level color progression based on 4-period price momentum
- **Momentum Filter**: Gray highlighting for low-momentum periods
**Smart Dashboard Analytics:**
Real-time display of:
- Multi-timeframe trend alignment (M5, M15, M30, 1H, 4H)
- Market state classification (Trending/Ranging/No Trend)
- Volatility percentage calculation using ATR standard deviation
- Current trading session identification (NY, London, Tokyo, Sydney)
- Institutional activity monitoring through volume analysis
**Usage Instructions**
**Signal Interpretation:**
- **Buy/Sell**: Basic Supertrend crossovers with momentum confirmation
- **Strong Buy/Sell**: Signals above/below 200 EMA with enhanced filters
- **Pullback Signals**: Small circles indicating retracement opportunities
- **Contrarian Signals**: Counter-trend opportunities at extreme levels
**Preset Selection:**
- **All Signals**: Complete signal set with basic Supertrend logic
- **Strong+**: Enhanced filtering for higher probability trades
- **Trend Scalper**: Fast EMA cloud system for short-term trading
**Risk Management Application:**
- Use built-in TP/SL levels displayed as labels and lines
- Monitor trailing stop (white/red lines) for dynamic exit management
- Observe market structure labels (HH, HL, LH, LL) for context
**Dashboard Utilization:**
- Ensure multi-timeframe alignment before entries
- Monitor volatility percentage for position sizing
- Check market state for strategy selection
- Use session information for optimal trading times
**Advanced Features**
**Market Structure Detection:**
Implements ZigZag algorithm for swing identification with configurable period (default 10). Automatically labels market structure patterns and identifies consolidation zones using dynamic high/low analysis.
**Session Analysis:**
Built-in detection for four major trading sessions with overlap identification. Provides context for volatility expectations and optimal trading windows.
**Volume Intelligence:**
Advanced volume filtering using relative volume analysis (RVA) comparing current volume to 21-period moving average with 144% threshold filter.
**Important Considerations**
This system works optimally in trending markets with clear directional bias. In consolidating conditions, focus on pullback signals and contrarian opportunities. The multiple filtering options allow adaptation to various market conditions and trading styles.
The algorithm combines several established techniques (Supertrend, WaveTrend, RSI, MACD) in an original framework with proprietary filtering and risk management logic. Each component is designed to work synergistically with others for comprehensive market analysis.
**Disclaimer**: This indicator is designed for educational and analytical purposes. Past performance does not guarantee future results. Always implement proper risk management and never risk capital you cannot afford to lose. The system's complexity requires understanding of each component for optimal utilization.
Combined Master ScriptThis all-in-one indicator combines multiple trading tools into a single script, helping traders save time and keep charts clean. It is designed for discretionary analysis and provides important reference levels, but does not generate guaranteed signals.
✨ Features Included:
• Moving Averages (3 EMA system + additional MA with SMA/EMA/WMA/VWMA options).
• Pivot Boss CPR: Daily/Weekly CPR with support/resistance levels.
• Previous Day/Week OHLC levels for quick reference.
• Swing BS logic with (TSL) and alerts.
• ADR (Daily, Weekly, Monthly) levels with optional multipliers, historical plots, and range width analysis.
• Supply/Demand zone detection with automated box drawing and Break of Structure (BOS) handling.
• Automated Math Levels (PrevClose, PrevHigh, PrevLow, R1, R2, S1, S2, Upper/Lower BEP).
⚙️ How to Use:
1. Enable or disable components from the settings menu (CPR, ADR, Supply/Demand, Swing, Math Levels, etc.).
2. Adjust multipliers and periods for ADR to fit your trading style.
3. Use CPR and OHLC levels as intraday reference points.
4. Supply/Demand zones highlight potential reversal or continuation areas.
5. Swing logic helps identify breakouts and trailing stops.
📌 Notes & Limitations:
• This script is for educational/reference purposes only.
• It does not predict future prices or guarantee performance.
• Past results do not guarantee future outcomes.
• Works best on 15m and higher chart resolutions when publishing.
💡 Why it’s useful:
Instead of using multiple separate indicators, this script combines CPR, ADR, OHLC, Swing logic, and Supply/Demand zones into a single “master tool,” making analysis faster and more structured.
Buy and Sell Signals (Altius Consulting)Generates Buy and Sell signals based on MACD and RSI.
- Plots MACD, Signal & Histogram (optional pane).
- Buy Label (toggle): Bullish MACD crossover + RSI < threshold (no convergence requirement).
- Sell Label: Bearish MACD crossover (MACD crosses below Signal) prints a SELL tag.
- Alert: Provided for convergence-based buy condition (add your own for simple crossover if desired).
SS-EMAs [Space Signals]Simple EMAs, default is 21, 50, 100, 200 but configurable freely.
Can set alerts to the lines, and default is only 50 and 200 visible.
Dextor PivotThis is Simple Indicator which Show previous Month,Week,Day -High, Avg,Low, Along With EMA Crossovers
Option Strike Previous Day high and LowThis script automatically plots the previous day’s High and Low levels for a selected Call (CE) and Put (PE) option contract.
It is designed to help options traders quickly identify important price zones without having to fetch or calculate them manually.
Mandatory to Input expiry like. YYMMDD
Mandatory to Input Strike like. 25350
✨ Key Features:
• Automatically requests previous day High/Low for CE and PE of the chosen strike.
• Full-width horizontal lines for clear visibility across the entire chart.
• Configurable appearance: dashed/solid lines, custom width, and label placement (left/right).
• Optional manual level input for custom support/resistance marking.
• Debug mode available to show the tickers and requested values.
⚙️ How to Use:
1. Choose the underlying root (e.g., NIFTY), expiry (YYMMDD), and strike price.
2. Select whether you want to show CE, PE, or both.
3. Adjust label offset to position tags near the chart’s right edge.
4. Use the manual level input if you want to mark an additional reference line.
💡 Why it’s useful:
Option traders often rely on previous day’s option Highs and Lows as intraday reference zones for support, resistance, and breakout levels. This script makes those levels instantly visible and consistently updated, saving time and reducing manual charting errors.
📌 Notes:
• Works on any timeframe chart of the underlying.
• For best use, apply on the underlying index/stock chart, not on the option itself.
• This script does not generate trading signals or make predictions; it provides levels for reference.
The Duck Model V2ling gong goo ling gong goo. one timg i linged and i gonged and I gooed. IONEVEN EAT COTTAGE CHEEEEEEZE
Moving Average SlopeA simple tool that allows you to choose from multiple types of moving averages (e.g. WMA, EMA, SMA, HMA) and define the MA period, and lookback period for slope calculation.
Qullamaggie High Tight Flag TableThis indicator is a breakout scanner inspired by Qullamaggie's high-tight flag momentum strategy and Stockbee's Momentum Burst setups. It displays a 2x5 table of key technical metrics to identify high-probability long breakout opportunities in trending stocks or crypto on daily charts. The table highlights setups where a stock consolidates tightly after a strong uptrend, signaling potential volatility expansion for sharp upside moves. Green boxes indicate bullish conditions, while alerts notify traders of optimal setups or risks.
Table Box Descriptions
The table is divided into two columns: the left focuses on volatility and range, the right on trend and relative strength. Each cell shows a metric’s value with conditional coloring—green for bullish alignment, red for bearish/unmet conditions, yellow/orange for neutral/warning zones, and consistent transparency (90%) for readability. Below are the updated box descriptions:
ADR (Left, Row 1): Average Daily Range (%) over a user-selectable lookback (5/10/15/20 days, default 20), calculated relative to the previous low, close, or current close (user-selectable). Always green for visibility, with higher values (e.g., ≥6%) indicating volatility suited for breakouts.
Change from Today Low (Left, Row 2): Percentage gain from the current day’s low to close. Green if ≥0% (intraday strength), red if negative (weakness). Signals if the stock is holding support without excessive downside.
ADR Multiples from 50 SMA (Left, Row 3): Price deviation from the 50-day SMA in ADR units (e.g., 6% move above SMA with 1% ADR = 6x). Green (<6x, healthy trend), yellow (6-9x, extended), red (9-14x, overextended), purple (>14x, extreme caution). Identifies coiled setups or overextension risks.
% from 52W Low (Left, Row 4): Percentage distance from the 52-week low. Green if ≥30% (strong recovery from bases), red otherwise. Filters for stocks with significant momentum from yearly lows.
Narrow Range (Left, Row 5): Average daily range (%) over 3-5 days (user-selectable), compared to ADR, with checks for today’s change from low < ADR and volume ≤70% of 20-day average. Optional: limits to one 4%+ drop. Green if range < ADR and volume low (tight consolidation), yellow if range < ADR but volume high, red otherwise. Signals coiling before a breakout.
Percent from Short SMA (Right, Row 1): Percentage deviation from the 10-day SMA. Green if ≥0% (price at/above short-term trend), red if below. Ensures alignment with immediate uptrend support.
VCP Tightness (Right, Row 2): 5-day high-low range as a percentage of the lowest low, with a breakout check (≥12% gain in prior 5-10 days). Shows "Tight: X.XX%" or "N/A". Green if <10% (tight contraction), red otherwise. Captures high-tight flag volatility squeezes.
Days Since 10d > 21d (Right, Row 3): Days since the 10-day SMA crossed above the 21-day SMA. Red if NA or downtrend (10d ≤ 21d), green if ≤10 days (fresh uptrend), yellow if 11-30 days (maturing), orange if >30 days (aging). Tracks trend freshness for timely entries.
% from 52W High (Right, Row 4): Percentage distance from the 52-week high. Green if ≥-25% (near highs), yellow if -25% to -30% (warning zone), red if <-30% (far from highs). Gauges proximity to breakout resistance.
7d SMA vs 65d SMA (Right, Row 5): Percentage difference between 7-day and 65-day SMAs. Green if ≥5% (short-term outpacing long-term), red otherwise. Confirms broader trend acceleration.
Key Features
Ideal Setup: Look for green boxes in Days Since 10d > 21d (≤10), VCP Tightness (<10%), and % from Short SMA (±3%) during a narrow range consolidation near support, signaling a high-probability breakout.
Alerts:
Qullamaggie Breakout Alert: Triggers when ADR ≥6%, Days Since 10d > 21d ≤10, 10d SMA > 21d SMA, VCP Tightness <10%, and price within ±3% of 10d SMA. Signals a high-tight flag breakout setup.
High Tight Flag Good Setup: Triggers when all non-ADR boxes (9 metrics) are green, yellow, or orange (no red or purple). Indicates a strong setup for long entry.
Overextension Warning: Triggers when ADR Multiples from 50 SMA ≥9x (red or purple), warning of pullback risk.
SMA Plots: 10-day (white) and 21-day (green) SMAs, toggleable in settings (off by default).
Customizable: Adjust table position (top/middle/bottom, left/center/right), text/background colors, ADR lookback, narrow range period (3-5 days), and enforce a single 4%+ drop limit.
Usage
Apply to daily charts (e.g., SOLUSDT, AAPL, TSLA) with 100+ bars.
Seek mostly green boxes, especially in Days Since 10d > 21d, VCP Tightness, and % from Short SMA, with rising volume for confirmation.
Use alerts to catch breakouts, strong setups, or overextensions in real-time.
Enable SMA plots to visualize trends if needed.
Handles edge cases (short history, crypto precision) for robust performance.
Note: Not financial advice—combine with your risk management, chart patterns, and market context.
Anrazzi - EMAs/ATR - 1.0.2The Anrazzi – EMAs/ATR indicator is a multi-purpose overlay designed to help traders track trend direction and market volatility in a single clean tool.
It plots up to six customizable moving averages (MAs) and an Average True Range (ATR) value directly on your chart, allowing you to quickly identify market bias, dynamic support/resistance, and volatility levels without switching indicators.
This script is ideal for traders who want a simple, configurable, and efficient way to combine trend-following signals with volatility-based position sizing.
📌 Key Features
Six Moving Averages (MA1 → MA6)
Toggle each MA on/off individually
Choose between EMA or SMA for each
Customize length and color
Perfect for spotting trend direction and pullback zones
ATR Display
Uses Wilder’s ATR formula (ta.rma(ta.tr(true), 14))
Can be calculated on current or higher timeframe
Adjustable multiplier for position sizing (e.g., 1.5× ATR stops)
Displays cleanly in the bottom-right corner
Custom Watermark
Displays symbol + timeframe in top-right
Adjustable color and size for streamers, screenshots, or clear charting
Compact UI
Organized with group and inline inputs for quick configuration
Lightweight and optimized for real-time performance
⚙️ How It Works
MAs: The script uses either ta.ema() or ta.sma() to compute each moving average based on the user-selected type and length.
ATR: The ATR is calculated using ta.rma(ta.tr(true), 14) (Wilder’s smoothing), and optionally scaled by a multiplier for easier use in risk management.
Tables: ATR value and watermark are displayed using table.new() so they stay anchored to the screen regardless of zoom level.
📈 How to Use
Enable the MAs you want to track and adjust their lengths, type, and colors.
Enable ATR if you want to see volatility — optionally select a higher timeframe for broader context.
Use MAs to:
Identify overall trend direction (e.g. price above MA20 = bullish)
Spot pullback zones for entries
See when multiple MAs cluster together as support/resistance zones
Use ATR value to:
Size your stop-loss dynamically (e.g. stop = entry − 1.5×ATR)
Detect volatility breakouts (ATR spikes = market expansion)
🎯 Recommended For
Day traders & swing traders
Trend-following & momentum strategies
Volatility-based risk management
Traders who want a clean, all-in-one dashboard
Cycle Low (RSI + StochRSI) – v5 John.KCycle Low (RSI + StochRSI) – v5 John.K
This tool is designed to detect potential cycle lows by combining RSI and Stochastic RSI oversold signals.
RSI Oversold + Cross → confirms momentum exhaustion
StochRSI Cross from Oversold → confirms short-term cycle turn
Score System (0–4) → evaluates confluence strength
Strict Mode → requires both RSI and StochRSI to be oversold for A+ signals
One-Bar Tolerance → allows RSI & StochRSI to cross within 1 bar
Anchor Option → optional reference level for cycle projection
Signals are plotted directly on the candles as green triangles (CL) when conditions are met.
Adjust thresholds (RSI, Stoch, Score) to control signal frequency.
FU + SMI Validator (Proper FU, 30m)Overview
The FU + SMI Validator is a sophisticated technical analysis indicator designed to detect Proper FU (Fakeouts or Liquidity Sweeps) on the 30-minute timeframe. This tool aims to help traders identify high-probability reversal setups that occur when price briefly breaks key levels (sweeping liquidity), then reverses with momentum confirmation.
Fakeouts are common market events where price action “hunts stops” before reversing direction. Correctly identifying these events can offer excellent entry points with defined risk. This indicator combines price action logic with momentum and volatility filters to provide reliable signals.
Core Concepts
Proper FU (Fakeout) Detection
At its core, the script identifies proper fakeouts by checking if the current bar’s price:
For bullish fakeouts: dips below the previous bar’s low (sweeping stops) and then closes above the previous bar’s high
For bearish fakeouts: spikes above the previous bar’s high and then closes below the previous bar’s low
This ensures that the breakout is a true sweep rather than just a one-sided close.
Optionally, the script can require one additional confirmation bar after the FU, ensuring that the momentum is sustained and reducing false signals.
SMI-style Momentum Validation
To improve the quality of signals, the indicator uses a proxy for the Stochastic Momentum Index (SMI) by calculating the difference between current and past linear regression slopes of price. This momentum check helps ensure that fakeouts occur alongside actual directional strength.
Key points:
Momentum must be increasing in the direction of the FU signal.
Momentum filters can be enabled or disabled based on user preference.
Squeeze Condition to Avoid Low-Volatility Traps
The script includes a volatility filter based on a squeeze-like condition:
It compares Bollinger Bands (BB) and Keltner Channels (KC).
When BB bands contract inside KC bands, the market is in a squeeze state, signaling low volatility.
Fakeouts during squeeze conditions are often unreliable; the script can filter these out to reduce false alarms.
Killzone Session Timing Filter
Recognizing that liquidity and volatility vary by session, this tool supports optional filtering for:
London Killzone: 09:00 to 10:30 (UK time)
New York Killzone: 13:00 to 14:30 (UK time)
Signals only trigger during these high-activity windows if enabled, helping traders focus on periods with the best liquidity and market participation.
Note: For Killzone filtering to work accurately, your TradingView chart must be set to the UK timezone.
Features & Benefits
Robust FU detection ensures the breakout price action is meaningful, reducing noise.
Momentum filter via linear regression slope captures trend strength in a smooth, mathematically sound way.
Low-volatility squeeze avoidance helps reduce false signals in choppy or range-bound markets.
Killzone timing filter focuses your attention on the most liquid and active market hours.
Optional confirmation bar increases signal reliability.
Raw FU markers allow visualization of all detected fakeouts for pattern recognition and manual analysis.
Alerts built-in for both valid buy and sell FU setups, enabling real-time notification and quicker decision-making.
Customization Options
Killzone usage: Enable or disable the session timing filter.
Sessions: Configure London and New York killzone time ranges.
Momentum alignment: Enable or disable momentum filter based on SMI proxy.
Volatility filter: Avoid signals during squeeze or low-volatility conditions.
FU confirmation: Option to require one additional confirming candle after the initial FU.
Squeeze and momentum parameters: Adjust Bollinger Bands length and multiplier, Keltner Channel length and ATR multiplier.
Raw FU markers: Show or hide all detected fakeouts regardless of filters.
How to Use This Indicator
Apply to 30-minute charts for forex pairs, indices, cryptocurrencies, or other instruments.
Set your chart timezone to UK time if using Killzone filters.
Adjust input parameters based on your preferred sessions and risk tolerance.
Look for green “VALID BUY FU” labels below bars for bullish fakeout entries.
Look for red “VALID SELL FU” labels above bars for bearish fakeout entries.
Use the alert system to receive notifications on setups.
Combine with your existing analysis or risk management strategy for entries, stops, and profit targets.
Why Use FU + SMI Validator?
Fakeouts are some of the most lucrative but tricky setups for many traders. Without proper filters, they can lead to false entries and losses. This script integrates price action, momentum, volatility, and session timing into one package, providing a robust tool to spot high-quality fakeout opportunities and improve trading confidence.
Limitations
Requires chart to be set to UK timezone for session filters.
Designed specifically for 30-minute timeframe — performance on other timeframes may vary.
Momentum is a proxy, not a direct SMI calculation.
Like all indicators, best used in conjunction with sound risk management and other analysis tools.
Potential Enhancements
Conversion into a full strategy script for backtesting entries and exits.
Addition of other momentum indicators (RSI, MACD) or volume filters.
Customizable time zones or auto time zone detection.
Multi-timeframe analysis capabilities.
Visual dashboard for summary of signal stats.
EMRV101//@version=5
indicator("EMA200 + MACD + RSI + Volume Confirmation + Alerts", overlay=true)
// === الإعدادات ===
emaLength = input.int(200, "EMA Length")
rsiLength = input.int(14, "RSI Length")
volLength = input.int(20, "Volume MA Length")
// === EMA200 ===
ema200 = ta.ema(close, emaLength)
plot(ema200, color=color.orange, linewidth=2, title="EMA 200")
// === MACD ===
macdLine = ta.ema(close, 12) - ta.ema(close, 26)
signalLine = ta.ema(macdLine, 9)
// === RSI ===
rsi = ta.rsi(close, rsiLength)
// === Volume Confirmation ===
volMA = ta.sma(volume, volLength)
volCond = volume > volMA
// === شروط الدخول والخروج ===
longCond = close > ema200 and macdLine > signalLine and rsi > 50 and volCond
shortCond = close < ema200 and macdLine < signalLine and rsi < 50 and volCond
// === منطق الإشارة عند بداية الاتجاه فقط ===
var inLong = false
var inShort = false
buySignal = longCond and not inLong
sellSignal = shortCond and not inShort
if buySignal
inLong := true
inShort := false
if sellSignal
inShort := true
inLong := false
// === إشارات ثابتة ===
plotshape(buySignal, title="Buy Signal", location=location.belowbar,
color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="Sell Signal", location=location.abovebar,
color=color.red, style=shape.labeldown, text="SELL")
// === تنبيهات ===
alertcondition(buySignal, title="Buy Alert", message="📈 إشارة شراء مؤكدة")
alertcondition(sellSignal, title="Sell Alert", message="📉 إشارة بيع مؤكدة")
Panchak Indicator 2025 - High/Low with OptionsPanchak high low line, plote high low of panchak dates candels
Customizable EMA/SMACustomizable EMA/SMA with adjustable lengths
sources, colors, line styles, optional cloud fill, labels, and built-in cross alerts.