ZLEMA FusionZLEMA Fusion - Advanced Zero-Lag Momentum & Trailing Stop System
A sophisticated overlay indicator combining the power of Zero Lag EMA (ZLEMA) with ATR-based Moving Stop (MOST) for precision trend following and dynamic support/resistance tracking.
Core Components:
1. ZLEMA (Zero Lag Exponential Moving Average)
Eliminates lag inherent in traditional EMAs
Provides faster response to price changes
Customizable length for different trading styles
Smooth, responsive trend line
2. MOST (Moving Stop - ATR Trailing Stop)
Dynamic ATR-based trailing stop system
Automatically adjusts to market volatility
Never moves backward - only trails in favourable direction
Green line = Uptrend support | Red line = Downtrend resistance
Customizable ATR multiplier and lookback period
Signal Generation:
BUY (⇑): When ZLEMA crosses above MOST
SELL (⇓): When ZLEMA crosses below MOST
Clean visual arrows with no label boxes
Signals trigger on candle close only (no repainting)
Advanced Features:
✅ Signal Cooldown System - Prevents signal spam with configurable minimum bars between signals
✅ ADX Trend Strength Filter - Optional filter to trade only in strong trends
✅ Higher Timeframe ZLEMA Confirmation - Multi-timeframe trend alignment for higher probability setups
✅ Background Color Coding - Quick visual trend identification (Green = Uptrend, Red = Downtrend)
✅ Alert System - Built-in alerts for buy and sell signals
Fully Customizable:
ZLEMA length
ATR period and multiplier
MOST lookback period
Signal cooldown bars
ADX filter threshold
Higher timeframe settings
Visual display options
Best Used For:
Index trading
Swing trading
Trend following strategies
Dynamic support/resistance identification
Entry/exit timing
Optimized for Indian Markets - Calibrated for Nifty, Bank Nifty, and other NSE instruments.
⚠️ Important Notes:
This indicator is for educational purposes
No repainting - all signals confirmed at candle close
Use proper risk management
Combine with your trading plan and additional confirmation
Educational
PRMC Ultimate v15+ Premium INR - Custom Labels FixedONLY FOR GOLD
The PRMC Ultimate v15+ is a premium risk management and position sizing calculator designed for TradingView. Tailored for Indian traders (INR-based) with global market support, it helps calculate optimal trade setups for long or short positions. It automates lot sizing based on capital, risk percentage, stop loss, and leverage, while visualizing entry, SL, TPs, breakeven, and trailing levels with customizable lines, labels, and a dashboard.
This overlay indicator plots horizontal lines and labels on the chart for key price levels and displays a real-time dashboard with trade metrics like lots, margin, P&L (in INR), and more. It's ideal for forex, commodities (especially gold/XAU with Vantage defaults), and stocks. Highly configurable for manual overrides, safe capital limits, and visual themes (Dark/Light)
Trade Settings:
Direction: Long (↑) or Short (↓).
Entry: Manual price or current close.
Risk %: Default 1%, adjustable (0.01+).
Stop Loss: Fixed %, ATR (length 14, mult 1.5), or Points (value 2.0 default).
Take Profit: R:R presets (1:1:2, 1:2:3, 1:2:4, 1:3:5) for up to 3 TPs.
Fractal Breakout with 3-Point TrendTriggers buy when the price breaks above the last fractal high
Triggers sell when the price breaks below the last fractal low
Filter is calculate the closing price of last 3 fractal highs or low to determine the trend
Buy and sell alerts using Ema's***What this indicator does:***
1) It calculates two EMAs and an RSI
emaS = short EMA (default 9) → reacts faster to price
emaL = long EMA (default 21) → reacts slower, defines trend bias
rsi = RSI (default 14) → momentum confirmation
2) It defines a “trend state” (bull/bear) with optional RSI confirmation
Bull trend when:
9 EMA is above 21 EMA AND
RSI is ≥ 55 (only if useRSI = true)
Bear trend when:
9 EMA is below 21 EMA AND
RSI is ≤ 45 (only if useRSI = true)
This is why you see the green/red background tint—it’s marking the current trend state.
3) It generates Buy/Sell signals on EMA crossovers (plus optional RSI filter)
Buy signal happens only when:
9 EMA crosses above 21 EMA, and
RSI is ≥ 55 (if enabled)
Sell signal happens only when:
9 EMA crosses below 21 EMA, and
RSI is ≤ 45 (if enabled)
**Best timeframe to use (to reduce false signals)**
Because this is a crossover system, it will always whipsaw in chop—lower timeframes whip more.
✅ Best overall: 15-minute
Best balance of signal quality and frequency
EMA crosses mean more when candles are “real” and not micro-noise
RSI confirmation works better
Also very good: 5-minute (if you trade intraday a lot)
More signals than 15m, still usable
Expect some chop during lunchtime / ranges
Cleanest but fewer trades: 1-hour
Very low noise, great for swing/intraday trend holds
Fewer entries, but highest reliability
Avoid (unless you add filters): 1-minute / 3-minute
EMA crosses happen constantly in chop
RSI thresholds (55/45) get hit too easily and still whipsaw
My default recommendation:
Day trading: 15m
Faster scalps: 5m (with a filter)
Swing/position: 1h
*** Some Indicators that pair well with this (and why)***
1) ADX (Trend Strength Filter) — top pairing
Use ADX to avoid taking signals in chop.
Only take buys/sells when ADX > 18–25
If ADX is low, ignore EMA crosses (they’ll whipsaw)
2) VWAP (Intraday Bias Filter) — best for stocks/indices intraday
Prefer BUY only if price is above VWAP
Prefer SELL only if price is below VWAP
This cuts a ton of false signals on 5m/15m.
3) ATR (Stop/Target + Volatility Filter)
Not for entries—use it for:
Stop placement (e.g., 1–1.5× ATR)
Profit targets or trailing stops
Also helps you avoid tiny-chop sessions where ATR is very low.
4) Higher Timeframe Trend Filter (simple but powerful)
Example:
Trade 15m signals only in the direction of the 1h EMA trend
This is one of the easiest ways to reduce false trades.
5) Support/Resistance / Pivot Points
EMA cross signals work best when they break/hold key levels.
Use daily pivots, prior day high/low, OR key S/R zones
Take signals that align with a break + retest
The EMA’s alert with Buy/Sell Levels (v2) is a simple trend-following indicator designed to help traders identify directional bias and high-probability buy and sell opportunities using moving averages and momentum confirmation.
The script combines:
A fast and slow Exponential Moving Average (EMA) crossover for trend direction
An optional RSI confirmation filter to reduce false signals
Visual trend highlighting and clear on-chart buy/sell labels
Built-in alert conditions for automation and notifications
How It Works
Bullish Trend
Short EMA is above the Long EMA
RSI is above the user-defined buy threshold (default: 55)
Bearish Trend
Short EMA is below the Long EMA
RSI is below the user-defined sell threshold (default: 45)
Buy Signal
Short EMA crosses above Long EMA
RSI confirms bullish momentum (if enabled)
Sell Signal
Short EMA crosses below Long EMA
RSI confirms bearish momentum (if enabled)
The background color visually reflects the current trend state:
Green = Bullish
Red = Bearish
Recommended Timeframes
15-minute – Best balance of reliability and signal quality
5-minute – Faster signals (recommended with additional filters like VWAP or ADX)
1-hour – Higher-confidence swing and trend trades
Lower timeframes may produce more false signals due to market noise.
Best Use Cases
Trend continuation trades
Momentum breakouts
Intraday and swing trading
Important Notice: This indicator is intended for educational and informational purposes only.
It is not financial or investment advice. Market conditions can change rapidly, and no indicator can guarantee profitable results. Always use proper risk management and confirm signals with additional analysis before making any trading or investment decisions. You are solely responsible for any trades you place using this indicator.
JV Trades Key LevelsJV Trades Liquidity Levels is a key-level indicator personally used by myself, JV Trades. It plots multi-timeframe previous-period liquidity levels as horizontal lines with clear labels, extending to the right for fast, at-a-glance reference during execution.
Double Top/Bottom Auto Highlighter - FixedThis lightweight indicator automatically detects and highlights classic reversal patterns on your chart:
• Double Bottom (W-shape) → Green background + "DB" label (potential bullish reversal)
• Double Top (M-shape) → Red background + "DT" label (potential bearish reversal)
Features:
• Pivot-based detection (adjustable lookback for reliability)
• Price tolerance % (allows for small differences in highs/lows)
• Optional volume spike filter (only show patterns after climactic moves)
• Subtle visuals: Toggleable background highlights, labels, and dashed neckline
• Built-in alerts for pattern detection + neckline breakouts (great for gold/silver setups!)
• Clean & minimal — no clutter, works on any timeframe/symbol
How to use:
- Green "DB" after a sell-off → Watch for bounce/long opportunity (like your recent gold double bottoms)
- Red "DT" after a rally → Potential short or exit longs
- Combine with your other indicators (e.g., WC Cross Clouds for regime confirmation)
Tweak pivot length (5–10 recommended) and tolerance (0.3–0.8%) in settings to fit your style.
Feel free to use, modify, fork, or expand this script however you want! Released under open license.
Happy trading!
Dove– Chesapeake, VA
JVTrades Liquidity LevelsJV Trades Liquidity Levels is a key-level indicator personally used by myself, JV Trades. It plots multi-timeframe previous-period liquidity levels as horizontal lines with clear labels, extending to the right for fast, at-a-glance reference during execution.
Unix Timestamp and Date ConverterOverview
This tool is a Unix Timestamp and Date/Time Converter built with Pine Script v6. It allows you to seamlessly convert between Unix seconds and human-readable dates while visually identifying the exact bar on your chart. This is particularly useful for cross-referencing timestamps from external logs or backtest results.
Key Features
Dual Search Modes:
Search from Unix Seconds: Input a timestamp to find its corresponding date and highlight the specific bar on the chart.
Search from Date/Time: Select a date and time (Y/M/D/H/M/S) to calculate the Unix timestamp and locate it.
Input Validation: Includes logic to detect invalid dates (e.g., "February 30th") and displays a clear error message.
Optimized Workflow for Copying:
Pine Logs: The conversion results are sent to the Pine Logs, allowing you to easily copy the text for use in other applications.
Data Window & UI Table: Monitor values directly on the chart or in the Data Window side panel for quick reference.
Timezone Support: Supports various UTC offsets to ensure the time matches your local environment or specific exchange hours.
ChunkbrAI-NN INDIChunkbrAI-NN INDI: The Neural Network Odyssey
A Native Pine Script Neural Network Research Engine
Welcome to ChunkbrAI-NN 5.3. This is not a standard technical indicator; it is a proof-of-concept Artificial Intelligence engine built entirely from scratch within Pine Script.
Neural Networks typically require iterating over massive datasets, a task that usually times out on TradingView. ChunkbrAI solves this by introducing a novel "Chunking Architecture"—a system that breaks history into digestible learning blocks and trains a Multilayer Perceptron (MLP) using a "Chunking" approach.
It features a living ecosystem where neurons have "genes," grow mature, and adapt to market regimes using a highly sophisticated Context-Aware normalization engine.
-----------------------------------------------------------
The Core Concept: "The Time Wheel"
To bypass Pine Script's execution limits, this script does not train linearly from the beginning of time. Instead, it operates like a spinning wheel of experience.
* The Chunk System: On every bar update, the engine reaches back into history (up to 5000 bars) and grabs random or sequential "Chunks" of data. It treats these chunks as isolated training samples.
* Experience Replay: By constantly revisiting past market scenarios (Chunks), the network slowly converges its weights, learning to recognize patterns across different eras of price action.
-----------------------------------------------------------
Architecture & Modules
A. The Neural Core (MLP)
At the heart is a raw neural network built with arrays:
* Topology: A dense network with a customizable Hidden Layer (Default: 60 Neurons).
* Timewarp (Stride): When enabled, the network uses "dilated" inputs (skipping bars, e.g., 1, 3, 5...). This increases the network's Field of View without increasing computational load.
* Forecasting: The network outputs a standardized prediction which is then de-normalized to project the future price path on your chart.
B. The Context System (The "Eyes")
Raw prices confuse neural networks. A $1000 move in Bitcoin is massive in 2016 but noise in 2024. ChunkbrAI uses a relativistic Context System:
* Regime Detection: It uses a Zero-Lag Moving Average (ZLMA) and Non-Linear Regression to measure the current market "Vibe" (Volatility & Trend).
* Dynamic Normalization: The inputs are scaled based on this context. If the market is volatile, the data is compressed; if calm, it is expanded. This ensures the brain receives consistent signal patterns regardless of the absolute price.
C. The Gene System (Neuro-Plasticity)
This is the experimental "biology" layer. Neurons are not just static math; they have life cycles.
* Maturity: Neurons start "Young" (highly plastic, high mutation rate). As they successfully reduce error, they become "Wise" (stable, low mutation).
* Mutation: If a "Wise" neuron begins failing (high error), it is demoted and forced to mutate. This allows the brain to "forget" obsolete behaviors and adapt to new market paradigms automatically.
* Profiles: You can initialize the brain with different personalities (e.g., Dreamer, Young Chaos, Zen Monk).
D. The Brain Scheduler (Adaptive Learning)
A static Learning Rate (LR) is inefficient. The Brain Scheduler acts as the heartbeat:
* Panic vs. Flow: It monitors the derivative of the error. If the error spikes (Panic), the Scheduler slows down learning to prevent the model from exploding. If the error smooths out (Flow), it accelerates learning (Infinite LR Mode).
-----------------------------------------------------------
Forecasting Modes
The script provides two distinct ways to visualize the future:
1. Direct Projection (Green Line):
The network takes the current window of price action and predicts the immediate next step. If Timewarp is active, it interpolates the result to draw a smooth curve.
2. Autoregression (Cyan Line):
Available in "Auto" mode. The network feeds its *own* predictions back into itself as inputs to generate multi-step forecasts.
* Wave Segmentation: The script intelligently guesses the current market cycle length and attempts to project that specific duration forward.
-----------------------------------------------------------
Operation Manual
The script has two distinct training loops: first, when you add it to a chart, Pine runs through the available historical bars once, and this initial history pass is the main training phase where the network iterates chunk-by-chunk using your configured chunk count/iterations (e.g., if chunk count is 3, it performs 3 chunk updates per step), but pushing chunk count, iterations, or model sizing too high can hit Pine’s execution limits; after that, once real-time candles start printing, the script can either keep training (weights continue updating) or freeze the weights and run inference only, producing predictions from the learned parameters, and if live training is enabled it can also simulate “bars-back” style training during live mode by iterating across prior bars as if doing another history pass—which again can run into limits if chunks/iterations/sizing are too heavy—so when changing parameters to evaluate behavior you change them carefully and individually, because multiple simultaneous increases make it hard to attribute effects and can more easily trigger those execution constraints.
Weight Persistence (Save/Load):
Pine Script can’t write files or persist weights directly, so ChunkbrAI uses a library-based workaround that’s honestly tricky and kind of a pain: you enable the weight-export alerts so the script emits the weights (W1/W2/biases etc.) as text, and those payloads are chunked as well; then, outside TradingView, I use a separate Python script to parse the alert emails, reconstruct and format the chunked weights properly, and generate the corresponding library code files; after that, the libraries have to be published/updated, and only then can the main script “restore” by reading the published lib constants on chart load, effectively starting with the pre-trained weights instead of relying purely on the fresh history-run training pass. I don’t recommend this process unless you really have to—it’s fragile and high-effort—but until TradingView implements some simple built-in data storage for scripts, it’s basically the only practical way to save and reload your models.
-----------------------------------------------------------
Limitations & Notes
* Calculation Limits: This script pushes Pine Script to its absolute edge. If you increase Chunk Size or Hidden Size too much, you WILL hit execution limits. Use the defaults as a baseline.
* Non-Deterministic: Because the "Wheel" picks random chunks for training, two instances of this script might evolve slightly different brains unless you use the Restore Weights feature.
* Experimental: This is a research tool designed to explore Neural Networks and Genetic Algorithms on the chart. Treat it as an educational engine, not financial advice.
Credits: Concept and Engineering by funkybrown.
DF Stock Rating TableDF Stock Rating Table.
This indicator provides a comprehensive "at-a-glance" Scorecard for any stock. It is designed for growth traders and investors who follow strategies similar to CAN SLIM or Minervini, helping you instantly separate true Market Leaders from lagging stocks.
It combines Technical Momentum (Price action) with Fundamental Growth (Earnings & Sales) to generate a composite "Overall Rating."
📊 What the Metrics Mean
Here is a breakdown of every row in the dashboard and how to interpret the numbers:
1. RS Rating (Est)
What it is: A 1-99 score measuring the stock's price performance over the last 12 months.
How it works: It uses a weighted formula that gives more importance to the most recent 3 months of price action.
The Goal: A score of 80-99 indicates the stock is in the top tier of price performers. A score below 50 means it is lagging.
Note: This is a mathematical estimation based on fixed benchmarks, as Pine Script cannot scan the entire market relative to other stocks.
2. vs SPY (Alpha)
What it is: Measures the "Relative Strength" of the stock compared specifically to the S&P 500 (SPY).
How to read it:
Positive (Green/Blue): The stock is moving faster than the general market. It is a Leader.
Negative (Red): The stock is performing worse than the market. It is a Laggard.
Why it matters: In a bull market, you want to own stocks that are outperforming the index, not just following it.
3. EPS Growth (YoY)
What it is: Earnings Per Share Growth (Year-Over-Year).
The Math: Compares the most recent Quarterly Earnings to the same quarter one year ago.
Why it matters: This checks Profitability. We look for big double-digit or triple-digit numbers here. If this is Red/Negative, the company's profits are shrinking.
4. Sales Growth (YoY)
What it is: Revenue Growth (Year-Over-Year).
The Math: Compares the most recent Quarterly Revenue to the same quarter one year ago.
Why it matters: This checks Product Popularity. Sales numbers are harder to manipulate than Earnings. If EPS is up but Sales are down, the growth may be low quality (cost-cutting). Ideally, you want to see +25% or higher.
5. OVERALL RATING
The Verdict: A composite score (0-99) that combines all the above factors plus the stock's long-term trend (Moving Averages).
Blue (90+): Elite status. Strong technicals and strong fundamentals.
Green (70+): Strong status. Worth watching or holding.
Gray/Red: Weak or mixed data.
🚀 Key Features
Timeframe Locked: The data is calculated using Daily charts. You can switch to a 5-minute or 1-hour chart to time your entry, and the Fundamental/RS numbers will stay rock solid and accurate.
Hybrid Analysis: Most indicators are only technical. This pulls live Financial Data from TradingView to give you the fundamental picture instantly.
Customizable Position: Go to Settings to move the dashboard to any corner of your screen (Top Right, Bottom Left, etc.).
Crypto/Forex Friendly: If Financial Data (Earnings) is not available for an asset (like Bitcoin), the script automatically detects this and calculates the rating based purely on Price Performance.
⚠️ Disclaimer
This tool is for educational and analytical purposes only. High ratings do not guarantee future price increases. Always manage risk and do your own due diligence.
House Rules SuperTrend Strategy (ATR-Based, Non-Repainting)📝 DESCRIPTION
Overview
The House Rules SuperTrend Strategy is a clean, rule-based trading strategy built using Pine Script® v6.
It is designed for transparent backtesting, non-repainting signals, and simple trend-following execution across all markets and timeframes.
This strategy uses TradingView’s built-in SuperTrend indicator, which is derived from Average True Range (ATR), to identify trend direction changes and generate long and short trades.
How the Strategy Works
Long Entry
A long position is opened when the SuperTrend flips from bearish to bullish
This confirms a potential upward trend shift
Short Entry
A short position is opened when the SuperTrend flips from bullish to bearish
This confirms a potential downward trend shift
Exits
Positions are closed when either:
The opposite SuperTrend signal appears, or
The ATR-based Stop Loss or Take Profit is reached (if enabled)
All signals are calculated on confirmed candle closes only, ensuring accurate and fair backtesting.
Risk Management
Optional ATR-based Stop Loss
Optional ATR-based Take Profit
Position sizing based on percentage of equity
Commission included for realistic performance results
All parameters are user-adjustable from the settings panel.
Backtesting & Transparency
This is a strategy, not an indicator
No repainting
No future data usage
No hidden filters
No lookahead bias
Fully compatible with TradingView’s Strategy Tester
Users are encouraged to test different symbols, timeframes, and parameter values to suit their trading style.
Recommended Use
This strategy can be used on:
Cryptocurrencies
Forex
Stocks
Indices
Futures
It performs best in trending market conditions and may underperform during low-volatility or ranging markets.
Disclaimer
This script is provided for educational and research purposes only.
It is not financial advice. Always test and validate strategies before using them in live trading.
Ultimate ICT Key LevelsUltimate ICT Key Levels is a comprehensive institutional trading suite designed to bridge the gap between Higher Timeframe Structure and Intraday Liquidity.
Unlike standard indicators that clutter your chart with static lines, this tool features a dynamic Mitigation Engine. It actively tracks key institutional reference points and automatically "retires" them the moment price sweeps the liquidity, keeping your chart clean and your focus sharp.
This is the only tool you need to track Daily/Weekly/Monthly structure alongside Asia, London, and New York session liquidity in real-time.
Key Features
1. The Session Liquidity Master Automatically identifies and draws the Highs and Lows for the three major institutional sessions: Asia, London, and New York.
Dynamic Mitigation: Choose whether lines extend infinitely or stop immediately when price touches them. This allows you to differentiate between "fresh" liquidity and "swept" levels.
Historical Lookback: Review session logic from previous days (customizable up to 5+ days) to find unmitigated targets from earlier in the week.
Visual Customization: Fully adjustable Session Boxes, Line Styles, and Colors.
2. Smart Proximity Dashboard A sophisticated, multi-column dashboard that tells you exactly where the nearest targets are without needing to scan the whole chart.
Split-View Design: Monitors Daily Structure (left) and Session Liquidity (right) side-by-side.
Auto-Sorting: Automatically calculates and displays the Top 3 closest levels to the current price.
Smart Filtering: As soon as a level is mitigated on the chart, it is removed from the dashboard instantly.
3. Higher Timeframe Structure (HTF) Never lose track of the bigger picture.
Daily, Weekly, & Monthly: Automatically plots Highs, Lows, Midpoints, and Opens.
Decoupled Logic: You can view Opening Prices (e.g., Weekly Open) independently without needing to enable the Highs/Lows.
4. Key Opening Prices Plots the essential time-based pivots used by institutional algorithms:
True Day Open (00:00 EST)
Daily Open
NY 09:30 Open
Robust 5:00 PM EST Reset: Custom logic ensures precise calculations regardless of your broker's server time.
How to Use
For Bias: Use the Daily/Weekly/Monthly levels to determine higher timeframe expansion or retraction.
For Targets: Use the Session Highs/Lows (Asia/London) as distinct liquidity targets. If the lines are extending, the liquidity is still there.
For Execution: Watch the Dashboard to see how many ticks away you are from a key level. Confluence between a Session Low and a Daily Level is a high-probability reversal or breakout zone.
Settings & Customization
Dashboard Modes: Switch between "Both," "Daily Only," or "Session Only" to fit your screen space.
Line Styles: Custom control over line width, style (Solid/Dash/Dot), and labels for every single level.
Lookback Period: Control how much historical data is displayed to manage chart cleanliness.
Disclaimer: This tool is for educational and informational purposes only and does not constitute financial advice. Always manage your risk.
[TehThomas] - Order Blocks█ OVERVIEW
This Order Blocks indicator identifies institutional-level support and resistance zones using fractal pattern recognition combined with Fair Value Gap (FVG) filtering. Order blocks represent areas where large institutional orders have been placed, creating significant price reactions when retested. This indicator uses a 5-bar fractal pattern to detect market structure breaks and highlights the last bearish or bullish candle before a strong impulse move.
█ KEY FEATURES
- Fractal-Based Detection: Uses 5-candle fractal patterns to identify key market structure highs and lows
- FVG Filtering: Optional Fair Value Gap confirmation ensures order blocks are followed by true market imbalances
- Automatic Mitigation: Order blocks are automatically removed when price breaks through them
- Overlap Prevention: Prevents cluttered charts by avoiding overlapping order block zones
- Customizable Display: Full control over colors, labels, line heights (body/wick), and maximum blocks shown
- Dual Polarity: Detects both bullish (OB+) and bearish (OB-) order blocks independently
█ HOW IT WORKS
The indicator scans price action for fractal patterns where the middle candle forms a local extreme (highest high or lowest low among 5 bars). When price breaks above a fractal high or below a fractal low, the script identifies the last opposing candle in the impulse move as the order block.
For bearish order blocks, it finds the highest bullish candle before a fractal low is broken, marking institutional selling pressure. For bullish order blocks, it locates the lowest bearish candle before a fractal high is breached, indicating institutional buying.
When FVG filtering is enabled, the indicator confirms that a Fair Value Gap (a 3-candle imbalance where price leaves an unfilled gap) occurred within the specified distance from the order block. This combination increases the probability that institutional traders are present in these zones.
█ SETTINGS
Bullish Order Block Settings
- Show/hide bullish order blocks
- Customize fill color and border color
- Toggle OB+ label display
Bearish Order Block Settings
- Show/hide bearish order blocks
- Customize fill color and border color
- Toggle OB- label display
Label Settings
- Label size: Tiny, Small, Normal, or Large
- Label text color customization
General Settings
- Bars Back to Check (10-200): Lookback period for order block detection
- Filter by FVG: Requires Fair Value Gap confirmation
- Max Bars Between OB and FVG (1-6): Distance tolerance for FVG filtering
- Line Height: Choose between Body or Wick for order block boundaries
- Prevent Overlapping OBs: Avoids drawing overlapping zones
- Max Order Blocks to Display (1-50): Limits active blocks on chart
- Length of Boxes (10-100): Horizontal projection length
█ HOW TO USE
1. Add the indicator to your TradingView chart
2. Configure settings based on your trading timeframe and style
3. Watch for OB+ labels (bullish order blocks) as potential support zones where price may bounce
4. Watch for OB- labels (bearish order blocks) as potential resistance zones where price may reverse
5. Wait for price retracement to the order block zone before taking entries
6. Use confirmation signals like volume spikes or reversal patterns at the order block
7. Place stop loss just outside the order block boundary to manage risk
8. Monitor mitigation: Order blocks disappear when price breaks through them completely
█ TRADING STRATEGY EXAMPLES
Bullish Order Block Strategy
Wait for a market structure shift from bearish to bullish. When price creates a bullish impulse breaking a fractal high, identify the OB+ zone. Enter long positions when price retraces to test the bullish order block, placing stop loss 10-20 pips below the zone's low. Target previous highs or resistance levels.
Bearish Order Block Strategy
Monitor for market structure shift from bullish to bearish. After price creates a bearish impulse breaking a fractal low, locate the OB- zone. Enter short positions when price retraces to test the bearish order block, placing stop loss 10-20 pips above the zone's high. Target previous lows or support levels.
FVG-Confirmed Entries
Enable FVG filtering to only display order blocks validated by Fair Value Gaps. These aligned setups increase probability as they combine institutional order placement with market inefficiencies. Trade retracements to these high-confluence zones for better risk-reward ratios.
█ IDEAL FOR
- ICT Traders: Follows Inner Circle Trader methodology for institutional order flow
- Smart Money Concepts: Tracks where large players place orders
- Swing Traders: Identifies key support/resistance for multi-day holds
- Price Action Traders: Pure chart-based approach without lagging indicators
- Breakout Traders: Confirms structure breaks with fractal patterns
- Forex, Crypto, and Stock Markets: Works on all liquid markets and timeframes
█ TECHNICAL SPECIFICATIONS
- Max Boxes: 500
- Max Labels: 500
- Detection Method: 5-bar fractal pattern recognition
- Mitigation Logic: Automatic removal when price breaks order block boundaries
- Time Projection: Uses time offset calculations for box extension
- Array Management: Dynamic array cleanup to prevent memory issues
█ NOTES & DISCLAIMERS
- Order blocks work best when combined with overall market context and trend analysis
- Not all order blocks result in price reversals; use proper risk management
- FVG filtering may reduce the number of signals but increases quality
- Fractal patterns require 5 bars to form, causing a 2-bar delay in detection
- Works optimally on higher timeframes (4H, Daily) for institutional footprints
- This indicator does not guarantee profitable trades; always use stop losses
- Past performance of order blocks does not predict future results
- Compatible with other ICT concepts like liquidity sweeps and market structure
Forex Sessions UTC + customise (DST Support)This Pine Script is designed to highlight forex trading sessions on a TradingView chart, showing which session (Asia, London, New York, Frankfurt, Sydney) is active based on your selected timezone offset and daylight saving time (DST) settings. It also includes an option to highlight session overlaps, like the London-New York and Asia-London overlaps.
Let's break down the script in detail:
### 1. **Inputs**:
* **`timezoneOffset`**:
* This input allows you to select your local timezone offset in hours relative to UTC (e.g., -2 for UTC-2 or +3 for UTC+3). It helps adjust the session times based on your local time.
* **`isDST`**:
* A boolean input that determines if Daylight Saving Time (DST) is active or not. If DST is enabled, the session times will be adjusted by one hour.
### 2. **Function: `timeInDailyRange`**:
This function checks if the current time (bar) is within a given session's start and end time.
* **`startH, startM`**: Start time of the session (hours and minutes).
* **`endH, endM`**: End time of the session (hours and minutes).
* **`tzOffset`**: The timezone offset in hours (which adjusts the start and end times for different regions).
The function handles sessions that cross over midnight. For example, the Asia session starts at 23:00 UTC and ends at 07:00 UTC, so it checks if the current time falls within that period.
### 3. **Session Times (in UTC)**:
Each trading session has specific times defined in UTC:
* **Asia Session**: 23:00 UTC to 07:00 UTC
* **London Session**: 08:00 UTC to 16:00 UTC
* **New York Session**: 13:00 UTC to 21:00 UTC
* **Frankfurt Session**: 07:00 UTC to 15:00 UTC
* **Sydney Session**: 21:00 UTC to 05:00 UTC
These times are defined in 24-hour format, and they represent the opening and closing hours for each market.
The script uses specific colors to represent different sessions:
* **Asia**: Yellow (`asiaColor`)
* **London**: Red (`londonColor`)
* **New York**: Navy Blue (`nyColor`)
* **Frankfurt**: Blue (`frankfurtColor`)
* **Sydney**: Green (`sydneyColor`)
* **Overlaps**:
* London-NY overlap: Purple (`overlapLN`)
* Asia-London overlap: Orange (`overlapAL`)
These colors are used to highlight the background during active sessions.
### 5. **Session Highlighting**:
The script uses the `bgcolor` function to change the background color of the chart when a session is active.
* For each session, it checks whether the current time (bar) falls within the session's time range (adjusted by the `timezoneOffset`).
* If a session is active, it will highlight the chart background in the corresponding session color.
### 6. **Overlaps**:
* **London-NY Overlap**: The script checks if both the London session and the New York session are active at the same time (i.e., if their time ranges overlap). If so, it highlights the overlap area in purple.
* **Asia-London Overlap**: Similarly, the script checks if both the Asia and London sessions are active at the same time, and if so, it highlights the overlap area in orange.
### 7. **Daylight Saving Time (DST) Adjustment**:
* If the **`isDST`** flag is enabled (i.e., DST is active), the script adjusts the session start and end times by adding one hour to each session. This is because during DST, trading hours shift by one hour (usually in regions that observe DST).
* This adjustment is applied to all session times, so the script accounts for the time change and ensures that the session times are correctly displayed.
### 8. **Final Background Color Logic**:
* The `bgcolor` function checks whether each session is active by calling `timeInDailyRange` for each session and then colors the chart accordingly.
* It also checks for overlapping sessions and colors the chart with the appropriate overlap color.
### Example Scenario:
1. **Timezone Offset**: If you select `timezoneOffset = 3` (UTC+3), the session times will be adjusted by adding 3 hours to the start and end times.
2. **Daylight Saving Time (DST)**: If `isDST = true` is selected, the session start times will shift by 1 hour forward (e.g., 23:00 UTC becomes 00:00 UTC for Asia).
3. **Visual Outcome**: The chart will display different colors in the background depending on which trading session is active (e.g., red for London, navy for New York), and purple or orange for overlap sessions.
### Key Features:
* **Customizable Timezone Offset**: Adjust session times to reflect your local timezone.
* **Daylight Saving Time Support**: Automatically adjusts session times during DST.
* **Highlighting Sessions**: Color the chart background to visualize when different trading sessions are active.
* **Overlap Highlighting**: Highlights the periods when certain sessions overlap (London-NY, Asia-London).
In summary, this script is useful for traders who want to visually see when different forex trading sessions are active on the chart, with flexibility for timezone and DST adjustments.
GT Model IndicatorThis indicator will help you detect 15m FVGs on NQ. After setting the alert, you can check the chart to see if the FVG aligns with the Bias. This way, when the price reenters this FVG, we can check the LTF for an IFVG that aligns with the Bias. If you find this FVG interesting, set a manual alert on the FVG again, let the price return, and see if you can initiate a continuation trade towards the clear DOL.
You can also specify a time window for the alerts to arrive.
This indicator is for "NQ1!"
We will update this Script allong the way, so stay tuned, more to come.
Bank Nifty RSI Dynamic v6This is a specialized mean-reversion strategy designed for Bank Nifty (NSE:NIFTYBANK) on the 5-minute timeframe. It focuses on capturing rapid reversals when the market reaches extreme overbought or oversold conditions based on the Relative Strength Index (RSI).
Unlike standard RSI strategies that wait for a cross back into the neutral zone, this script uses asymmetric dynamic exits to lock in profits early as momentum shifts.
How it Works
Timeframe: Optimized for 5m (Intraday).
Bullish Entry (Call): Triggers when the RSI closes below 30. This identifies a potential "exhaustion" in selling pressure.
Bearish Entry (Put): Triggers when the RSI closes above 68. This identifies a potential "overextension" in buying pressure.
Dynamic Exits:
Calls are closed when RSI recovers to 45.
Puts are closed when RSI cools down to 56.
Position Sizing: Fixed at 3 Lots (90 units), calibrated for the 2026 Bank Nifty lot size.
Key Features
Pine Script v6: Built using the latest TradingView standards for faster execution and better backtesting accuracy.
Capital Efficiency: Includes a zero-margin override to ensure the backtester reflects the full 3-lot position regardless of account leverage settings.
Visual Signals: Uses clear plotshape triangles (Green for Call, Red for Put) directly on the price chart for easy manual execution or alert monitoring.
Risk Disclaimer
Bank Nifty is highly volatile. This strategy does not include a fixed stop loss by default (exits are momentum-based), so users should be prepared for drawdowns during strong trending phases where RSI remains in extreme zones for extended periods. Always backtest on your preferred broker's data before going live.
MTF - OHLC - AMDPO3 Extension – Key Features
SMT
-Shows correlations between multiple instruments (e.g., Pair 2, Pair 3).
-Auto-matching of pairs to highlight synchronized movements.
-Does not include SMT with DXY.
HTF Projection (High Time Frame)
-Projects higher timeframe levels directly onto the current chart.
-Supports multiple HTFs (e.g., 1H, 4H, Daily, Weekly) with customizable number of candles.
-Shows mid lines and key candle levels for HTFs.
-Full visual customization: candle body, border, and spike colors for bull and bear.
-Options for labels above/below candles and PSP display.
-Manage offsets for candle distance and visual sizing.
Multi-Timeframe and Separators
-Displays levels and period separators across multiple timeframes: for example, on 1m chart,
you can see 15m and 4H references.
-Ideal for strategies combining MTF, HTF, and LTF.
Manipulation Detection (AMD)
-Identifies accumulation, manipulation, and distribution zones.
-Activates manipulation signal when a candle wipes out the previous High or Low and closes
back within the range.
-Highlights CISD zones related to manipulation or HTF SMT.
Advanced Level Analysis
-Tracks daily levels with minimum distance between them.
Visual for HTF - MTF - LTF
Mode 1
tf → TF1 → TF2 → TF3 → TF4
"1m → 15m → 30m → 1h → 4h"
"3m → 30m → 4h → D → W"
"5m → 1h → D → M → 3M"
"15m → 4h → W → M → 3M"
"30m → 4h → W → M → 3M"
"1h → D → M → 3M"
"4h → W → M"
"D → M"
"W → M"
Mode 2
tf → TF1 → TF2 → TF3 → TF4
"1m → 15m → 30m → 1h → 4h"
"3m → 30m → 1h → 4h → D"
"5m → 1h → 4h → D → W"
"15m → 1h → 4h → D → W"
"30m → 1h → 4h → D → W"
"1h → 4h → D → W → M"
"4h → D → W → M"
"D → W → M"
"W → M"
Model SMT: Same TF but Correlated Pairs
Model Manual: use the manually set TF (HTF 1 - HTF 2 - HTF 3 - HTF 4)"
With this indicator, you'll have a clearer view of what it can do to the price.
For example, if we're bullish and see manipulation on the highs in HTF and CISD confirmation in LTF, we can predict that the price will fall to the TP level.
Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument. The author takes no responsibility for any losses or damages resulting from the use of this script. Trading involves risk, and you are solely responsible for your trading decisions.
15m FVG Alerts with Timezone and time selectorThis indicator will help you detect 15m FVGs on NQ. After setting the alert, you can check the chart to see if the FVG aligns with the Bias. This way, when the price reenters this FVG, we can check the LTF for an IFVG that aligns with the Bias. If you find this FVG interesting, set a manual alert on the FVG again, let the price return, and see if you can initiate a continuation trade towards the clear DOL.
You can also specify a time window for the alerts to arrive.
This indicator is for "NQ1!"
Crypto Position Size + TP Profit (USDT)Crypto Position Size & TP Profit Calculator (USDT)
This indicator helps you calculate proper position size, risk, and profit for crypto trades using current market price, with Stop Loss (SL) and Take Profit (TP) defined as price levels in USDT.
It is designed for spot and USDT-margined perpetual futures traders who want consistent risk management.
🔢 What this indicator does
Based on your inputs, it automatically calculates:
Risk Amount (USDT)
→ How much you are risking on the trade
Position Size (USDT notional)
→ How large your position should be so that loss at SL equals your risk
Stop Loss % (implicit)
→ Derived from Entry → SL distance
Take Profit Profit (USDT)
→ How much you will earn if TP is hit
Risk-to-Reward (R:R)
→ TP distance ÷ SL distance
Implied Leverage (optional)
→ If position size exceeds capital
📥 Inputs
Capital (USDT) – Total account size
Risk per Trade (%) – % of capital you are willing to risk
Direction – Long or Short
Stop Loss Price (USDT) – Exact SL price level
Take Profit Price (USDT) – Exact TP price level
Entry Price Source – Uses current market price (Close / HL2 / Open)
📐 How position size is calculated
Risk Amount
Capital × Risk %
Stop Loss distance (relative to entry)
|Entry − SL| ÷ Entry
Position Size (USDT)
Risk Amount ÷ SL distance
TP Profit (USDT)
Position Size × (|TP − Entry| ÷ Entry)






















