SMC N-Gram Probability Matrix [PhenLabs]📊 SMC N-Gram Probability Matrix
Version: PineScript™ v6
📌 Description
The SMC N-Gram Probability Matrix applies computational linguistics methodology to Smart Money Concepts trading. By treating SMC patterns as a discrete “alphabet” and analyzing their sequential relationships through N-gram modeling, this indicator calculates the statistical probability of which pattern will appear next based on historical transitions.
Traditional SMC analysis is reactive—traders identify patterns after they form and then anticipate the next move. This indicator inverts that approach by building a transition probability matrix from up to 5,000 bars of pattern history, enabling traders to see which SMC formations most frequently follow their current market sequence.
The indicator detects and classifies 11 distinct SMC patterns including Fair Value Gaps, Order Blocks, Liquidity Sweeps, Break of Structure, and Change of Character in both bullish and bearish variants, then tracks how these patterns transition from one to another over time.
🚀 Points of Innovation
First indicator to apply N-gram sequence modeling from computational linguistics to SMC pattern analysis
Dynamic transition matrix rebuilds every 50 bars for adaptive probability calculations
Supports bigram (2), trigram (3), and quadgram (4) sequence lengths for varying analysis depth
Priority-based pattern classification ensures higher-significance patterns (CHoCH, BOS) take precedence
Configurable minimum occurrence threshold filters out statistically insignificant predictions
Real-time probability visualization with graphical confidence bars
🔧 Core Components
Pattern Alphabet System: 11 discrete SMC patterns encoded as integers for efficient matrix indexing and transition tracking
Swing Point Detection: Uses ta.pivothigh/pivotlow with configurable sensitivity for non-repainting structure identification
Transition Count Matrix: Flattened array storing occurrence counts for all possible pattern sequence transitions
Context Encoder: Converts N-gram pattern sequences into unique integer IDs for matrix lookup
Probability Calculator: Transforms raw transition counts into percentage probabilities for each possible next pattern
🔥 Key Features
Multi-Pattern SMC Detection: Simultaneously identifies FVGs, Order Blocks, Liquidity Sweeps, BOS, and CHoCH formations
Adjustable N-Gram Length: Choose between 2-4 pattern sequences to balance specificity against sample size
Flexible Lookback Range: Analyze anywhere from 100 to 5,000 historical bars for matrix construction
Pattern Toggle Controls: Enable or disable individual SMC pattern types to customize analysis focus
Probability Threshold Filtering: Set minimum occurrence requirements to ensure prediction reliability
Alert Integration: Built-in alert conditions trigger when high-probability predictions emerge
🎨 Visualization
Probability Table: Displays current pattern, recent sequence, sample count, and top N predicted patterns with percentage probabilities
Graphical Probability Bars: Visual bar representation (█░) showing relative probability strength at a glance
Chart Pattern Markers: Color-coded labels placed directly on price bars identifying detected SMC formations
Pattern Short Codes: Compact notation (F+, F-, O+, O-, L↑, L↓, B+, B-, C+, C-) for quick pattern identification
Customizable Table Position: Place probability display in any corner of your chart
📖 Usage Guidelines
N-Gram Configuration
N-Gram Length: Default 2, Range 2-4. Lower values provide more samples but less specificity. Higher values capture complex sequences but require more historical data.
Matrix Lookback Bars: Default 500, Range 100-5000. More bars increase statistical significance but may include outdated market behavior.
Min Occurrences for Prediction: Default 2, Range 1-10. Higher values filter noise but may reduce prediction availability.
SMC Detection Settings
Swing Detection Length: Default 5, Range 2-20. Controls pivot sensitivity for structure analysis.
FVG Minimum Size: Default 0.1%, Range 0.01-2.0%. Filters insignificant gaps.
Order Block Lookback: Default 10, Range 3-30. Bars to search for OB formations.
Liquidity Sweep Threshold: Default 0.3%, Range 0.05-1.0%. Minimum wick extension beyond swing points.
Display Settings
Show Probability Table: Toggle the probability matrix display on/off.
Show Top N Probabilities: Default 5, Range 3-10. Number of predicted patterns to display.
Show SMC Markers: Toggle on-chart pattern labels.
✅ Best Use Cases
Anticipating continuation or reversal patterns after liquidity sweeps
Identifying high-probability BOS/CHoCH sequences for trend trading
Filtering FVG and Order Block signals based on historical follow-through rates
Building confluence by comparing predicted patterns with other technical analysis
Studying how SMC patterns typically sequence on specific instruments or timeframes
⚠️ Limitations
Predictions are based solely on historical pattern frequency and do not account for fundamental factors
Low sample counts produce unreliable probabilities—always check the Samples display
Market regime changes can invalidate historical transition patterns
The indicator requires sufficient historical data to build meaningful probability matrices
Pattern detection uses standardized parameters that may not capture all institutional activity
💡 What Makes This Unique
Linguistic Modeling Applied to Markets: Treats SMC patterns like words in a language, analyzing how they “flow” together
Quantified Pattern Relationships: Transforms subjective SMC analysis into objective probability percentages
Adaptive Learning: Matrix rebuilds periodically to incorporate recent pattern behavior
Comprehensive SMC Coverage: Tracks all major Smart Money Concepts in a unified probability framework
🔬 How It Works
1. Pattern Detection Phase
Each bar is analyzed for SMC formations using configurable detection parameters
A priority hierarchy assigns the most significant pattern when multiple detections occur
2. Sequence Encoding Phase
Detected patterns are stored in a rolling history buffer of recent classifications
The current N-gram context is encoded into a unique integer identifier
3. Matrix Construction Phase
Historical pattern sequences are iterated to count transition occurrences
Each context-to-next-pattern transition increments the appropriate matrix cell
4. Probability Calculation Phase
Current context ID retrieves corresponding transition counts from the matrix
Raw counts are converted to percentages based on total context occurrences
5. Visualization Phase
Probabilities are sorted and the top N predictions are displayed in the table
Chart markers identify the current detected pattern for visual reference
💡 Note:
This indicator performs best when used as a confluence tool alongside traditional SMC analysis. The probability predictions highlight statistically common pattern sequences but should not be used as standalone trading signals. Always verify predictions against price action context, higher timeframe structure, and your overall trading plan. Monitor the sample count to ensure predictions are based on adequate historical data.
차트 패턴
Zero Lag EMA_BhavatThis is a test script for zelma. This is intended to cut down the lag from traditional ema indicators.
StockX TrendPulseThis is one of our premium, high-grade trading scripts built specifically for highly liquid stocks. It’s a fully automated system designed to deliver consistent performance, adapt to changing market conditions, and maintain strict risk control. With enhanced trade management and built-in performance tracking, it provides a reliable, disciplined framework for stock traders who demand precision and robustness.
StockX TrendPulse removes emotion from trading decisions and provides complete transparency through detailed performance metrics. The strategy is fully backtested and ready for live deployment.
Ready to Trade Like a Pro?
StockX TrendPulse is a premium strategy with limited availability.
Email brijamohanjha@gmail.com
to request access and pricing.
SISTEMA SKI - CDE - CopilotA simple and efficient tool that calculates real-time candle risk, tick size, contract sizing, and wick-quality signals. Designed for fast decision-making and clarity, featuring the SKI System header for mindset alignment and a customizable personal message.
If you want an even shorter or more marketing-style version, I can generate more options.
1st + 4th + 5th + 7th Candle Logic (LIVE FIXED + NEW CONDITION)trade 10th candle based on 1st + 4th + 5th + 7th Candle Logic
MSB (MM+SP2L+BTB) V6_by_shahriar📝 MSB(MM + SP2L + BTB) V6_by_shahriar
This indicator is the improved and professional version of the earlier Combo V16. The logic has been streamlined by removing less critical patterns and focusing exclusively on the three most powerful strategies—Micro Map (MM), Spike to 2nd Leg (SP2L), and Back To Break Even (Pro BTB). These three form a "strong triangle" of high-probability entries, all strictly filtered by a long-term Simple Moving Average (SMA) to ensure trades align with the prevailing market trend.
💡 Strategy Logic Overview
This strategy generates a Buy or Sell signal only when the signal condition is met and the price is on the correct side of the Trend SMA (default 200).
1. Micro Map (MM): The Catalyst for Strong Profit Moves
The Micro Map strategy is the critical final piece of the Strong Triangle, acting as the precise trigger that signals the end of consolidation and the start of a powerful, high-momentum profit move in the direction of the trend. While SP2L identifies the momentum start and BTB identifies the retest of value, MM identifies the moment price is ready to explode.
Logic: This strategy focuses on identifying a tightly controlled consolidation or pullback (indicated by patterns like Lower Highs or Higher Lows over the MM Correction Bars period) that occurs within the major trend (above/below the Trend SMA).
Trigger: The signal fires when price decisively breaks out of this compressed area (using the MM Breakout Lookback high/low), indicating that the short-term resistance/support has collapsed and the larger trend momentum is taking over.
Profit Potential: Because this entry follows a period of energy buildup (consolidation), the MM signal is often the precursor to the strongest leg of the move, offering the highest potential for profit capture.
2. Spike to 2nd Leg (SP2L)
The SP2L strategy capitalizes on the market's tendency to continue movement after an initial strong impulse.
Trigger: It first detects a strong impulse move (Spike) based on the Min Bars in Spike and Min Spike Move % inputs. The entry is then triggered upon the breakout of the first corrective bar (pullback) that follows that initial Spike, confirming the continuation of the trend.
3. Back To Break Even (Pro BTB)
The Pro BTB strategy identifies high-probability entries near previous support/resistance levels that have been broken and then retested (a "Breaker" structure).
Trigger: It first detects a breakout of a high/low level defined by the Donchian Channel Length. The signal is generated when the price returns to touch the exact breakout level and then confirms the original trend direction with a closing candle (e.g., a bullish close on a retest of a broken resistance).
⚙️ Settings and Customization (Inputs Tab)
The indicator's parameters are fully customizable to adjust sensitivity and adapt to different markets and timeframes.
Setting Name,Category,Description
SMA Length (Trend Filter),General,Defines the period for the Simple Moving Average (SMA) used to determine the primary trend direction. (Default: 200)
Donchian Channel Length,General,"Determines the lookback period for the Donchian Channel, used to establish significant high/low levels for the Pro BTB strategy. (Default: 20)"
ATR Multiplier for Micro Map/BTB SL,General,A multiplier for the Average True Range (ATR) that can be used for calculating Stop Loss (SL) distance outside of the indicator's core logic.
ATR Multiplier for SP2L SL (Wider),General,"A wider ATR multiplier, often used for setting Stop Loss in the higher volatility SP2L strategy."
Min Bars in Spike,Spike Params,Minimum number of bars used to calculate the price change for detecting an initial Spike in the SP2L strategy.
Min Spike Move %,Spike Params,Minimum percentage price change required over the Min Bars in Spike to qualify as a strong Spike.
MM Correction Bars,Micro Map Params,Sets the number of bars to analyze for the Lower Highs/Higher Lows pattern that confirms consolidation/pullback in the MM strategy.
MM Breakout Lookback,Micro Map Params,Sets the lookback period for the high/low that must be broken to trigger a MM signal after consolidation.
🎨 Style Tab
The Style tab allows users to customize the visual appearance of the indicator on the chart:
Trend SMA: Displays the long-term SMA line used for trend filtering.
BTB Long/Short Level: Displays the exact price level of the Donchian Channel breakout when a BTB signal is active (helps visualize the retest point).
Signal Shapes: Allows customization of the color, size, and style of the shapes for Buy/Sell signals for MM, SP2L, and BTB individually.
⚠️ Disclaimer (Liability Waiver)
This indicator is intended for educational and analytical purposes only.
The signals generated by this combination of strategies are based on historical price data and technical analysis principles. Trading involves substantial risk, and past performance is not indicative of future results. Users must conduct their own thorough research (due diligence) and analysis before making any trading decisions. The indicator serves as a supplementary tool and should not be the sole basis for entering or exiting any financial market position. You are solely responsible for all trading decisions and risks taken.
Effort per 1% Move (Normalized Columns)This indicator Shows a Normalized "effort" needed to move a certain assets price by 1 percent.
Used correctly, this can help in visualizing manipulation and shows a certain chance of a candle turning to a swing point.
Koushik_BBEMAJust a combination of BB and EMA. An easy way to immediately add bollinger band and multiple ema to your chart.
The Composite Predictive Index-(CPI-IGv5)***Main Purpose: Developed by Alcides J. Davila (TradingView: Alcides0265), a Miami-based daily trader and financial consultant specializing in commodities and capital solutions. The primary reason for CPI-IG v5 is to deliver institutional-grade predictive signals for market direction, synthesizing diverse technical factors into a probabilistic "probUp" score (upward movement likelihood) to guide high-confidence trades, aiming for 68-80% predictability in identifying trends/reversals.
Key Features: Probability Engine: Weighted combination of price delta, momentum (CMMI from RSI/mom), volume pressure, volatility (ATR/BB), trend slope, sentiment/news (manual inputs), projection (MACD ratio), and POC crossover; normalized via Z-score and tanh approx, mapped to probUp using normal CDF or logistic.
Signals and Strategies: Base/strong/ultra buy/sell gates based on prob thresholds (e.g., >0.68 for medium-term buys), bullish/bearish alignments (EMA9/20/SMA9 vs. VWAP/POC proxy), Golden/Death crosses (EMA50/200), short/medium/long confirmations, and breakout/breakdown with retest detection.
Visuals and HUD: Overlay plots (EMAs, BB, VWAP, projections), dynamic tables for stats (prob/z/ATR/delta vol), oscillator (bull/neu/bear on LTF/current/HTF), indexes (S&P/DJIA/Nasdaq), ETFs (SPY/QQQ/VIX), all resizable/movable.
Trading Modes: Versatile for scalping (short projections, 0.55 buy thresh), intraday, short/medium/long-term (stricter thresh up to 0.70, adjusted lookbacks/projections up to 500 bars).
Additional Tools: Internal backtest (with TP/SL via ATR mults, slippage/fees), alerts with cooldown, multi-timeframe alignment (HTF strict option).
Design and Protocol Structure: Modular Pine Script v5 with helpers (tanh/erf approx for ASCII-only math, safe div/Z-score norms); core series compute indicators (RSI/MACD/BB/VWAP/volume delta); linear weighted sum -> standardized Z -> prob calc -> gated signals with filters; efficient resource caps (max bars/lines/labels=500).
Reliability: Multi-factor redundancy and confirmations (e.g., simultaneous POC crosses, vol/MACD filters for ultra signals) reduce noise; HTF/LTF integration ensures alignment; backtest tracks cumR/wins/maxDD for validation; robustness via clamping/approx handles extremes/div0.
Efficiency: Real-time computation with rolling sums/Z-windows (50 bars); optimized for daily/institutional use without heavy lag; cooldowns prevent alert overload.
Robustness: Edge-case handling (e.g., na checks, mintick ranges); flexible inputs (weights, mults, modes) adapt to markets; no strict cutoff, continuous updates via security requests.
Flexibility: Customizable weights/thresh/resolutions; manual sentiment/news for external integration; toggles for visuals/backtest; suits pros, institutions, scalpers, daily traders across assets/timeframes.
Market Predictability: Claims 68-80% effectiveness via sophisticated prob model, multi-indicator fusion, and strategy layers; thresholds imply edge (e.g., 70% long-term buy prob), enhanced by projections/breakouts for forward bias.
Tiny Simplified Feedback Summary
CPI-IG v5 excels as a versatile, prob-driven institutional tool for predictive trading (68-80% edge), blending TA factors with custom modes/signals/visuals; robust and efficient for all trader levels, per code analysis and TradingView desc. Cheers!!!
ATR + BJ Signal(GOLD)This script visualizes a price-based counting pattern that highlights potential market exhaustion and reversal areas.
When a series of candles continues in one direction, the indicator measures price momentum loss and marks possible turning points.
Features
Counts consecutive upward or downward price movement
Highlights possible exhaustion or reversal areas
Optional alerts, take-profit and stop-loss visual levels
Fully customizable colors and display settings
Useful as a confirmation tool with trend or volume indicators
This indicator is designed to assist decision-making, not to generate mechanical buy/sell signals.
Best used together with other trend or volatility tools.
📎 Short Description (for compact field)
Counts consecutive price movement to highlight potential market exhaustion and reversal zones.
Helps identify when strong trends may be weakening.
KIMATIX INFOS – CoreKIMATIX INFOS – Core is a professional trend and entry framework designed to identify market regime shifts, confirm directional bias, and generate high-probability trade signals.
This system blends volume flow, higher-timeframe directional context, and momentum behavior to detect genuine trend transitions while filtering out chop and noise. Trend phases are visualized through an adaptive channel, and trade signals only trigger when structure, bias, and momentum align.
The indicator displays:
Validated trend phases via dynamic trend channels
Long/Short bias based on delta flow and directional structure
Hybrid entry signals combining momentum, structure, and trend
Visual signals for the most recent trend shifts
Built for traders who want clean trend entries, controlled pullback timing, or early trend reversal detection.
Works as a standalone tool or as a modular core logic inside automated systems.
Key Features
• Trend filter to separate trending vs. sideways markets
• Adaptive channel acting as dynamic support/resistance
• Hybrid signal engine that activates only with confirmed trend context
• Arrow markers displaying the latest trend initiations
• Ready-to-use alert conditions for automatic signaling
Benefits for Traders
• Avoids chop and false breakouts
• Captures impulsive directional movement precisely
• Provides clear market direction and real-time validation
• Suitable for scalpers, day traders, and swing traders
• Supports institutional logic
2-Candle Pattern + Highest/Lowest 10 (NLS)...................
Buy - Sell Hight Low Candle
RR 1:3
Winrate: 80%
...............................
Stochastic + MACD Alignment Signals//@version=5
indicator("Stochastic + MACD Alignment Signals", overlay=true)
// ————— INPUTS —————
stochLength = input.int(14, "Stoch Length")
k = input.int(3, "K Smoothing")
d = input.int(3, "D Smoothing")
macdFast = input.int(12, "MACD Fast Length")
macdSlow = input.int(26, "MACD Slow Length")
macdSignal = input.int(9, "MACD Signal Length")
emaLen = input.int(21, "EMA Filter Length")
// ————— CALCULATIONS —————
// Stochastic
kRaw = ta.stoch(close, high, low, stochLength)
kSmooth = ta.sma(kRaw, k)
dSmooth = ta.sma(kSmooth, d)
// MACD
macd = ta.ema(close, macdFast) - ta.ema(close, macdSlow)
signal = ta.ema(macd, macdSignal)
hist = macd - signal
// EMA Filter
ema = ta.ema(close, emaLen)
// ————— SIGNAL CONDITIONS —————
// BUY CONDITIONS
stochBull = ta.crossover(kSmooth, dSmooth) and kSmooth < 20
macdBull = ta.crossover(macd, signal) or (hist > 0)
emaBull = close > ema
buySignal = stochBull and macdBull and emaBull
// SELL CONDITIONS
stochBear = ta.crossunder(kSmooth, dSmooth) and kSmooth > 80
macdBear = ta.crossunder(macd, signal) or (hist < 0)
emaBear = close < ema
sellSignal = stochBear and macdBear and emaBear
// ————— PLOTTING SIGNALS —————
plotshape(buySignal, title="BUY", style=shape.labelup,
color=color.new(color.green, 0), size=size.large, text="BUY")
plotshape(sellSignal, title="SELL", style=shape.labeldown,
color=color.new(color.red, 0), size=size.large, text="SELL")
// ————— OPTIONAL ALERTS —————
alertcondition(buySignal, title="Buy Signal", message="Stoch + MACD Alignment BUY")
alertcondition(sellSignal, title="Sell Signal", message="Stoch + MACD Alignment SELL")
30-Minute High and Low30-Minute High and Low Levels
This indicator plots the previous 30-minute candle’s high and low on any intraday chart.
These levels are widely used by intraday traders to identify key breakout zones, liquidity pools, micro-range boundaries, and early trend direction.
Features:
• Automatically pulls the previous 30-minute candle using higher-timeframe HTF requests
• Displays the HTF High (blue) and HTF Low (red) on lower-timeframe charts
• Works on all intraday timeframes (1m, 3m, 5m, 10m, etc.)
• Levels stay fixed until the next 30-minute bar completes
• Ideal for ORB strategies, scalping, liquidity sweeps, and reversal traps
Use Cases:
• Watch for breakouts above the 30-minute high
• Monitor for liquidity sweeps and fakeouts around the high/low
• Treat the mid-range as a magnet during consolidation
• Combine with VWAP or EMA trend structure for high-precision intraday setups
This indicator is simple, fast, and designed for traders who rely on HTF micro-structure to guide intraday execution.
Golden Cross RSI Daily Helper (US Stocks)//@version=5
indicator("Golden Cross RSI Daily Helper (US Stocks)", overlay=true, timeframe="D", timeframe_gaps=true)
//========= الإعدادات الأساسية =========//
emaFastLen = input.int(50, "EMA سريع (اتجاه قصير المدى)")
emaSlowLen = input.int(200, "EMA بطيء (اتجاه طويل المدى)")
rsiLen = input.int(14, "فترة RSI")
rsiMin = input.float(40.0, "حد RSI الأدنى للدخول", 0.0, 100.0)
rsiMax = input.float(60.0, "حد RSI الأعلى للدخول", 0.0, 100.0)
slBufferPerc = input.float(1.5, "نسبة البفر لوقف الخسارة (%) أسفل/أعلى EMA200", 0.1, 5.0)
rrRatio = input.float(2.0, "نسبة العائد إلى المخاطرة (R:R)", 1.0, 5.0)
//========= حساب المؤشرات =========//
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
rsiVal = ta.rsi(close, rsiLen)
// اتجاه السوق
trendUp = emaFast > emaSlow
trendDown = emaFast < emaSlow
// ارتداد السعر من EMA50 أو EMA200 تقريبياً
bounceFromEmaFast = close > emaFast and low <= emaFast
bounceFromEmaSlow = close > emaSlow and low <= emaSlow
bounceLong = bounceFromEmaFast or bounceFromEmaSlow
bounceFromEmaFastShort = close < emaFast and high >= emaFast
bounceFromEmaSlowShort = close < emaSlow and high >= emaSlow
bounceShort = bounceFromEmaFastShort or bounceFromEmaSlowShort
// فلتر RSI
rsiOk = rsiVal >= rsiMin and rsiVal <= rsiMax
//========= شروط الدخول =========//
// شراء
longSignal = trendUp and bounceLong and rsiOk
// بيع
shortSignal = trendDown and bounceShort and rsiOk
//========= حساب وقف الخسارة والأهداف =========//
// نستخدم سعر إغلاق شمعة الإشارة كسعر دخول افتراضي
entryPriceLong = close
entryPriceShort = close
// وقف الخسارة حسب EMA200 + البفر
slLong = emaSlow * (1.0 - slBufferPerc / 100.0)
slShort = emaSlow * (1.0 + slBufferPerc / 100.0)
// المسافة بين الدخول ووقف الخسارة
riskLong = math.max(entryPriceLong - slLong, syminfo.mintick)
riskShort = math.max(slShort - entryPriceShort, syminfo.mintick)
// هدف الربح حسب R:R
tpLong = entryPriceLong + rrRatio * riskLong
tpShort = entryPriceShort - rrRatio * riskShort
//========= الرسم على الشارت =========//
// رسم المتوسطات
plot(emaFast, title="EMA 50", color=color.new(color.blue, 0), linewidth=2)
plot(emaSlow, title="EMA 200", color=color.new(color.orange, 0), linewidth=2)
// تلوين الخلفية حسب الاتجاه
bgcolor(trendUp ? color.new(color.green, 92) : trendDown ? color.new(color.red, 92) : na)
// إشارة شراء
plotshape(
longSignal,
title = "إشارة شراء",
style = shape.triangleup,
location = location.belowbar,
size = size.large,
color = color.new(color.green, 0),
text = "BUY")
// إشارة بيع
plotshape(
shortSignal,
title = "إشارة بيع",
style = shape.triangledown,
location = location.abovebar,
size = size.large,
color = color.new(color.red, 0),
text = "SELL")
// رسم SL و TP عند ظهور الإشارة
slPlotLong = longSignal ? slLong : na
tpPlotLong = longSignal ? tpLong : na
slPlotShort = shortSignal ? slShort : na
tpPlotShort = shortSignal ? tpShort : na
plot(slPlotLong, title="وقف خسارة شراء", color=color.new(color.red, 0), style=plot.style_linebr)
plot(tpPlotLong, title="هدف شراء", color=color.new(color.green, 0), style=plot.style_linebr)
plot(slPlotShort, title="وقف خسارة بيع", color=color.new(color.red, 0), style=plot.style_linebr)
plot(tpPlotShort, title="هدف بيع", color=color.new(color.green, 0), style=plot.style_linebr)
//========= إعداد التنبيهات =========//
alertcondition(longSignal, title="تنبيه إشارة شراء", message="إشارة شراء: ترند صاعد + ارتداد من EMA + RSI في المنطقة المسموحة.")
alertcondition(shortSignal, title="تنبيه إشارة بيع", message="إشارة بيع: ترند هابط + ارتداد من EMA + RSI في المنطقة المسموحة.")
Nifty levels SHIVAJIonly for nifty levels and only for paper trade----
📊 NIFTY LEVELS – Intraday Trading Indicator
NIFTY LEVELS एक simple और powerful intraday indicator है जो NIFTY के लिए Daily Open आधारित महत्वपूर्ण support & resistance levels automatically plot करता है।
🔹 Indicator क्या दिखाता है
✅ Day Open Level
✅ Major Resistance & Support Levels
✅ Scalping Levels (Intraday Trading के लिए)
✅ Auto update हर नए trading day के साथ
🔹 किसके लिए उपयोगी है
✅ Intraday Traders
✅ Scalpers
✅ Bank Nifty / Nifty Option Traders
✅ Index based price action trading
🔹 कैसे इस्तेमाल करें
📌 Price Day Open के ऊपर हो → Buy bias
📌 Price Day Open के नीचे हो → Sell bias
📌 Big Levels पर reversal या breakout observe करें
📌 Scalping levels से quick entry & exit के लिए सहायता
🔹 Best Timeframe
1 min – 15 min (Intraday)
Index charts (NIFTY
First FVG After 9:30 AM ET + Opening Range (1min) OK# FVG + Opening Range Breakout Indicator (1M)
## Overview
A professional trading indicator designed for 1-minute candlestick charts that identifies Fair Value Gaps (FVG) and Opening Range breakout patterns with precise entry signals for institutional trading strategies.
## Key Features
### 1. Fair Value Gap Detection (FVG)
- **Automatic Detection**: Identifies the first FVG after 9:30 AM ET
- **Support for Both Types**:
- **Bearish FVG**: Gap formed when candle 3 high is below candle 1 low (downward gap)
- **Bullish FVG**: Gap formed when candle 3 low is above candle 1 high (upward gap)
- **Visual Representation**: Blue box marking the exact gap zone
- **Active Period**: 9:30 AM - 2:00 PM ET only
### 2. FVG Entry Signals
- **SELL Signal (Bearish FVG)**: Generated when price enters and respects the gap
- Triggers when close stays within the FVG range
- Multiple signals allowed on retests
- Position label placed above bearish candles
- **BUY Signal (Bullish FVG)**: Generated when price breaks above FVG top
- Triggers when close breaks above fvgHigh
- Allows multiple signals on subsequent retests
- Position label placed below bullish candles
### 3. Opening Range (9:30 - 10:00 AM ET)
- **Three Key Levels**:
- **OR High** (Red Dashed Line): Highest point during opening 30 minutes
- **OR Low** (Green Dashed Line): Lowest point during opening 30 minutes
- **OR Mid** (Orange Dotted Line): Midpoint between High and Low
- **Lines Extend**: 100 bars into the session for reference
### 4. Opening Range Breakout Signals
Detects breakouts from the opening range with a refined entry strategy:
- **BUY Signal (OR High Breakout)**:
1. Price breaks ABOVE OR High (high1m > orHigh)
2. Waits minimum 5 candles
3. Price retests OR High level (close ≤ orHigh)
4. Price rebounds UPWARD (close > orHigh)
5. Signal generated with label "BUY"
- **SELL Signal (OR Low Breakout)**:
1. Price breaks BELOW OR Low (low1m < orLow)
2. Waits minimum 5 candles
3. Price retests OR Low level (close ≥ orLow)
4. Price rebounds DOWNWARD (close < orLow)
5. Signal generated with label "SELL"
### 5. Time Filters
- **Session Start**: 9:30 AM ET (Market Open)
- **Session End**: 2:00 PM ET (14:00)
- **All signals only generated within this window**
- **Daily Reset**: All data clears at market open each trading day
## Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| FVG Box Color | Blue (80% transparent) | Visual color of FVG zone |
| FVG Border Color | Blue | Border line color |
| Border Width | 1 | Thickness of FVG box border |
| Box Extension Right | 20 bars | How far right the box extends |
| Box Extension Left | 5 bars | How far left the box extends |
| Minimum FVG Size | 5.0 points | Minimum gap size to display |
| FVG Respect Tolerance | 2.0 points | Price tolerance for FVG respect |
| Show FVG Labels | True | Display "First FVG" label |
| Show Signals | True | Display SELL/BUY entry signals |
| Show Opening Range | True | Display OR High/Low/Mid lines |
| OR High Color | Red (80% transparent) | OR High line color |
| OR Low Color | Green (80% transparent) | OR Low line color |
| OR Mid Color | Orange (80% transparent) | OR Mid line color |
| OR Line Width | 2 | Thickness of OR lines |
| OR Line Length | 100 bars | Extension of OR lines |
| Timezone Offset | -5 (EST) | UTC offset (-4 for EDT) |
## Trading Strategy Integration
### Institutional Trading Approach
This indicator combines two professional trading methodologies:
1. **Fair Value Gap Trading**: Exploits market inefficiencies (gaps) that institutional traders fill during the day
2. **Opening Range Breakout**: Captures momentum moves that break out of the morning consolidation
### Optimal Use Cases
- **Asian Session into London Open**: Monitor FVG formation
- **Pre-Market Gap Analysis**: Plan breakout trades
- **Early Morning Momentum**: Catch OR breakouts with precision entries
- **Intraday Scalping**: Use signals for quick risk/reward entries
### Risk Management
- Entry signals clearly marked with labels
- Trailing stops can be set at OR levels
- Multiple timeframe confirmation recommended
- Always use stop losses below/above key levels
## Signal Interpretation
| Signal | Type | Action | Location |
|--------|------|--------|----------|
| SELL | FVG Bearish | Short Entry | Above bearish candle |
| BUY | FVG Bullish | Long Entry | Below bullish candle |
| BUY | OR High Breakout | Long Entry | Above OR High |
| SELL | OR Low Breakout | Short Entry | Below OR Low |
## Color Scheme
- **Red**: Bearish direction (SELL signals, OR High)
- **Green**: Bullish direction (BUY signals, OR Low)
- **Orange**: Neutral reference (OR Mid point)
- **Blue**: FVG zones (gaps)
- **Yellow**: Background during FVG search phase
## Notes
- Indicator works exclusively on 1-minute charts
- Requires market open data (9:30 AM ET)
- All times referenced to Eastern Time (ET)
- Historical data should include full trading day for accuracy
- Use with volume and momentum indicators for confirmation
---
**Designed for professional traders using institutional-grade trading methodologies**
GHOST Premium IndicatorGHOST Premium Indicator – Session ORB + True Day Open Levels
GHOST Premium is a full session-mapping tool built for futures traders who live off levels, not guesses. It automatically plots:
15-Minute ORB Zones for
Asia (19:00 NY)
London (03:00 NY)
New York (09:30 NY)
Each ORB is drawn as a dynamic box that tracks the high/low during the window, then locks in and projects high, low, and midline rays forward into the session so you can trade clean reaction levels.
Asia Session High/Low (19:00–00:00 NY)
Choose between Rays, Boxes, or Both.
Session high/low rays extend right across the chart.
Optional “extreme candle” boxes from a user-selected timeframe (1–15m) give you a visual anchor for key impulsive moves.
Labels for Asia High/Low stay pinned to the right edge of the chart using a configurable offset.
London Session High/Low (03:00–08:00 NY)
Same logic as Asia: live-updating session high/low, projected as rays or boxes.
Session objects persist until 16:50 NY, then auto-clean so your chart never gets cluttered.
Labels for London High/Low and their boxes also slide with price to the right side of the chart.
True Day Open (TDO)
Calculates calendar day open at 00:00 ET, even though the futures session starts at 18:00.
Draws a horizontal ray from TDO across the entire day.
Drops a “TDO” label on the level and keeps it pinned to the right edge with its own adjustable offset.
Fully customizable ray color, label color, and line width.
All key visuals are user-configurable: session toggles, colors, transparency, line widths, midline style, label offsets, and extreme-candle timeframes.
Use GHOST Premium to instantly see where Asia, London, NY, and the True Day Open are controlling order flow – so you can build your bias and executions around the same levels smart money respects.
VWolf – Slope GuardOVERVIEW
Slope Guard combines a momentum core (WaveTrend + RSI/MFI + QQE family) with a directional bias (EMA/DEMA and a DEMA-slope filter). Trade direction can be constrained by the Supertrend regime (Normal or Pivot). Risk is managed with ATR-based stops and targets, optional Supertrend-anchored dynamic levels, and a two-stage take-profit that can shift the stop to break-even after the first partial. The strategy supports explicit Backtest and Forward-test windows and adapts certain thresholds by market type (Forex vs. Stocks).
RECOMMENDED USE
Markets: Forex and equities; use Market Type to properly scale the DEMA-slope gate.
Timeframes: M15–H4 for intraday-swing and H1–D1 for slower swing; avoid ultra-low TFs without tightening ADX/QQE.
Assets: Instruments with persistent trends and orderly pullbacks; avoid flat ranges without sufficient ADX.
Strengths
Multi-layer confluence: trend bias + momentum + regime + strength.
Flexible risk engine: ATR vs. Supertrend anchoring, staged exits, and automatic break-even.
Clean research workflow: separated Backtest and Forward-test windows.
Precautions
Structural latency: Pivot-based constructs confirm with delay; validate with Forward-test.
Filter interaction: QQE Strict + ADX + WT zero-line can become overly selective; calibrate by asset/TF.
Overfitting risk: Prefer simple, portable parameter sets and validate across symbols/TFs.
CONCLUSION
Slope Guard is a “trend + momentum” framework with risk control at its core. By enforcing a baseline bias, validating momentum with the Vuman composite, and offering ATR or Supertrend-anchored exits—plus staged profits and break-even shifts—it seeks to capture the core of directional swings while compressing drawdowns. Keep testing windows isolated, start with moderate filters (QQE Normal, ADX ~20–25), and only add stricter gates (WT zero-line, DEMA slope) once they demonstrably improve stability without starving signals.
FOR MORE INFORMATION VISIT vwolftrading.com
VWolf - Shadow PulseOVERVIEW
The Trend Momentum Breakout Strategy is a rule-based trading system designed to identify high-probability entries in trending markets using a combination of trend confirmation, momentum filtering, and precise trigger conditions. The strategy is suitable for intermediate to advanced traders who prefer mechanical systems with clear entry/exit logic and configurable risk management options.
At its core, this strategy seeks to enter pullbacks within strong trends, capitalizing on momentum continuation after brief pauses in price movement. By integrating multiple moving averages (MAs) for trend validation, ADX (Average Directional Index) as a strength filter, and Stochastic RSI as an entry trigger, the strategy filters out weak trends and avoids overextended market conditions. Exit logic is based on a customizable fixed stop-loss (SL) and take-profit (TP) framework, with optional dynamic risk-reduction mechanisms powered by the Supertrend indicator.
This strategy is designed to perform best in clearly trending markets and is especially effective in avoiding false breakouts or choppy sideways action thanks to its ADX-based filtering. It can be deployed across a variety of asset classes, including forex, stocks, cryptocurrencies, and indices, and is optimized for intra-day to swing trading timeframes.
RECOMMENDED USE
This strategy is designed to be flexible across multiple markets, but it performs best under certain conditions:
Best Suited For:
Trending markets with clear directional momentum.
High-volume instruments that avoid erratic price action.
Assets with intraday volatility and swing patterns.
Recommended Asset Classes:
Forex pairs (e.g., EUR/USD, GBP/JPY)
Cryptocurrencies (e.g., BTC/USD, ETH/USDT)
Major indices (e.g., S&P 500, NASDAQ, DAX)
Large-cap stocks (especially those with consistent liquidity)
Suggested Timeframes:
15-minute to 1-hour charts for intraday setups.
4-hour and daily charts for swing trading.
Lower timeframes (1–5 min) may generate too much noise unless fine-tuned.
Market Conditions to Avoid:
Ranging or sideways markets with low ADX values.
Assets with irregular price structures or low liquidity.
News-heavy periods with unpredictable price spikes.
CONCLUSION
This strategy stands out for its robust and modular approach to trend-following trading, offering a high level of customization while maintaining clear logic and structural discipline in entries and exits. By combining three distinct layers of confirmation—trend identification (via configurable moving averages), trend strength validation (via the DMI filter), and timing (via the Stochastic RSI trigger)—it aims to reduce noise and increase the probability of entering trades with directional bias and momentum on its side.
Its flexibility is one of its strongest points: users can tailor the strategy to fit various trading styles and market conditions. Whether the trader prefers conservative setups using only the slowest moving average, or more aggressive entries requiring full alignment of fast, medium, and slow MAs, the system adjusts accordingly. Likewise, exit management offers both static and dynamic methods—such as ATR-based stop losses, Supertrend-based adaptive exits, and partial profit-taking mechanisms—allowing risk to be managed with precision.
This makes the strategy particularly suitable for trend-driven markets, such as major currency pairs, indices, or volatile stocks that demonstrate clear directional moves. It is not ideal for sideways or choppy markets, where multiple filters may reduce the number of trades or result in whipsaws.
From a practical standpoint, the strategy also incorporates real-world trading mechanics, like time-based filters and account risk control, which elevate it from a purely theoretical model to a more execution-ready system.
In summary, this is a well-structured, modular trend strategy ideal for intermediate to advanced traders who want to maintain control over their system parameters while still benefiting from layered signal confirmation. With proper calibration, it has the potential to become a reliable tool in any trader’s arsenal—particularly in markets where trends emerge clearly and sustainably.
FOR MORE INFORMATION VISIT vwolftrading.com






















