Midnight 30min High/LowMidnight 30min High/Low — Overnight Liquidity Range Tracker
Capture the Overnight Session: A Strategic Level Identification Tool from Professional Trading Methodology
This indicator captures the high and low prices during the critical 30-minute midnight session (12:00-12:30 AM EST) and projects these levels forward as key support and resistance zones. These overnight ranges often contain significant liquidity and serve as crucial reference points for intraday price action, representing areas where institutional activity may have established important levels.
🔍 What This Script Does:
Identifies Critical Overnight Session Levels
- Automatically detects the 12:00-12:30 AM EST session window
- Captures the highest and lowest prices during this 30-minute period
- Projects these levels forward for multiple trading days
Creates Dynamic Support/Resistance Zones
- Extends midnight high/low levels as horizontal lines with customizable projection periods
- Fills the area between high and low to create a visual trading range
- Updates automatically each trading day with new overnight levels
Provides Clear Visual Reference Points
- Optional session start markers (●) highlight when the midnight session begins
- Color-coded lines distinguish between high and low levels
- Transparent fill area creates an easy-to-identify trading zone
Real-Time Level Tracking
- Updates levels in real-time during the active midnight session
- Maintains historical levels for reference and backtesting
- Compatible with data window for precise level values
⚙️ Customization Options:
Extend Days (1-30):** Control how many days forward the levels are projected (default: 5 days)
High Line Color:** Customize the midnight high line color (default: blue)
Low Line Color:** Customize the midnight low line color (default: orange)
Fill Color:** Adjust the transparency and color of the range area (default: light aqua, 80% transparency)
Show Session Markers:** Toggle yellow session start indicators on/off (default: enabled)
💡 How to Use:
Deploy on lower timeframes (1m-15m) for precise level identification and reaction monitoring**
Watch for key price interactions:
- Rejection at midnight high levels (potential resistance)
- Bounce from midnight low levels (potential support)
- Range-bound trading between the high and low levels
Combine with liquidity concepts:
- Monitor for stop hunts above/below these levels
- Look for false breakouts that snap back into the range
- Use as confluence with other ICT concepts like FVGs and Order Blocks
Strategic Applications:
- Range trading between midnight levels
- Breakout confirmation when price closes decisively outside the range
- Support/resistance validation for entry and exit planning
🔗 Combine With These Tools for Complete Market Structure Analysis:
✅ First FVG — Opening Range Fair Value Gap Detector.
✅ ICT Turtle Soup (Liquidity Reversal)— Spot stop hunts and false breakout scenarios
✅ ICT Macro Zones (Grey Box Version)- It tracks real-time highs and lows for each Silver Bullet session
✅ ICT SMC Liquidity Grabs and OBs- Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.
Together, these tools create a comprehensive Smart Money Concepts (SMC) framework — helping traders identify, anticipate, and capitalize on institutional-level price movements with precision and confidence during critical overnight sessions.
Analisis Trend
Days Since –1% Down Close“Days since last down 1% close” indicator
This is a useful tool for investors and analysts to gauge market momentum, volatility, and potential risk:
1. Measuring Market Stability and Momentum
2. Identifying Potential Overbought Conditions
3. Volatility Assessment
4. Contextualizing Seasonal or External Factors
5. Risk Management and Timing
Actionable Insight: Combine this with real-time data (e.g., VIX levels or economic releases like tomorrow’s potential market-moving news)
In summary, the "Days since last down 1% close" indicator helps investors monitor market health, spot overextension, and manage risk by providing a historical benchmark for volatility.
Gravity Trend Line with ±10% Bands🌌 Law of Gravity in Stock Trading — by Hu Liyang (胡立阳)—often called the “Godfather of Asian Stock Markets”
✦ Conceptual Origin
The “Law of Gravity” was developed by Mr. Hu Liyang, drawing an analogy between the gravitational pull in physics and the relationship between stock prices and moving averages. It is a medium-term mean reversion theory that helps traders identify rebound opportunities when prices deviate too far from their trend lines.
📈 Indicator Summary: Gravity Trend Line with ±10% Bands
🔧 How It's Calculated:
Gravity Trend Line = Average of SMA(30) and SMA(70)
Represents the fair value zone or center of gravity for price over a medium-term period.
Upper Band = Gravity Line + 10%
Lower Band = Gravity Line - 10%
A shaded zone shows the space between the upper and lower bands — your "gravity channel."
🧭How to Use It for Swing Trading (1H and 4H Charts)
1. Trend Bias Filter
If price is consistently above the Gravity Line, the trend bias is bullish.
If price is below the Gravity Line, the bias is bearish.
Use this to align your trades with the prevailing direction on 4H (macro view) and fine-tune entries on 1H.
2.Trade Entry Zones
Long Setup (buy):
Look for price near or just below the lower band (oversold zone).
Combine with bullish candles or reversal indicators (e.g., MACD bullish crossover, RSI < 30 turning up).
Confirmation: price reclaims the lower band or moves toward gravity line.
Short Setup (sell):
Look for price near or just above the upper band (overbought zone).
Combine with bearish confirmation (e.g., MACD bearish crossover, RSI > 70 turning down).
Confirmation: price starts rejecting from upper band toward gravity line.
3. Take Profit / Exit Zones
Partial TP: At the Gravity Line (mean reversion level).
Final TP: At opposite band (if price has strong momentum).
Alternatively, exit on crossback below gravity line after a long, or above it after a short.
4. Avoiding Traps
Avoid entering trades in the middle of the band (around the Gravity Line) unless there's strong breakout confirmation.
Use 4H for trend context, and 1H for entry precision.
Avoid trading against the broader gravity slope:
If gravity line is clearly sloping up, favor longs.
If sloping down, favor shorts.
📘 Example Strategy Workflow:
Timeframe:
Use 4H for directional bias
Use 1H for entries and exits
Example Long Setup (1H Chart):
Price dips below lower band while 4H trend is up.
Bullish candle forms or RSI/MACD confirms momentum shift.
Entry: price closes back above the lower band.
TP1: near gravity line.
TP2: near upper band.
Or, exit when gain hits +8% to +15%, depending on risk appetite.
📌 Final Notes:
This is a mean-reversion + trend confirmation tool — best used with additional confluence (candlestick patterns, volume, divergence).
It works well in ranging to gently trending markets — not ideal for sharp breakouts unless combined with breakout filters.
This indicator is for educational and reference purposes only.
It is not intended to be a recommendation or signal to buy or sell any security.
Use at your own discretion. Always perform your own due diligence before trading.
LANZ Strategy 6.0🔷 LANZ Strategy 6.0 — One-Shot NY Candle Logic with Dynamic SL/TP, Multi-Account Lot Sizing and Visual Confirmation System
LANZ Strategy 6.0 is a high-precision, visually driven indicator that executes a single operation per day based on the 09:00 a.m. New York candle. Built for simplicity and accuracy, it calculates dynamic Stop Loss and Take Profit levels using the candle range, and adapts position sizing per account with pip-accurate risk control. All actions are visualized in real-time for full clarity.
📌 This is an indicator, not a strategy — It does not place trades automatically, but provides exact entry setups, SL/TP levels, risk-based lot size guidance, and optional alerts.
🧠 Core Logic & Features
🚀 Entry Signal (BUY Only)
A BUY setup is triggered only once per day, when:
The current candle is the 09:00–10:00 a.m. NY session candle
The candle is bullish (close > open)
This single candle is used to define the trade levels for the day, and the signal is only evaluated once. If bullish, a visual "BUY" label appears with SL/TP/EP levels calculated from the candle body or full range.
⚙️ Stop Loss and Take Profit
You can configure:
SL as a percentage of the candle’s range (from wick to wick), or use the wick extreme
RR ratio (e.g., 1:4) to dynamically calculate the TP based on SL
Each level is drawn as a line:
EP (Entry Price) at the candle’s close
SL below the low (or % of range)
TP above the entry at the selected RR
💰 Risk-Based Lot Size Calculation per Account
Manage up to 5 independent accounts simultaneously. Each account can have:
Its own capital
Its own risk percentage per trade
Lot size is calculated automatically for each based on:
Defined SL in pips
The pip value (auto-detected for Forex or manually defined for indices/gold)
📋 All lot sizes are displayed in a dedicated info panel, with their corresponding risk-adjusted values per account.
🖼️ Trade Visualization Panel
When a trade is active, a clean table is displayed in the top-right corner showing:
TP / SL / EP levels
Distance in pips for SL and TP
Lot size per account
Line visuals (style, color, thickness) are fully customizable.
🧪 Outcome Tracking (Real-Time Labels)
For each trade:
If SL is hit → a label shows “–1.00%” at the SL level
If TP is hit → a label shows “+X.XX%” at the TP level
If still open at 3:00 p.m. NY, the trade closes manually and the actual result (in %) is calculated and labeled on chart
🔔 Alerts You Can Trust
You'll get an alert when:
A BUY entry is confirmed
SL or TP is hit
Manual close is triggered at 15:00 NY
All alerts include the symbol, price, and result for immediate action or tracking.
🧭 Execution Flow Summary
Every day:
At 09:00 a.m. NY → Evaluate candle
If bullish:
Set EP, SL, TP
Calculate lot sizes
Plot lines + labels
Display dashboard panel
Monitor SL/TP hits
At 15:00 NY → Force close if needed
💡 Ideal For:
Traders who want a clean, single-shot entry system per day
Index or gold traders who operate with strict SL/TP logic
Anyone managing multiple accounts or fixed-capital models
Visual learners and disciplined execution fans
👨💻 Credits:
💡 Developed by: LANZ
🧠 Execution Model & Logic Design: LANZ
📅 Designed for: 1H timeframe, high-conviction NY-based entries
📈 Purpose: Clean decision-making, precision risk control, visual certainty
OBV Oscillator with Divergence CirclesCredit to original code from the 'PPO Divergence alerts' by Scarf and OBV Oscillator by LazyBear is used as the input.
Replication of Lunndi 'OBV Divergence Alerts (BETA)' script with additional divergence logic implemented.
OBV-based divergence logic adapted from RSI divergence logic added in addition to existing divergence logic.
Modify length and smoothing to suit your trading style. Open source free for use.
CRS by TQCRS by TradeQUO
Comparative Relative Strength Indicator
What it does
Computes the percentage difference in performance between your current chart symbol (e.g. GC1!) and a chosen benchmark (e.g. ES1!, DXY, NQ1!).
Smooths that “CRS” line with a configurable moving average (SMA, EMA, WMA) — default length is 63 bars.
Key Plots
CRS (%) (aqua) — how your symbol has held up relative to the benchmark since the chart loaded.
CRS MA (%) (fuchsia) — smoothed trend of that relative strength.
How to Interpret
Trend-Following
Long when CRS crosses above its MA and is above 0 → your symbol is outperforming.
Short (or reverse) when CRS crosses below its MA and is below 0 → underperformance.
Regime Filter
CRS > 0 → Risk-On environment for your symbol vs. benchmark.
CRS < 0 → Risk-Off relative to the benchmark.
Divergence Signals
Bearish Divergence: Price makes a higher high, but CRS makes a lower high → potential sell-off incoming.
Bullish Divergence: Price makes a lower low, but CRS makes a higher low → look for rebound opportunity.
Pairs Trading
Outperformance: Long your symbol + Short benchmark when CRS > MA.
Underperformance: Short your symbol + Long benchmark when CRS < MA.
Why it matters
Reveals relative market leadership early, not just absolute price moves.
Helps you allocate risk dynamically, spot rotations and catch reversals before they show in price alone.
Fractal Flow BandsFractal Flow Bands
A high-precision trend-following system combining HalfTrend logic with ALMA smoothing — built for clarity, speed, and smart alerts.
🔷 What is Fractal Flow Bands?
Fractal Flow Bands merges the best of both worlds:
HalfTrend for accurate trend detection
ALMA (Arnaud Legoux Moving Average) for smooth, low-lag confirmation
This unique synergy delivers clean, non-repainting Buy/Sell signals, filtering out market noise and keeping your chart crystal clear.
🔍 How It Works
Blue HalfTrend Line + Green ALMA Crossover → BUY
Red HalfTrend Line + Red ALMA Crossover → SELL
You get only ONE alert per trend change, eliminating spammy notifications. Perfect for swing traders, scalpers, and trend followers alike.
⚙️ Core Features
✅ Dual Confirmation Engine
ALMA must confirm HalfTrend — no single-line tricks here.
✅ One Alert per Trend Shift
Clean signals, no noise, no repeats.
✅ Visual Clarity
Color-coded trends. No channels, ribbons, or clutter.
✅ Customizable Settings
Tune HalfTrend amplitude and ALMA smoothness to your strategy.
🎯 Best For
Swing traders wanting confirmation before entries
Scalpers needing fast, accurate signal flow
Anyone who hates messy charts but loves sharp decisions
🛠 Settings Explained
Setting Description
HT Amplitude Controls HalfTrend sensitivity
ALMA Length / Offset / Sigma Adjusts the smoothness of ALMA
Source Choose price source (Close, Open, etc.)
Display Toggles Enable/disable arrows and ribbons
Colors Fully customizable trend color schemes
✅ Built-in Alerts — So you never miss a signal again.
⚡ Lag-free performance — Works on multiple timeframes.
📈 Real strategy-ready code — Not just another repainting overlay.
Fractal Flow BandsFractal Flow Bands
A high-precision trend-following system combining HalfTrend logic with ALMA smoothing — built for clarity, speed, and smart alerts.
🔷 What is Fractal Flow Bands?
Fractal Flow Bands merges the best of both worlds:
HalfTrend for accurate trend detection
ALMA (Arnaud Legoux Moving Average) for smooth, low-lag confirmation
This unique synergy delivers clean, non-repainting Buy/Sell signals, filtering out market noise and keeping your chart crystal clear.
🔍 How It Works
Blue HalfTrend Line + Green ALMA Crossover → BUY
Red HalfTrend Line + Red ALMA Crossover → SELL
You get only ONE alert per trend change, eliminating spammy notifications. Perfect for swing traders, scalpers, and trend followers alike.
⚙️ Core Features
✅ Dual Confirmation Engine
ALMA must confirm HalfTrend — no single-line tricks here.
✅ One Alert per Trend Shift
Clean signals, no noise, no repeats.
✅ Visual Clarity
Color-coded trends. No channels, ribbons, or clutter.
✅ Customizable Settings
Tune HalfTrend amplitude and ALMA smoothness to your strategy.
🎯 Best For
Swing traders wanting confirmation before entries
Scalpers needing fast, accurate signal flow
Anyone who hates messy charts but loves sharp decisions
🛠 Settings Explained
Setting Description
HT Amplitude Controls HalfTrend sensitivity
ALMA Length / Offset / Sigma Adjusts the smoothness of ALMA
Source Choose price source (Close, Open, etc.)
Display Toggles Enable/disable arrows and ribbons
Colors Fully customizable trend color schemes
✅ Built-in Alerts — So you never miss a signal again.
⚡ Lag-free performance — Works on multiple timeframes.
📈 Real strategy-ready code — Not just another repainting overlay.
Weighted Multi-Mode Oscillator [BackQuant]Weighted Multi‑Mode Oscillator
1. What Is It?
The Weighted Multi‑Mode Oscillator (WMMO) is a next‑generation momentum tool that turns a dynamically‑weighted moving average into a 0‑100 bounded oscillator.
It lets you decide how each bar is weighted (by volume, volatility, momentum or a hybrid blend) and how the result is normalised (Percentile, Z‑Score or Min‑Max).
The outcome is a self‑adapting gauge that delivers crystal‑clear overbought / oversold zones, divergence clues and regime shifts on any market or timeframe.
2. How It Works
• Dynamic Weight Engine
▪ Volume – emphasises bars with exceptional participation.
▪ Volatility – inverse ATR weighting filters noisy spikes.
▪ Momentum – amplifies strong directional ROC bursts.
▪ Hybrid – equal‑weight blend of the three dimensions.
• Multi‑Mode Smoothing
Choose from 8 MA types (EMA, DEMA, HMA, LINREG, TEMA, RMA, SMA, WMA) plus a secondary smoothing factor to fine‑tune lag vs. responsiveness.
• Normalization Suite
▪ Percentile – rank vs. recent history (context aware).
▪ Z‑Score – standard deviations from mean (statistical extremes).
▪ Min‑Max – scale between rolling high/low (trend friendly).
3. Reading the Oscillator
Zone Default Level Interpretation
Bull > 80 Acceleration; momentum buyers in control
Neutral 20 – 80 Consolidation / no edge
Bear < 20 Exhaustion; sellers dominate
Gradient line/area automatically shades from bright green (strong bull) to deep red (strong bear).
Optional bar‑painting colours price bars the same way for rapid chart scanning.
4. Typical Use‑Cases
Trend Confirmation – Set Weight = Hybrid, Smoothing = EMA. Enter pullbacks only when WMMO > 50 and rising.
Mean Reversion – Weight = Volatility, reduce upper / lower bands to 70 / 30 and fade extremes.
Volume Pulse – Intraday futures: Weight = Volume to catch participation surges before breakout candles.
Divergence Spotting – Compare price highs/lows to WMMO peaks for early reversal clues.
5. Inputs & Styling
Calculation: Source, MA Length, MA Type, Smoothing
Weighting: Volume period & factor, Volatility length, Momentum period
Normalisation: Method, Look‑back, Upper / Lower thresholds
Display: Gradient fills, Threshold lines, Bar‑colouring toggle, Line width & colours
All thresholds, colours and fills are fully customisable inside the settings panel.
6. Built‑In Alerts
WMMO Long – oscillator crosses up through upper threshold.
WMMO Short – oscillator crosses down through lower threshold.
Attach them once and receive push / e‑mail notifications the moment momentum flips.
7. Best Practices
Percentile mode is self‑adaptive and works well across assets; Z‑Score excels in ranges; Min‑Max shines in persistent trends.
Very short MA lengths (< 10) may produce jitter; compensate with higher “Smoothing” or longer look‑backs.
Pair WMMO with structure‑based tools (S/R, trend lines) for higher‑probability trade confluence.
Disclaimer
This script is provided for educational purposes only. It is not financial advice. Always back‑test thoroughly and manage risk before trading live capital.
Delorean EMAs NSYNC Bye, Bye, Bye# Delorean EMA Trend Alerts - Multi-Timeframe Edition
A Pine Script indicator for TradingView that tracks exponential moving averages (EMAs) across multiple timeframes and generates alerts only when both 1-hour and 4-hour charts agree on the trend direction. As NSYNC says, if the timeframes don't agree, your money will go "Bye, Bye, Bye!"
## Features
- Displays 5 EMAs (5, 13, 50, 200, 800 periods)
- **Multi-Timeframe Analysis**: Checks both 1H and 4H charts simultaneously
- **Trend Agreement Required**: Only signals when BOTH timeframes show the same trend
- Detects bullish trends: 50 EMA > 200 EMA > 800 EMA (on both 1H and 4H)
- Detects bearish trends: 50 EMA < 200 EMA < 800 EMA (on both 1H and 4H)
- **NSYNC Warning**: Orange warning when timeframes disagree
- Visual trend signals with up/down arrows (only when timeframes agree)
- Background coloring: Green (bullish), Red (bearish), Orange (no sync)
- **Status Table**: Shows trend status for each timeframe
- Customizable alert conditions
- Multiple alert types: Bullish, Bearish, NSYNC Warning, Alignment
Real-Time FTFC Dashboard (Styled)Full Time Frame Continuity. Real time change with the data presented. Can be used on all stocks to analyze if the stocks timeframe finished green or red.
Micro Trend Start Signal (Up & Down)Micro Trend Start Signal is a lightweight trend-following indicator , complimenting the binary mac d . Trend trading made simple
Micro Lion Trend Start Signal Micro Trend Start Signal is a lightweight trend-following indicator using EMA crossovers and RSI filters to catch early trend shifts. It shows clear Buy and Sell labels when momentum aligns with direction. Ideal for scalping or intraday trading. Clean, responsive, and designed for fast market entries.
Clarix Trend Filter Purpose
This indicator helps traders quickly identify strong bullish or bearish market conditions by combining a moving average and directional strength.
How It Works
SMMA (200): Smooths price to detect overall trend direction.
ADX (14): Measures trend strength, filtering out weak/noisy moves.
+DI / -DI: Directional movement indicators help confirm the dominant side.
Trend Logic
Bullish Trend: Price is above SMMA, ADX > threshold, and +DI > -DI
Bearish Trend: Price is below SMMA, ADX > threshold, and -DI > +DI
Otherwise, the trend is considered weak or unclear.
Features
Background shading for trend clarity
Optional buy/sell arrows based on trend confirmation
Configurable SMMA length and ADX threshold
Designed for 1-minute timeframes, but can be adjusted
Tips
Best used as a trend filter with your existing entry/exit strategy
Avoid trading signals when ADX is low (flat or ranging conditions)
Works well when combined with volume or momentum indicators
Twin Tower TP Levels – Hopi Method (from Demystifying ICT 2)📐 Twin Tower TP Levels – Hopi Method (from “Demystifying ICT 2”)
Description:
This indicator visualizes the Twin Tower TP Levels, a concept inspired by the work of the anonymous trader "Hopi", presented in the book "Demystifying ICT 2 (2025 Edition)".
It calculates a set of key take-profit levels based on:
A fixed reference price (typically VWAP at 16:00 EST)
The average daily range (ADR)
A symmetrical unit structure (ADR ÷ 100), projecting levels both above and below the fixed price.
The levels are calculated and labeled at ±7, ±13, ±20, ±30, ±37, ±43, and ±50 units from the Fix Price — providing traders with a balanced range of price action targets and reaction zones.
Key features:
Customizable Fix Price and ADR input
Automatically computes and plots 7 target levels above and below
Color-coded labels for easy reference (green for above, red for below)
Designed for precision take-profit targeting, as conceptualized in the “Twin Tower” method.
Disclaimer:
This script is a fan-made implementation for educational purposes and references concepts discussed in the book "Demystifying ICT 2 (2025 Edition)", attributed to the pseudonymous trader "Hopi".
All rights to the original intellectual property remain with the author.
Multi Pivot Point & Central Pivot Range - Nadeem Al-QahwiThis indicator combines four advanced trading modules into one flexible and easy-to-use script:
Traditional Pivot Points:
Calculates classic support and resistance levels (PP, R1–R5, S1–S5) based on previous session data. Ideal for identifying key turning points and mapping out the daily, weekly, or monthly structure.
Camarilla Levels:
Provides six upper and lower pivot levels (H1–H6, L1–L6) derived from volatility and closing price formulas. Especially effective for intraday reversal, mean reversion, and finding overbought/oversold extremes.
Central Pivot Range (CPR):
Plots the median, top, and bottom of the value area each session. CPR width instantly highlights whether the market is likely to trend (narrow CPR) or remain range-bound (wide CPR).
Developing CPR projects the evolving range for the current period—essential for real-time analysis and pre-market planning.
Dynamic Zone Levels (DZL):
Automatically detects and highlights clusters of pivots to reveal high-probability support/resistance zones, filtering out market “noise.”
DZL alerts notify you whenever price breaks or retests these key areas, making it easier to spot momentum trades and avoid false signals.
Key Features:
Multi-timeframe flexibility: Use with daily, weekly, monthly, yearly, or custom timeframes—even rare ones like biyearly and decennial.
Modular design: Activate or hide any system (Traditional, Camarilla, CPR, DZL) as you need.
Bilingual interface: Every setting and label is shown in both English and Arabic.
Full customization: Control visibility, color, style, and placement for every level and label.
Historical depth: Plot up to 5,000 pivot/zones back for deep analysis and backtesting.
Smart alerts: Get instant notifications on true S/R breakouts or retests (from DZL).
How to Use:
Trend Trading:
Watch for a very narrow CPR to identify potential trending days—trade in the breakout direction above/below the CPR.
Range Trading:
When CPR is wide, expect sideways movement. Fade reversals at R1/S1 or within the CPR boundaries.
Breakouts:
Use DZL alerts to capture momentum as price breaks or retests dynamic support/resistance zones.
Multi-Timeframe Confluence:
Combine CPR and pivot levels from multiple timeframes for higher-probability entries and exits.
All calculations and logic are fully open.
Renko Brick Zone NeelBrick indicator is a brick zone indicator, plotted not in histogram style but instead with a moving average plotted along with it.
40 period is count of same color brick difference between green and red is always 40
40-period brick indicator line and 40-period moving average line of the brick indicator.
Indian Stocks Daily, Weekly, Monthly, All-Time High-LowDaily high, low, last week high low, current week high low, current month high low.
rEMAExpColor Moving Average Indicator This indicator can intuitively show the current state of market power
Suitable for price action traders
Multi-Timeframe Trend TableThis is an adaptation of the Multi-Timeframe Trend Table by feliperazeek . I have made it possible to change the time frames. I've messaged him to see if he wants to change it to include my amendments.
MTF Trend Heatmap (EMA + MACD) by PierreKMTF Trend Heatmap (EMA + MACD) by PierreK
This indicator offers a compact and clear heatmap that visualizes the current trend status of an instrument across multiple key timeframes. Based on the combination of the EMA 50 and EMA 200, as well as the MACD indicator, the heatmap shows whether the trend is bullish (green dot) or bearish (red dot) on the 1-minute, 5-minute, 15-minute, 1-hour, 4-hour, and 1-day timeframes.
Highlights:
• Multi-timeframe analysis at a glance - perfect for traders who want to keep an eye on multiple timeframes.
• Clearly defined trend logic: EMA 50 > EMA 200 and MACD above signal and zero line.
‣ Simple color scheme for quick trend decisions.
Optimized for all markets and assets (forex, stocks, cryptocurrencies, etc.).
• Chart overload - heatmap as a separate, clearly positioned table.
Ideal for day traders, swing traders, and anyone who needs quick trend overviews for their trading.
FAQ
Q. Which markets is the indicator suitable for?
A: The indicator works universally on forex, stocks, cryptocurrencies, and other TradingView symbols.
Q: Can I add additional timeframes?
A: Currently, 1m, 5m, 15m, 1h, 4h, and 1d are preset. Adjustments are possible in the code if you are familiar with Pine Script.
Q: How accurate is the trend determination?
A: The trend is determined very reliably using the combination of the EMA 50/200 and MACD (via the signal line and the zero line).
Q: Can I use alerts with this indicator?
A: Alerts are not included in the standard script, but can be added individually.
SQV Indicator Bridge# SQV Indicator Bridge - Quick Guide
## What is SQV Indicator Bridge?
A simple connector that validates your indicator's signals using SQV Lite before displaying them on the chart. Only high-quality signals pass through.
## How It Works
```
Your Indicator → Generates Signals → SQV Lite → Validates Quality → Bridge → Shows Only Valid Signals
```
## Quick Setup (3 Steps)
### Step 1: Prepare Your Indicator
Add these lines to export your signals:
```pinescript
// At the end of your indicator code
plot(longCondition ? 1 : 0, "Long Signal", display=display.none)
plot(shortCondition ? 1 : 0, "Short Signal", display=display.none)
```
### Step 2: Add to Chart (in order)
1. Your indicator
2. SQV Lite
3. SQV Indicator Bridge
### Step 3: Connect Sources
In Bridge settings:
- **Long Signal Source** → Select: YourIndicator: Long Signal
- **Short Signal Source** → Select: YourIndicator: Short Signal
- **SQV Long Valid** → Select: SQV Lite: SQV Long Valid
- **SQV Short Valid** → Select: SQV Lite: SQV Short Valid
- **SQV Score** → Select: SQV Lite: SQV Score
## Visual Settings
| Setting | Description | Default |
|---------|-------------|---------|
| Show Labels | Display BUY/SELL labels | On |
| Label Offset | Distance from candles (0-5 ATR) | 0 |
| Label Size | Tiny, Small, or Normal | Small |
| Long Color | Color for buy signals | Green |
| Short Color | Color for sell signals | Red |
## What You'll See
- **Green "LONG" labels** - When your buy signal passes SQV validation
- **Red "SHORT" labels** - When your sell signal passes SQV validation
- **No label** - When signal quality is too low
## Common Issues & Solutions
### No labels appearing?
1. Check "Use External Signals" is ON in SQV Lite
2. Verify source connections are correct
3. Lower minimum score in SQV Lite (try 60)
4. Test your indicator separately to ensure it generates signals
### Too many/few signals?
- Adjust "Minimum Quality Score" in SQV Lite
- Default is 65, lower for more signals, higher for fewer
### Wrong signals showing?
- Check Trading Mode in SQV Lite matches your strategy (Long Only/Short Only/Both)
## Example Integration
### Simple MA Cross Indicator
```pinescript
//@version=6
indicator("MA Cross with SQV", overlay=true)
// Your logic
fast = ta.sma(close, 20)
slow = ta.sma(close, 50)
longSignal = ta.crossover(fast, slow)
shortSignal = ta.crossunder(fast, slow)
// Plot MAs
plot(fast, color=color.blue)
plot(slow, color=color.red)
// Export for SQV Bridge (REQUIRED!)
plot(longSignal ? 1 : 0, "Long Signal", display=display.none)
plot(shortSignal ? 1 : 0, "Short Signal", display=display.none)
```
## Tips
✅ **DO**:
- Test in "Autonomous Mode" first (SQV Lite setting)
- Use clear signal names in your plots
- Keep signals binary (1 or 0)
❌ **DON'T**:
- Forget to add `display=display.none` to signal plots
- Use values other than 0 and 1 for signals
- Leave "Use External Signals" OFF in SQV Lite
## Alert Setup
1. Enable "Enable Alerts" in Bridge settings
2. Create alert on Bridge (not your indicator)
3. Alert message includes SQV score
Example alert: `"Long Signal Validated | Score: 85"`
## Complete Bridge Code
```pinescript
//@version=6
indicator("SQV Indicator Bridge", overlay=true)
// From your indicator
longSignal = input.source(close, "Long Signal Source", group="Signal Sources")
shortSignal = input.source(close, "Short Signal Source", group="Signal Sources")
// From SQV Lite
sqvLongValid = input.source(close, "SQV Long Valid", group="SQV Sources")
sqvShortValid = input.source(close, "SQV Short Valid", group="SQV Sources")
sqvScore = input.source(close, "SQV Score", group="SQV Sources")
// Settings
showLabels = input.bool(true, "Show Labels", group="Visual")
labelOffset = input.float(0.0, "Label Offset (ATR)", minval=0.0, maxval=5.0, step=0.5, group="Visual")
labelSize = input.string("small", "Label Size", options= , group="Visual")
longColor = input.color(color.green, "Long Color", group="Visual")
shortColor = input.color(color.red, "Short Color", group="Visual")
enableAlerts = input.bool(false, "Enable Alerts", group="Alerts")
// Logic
atr = ta.atr(14)
offset = labelOffset > 0 ? atr * labelOffset : 0
hasValidLong = longSignal > 0 and sqvLongValid > 0 and barstate.isconfirmed
hasValidShort = shortSignal > 0 and sqvShortValid > 0 and barstate.isconfirmed
// Show labels
if showLabels
if hasValidLong
label.new(bar_index, low - offset, "LONG",
style=label.style_label_up,
color=longColor,
textcolor=color.white,
size=labelSize == "tiny" ? size.tiny :
labelSize == "small" ? size.small : size.normal)
if hasValidShort
label.new(bar_index, high + offset, "SHORT",
style=label.style_label_down,
color=shortColor,
textcolor=color.white,
size=labelSize == "tiny" ? size.tiny :
labelSize == "small" ? size.small : size.normal)
// Alerts
if enableAlerts
if hasValidLong
alert("Long Signal Validated | Score: " + str.tostring(sqvScore, "#"), alert.freq_once_per_bar_close)
if hasValidShort
alert("Short Signal Validated | Score: " + str.tostring(sqvScore, "#"), alert.freq_once_per_bar_close)
```
---
**Need help?** Check the full SQV documentation or contact through TradingView messages.
[Top] Multi-Candle Pattern DetectorThe Multi-Candle Pattern Detector is a powerful tool that scans for a wide variety of high-probability candlestick formations directly on the chart. It highlights key multi-bar reversal and continuation patterns using intuitive emoji-based labels and descriptive tooltips, helping traders quickly assess market conditions and potential setups.
Supported patterns include:
Bullish & Bearish Engulfing
Morning Star / Evening Star
Three Line Strike
Rising / Falling Three Methods
Hammer / Inverted Hammer / Hanging Man / Gravestone Doji
To reduce false signals, this script includes a built-in trend filter using a custom LHAMA (Low-High Adaptive Moving Average) calculation. Patterns are only displayed when recent price action is not flat, helping traders avoid entries during consolidation.
Users can toggle each pattern type individually, making the script adaptable for various strategies and timeframes.
⸻
Potential Uses
Reversal Spotting: Identify key inflection points at the end of trends.
Continuation Confirmation: Confirm trend strength following brief pauses in momentum.
Price Action Training: Visually reinforce recognition of textbook candlestick patterns.
Strategy Integration: Combine with trend or volume filters for more advanced rule-based systems.
⸻
This indicator is suitable for traders who rely on price action and candlestick psychology, and is useful across all asset classes and chart intervals.