Fair Value Gap [Tradeuminati]Fair Value Gap
Fair Value Gap is a clean and rule-based Fair Value Gap indicator for TradingView, designed to display only valid and confirmed Fair Value Gaps (FVGs) and Inverted Fair Value Gaps (iFVGs).
The indicator is built on a strict 3-candle FVG definition and operates exclusively on candle close, ensuring no repainting and no premature signals.
🔹 Key Features
Valid Fair Value Gaps (FVG)
- Detects bullish and bearish Fair Value Gaps using a precise 3-candle structure
- FVGs are only plotted after the confirming candle has closed
- A Fair Value Gap remains visible only as long as it is valid
- Once price closes beyond the FVG, it is removed or converted
Inverted Fair Value Gaps (iFVG)
- When a valid FVG is invalidated by a candle close, it can be converted into an iFVG
- iFVGs retain the original price range and structure
- Only valid iFVGs are displayed
- As soon as price closes through an iFVG, it is automatically removed
Clean & Controlled Visualization
- Only the last N active FVGs are displayed (bullish + bearish combined)
- Only the last N valid iFVGs are shown
- Boxes automatically extend to the current price + configurable bars
- Labels are dynamically positioned at the right edge of each zone
🔹 Technical Notes
- No repainting
- No intrabar signals
- Close-based validation only
- Works on all markets and timeframes
- Lightweight and performance-friendly
⚠️ Disclaimer
This indicator is for technical analysis purposes only and does not constitute trading or investment advice.
Educational
Futures Tick DashboardThis is a simple dashboard that shows the novice future trade the necessary info about the info about the Micro on mini futures contract they are thinking about trading
Killzones & DoL's by @mohtradesThe KillZones & DoLs indicator is a comprehensive tool designed for ICT and institutional traders. It provides a clean, customizable way to visualize key time-based levels, killzone sessions, and daily/weekly/monthly statistics directly on your chart.
Key Features
1. Killzones & Sessions
Visualize the three major trading sessions with customizable boxes and time ranges:
Asia Range: Default 20:00 - 00:00 (NY Time)
London Killzone: Default 02:00 - 05:00 (NY Time)
New York Killzone: Default 09:30 - 16:00 (NY Time)
Killzone Tools:
Boxes: Draw highlighted boxes for each session.
Pivots: Automatically mark the High and Low of each session.
Midpoints: Optionally show the 50% equilibrium level of the session range.
Extensions: Extend pivot lines until they are mitigated (price touches them) or keep them for a set duration.
Alerts: Get notified when a session High or Low is broken.
2. Highs & Lows (HTF Levels)
Track significant liquidity levels from higher timeframes without switching charts:
Previous Day High/Low (PDH/PDL)
Previous Week High/Low (PWH/PWL)
Previous Month High/Low (PMH/PML)
Current High/Low of Day (HOD/LOD): Tracks the developing high and low of the current day.
Current High/Low of Week (HOW/LOW): Tracks the developing high and low of the current week.
3. Opening Price Lines
Mark key opening prices to use as support/resistance or bias confirmation:
True Day Open (00:00 NY)
Week Open
Month Open
Custom Open Lines: Configure up to 8 custom time-based open price lines (e.g., 06:00, 10:00, 14:00).
4. Separators & Statistics
Period Separators: Vertical lines marking the start of new Days, Weeks, or Months.
Range Table: Display the range (in pips/points) of recent sessions and their average to gauge volatility.
Customization
Timezone: Fully adjustable to your preferred timezone (default America/New_York).
Styling: Customize colors, line styles, widths, and label sizes for all elements.
Drawing Limits: Optimize chart cleanliness by limiting historical drawings to the last N days.
How to Use
Add the indicator to your chart.
Open Settings to enable/disable specific Killzones (Asia, London, NY).
Enable "Show PDH/PDL" or "Show HOW/LOW" to track liquidity.
Set your convenient timezone (typically NY for ICT concepts).
Use alerts to catch liquidity runs on session pivots.
Resumo de Velas (120) ROMANOCounting the last 120 candles with volume data
Count of positive candles + count of negative candles
Ratio between negative and positive candles
If the ratio is greater than 1.20, enter a sell position
If the ratio is less than 0.80, enter a buy position
Use on a high timeframe chart
------------------------
Contagem das ultimas 120 velas com volumes
Contagem velas positivas + contagem velas negativas
Razão entre negativas e positivas
Se a razão é maior que 1.20 entra em venda
Se a razão é menor que 0.80 entra em compra
Uso no grafico de alto timeframe
SMT Divergence [Kodexius]SMT Divergence is a correlation-based divergence detector built around the Smart Money Technique concept: when two normally correlated instruments should be making similar swing progress, but one prints a new extreme while the other fails to confirm it. This “disagreement” can be a valuable contextual signal around liquidity runs, distribution phases, and potential reversal or continuation points.
The script compares the chart symbol (primary) with a user-selected comparison symbol (for example BTC vs ETH, ES vs NQ, EUR/USD vs GBP/USD) and automatically scans both instruments for confirmed swing highs and swing lows using pivot logic. Once swings are established, it checks for classic SMT conditions:
Primary makes a new swing extreme while the comparison symbol forms a non-confirming swing .
To support a wider range of markets, the indicator includes an Inverse Correlation option for pairs that typically move opposite to each other (for example DXY vs EUR/USD). With this enabled, the divergence rules are logically flipped so that the script still detects “non-confirmation” in a way that is consistent with the pair’s relationship.
The indicator is designed to be readable and actionable. It can draw divergence labels directly on the main chart, connect the relevant swing points with lines, show a compact information table with the last signal and settings, and optionally render the comparison symbol as a mini candle chart in the indicator pane for quick visual validation.
🔹 Features
🔸 Two-Symbol SMT Analysis (Primary vs Compare)
Select any comparison symbol to evaluate correlation structure and divergence. The script fetches the comparison OHLC data using the current chart timeframe to keep both series aligned for analysis.
🔸 Inverse Correlation Mode
For inversely correlated pairs, enable “Inverse Correlation” so the script interprets confirmation appropriately (for example, a higher low on the comparison instrument might be expected to correspond to a lower low on the primary, depending on the relationship). This helps avoid false conclusions when the pair naturally moves opposite.
🔸 Pivot-Based Swing with Adjustable Sensitivity
Swings are detected using confirmed pivots (left bars and right bars). This provides cleaner structural swing points compared with raw candle-to-candle comparisons, and it lets you control sensitivity for different market conditions and timeframes. The script also limits stored swing history to keep performance stable.
🔸 Flexible Detection Mode: Time Matched or Independent Swings
You can choose how swings are paired across instruments:
Time Matched searches for a comparison swing that occurred at the same pivot time as the primary swing.
Independent Swings compares each symbol’s own last two swings without requiring an exact time match.
🔸 Range Control and Noise Filtering
To reduce weak or irrelevant signals:
“Max Bars Between Swings” ensures the two swings being compared are close enough in structure to be meaningful.
“Min Price Diff (%)” can require a minimum percentage change between the primary’s last two swing prices to confirm the move is significant.
🔸 Clear Visual Output with Tooltips
When a divergence is detected, the script can print a label (“SMT”) with bullish or bearish styling and a tooltip that includes the symbol pair and the primary swing price for quick context.
🔸 Divergence Lines for Context
Optional lines connect the relevant swing points, making it easier to see the exact structure that triggered the signal. One line can be drawn on the main chart and another in the indicator pane for the comparison series.
🔸 Info Table (At a Glance)
A compact table can display the active symbols, correlation mode, total divergences stored, and the most recent signal type.
🔸 Alerts Included
Built-in alert conditions are provided for bullish SMT, bearish SMT, and any SMT event so you can automate notifications without editing the code.
🔸 Optional Comparison Candle Panel
If enabled, the indicator can plot the comparison symbol as candles in the indicator pane. This is useful for confirming whether the divergence is happening around major levels, consolidations, or impulsive legs on the secondary instrument.
🔹 Calculations
This section summarizes the core logic used by the script.
1. Data Synchronization (Comparison Symbol)
The comparison instrument is requested on the chart’s current timeframe so swing calculations are performed consistently:
=
request.security(compareSymbolInput, timeframe.period, )
This ensures pivots and swing times are derived from the same bar cadence as the primary chart.
2. Swing Detection via Confirmed Pivots
Swings are detected using pivot logic with user-defined left and right bars:
primaryPivotHigh = ta.pivothigh(high, pivotLeftBars, pivotRightBars)
primaryPivotLow = ta.pivotlow(low, pivotLeftBars, pivotRightBars)
Because pivots are confirmed only after the “right bars” have closed, the script stores each swing using an offset so the swing’s bar index and time reflect where the pivot actually occurred, not where it was confirmed.
3. Swing Storage and Retrieval
Both symbols maintain arrays of SwingPoint objects. Each new swing is pushed into the array, and older swings are dropped once the array exceeds the configured maximum. This makes the divergence engine predictable and prevents uncontrolled memory growth.
The script then retrieves the last and previous swing highs and lows (per symbol) to evaluate structure.
4. Matching Logic (Time Matched vs Independent)
When “Time Matched” is selected, the script searches the comparison swing array for a pivot that occurred at the exact same timestamp as the primary swing. When “Independent Swings” is selected, it simply uses the comparison symbol’s last two swings of the same type.
5. Bullish SMT Condition (LL vs HL)
A bullish SMT event is defined as:
Primary forms a lower low (last low < previous low)
Comparison forms a higher low (last low > previous low)
If inverse correlation is enabled, the comparison condition flips to maintain logical confirmation rules
The two primary swings must be within the configured bar distance window
Optional minimum percentage difference must be satisfied
A simple anti duplication rule prevents repeated triggers on the same structure
These checks are implemented directly in the bullish detection block.
6. Bearish SMT Condition (HH vs LH)
A bearish SMT event is defined as:
Primary forms a higher high (last high > previous high)
Comparison forms a lower high (last high < previous high)
Inverse correlation flips the comparison rule
Range checks, minimum difference filtering, and duplicate protection apply similarly
These checks are implemented in the bearish detection block.
7. Percentage Difference Filter
The optional “Min Price Diff (%)” filter measures the relative distance between the last two primary swing prices. This prevents very small structural changes from being treated as valid SMT signals.
priceDiffPerc = math.abs(lastSwing.price - prevSwing.price) / prevSwing.price * 100.0
The divergence condition is only allowed to trigger if this value exceeds the user defined threshold.
priceOk = priceDiffPerc >= minPriceDiff
This filter is especially useful on higher timeframes or during low volatility conditions, where micro structure noise can otherwise produce misleading signals.
8. Visualization and Output
When a divergence is confirmed, the script:
Stores the event in a divergence array (limited by “Max Divergences to Display”)
Draws a directional SMT label with a tooltip (optional)
Draws connecting lines using time based coordinates for clean alignment (optional)
It also updates an information table on the last bar only, and exposes alertconditions for automation workflows.
SS Critical NSE Pair Trading Dashboard [10 Pairs]This dashboard finds live pair trading opportunities in NSE.
For Educational use only
BTC Gann Harmonics Weighted + Phase + EMA OptimizedBTC Gann Harmonics Weighted + Phase + EMA Optimized
EV Algo SMT 15m on 1mEV Algo SMT is a multi-timeframe SMT divergence indicator that compares price action between two correlated markets.
It uses higher timeframe pivots while plotting signals on a lower timeframe chart, helping identify potential bullish and bearish divergences with confirmation on candle close.
Forex Sniper @24 Support is based on Asia high and low , plus shows New York sessions and London
Background with out cuts only shows volativity times
PCR Sentiment & Max Pain by Rakesh Sharma🎯 PCR + SENTIMENT + MAX PAIN INDICATOR
Track options market sentiment to catch reversals before they happen! See where smart money is positioning through Put-Call Ratio analysis.
✨ KEY FEATURES:
- PCR (Put-Call Ratio) with visual zones
- Market Sentiment Analysis (Bullish/Bearish/Neutral)
- Max Pain Level calculation (expiry day advantage)
- Automatic Buy/Sell signals at extreme levels
- Real-time dashboard with actionable insights
- Fear & Greed gauge
- Trading action recommendations
🎯 PERFECT FOR:
Nifty, Bank Nifty, Index Options - Intraday & Swing Trading
⚡ TRADING SIGNALS:
- PCR > 1.5 = Market oversold (Fear) → BUY signal
- PCR < 0.7 = Market overbought (Greed) → SELL signal
- Extreme levels trigger STRONG signals
- Contrarian indicator - Trade against the crowd!
💡 UNIQUE ADVANTAGE:
Combines options sentiment with price action for high-probability reversals. Know when institutions are bullish or bearish!
Created by: Rakesh Sharma
Mawhoob (OBs & FVGs) - v1.1Mawhoob (OBs & FVGs) - v1.1
Professional Market Structure Indicator
----------------------------------------------------
🎯 Overview
----------------------------------------------------
Mawhoob (OBs & FVGs) - v1.1 is a comprehensive technical analysis indicator designed to identify and track two of the most powerful concepts in modern price action trading: Order Blocks (OBs) and Fair Value Gaps (FVGs). This indicator provides traders with automated detection, visualization, and real-time alerts for these key market structure elements, helping you identify high-probability trading zones and potential reversal areas.
----------------------------------------------------
🔍 What Are Order Blocks and Fair Value Gaps?
----------------------------------------------------
✅ Order Blocks (OBs)
Order Blocks represent areas where institutional players have placed significant orders, creating imbalances in supply and demand. These zones often act as strong support or resistance levels where price tends to react when revisited.
* Bullish Order Block (OB+): Forms when a bearish candle is immediately followed by a strong bullish candle that closes above the previous candle's high, indicating institutional buying interest.
* Bearish Order Block (OB-): Forms when a bullish candle is immediately followed by a strong bearish candle that closes below the previous candle's low, indicating institutional selling pressure.
✅ Fair Value Gaps (FVGs)
Fair Value Gaps are price inefficiencies that occur when the market moves too quickly, leaving unfilled price ranges. These gaps often get "filled" or "mitigated" as price returns to seek liquidity and balance.
* Bullish Fair Value Gap (FVG+): Forms when there's a gap between the high of two candles ago and the low of the current candle in an upward move.
* Bearish Fair Value Gap (FVG-): Forms when there's a gap between the low of two candles ago and the high of the current candle in a downward move.
----------------------------------------------------
✨ Key Features ✨
----------------------------------------------------
✅ Order Blocks (OBs) Module:
Detection & Visualization
Automatic OB Detection: Identifies both bullish and bearish order blocks in real-time.
Customizable Display: Show up to 50 order blocks simultaneously.
Visual Distinction: Separate color schemes for bullish and bearish order blocks.
Smart Labeling: Optional OB+/OB- labels for easy identification.
Advanced Filtering Options
Strong OBs Filter: Option to display only "super/strong" order blocks.
FVG Confirmation Filter: Show only order blocks that are immediately followed by fair value gaps for higher confluence.
Flexible Filtering: Use filters independently or combine them for maximum selectivity
Mitigation Tracking
Real-time Monitoring: Automatically tracks when order blocks are "filled" or mitigated by price.
Display Control: Choose whether to show or hide filled order blocks.
Customization Options
Color Settings: Fully customizable colors for bullish/bearish order block zones.
Transparency Control: Adjustable box background transparency.
Border Styles: Choose between Solid, Dashed, or Dotted borders.
Extension Options: Extend boxes to the right or stop at mitigation point.
Label Size: Select from Auto, Tiny, Small, Normal, or Large label sizes.
✅ Fair Value Gaps (FVGs) Module:
Detection & Visualization
Automatic FVG Detection: Identifies both bullish and bearish fair value gaps.
Customizable Display: Show up to 50 FVGs simultaneously.
Visual Distinction: Separate color schemes for bullish and bearish gaps.
Smart Labeling: Optional FVG+/FVG- labels for clarity.
Advanced Filtering Options
Strong FVGs Filter: Display only significant gaps formed by strong candles.
OB Confirmation Filter: Show only FVGs that follow order blocks for enhanced reliability.
Independent Settings: Completely separate filtering from order block module.
Mitigation Tracking
Gap Fill Detection: Automatically detects when price fills the fair value gap.
Visual Updates: Filled gaps change appearance to indicate completion.
Display Options: Control visibility of filled versus unfilled gaps.
Customization Options
Full Color Control: Independent color settings for bullish/bearish FVGs.
Transparency Management: Adjustable transparency levels.
Border Customization: Multiple border style options.
Extension Control: Choose how gaps extend on the chart.
Label Customization: Adjustable label sizes and colors.
----------------------------------------------------
🔔 Alerts & Signals
----------------------------------------------------
Alerts System
Real-time Notifications: Receive instant alerts when new OBs or FVGs are detected.
Separate Alert Channels: Independent alerts for order blocks and fair value gaps.
Price Information: Each alert includes the current price level.
Frequency Control: Alerts trigger once per bar to avoid spam.
Visual Signals
On-Chart Markers: Optional visual signals (circles/diamonds) at detection points.
Color-Coded: Bullish signals below bars, bearish signals above bars.
Toggle Control: Enable/disable signals independently from alerts.
----------------------------------------------------
📋 How to Use This Indicator?
----------------------------------------------------
For Trend Following
Look for Bullish OBs and FVGs in uptrends as potential entry zones.
Look for Bearish OBs and FVGs in downtrends as potential entry zones.
Use unmitigated zones as key support/resistance levels.
For Reversal Trading
Watch for price reactions when approaching order blocks.
Combine multiple timeframe analysis for higher probability setups.
Use the "Strong" filters to focus on the most significant zones.
For Confluence Trading
Enable "Show Only (OBs) that Followed by (FVGs)" filter.
Enable "Show Only (FVGs) that Follow (OBs)" filter.
Trade only when both structures align for maximum confluence.
Risk Management
Monitor when zones become mitigated (filled).
Use multiple timeframes to identify nested zones.
Combine with your existing trading strategy for confirmation.
----------------------------------------------------
⚙️ Recommended Settings
----------------------------------------------------
For Scalping (1m - 5m timeframes)
Display: 15-20 boxes.
Enable: Strong filters.
Disable: Show mitigated zones.
For Day Trading (15m - 1H timeframes)
Display: 20-30 boxes.
Enable: Confluence filters when needed.
Enable: Show mitigated zones for context.
For Swing Trading (4H - Daily timeframes)
Display: 30-50 boxes.
Enable: All zones for comprehensive analysis.
Enable: Confluence filters when needed.
Enable: Show mitigated zones for context.
----------------------------------------------------
💡 Pro Tips
----------------------------------------------------
Multiple Timeframe Analysis: Use the indicator on multiple timeframes to identify nested order blocks and FVGs for stronger setups.
Confluence Zones: Areas where OBs and FVGs overlap often provide the highest probability trades.
Mitigation Matters: Pay attention to how quickly and cleanly zones are mitigated - clean mitigations often indicate institutional interest.
Filter Combinations: Experiment with different filter combinations to find what works best for your trading style.
Alert Management: Set up alerts for both OBs and FVGs to never miss potential setups.
----------------------------------------------------
⚠️ Important Notes
----------------------------------------------------
This indicator is for educational and informational purposes only.
Always confirm signals with your own analysis before trading.
Use proper risk management and position sizing.
The indicator works on all timeframes and instruments.
Past performance does not guarantee future results.
----------------------------------------------------
🔄 Updates & Support
----------------------------------------------------
Current Version: v1.1
This indicator is actively maintained and updated. Future versions may include additional features and improvements based on user feedback.
----------------------------------------------------
🙏 Acknowledgments
----------------------------------------------------
Created by @mawhoobx - Designed to help traders identify institutional footprints and market inefficiencies for better trading decisions.
UIA TrendCompass V1.0UIA TrendCompass v1.0 is a market structure interpretation tool designed to visualize trend states in real time.
The script identifies four structural states based on price behavior and trend continuity:
• T — Trend Start
• E — Trend Extension
• H — Structural High / Low
• X — Trend Exit / Reversal
This indicator is intended for market structure analysis and educational purposes only.
It does NOT provide trading signals, buy/sell recommendations, or investment advice.
All labels are generated based on historical price data and do not predict future market movements.
Users should combine this tool with their own analysis and risk management framework.
This script is provided "as is" with no guarantee of accuracy or performance.
NQ Lunch High Low First Sweep StrategyThis script identifies the FIRST liquidity sweep of the Lunch session high or low
after the Lunch session has ended, based on ICT / Killzone concepts.
Logic summary:
• Tracks Lunch session High and Low (New York time)
• After Lunch session closes, monitors the market on 5-minute timeframe
• Triggers ONLY on the first sweep:
– Price wicks beyond Lunch High and closes back below → SHORT signal
– Price wicks beyond Lunch Low and closes back above → LONG signal
• Generates an alert at the exact bar where entry is expected
• Designed specifically for Nasdaq (NQ) futures
• One trade per day – no overtrading
Notes:
• Intended for 5-minute charts only
• Uses New York session timing
• This script does NOT manage exits (TP/SL) – entry logic only
• Best used as a confluence tool, not a standalone system
Educational & discretionary use only.
Enhanced OB [promuckaj]THE ENHANCED ORDER BLOCK
Someone could think what is EOB, it should be just ordinary order block but that’s far from the truth. Sometime the classic order blocks work like a charm, then more often it doesn’t work.
If we expecting lower prices to kick in bearish and we see them create a bullish candle leaving a decent sized wick on the bottom, we want to wait for the next candle to completely close below the bullish candle.
When we see this, it should be our signal to sell the market. When price does this, it is a clear indication that price want to continue lower.
Once EOB is confirmed, look to enter short during the next candles PO3. Usually it’s going to go up but all you need is to wait that very next bar to confirm-respect our new formed EOB.
There is many ways to play this and anticipate some of the liquidity below as your safe TP target. Just imagine to use EOB from HTF on LTF. If you can then this indicator is for you, because it is exactly what is doing, it plots EOB from HTF, with lines that clearly present the last two HTF bars (bars that form the EOB), together with EOB zone of interest – from where we want to see price to pullback and respect the narrative – in this example that we are going down.
So let’s take a look how the same example (30min TF) will be on lower timeframe, for example on 1min.
... or maybe on 30 seconds timeframe.
So let’s try to play this example, with any kind of entry model. For example here we have practically the same scenario, green bar with red closed below, after price tap into EOB zone from HTF.
In this example we can anticipate entry at the pullback in LTF EOB zone, or simply from the FVG formed in the EOB confirmation bar, that is the proof that this zone will hold and push us further lower.
For target as our TP we could use simple internal structure and nearest liquidity left behind.
Easy and quick 4.6R trade.
Or if we would like to go further, this could be even better RR.
Practically almost 10R.
Let’s switch back now to 30min TF, to see how this actually look on respective timeframe of our EOB.
I hope it is more then clear, how this could be used.
There is option to change colors, lines and size of labels, including option to mark the FVG that is a part of EOB, if there is.
Also alerts is there, so you will not miss any new EOB that form on your HTF.
Enjoy !
HMG Tools: BacktestHMG Tools is a chart utility indicator designed to improve organization, discipline, and visual context for discretionary traders.
This script does not generate buy or sell signals and does not provide investment advice. Its purpose is to enhance the trading workspace by combining several practical tools into a single configurable indicator.
Main features:
- Sticky notes to write trading rules, reminders, or daily bias directly on the chart
- Custom watermark for chart identification and visual clarity
- Chart information display, including symbol, timeframe, and current date
- DayOff (weekend highlight) to visually mark Saturdays and Sundays and trigger an alert to avoid trading during market closure
Purpose:
This indicator helps traders keep charts clean and structured, avoid common operational mistakes (such as trading on weekends), maintain discipline through visible notes, and improve consistency in manual trading.
This tool is intended for educational and organizational purposes only.
--------------------------------------------------
HMG Tools es un indicador de utilidad diseñado para mejorar la organización, disciplina y contexto visual del trader.
Este script no genera señales de compra o venta ni constituye asesoramiento de inversión. Su objetivo es optimizar el entorno de trading combinando varias herramientas prácticas en un solo indicador.
Funciones principales:
- Notas adhesivas para reglas, recordatorios o sesgo diario
- Watermark personalizable para identificación visual
- Información de símbolo, temporalidad y fecha
- Aviso DayOff para evitar operar en fin de semana
Uso educativo y organizativo.
Druckenmiller Alpha-Physics [Dual-Core]Stop trading in a vacuum. Start trading like a Macro Fund Manager.
The Druckenmiller Alpha-Physics engine is a professional-grade dashboard designed to solve the single biggest problem in trading: Context. Most traders buy a "dip" only to realize it was a crash, or sell a "rip" only to watch it fly higher.
This tool solves this by synthesizing Market Physics (Velocity & Acceleration) across two distinct timeframes (Weekly Macro & Daily Tactical) and filtering every signal through a Global Liquidity Shield.
It is engineered based on the trading philosophy of Stanley Druckenmiller: “I don’t care about the news. I care about the liquidity and the acceleration of the trend.”
How It Works (The Dual-Core Logic)
The engine runs 27 distinct sector assets through a dual-loop physics processor:
The Macro Core (Weekly): Analyzes the 18-month trend. Is the "Tide" coming in or going out?
The Tactical Core (Daily): Analyzes the 3-day price action. Is the "Wave" crashing or rising?
It then synthesizes these two data streams into a single Action Signal.
The Signals (How to Read)
The dashboard tells you exactly what to do based on the conflict between Macro and Micro:
🟢 BUY PULLBACK (The "Alpha" Trade):
Logic: Macro is RIPPING (Bullish) + Tactical is TOP/CRASH (Bearish).
Meaning: You are buying a long-term leader on a short-term discount.
🔵 STINK BID (The "Bottom" Trade):
Logic: Macro is TURNING UP + Tactical is CRASHING.
Meaning: The physics have shifted positive, but price is still dumping. Place limit orders -5% lower to catch the panic bottom.
🔴 SELL RIP (The "Trap" Trade):
Logic: Macro is TOPPING (Bearish) + Tactical is RIPPING (Bullish).
Meaning: The long-term trend is dead. Sell into this short-term rally immediately.
⚪ HOLD: All systems go. Sit on your hands and ride the trend.
The "Invisible" Liquidity Shield
The most dangerous time to buy is when the Fed is draining liquidity. This script monitors the 10-Year Treasury Yield (TNX) and VIX in real-time.
If Liquidity is OK (Navy Header): Signals are valid. Green means Go.
If Liquidity is TIGHT (Maroon Header): The entire dashboard enters "Defense Mode." Buy signals are tinted Maroon to warn you that you are fighting the Fed.
Included Universe (The "Ultimate" List)
Includes 27 institutional-grade tickers covering every corner of the market:
Growth: XLK, SMH, IGV, GRID, QTUM
Cyclical: JETS, XHB, KRE, XLI, XLF
Commodities: GDX, URA, XLE, XLB, TAN
Risk/Safety: IBIT, TLT, XLV, XLP
Note: This script uses dynamic request handling optimized for Pine Script v6. It is designed for Premium/Ultimate plans due to the high volume of data processing (54+ simultaneous streams).
MA Candle Color [TheScalpingAnt]MA Candle Color
OVERVIEW
MA Candle Color is a visual indicator that transforms your trading experience by providing instant, real-time feedback on price position relative to your chosen Moving Average.
What makes it unique?
• Real-time visual clarity: The current forming candle changes color dynamically based on its position relative to the MA
• Zero lag: Instant visual feedback as price moves
• Clean charts: Only the active candle is colored - no chart clutter
• Professional design: Sleek, minimalist approach that enhances decision-making
Perfect for:
• Day traders seeking instant trend confirmation
• Scalpers who need split-second decision support
• Swing traders monitoring trend alignment
• Any trader who values visual clarity and speed
CONCEPTS
The Power of Visual Trading
Traditional indicators require constant interpretation. MA Candle Color eliminates this cognitive load by providing instant visual feedback through intelligent candle coloring.
Core Principle
The indicator operates on a simple but powerful concept:
• Green Candle = Price is above the Moving Average (bullish territory)
• Red Candle = Price is below the Moving Average (bearish territory)
Why Only the Current Candle?
-Unlike other indicators that color all candles, MA Candle Color focuses exclusively on the NOW:
-Eliminates visual noise
-Keeps your focus on current market conditions
-Prevents analysis paralysis
-Maintains clean chart aesthetics
-The Moving Average Foundation
-Moving Averages are one of the most trusted tools in technical analysis. This indicator leverages reliability while adding a modern, intuitive visual layer.
FEATURES
Real-Time Dynamic Coloring
• Current candle changes color instantly as it forms
• Green when price crosses above MA
• Red when price crosses below MA
• Automatic color reset when candle closes
Precision Engineering
• Zero repainting - what you see is what you get
• Lightweight code - no performance impact
• Compatible with all timeframes and instruments
Full Color Customization
-Choose your own bullish color (default: vibrant green)
-Choose your own bearish color (default: professional red)
-Match your chart theme perfectly
-High visibility options for all screen types
-Clean Visual Design
-MA plotted as subtle gray line
-Works seamlessly with other indicators
CUSTOMIZATION
Complete Control Over Your Trading Experience
MA Length (Default: 8)
Adjust from 1 to any value
Shorter periods (5-20): Responsive, ideal for scalping/day trading
Medium periods (20-50): Balanced for swing trading
Longer periods (50-200): Trend following and position trading
MA Type (Default: EMA)
• SMA: Best for identifying major support/resistance levels, classic, smooth trend identification
• EMA: Ideal for fast-moving markets and quick trend changes, responsive to recent price action
• WMA: Great for balanced trend analysis, balanced approach with recent price emphasis
• VWMA: Perfect when volume analysis is crucial, incorporates volume for institutional insight
• HMA: Excellent for reducing noise in volatile markets, incorporates volume for institutional insight
Recommended Configurations
For Day Trading:
• MA Length: 8-13
• MA Type: EMA or HMA
• High contrast colors
For Swing Trading:
• MA Length: 21-50
• MA Type: EMA or SMA
• Professional, subtle colors
For Scalping:
• MA Length: 5-8
• MA Type: EMA or HMA
• Bright, high-visibility colors
USAGE
Getting Started (3 Simple Steps)
Step 1: Add to Chart
• Search "MA Candle Color" in TradingView indicators
• Click to add to your chart
• Indicator loads with optimized default settings
Step 2: Customize (Optional)
• Click the settings gear icon
• Adjust MA length to match your trading timeframe
• Select your preferred MA type
• Choose your custom colors
Step 3: Trade with Confidence
• Watch the current candle color in real-time
• Green = Bullish momentum (price above MA)
• Red = Bearish momentum (price below MA)
• Use as confirmation with your existing strategy
Trading Applications
Trend Confirmation
• Green candle confirms uptrend continuation
• Red candle confirms downtrend continuation
• Color changes signal potential trend shifts
Entry Timing
• Enter long when candle turns green with other confirmations
• Enter short when candle turns red with other confirmations
• Use as a filter to avoid counter-trend trades
Exit Signals
• Exit longs when candle turns red
• Exit shorts when candle turns green
• Protect profits by respecting color changes
Multi-Timeframe Analysis
• Use on higher timeframe for trend direction
• Use on lower timeframe for precise entries
• Align colors across timeframes for high-probability setups
Pro Tips
Combine with Support/Resistance: Use color changes at key levels for powerful signals
Volume Confirmation: Look for color changes with volume spikes for stronger moves
Multiple MAs: Add multiple instances with different lengths (e.g., 8 EMA, 21 EMA, 50 SMA)
Risk Management: Never trade on color alone - use proper stop losses and position sizing
CONCLUSION
Why MA Candle Color is Essential for Modern Traders?
In today's fast-paced markets, speed and clarity are everything. MA Candle Color delivers both by transforming complex Moving Average analysis into instant visual feedback.
Key Benefits Recap
-Faster Decision Making - No more mental calculations
-Reduced Errors - Visual clarity prevents mistakes
-Professional Appearance - Clean, distraction-free charts
-Universal Application - Works with any strategy or market
-Fully Customizable - Adapts to your exact needs
-Zero Repainting - Reliable, honest signals
-Lightweight - No performance impact
Who Benefits Most?
-Day Traders: Instant trend confirmation for quick entries/exits
-Scalpers: Split-second visual feedback for rapid trading
-Swing Traders: Clear trend alignment across timeframes
-Beginners: Simplified MA analysis without complexity
-Professionals: Clean visual layer for existing strategies
The Competitive Edge
While others are calculating price vs MA in their heads, you'll have instant visual confirmation. While they're second-guessing crossovers, you'll be executing with confidence. While their charts are cluttered with colored history, yours will be clean and focused on NOW.
Swing & Intraday Entry/Exit Setup V0.1Support & Resistance Levels with Moving Averages & Supertrend
Overview
This comprehensive indicator combines Multi Support/Resistance analysis , Moving Average, and Supertrend signals into one powerful tool. Designed for intraday/swing traders, it helps identify key price levels across Daily, Weekly, and Monthly while providing trend confirmation through MAs and Supertrend.
Product of: CandleCodex
License: Free for personal use | NOT FOR SALE
Version: 5.0 (Pine Script v6)
---
KEY FEATURES
Swing & Intraday Entry/Exit Setup V0.1 © CandleCodex™ (Daily/Weekly/Monthly)
- Previous Day High/Low (PDH/PDL) with customizable styling
- Previous Week High/Low (PWH/PWL) with independent settings
- Previous Month High/Low (PMH/PML) for swing traders
- Mid Levels - Adjustable percentage (default 50%) between high and low
- R1, R2, R3 - Projected resistance levels based on price range
- S1, S2, S3 - Projected support levels for breakout/breakdown targets
Moving Average
- 4 Fully Customizable MAs (20, 50, 100, 200 by default)
- Multiple MA Types: SMA, EMA, SMMA (RMA), WMA, VWMA
- Custom Source Selection: Close, Open, High, Low, HL2, HLC3, OHLC4
- Individual Colors & Toggle:** Show/hide each MA independently
Supertrend Indicator
- Buy/Sell Signals - Automatic labels on trend reversals
- Trend Highlighting - Background fill for bullish/bearish trends
- Customizable ATR Period & Multiplier (Default: 10, 3.0)
- Multiple Source Options: HL2, Close, Open, etc.
- Alert Conditions: Set alerts for buy/sell signals and trend changes
Information Tables
- 3 Separate Tables for Daily, Weekly, Monthly levels
- Adjustable Positions: 9 position options (top, middle, bottom - left, center, right)
- Custom Text Size: Tiny, Small, Normal, Large
- Live Price Display: Shows all levels with current prices
- Range Calculation: Displays trading range for each timeframe
Advanced Customization
- Line Styling: Width (1-5), Style (Solid/Dashed/Dotted), Color for EVERY level
- Label Options: Show/hide labels, show/hide prices, left/right positioning
- Historical Data: Display up to 50 previous periods
- Custom Session Timing: Set specific hours for daily levels (Indian market: 9:15-15:30)
- Copyright Watermark: Toggleable branding with position control
---
VISUAL CUSTOMIZATION
Every line (High, Low, Mid, R1-R3, S1-S3) has independent controls for:
- Color - Choose from full color palette with transparency
- Width - 1 to 5 pixels thickness
- Style - Solid, Dashed, or Dotted lines
- Show/Hide - Toggle individual levels on/off
Default Color Scheme:
- Daily: Green (High), Red (Low), Yellow (Mid)
- Weekly: Cyan (High), Magenta (Low), Light Green (Mid)
- Monthly: Orange (High), Purple (Low), Pink (Mid)
---
HOW TO USE
For Day Traders:
1. Enable Daily Levels - Focus on PDH/PDL as key intraday S/R zones
2. Watch for Breakouts - Price breaking PDH = bullish, breaking PDL = bearish
3. Use Mid Level - Acts as equilibrium; rejection zone for mean reversion
4. R/S Targets - Use R1, R2, R3 as profit targets above PDH; S1, S2, S3 below PDL
5. MA Confirmation - Enter trades in direction of MA trend
6. Supertrend Signals - Take BUY when price above Supertrend, SELL when below
For Swing Traders:
1. Enable Weekly/Monthly Levels - PWH/PWL and PMH/PML for bigger picture
2. Combine Timeframes - Strong rejection at PWL + Daily bullish Supertrend = long opportunity
3. Range Trading - Trade between PWH and PWL in consolidation
4. Breakout Confirmation - Use MA ribbon to confirm trend direction on HTF breakouts
Risk Management:
- Place Stop Loss just below PDL for longs, above PDH for shorts
- Targets: Use R1/S1 for scalping, R2/S2 for swing trades, R3/S3 for momentum trades
- Avoid Chop Zones: When price between MAs, wait for clear trend
---
SETTINGS GROUPS
1. ENABLE/DISABLE FEATURES - Master toggles for all components
2. DISPLAY SETTINGS - Labels, prices, positioning, historical periods
3. DAILY LEVELS STYLING - Complete customization for daily timeframe
4. WEEKLY LEVELS STYLING - Complete customization for weekly timeframe
5. MONTHLY LEVELS STYLING - Complete customization for monthly timeframe
6. MOVING AVERAGES - 4 independent MA configurations
7. SUPERTREND - ATR period, multiplier, signals, highlighting
8. TABLE SETTINGS - Position, size, colors for info tables
9. ADVANCED SETTINGS - Custom session timing, timezone
---
UNIQUE ADVANTAGES
All-in-One Solution - No need for multiple indicators cluttering your chart
Zero Lag - Calculates previous day/week/month data accurately without repainting
Full Control - Every visual element is customizable
Clean Interface - Organized settings with clear tooltips
Performance Optimized - Efficient code, no lag even with all features enabled
Indian Market Ready - Custom session timing (9:15 AM - 3:30 PM IST)
Free Forever - No subscriptions, no hidden costs
---
## 📖 TECHNICAL DETAILS
- Pine Script Version: v6
- Chart Type: Overlay indicator
- Calculation Method: Uses `request.security()` for accurate HTF data with `lookahead_on` to prevent repainting
- Data Structures: Uses Pine v5 matrices and custom types for efficient level management
- Performance: Max 500 lines, 500 labels for historical level display
---
IMPORTANT NOTES
- Works best on intraday timeframes (15min to 4hour)
- Requires TradingView Premium/Pro for reliable multi-timeframe data
- Previous day data appears after the first bar of new day
- Custom session timing only affects Daily levels (Weekly/Monthly use standard calendar)
- Tables display only on last bar to maintain performance
---
LEARNING RESOURCES
This indicator is designed to help traders understand:
- Key support and resistance concepts
- Multi-timeframe analysis techniques
- Trend following with moving averages
- Momentum trading with Supertrend
- Professional chart setup and risk management
---
COPYRIGHT & TERMS
© 2025 CandleCodex™ - All Rights Reserved
Developer: Siddharth Sharma
License: Mozilla Public License 2.0 with additional restrictions
Allowed:
- Personal trading use
- Educational purposes
- Sharing with attribution
Prohibited:
- Commercial sale or resale
- Rebranding as your own work
- Removing copyright notices
- Claiming authorship
This indicator is FREE and will always remain FREE.
If someone is selling this, they are violating copyright.
---
SUPPORT & FEEDBACK
For questions, suggestions, or bug reports:
- Comment below this publication
- Follow CandleCodex™ for updates
- Check release notes for latest improvements
If you find this indicator useful, please Like ❤️ and leave a comment!
---
Disclaimer: This indicator is for educational purposes only. Trading involves risk. Past performance does not guarantee future results. Always practice proper risk management and consult with a financial advisor before trading.
Standard Deviation Vidya Moving Average | QuantLapseStandard Deviation Vidya MA by QuantLapse
Overview
The Standard Deviation Vidya MA indicator by QuantLapse is an dynamic and unique trend-following tool that leverages Variable Index Dynamic Average (VIDYA) along with a statistical measure of standard deviation to assess trend strength, direction and volatility. By utilizing adaptive smoothing and volatility adjustment this indicator provides a more responsive and robust signal framework for traders.
______
Technical Composition, Calculation, Key Components & Features
📌 VIDYA (Variable Index Dynamic Average)
An adaptive moving average that automatically adjusts its sensitivity based on prevailing market volatility.
Employs a volatility-weighted smoothing constant derived from standard deviation ratios, allowing the average to respond faster during high-momentum phases and slow down during consolidation.
Reduces lag during trend expansion while suppressing noise in low-volatility environments.
Provides clearer trend structure and regime awareness compared to fixed-length moving averages.
Serves as a dynamic baseline for volatility envelopes and trend-state classification within the system.
📌 Volatility Adjustment – Standard Deviation
The system constructs a volatility-adaptive envelope around the VIDYA baseline using standard deviation, allowing band width to expand and contract dynamically with changing market conditions.
VIDYA’s smoothing factor is adjusted by comparing short-term and longer-term standard deviation, increasing responsiveness during volatility expansion and dampening noise during compression.
Upper and lower bands are calculated by applying a configurable standard deviation multiplier to the VIDYA value, creating a proportional volatility boundary rather than a fixed offset.
Price movement beyond these bands confirms volatility-supported momentum, while price contained within the bands signals consolidation or transitional phases.
📌 Trend Signal Calculation
A bullish trend state is triggered when price closes above the upper standard deviation band, indicating sustained upward momentum with volatility confirmation.
A bearish trend state is triggered when price closes below the lower band, confirming downside momentum under expanding volatility.
Once established, the trend state persists until an opposing volatility break occurs, reducing whipsaw and improving regime stability.
Trend direction is visually reinforced through dynamic color-coding of the VIDYA line and its envelope, providing immediate directional context at a glance.
______
How It Works in Trading
✅ Trend Strength Detection – Evaluates cumulative price movement over a defined window to assess directional conviction.
✅ Noise Reduction – Applies adaptive smoothing techniques to minimize whipsaws during choppy conditions.
✅ Dynamic Thresholding – Utilizes volatility-aware bands to define customizable trend continuation and invalidation levels.
✅ Color-Coded Visualization – Enhances chart readability by clearly distinguishing bullish, bearish, and neutral states.
______
Visual Representation
Trend Signals on Moving Average and Background Color:
🟢 Green/Teal Moving Average – Strong Uptrend
🔴 Red/Pink Candles – Strong Downtrend
✅ Long & Short Labels can be turned on or off for trade signal clarity.
📊 Display of entry & exit points based on entry and exit criteria's.
📊 Display of Indicators equity and buy and hold equity to compare performance.
______
Features and User Inputs
The Standard Deviation Vidya MA framework incorporates a flexible set of user-defined inputs designed to balance adaptability, clarity, and analytical control.
VIDYA Configuration – Customize the Variable Index Dynamic Average length and price source to control trend responsiveness based on volatility-adjusted smoothing.
Volatility & Deviation Controls – Adjust standard deviation lookback periods and multipliers to fine-tune adaptive upper and lower thresholds used for trend qualification.
Backtesting & Date Filters – Define a start date for historical evaluation and enable range filtering to analyze performance during specific market periods.
Display & Visualization Options – Toggle labels, equity curves, and visual overlays to tailor the chart presentation to personal trading preferences.
Color Customization – Fully configurable buy/sell colors for both trend signals and equity curves, allowing intuitive visual differentiation between bullish and bearish phases.
______
Practical Applications
The Standard Deviation VIDYA MA is designed for traders seeking an adaptive trend-following framework that dynamically responds to changing market volatility. By combining VIDYA’s volatility-sensitive smoothing with standard deviation–based thresholds, the indicator offers a robust approach to directional analysis across multiple market conditions.
Key applications include:
Adaptive Trend Identification – Detect sustained bullish and bearish trends using a volatility-adjusted moving average that automatically accelerates or slows based on market activity.
Volatility-Aware Entry & Exit Signals – Utilize standard deviation bands to define dynamic breakout and invalidation zones, helping reduce false signals during low-volatility consolidation phases.
Noise-Filtered Trend Participation – Avoid whipsaws by requiring price expansion beyond adaptive deviation thresholds before confirming trend direction.
Systematic Backtesting & Evaluation – Analyze historical trend performance using built-in equity curves and date filters to assess effectiveness across different market regimes.
Visual Trend Confirmation – Leverage color-coded VIDYA lines, deviation zones, and optional labels to clearly interpret trend state and momentum strength in real time.
This framework bridges volatility analysis with adaptive trend logic, providing a disciplined and data-driven method for trend participation while maintaining clarity and interpretability in live trading environments.
______
Conclusion
The Standard Deviation VIDYA MA by QuantLapse represents a modern evolution of adaptive trend analysis, blending volatility-weighted smoothing with statistically driven deviation thresholds. By integrating VIDYA’s responsiveness with standard deviation-based confirmation, the system delivers clearer trend structure, reduced noise, and more reliable directional context across varying market regimes.
This indicator is particularly well-suited for traders who value adaptability, clarity, and rule-based decision-making over static moving average techniques.
🔹 Who should use Standard Deviation VIDYA MA:
📊 Trend-Following Traders – Identify and stay aligned with sustained directional moves while avoiding premature reversals.
⚡ Momentum Traders – Capture volatility-supported expansions when price breaks beyond adaptive deviation bands.
🤖 Systematic & Algorithmic Traders – Ideal as a volatility-aware trend filter for rule-based entries, exits, and portfolio frameworks.
🔹 Disclaimer: Past performance does not guarantee future results. All trading involves risk, and no indicator or methodology can ensure profitability.
🔹 Strategic Advice: Always backtest thoroughly, optimize parameters responsibly, and align settings with your personal risk tolerance, timeframe, and market conditions before deploying the indicator in live trading.
krishnadeshmukh/NIFTY50 Micro Sentiment Part 1📘 Script Description: NIFTY50 Micro Sentiment — Part 1
This indicator tracks real-time micro sentiment across the top 25 weighted stocks of the NIFTY50 index using a volume-based distribution model.
🔍 How it works:
Scans last N bars (configurable) for each stock.
Divides each stock’s price range into equal bins.
Measures bullish vs bearish volume in each bin based on:
Candle Color (Close > Open) or
Close Near High (Close > Midpoint).
Assigns a sentiment value:
+1 → Bullish dominance
-1 → Bearish dominance
0 → Neutral
📊 Each stock's sentiment is weighted by its contribution to the index.
🧮 Displays:
Weighted Sentiment Score
Bullish / Bearish / Neutral Components
Updated every 5 bars with an easy-to-read table.
Use this to gauge underlying micro shifts in sentiment before broader market moves.
krishnadeshmukh/NIFTY50 Micro Sentiment Part 1📘 Script Description: NIFTY50 Micro Sentiment — Part 1
This indicator tracks real-time micro sentiment across the top 25 weighted stocks of the NIFTY50 index using a volume-based distribution model.
🔍 How it works:
Scans last N bars (configurable) for each stock.
Divides each stock’s price range into equal bins.
Measures bullish vs bearish volume in each bin based on:
Candle Color (Close > Open) or
Close Near High (Close > Midpoint).
Assigns a sentiment value:
+1 → Bullish dominance
-1 → Bearish dominance
0 → Neutral
📊 Each stock's sentiment is weighted by its contribution to the index.
🧮 Displays:
Weighted Sentiment Score
Bullish / Bearish / Neutral Components
Updated every 5 bars with an easy-to-read table.
Use this to gauge underlying micro shifts in sentiment before broader market moves.
krishnadeshmukh/NIFTY50 Micro Sentiment Part 2📘 Script Description: NIFTY50 Micro Sentiment — Part 2
This indicator continues the NIFTY50 Micro Sentiment model by analyzing the remaining 25 stocks (Rank 26–50 by index weight) of the NIFTY50.
🔍 Key Features:
Applies the same volume-bin methodology used in Part 1.
Sentiment detection based on:
Candle Color (default) or
*Close vs Midpoint of the candle range.
Stocks are weighted by their index influence.
Output is a clean sentiment table:
+ve / -ve / Neutral Volume Score
Weighted Sentiment Output
Use this in conjunction with Part 1 to analyze the entire NIFTY50 sentiment landscape.
📘 Script Description: NIFTY50 Combined Score
This script aggregates live sentiment data from both:
🧩 NIFTY50 Micro Sentiment — Part 1
🧩 NIFTY50 Micro Sentiment — Part 2
🚀 What it does:
Imports Score, +ve, -ve, and Neutral components from both scripts.
Combines them to produce:
✅ Total Weighted Sentiment
🟢 Bullish Weight
🔴 Bearish Weight
🟡 Neutral Component
📊 Outputs are shown via a middle-right sentiment table, updated every 5 bars.
Perfect for traders seeking a unified view of micro sentiment across the entire NIFTY50 ecosystem — in one glance.
Triple Supertrend + EMA CrossoverCustomized 3 supertrend and EMA crossover which is helpful for identification of the trend.






















