Colored SMA by Time & TrendScalping script for XAUUSD this indicator checks times in which there is a usual uptrend or downtrend for this instrument. When green, a buy is likely to be profitable (at least for a few bars) and when red, a sell is likely to be profitable (for the next few bars).
Chỉ báo và chiến lược
TTM Squeeze Overlay (Wave A/B/C Visible)This script overlays three MACD-based wave structures directly on the price chart — giving you a clear, time-based view of market momentum without needing a sub-panel.
🔴 Wave A (Short-Term) – fast reactions, shows immediate price pressure
⚫ Wave B (Mid-Term) – smoother movements, ideal for swing context
🔵 Wave C (Long-Term) – area-style macro trend overlay
All waves are dynamically scaled and centered around price action, so you don’t need to manually stretch or shift anything.
Built for traders who want trend clarity at a glance — right where it matters.
Variación vs Cierre MáximoChange in the highest closing price of period N versus the current closing price to see the percentage change, ideal for setting an alarm when the price rises or falls more than a certain value.
Dual ATR TargetsATR Distance Markers with Percentage Display
This powerful indicator visually displays dynamic support/resistance levels based on the ATR Trailing Stop, while providing clear percentage-based distance measurements to help traders assess risk/reward ratios at a glance.
Key Features:
🔹 Dual Distance Markers - Track two customizable distance multiples (default: 1.0x and 0.35x ATR)
🔹 Percentage-First Display - Shows percentage distances first (more intuitive for multi-timeframe analysis) with exact price differences in parentheses
🔹 Current + Previous Candle Data - Compare current levels with previous candle's values for trend confirmation
🔹 Clean Visual Presentation - Grey info box with white text for optimal readability
🔹 Customizable Settings - Adjust ATR period, multiplier, colors, and visibility
How Traders Use It:
✅ Identify potential profit targets based on volatility-adjusted distances
✅ Gauge stop-loss placement with percentage-based risk assessment
✅ Compare current vs. previous candle distances for momentum shifts
✅ Maintain consistent risk parameters across different instruments
Input Parameters:
ATR Period (default 14)
ATR Multiplier (default 1.1)
Two fully configurable distance markers
Custom colors for each marker
Perfect For:
• Swing traders looking for volatility-based targets
• Position traders managing risk across timeframes
• Anyone who prefers percentage-based analysis over fixed price distances
The indicator plots circular markers (blue) and cross markers (red) at your specified distances from the ATR trailing stop, while the info box keeps all critical data organized in one corner of your chart.
Pro Tip: Combine with trend analysis tools - the distances become more reliable when trading in the direction of the prevailing trend. The percentage display helps maintain consistent position sizing across different priced instruments.
S&P 500 Bear Markets and CorrectionsS&P 500 Corrections and Bear Markets (pullbacks/crashes) from 1970 to 2025 (May).
You are always welcome to reach out with feedback :-)
Best - Nicolai
Shade Between 9 EMA and 20 EMAThis indicator shades the area between the 9 EMA and the 20 EMA.
The wider the area of shade, the stronger the trend and momentum. If the shaded area is more narrow, that tells you to possibly take caution as there is no clear trend yet.
EMA Channel + Kangaroo Tail + Volume This all-in-one indicator combines multiple proven trading concepts into one tool:
🔸 EMA-based Price Channel (with Standard Deviation): helps identify overbought/oversold zones and channel reversals.
🔸 Kangaroo Tail Patterns: a price action setup signaling potential reversals based on wick/close structure.
🔸 Volume Confirmation Filter: filters signals when volume exceeds the average by 20% (1.2×), reducing noise.
🔸 Unconfirmed KT Highlights: shows potential Kangaroo Tails even if volume is not confirmed, so no setup is missed.
🔸 Volume Info Labels: display current and average volume on chart (toggleable).
🧠 Built with ChatGPT based on real-world trader feedback, suitable for both the Moscow Exchange and crypto markets.
✅ Best suited for:
Futures, stocks, crypto.
Timeframes: 15m – 1h, though it works across all timeframes.
🔓 Free to use & modify. If you like it — give it a star or share feedback!
Hourly FVG/iFVG ZoneMacros Price Delivery
Note: Determine short time bias and enter for a 30 40 handles runs to the minor liquidity or FVG
Stochastics + VixFix Buy/Sell SignalsThis script is designed for long-term investors using ETFs on a weekly timeframe, where catching high-probability bottoms is the goal. It combines the Stochastic Oscillator with the Williams VixFix to identify moments of extreme fear and potential reversals.
A Buy signal is triggered when:
Stochastic %K drops below 20
VixFix forms a green spike (suggesting a panic-driven market flush)
A Sell signal is triggered when:
Stochastic %K rises above 90
VixFix falls below 5 (indicating excessive complacency)
Catching tops is much harder than catching bottoms.
These Sell signals are not designed to fully exit positions. Instead, they suggest trimming a small portion of ETF holdings — simply to free up liquidity for future opportunities.
This strategy is ideal for:
Long-term ETF investors
Weekly charts
Systematic decision-making in volatile markets
Use in conjunction with macro indicators, sector rotation, and valuation frameworks for best results.
Missing Candle AnalyzerMissing Candle Analyzer: Purpose and Importance
Overview The Missing Candle Analyzer is a Pine Script tool developed to detect and analyze gaps in candlestick data, specifically for cryptocurrency trading. In cryptocurrency markets, it is not uncommon to observe missing candles—time periods where no price data is recorded. These gaps can occur due to low liquidity, exchange downtime, or data feed issues.
Purpose The primary purpose of this tool is to identify missing candles in a given timeframe and provide detailed statistics about these gaps. Missing candles can introduce significant errors in trading strategies, particularly those relying on continuous price data for technical analysis, backtesting, or automated trading. By detecting and quantifying these gaps, traders can: Assess the reliability of the price data. Adjust their strategies to account for incomplete data. Avoid potential miscalculations in indicators or trade signals that assume continuous candlestick data.
Why It Matters In cryptocurrency trading, where volatility is high and trading decisions are often made in real-time, missing candles can lead to: Inaccurate Technical Indicators : Indicators like moving averages, RSI, or MACD may produce misleading signals if candles are missing. Faulty Backtesting : Historical data with gaps can skew backtest results, leading to over-optimistic or unreliable strategy performance. Execution Errors : Automated trading systems may misinterpret gaps, resulting in unintended trades or missed opportunities.
By using the Missing Candle Analyzer, traders gain visibility into the integrity of their data, enabling them to make informed decisions and refine their strategies to handle such anomalies.
Functionality
The script performs the following tasks: Gap Detection : Identifies time gaps between candles that exceed the expected timeframe duration (with a configurable multiplier for tolerance). Statistics Calculation : Tracks total candles, missing candles, missing percentage, and the largest gap duration. Visualization : Displays a table with analysis results and optional markers on the chart to highlight gaps. User Customization : Allows users to adjust font size, table position, and whether to show gap markers.
Conclusion The Missing Candle Analyzer is a critical tool for cryptocurrency traders who need to ensure the accuracy and completeness of their price data. By highlighting missing candles and providing actionable insights, it helps traders mitigate risks and build more robust trading strategies. This tool is especially valuable in the volatile and often unpredictable cryptocurrency market, where data integrity can directly impact trading outcomes.
RSI 5 Dakika Al/Sat Alarmırsi 5 dklık grafikte scalp için sinyal üretir. yatırım tavsiyesi değildir.
Float LabelFloat label
Float label is simply a label that will display the float (number of shares that are publicly available for trading on the open market) for the ticker currently open in the chart.
Very handy for trading smaller cap names.
Currently working on a complete low float label to replace this.
Kassa Eröffnungskerze (z. B. DAX)This Pine Script automatically draws a horizontal line at the 09:00 CET open price every trading day. It’s designed for use on any timeframe – from 1-minute to daily – and is ideal for traders following European indices like the DAX (GER40) or EuroStoxx.
🛠 Features:
• Automatically detects the cash market open (09:00 CET)
• Works on all timeframes
• Uses Europe/Zurich timezone (CET/CEST)
• Draws a new line once per day at 09:00
• No repainting – consistent and reliable behavior
💡 Use Case:
Perfect for intraday and day traders who want to anchor their analysis to the official cash market open price. This level is often critical for observing volume spikes, trend initiations, or mean-reversion behavior during the European session.
7th Gate Open --- CompleteThis script is a quantitative price action strategy designed to identify contextual engulfing patterns filtered by macro-level trend confirmation and dynamic Fibonacci levels, then manages positions with EMA/MA crossovers, adaptive stop mechanisms, and customizable timeframes.
Whale Zones (Accumulation & Distribution)Zone d'accumulation - Défendue / Zone de Distribution - Zone d'achat impulsive
trend_magicTrend Magic Library
This script defines a custom Pine Script library named "trend_magic" that implements a Trend Magic indicator, a hybrid technical tool combining CCI (Commodity Channel Index) and ATR (Average True Range) to dynamically track trend direction and strength.
🔧 Key Components:
🔹 Function: trend_magic(...)
This function takes four parameters:
src: The source price (e.g., close)
cci_periode: Period for the CCI calculation
atr_coeff: Multiplier for the ATR to define bands
atr_periode: Period used to calculate the ATR (via SMA of true range)
📈 Logic Inside the Function:
ATR Calculation:
ATR = ta.sma(ta.tr, atr_periode): Calculates the ATR using a simple moving average of the True Range.
Band Levels:
upT = low - ATR * atr_coeff: Lower boundary (support-like)
downT = high + ATR * atr_coeff: Upper boundary (resistance-like)
Trend Calculation:
If CCI is positive, the trend is calculated as the maximum of the previous trend or the current lower band (upT).
If CCI is negative, the trend is the minimum of the previous trend or the current upper band (downT).
This logic makes the trend "stick" in one direction until a reversal condition is met.
Trend Direction (dir):
Set to 1 (bullish) if trend is rising, -1 (bearish) if falling, or remains unchanged otherwise.
Time-Based Fair Value Gaps (FVG) with Inversions (iFVG)Overview
The Time-Based Fair Value Gaps (FVG) with Inversions (iFVG) (ICT/SMT) indicator is a specialized tool designed for traders using Inner Circle Trader (ICT) methodologies. Inspired by LuxAlgo's Fair Value Gap indicator, this script introduces significant enhancements by integrating ICT principles, focusing on precise time-based FVG detection, inversion tracking, and retest signals tailored for institutional trading strategies. Unlike LuxAlgo’s general FVG approach, this indicator filters FVGs within customizable 10-minute windows aligned with ICT’s macro timeframes and incorporates ICT-specific concepts like mitigation, liquidity grabs, and session-based gap prioritization.
This tool is optimized for 1–5 minute charts, though probably best for 1 minute charts, identifying bullish and bearish FVGs, tracking their mitigation into inverted FVGs (iFVGs) as key support/resistance zones, and generating retest signals with customizable “Close” or “Wick” confirmation. Features like ATR-based filtering, optional FVG labels, mitigation removal, and session-specific FVG detection (e.g., first FVG in AM/PM sessions) make it a powerful tool for ICT traders.
Originality and Improvements
While inspired by LuxAlgo’s FVG indicator (credit to LuxAlgo for their foundational work), this script significantly extends the original concept by:
1. Time-Based FVG Detection: Unlike LuxAlgo’s continuous FVG identification, this script filters FVGs within user-defined 10-minute windows each hour (:00–:10, :10–:20, etc.), aligning with ICT’s emphasis on specific periods of institutional activity, such as hourly opens/closes or kill zones (e.g., New York 7:00–11:00 AM EST). This ensures FVGs are relevant to high-probability ICT setups.
2. Session-Specific First FVG Option: A unique feature allows traders to display only the first FVG in ICT-defined AM (9:30–10:00 AM EST) or PM (1:30–2:00 PM EST) sessions, reflecting ICT’s focus on initial market imbalances during key liquidity events.
3. ICT-Driven Mitigation and Inversion Logic: The script tracks FVG mitigation (when price closes through a gap) and converts mitigated FVGs into iFVGs, which serve as ICT-style support/resistance zones. This aligns with ICT’s view that mitigated gaps become critical reversal points, unlike LuxAlgo’s simpler gap display.
4. Customizable Retest Signals: Retest signals for iFVGs are configurable for “Close” (conservative, requiring candle body confirmation) or “Wick” (faster, using highs/lows), catering to ICT traders’ need for precise entry timing during liquidity grabs or Judas swings.
5. ATR Filtering and Mitigation Removal: An optional ATR filter ensures only significant FVGs are displayed, reducing noise, while mitigation removal declutters the chart by removing filled gaps, aligning with ICT’s principle that mitigated gaps lose relevance unless inverted.
6. Timezone and Timeframe Safeguards: A timezone offset setting aligns FVG detection with EST for ICT’s New York-centric strategies, and a timeframe warning alerts users to avoid ≥1-hour charts, ensuring accuracy in time-based filtering.
These enhancements make the script a distinct tool that builds on LuxAlgo’s foundation while offering ICT traders a tailored, high-precision solution.
How It Works
FVG Detection
FVGs are identified when a candle’s low is higher than the high of two candles prior (bullish FVG) or a candle’s high is lower than the low of two candles prior (bearish FVG). Detection is restricted to:
• User-selected 10-minute windows (e.g., :00–:10, :50–:60) to capture ICT-relevant periods like hourly transitions.
• AM/PM session first FVGs (if enabled), focusing on 9:30–10:00 AM or 1:30–2:00 PM EST for key market opens.
An optional ATR filter (default: 0.25× ATR) ensures only gaps larger than the threshold are displayed, prioritizing significant imbalances.
Mitigation and Inversion
When price closes through an FVG (e.g., below a bullish FVG’s bottom), the FVG is mitigated and becomes an iFVG, plotted as a support/resistance zone. iFVGs are critical in ICT for identifying reversal points where institutional orders accumulate.
Retest Signals
The script generates signals when price retests an iFVG:
• Close: Triggers when the candle body confirms the retest (conservative, lower noise).
• Wick: Triggers when the candle’s high/low touches the iFVG (faster, higher sensitivity). Signals are visualized with triangular markers (▲ for bullish, ▼ for bearish) and can trigger alerts.
Visualization
• FVGs: Displayed as colored boxes (green for bullish, red for bearish) with optional “Bull FVG”/“Bear FVG” labels.
• iFVGs: Shown as extended boxes with dashed midlines, limited to the user-defined number of recent zones (default: 5).
• Mitigation Removal: Mitigated FVGs/iFVGs are removed (if enabled) to keep the chart clean.
How to Use
Recommended Settings
• Timeframe: Use 1–5 minute charts for precision, avoiding ≥1-hour timeframes (a warning label appears if misconfigured).
• Time Windows: Enable :00–:10 and :50–:60 for hourly open/close FVGs, or use the “Show only 1st presented FVG” option for AM/PM session focus.
• ATR Filter: Keep enabled (multiplier 0.25–0.5) for significant gaps; disable on 1-minute charts for more FVGs during volatility.
• Signal Preference: Use “Close” for conservative entries, “Wick” for aggressive setups.
• Timezone Offset: Set to -5 for EST (or -4 for EDT) to align with ICT’s New York session.
Trading Strategy
1. Macro Timeframes: Focus on New York (7:00–11:00 AM EST) or London (2:00–5:00 AM EST) kill zones for high institutional activity.
2. FVG Entries: Trade bullish FVGs as support in uptrends or bearish FVGs as resistance in downtrends, especially in :00–:10 or :50–:60 windows.
3. iFVG Retests: Enter on retest signals (▲/▼) during liquidity grabs or Judas swings, using “Close” for confirmation or “Wick” for speed.
4. Session FVGs: Use the “Show only 1st presented FVG” option to target the first gap in AM/PM sessions, often tied to ICT’s market maker algorithms.
5. Risk Management: Combine with ICT concepts like order blocks or breaker blocks for confluence, and set stops beyond FVG/iFVG boundaries.
Alerts
Set alerts for:
• “Bullish FVG Detected”/“Bearish FVG Detected”: New FVGs in selected windows.
• “Bullish Signal”/“Bearish Signal”: iFVG retest confirmations.
Settings Description
• Show Last (1–100, default: 5): Number of recent iFVGs to display. Lower values reduce clutter.
• Show only 1st presented FVG : Limits FVGs to the first in 9:30–10:00 AM or 1:30–2:00 PM EST sessions (overrides time window checkboxes).
• Time Window Checkboxes: Enable/disable FVG detection in 10-minute windows (:00–:10, :10–:20, etc.). All enabled by default.
• Signal Preference: “Close” (default) or “Wick” for iFVG retest signals.
• Use ATR Filter: Enables ATR-based size filtering (default: true).
• ATR Multiplier (0–∞, default: 0.25): Sets FVG size threshold (higher values = larger gaps).
• Remove Mitigated FVGs: Removes filled FVGs/iFVGs (default: true).
• Show FVG Labels: Displays “Bull FVG”/“Bear FVG” labels (default: true).
• Timezone Offset (-12 to 12, default: -5): Aligns time windows with EST.
• Colors: Customize bullish (green), bearish (red), and midline (gray) colors.
Why Use This Indicator?
This indicator empowers ICT traders with a tool that goes beyond generic FVG detection, offering precise, time-filtered gaps and inversion tracking aligned with institutional trading principles. By focusing on ICT’s macro timeframes, session-specific imbalances, and customizable signal logic, it provides a clear edge for scalping, swing trading, or reversal setups in high-liquidity markets.
Strong Trend Bars (ATR-based)This is a ChatGPT pinescript meant as an indicator for detecting strength in the market. The primary function I use it for is to decide which bars to trail a stop loss beneath.
💥 Explanation of adjustable inputs:
Bull Close Threshold (default 0.6):
If set to 0.6, bull bars must close above 60% of bar height → low + 0.6 * barHeight
Bear Close Threshold (default 0.6):
If set to 0.6, bear bars must close below 40% of bar height → high - 0.6 * barHeight
This lets you experiment with tighter or looser filters. For example:
0.7 → only bars closing near the extremes will light up
0.5 → about midpoint
0.8 → very demanding, “almost full body” bars
BURR Orb Signal Lines9 and 26 EMA. Can be used to confirm identify trend change or confirm breakout from S&R zones.
MC High/LowMC High/Low is a minimalist precision tool designed to show traders the most critical price levels — the High and Low of the current Day and Week — in real-time, without any visual clutter or historical trails.
It automatically tracks:
🔼 HOD – High of Day
🔽 LOD – Low of Day
📈 HOW – High of Week
📉 LOW – Low of Week
Each level is plotted using simple black horizontal lines, updated dynamically as the session evolves. Labels are clearly marked and positioned to the right of the screen for easy reference.
There’s no trailing history, no background colors, and no distractions — just pure price structure for clean confluence.
Perfect for:
Intraday scalpers
Swing traders
Liquidity & range traders
This is a tool built for sniper-level execution — straight from the MadCharts mindset.
🛠 Created by:
🔒 Version: Public Release
🎯 Use this with your favorite price action, liquidity, or market structure strategies.
Pivot Candle PatternsPivot Candle Patterns Indicator
Overview
The PivotCandlePatterns indicator is a sophisticated trading tool that identifies high-probability candlestick patterns at market pivot points. By combining Williams fractals pivot detection with advanced candlestick pattern recognition, this indicator targets the specific patterns that statistically show the highest likelihood of signaling reversals at market tops and bottoms.
Scientific Foundation
The indicator is built on extensive statistical analysis of historical price data using a 42-period Williams fractal lookback period. Our research analyzed which candlestick patterns most frequently appear at genuine market reversal points, quantifying their occurrence rates and subsequent success in predicting reversals.
Key Research Findings:
At Market Tops (Pivot Highs):
- Three White Soldiers: 28.3% occurrence rate
- Spinning Tops: 13.9% occurrence rate
- Inverted Hammers: 11.7% occurrence rate
At Market Bottoms (Pivot Lows):
- Three Black Crows: 28.4% occurrence rate
- Hammers: 13.3% occurrence rate
- Spinning Tops: 13.1% occurrence rate
How It Works
1. Pivot Point Detection
The indicator uses a non-repainting implementation of Williams fractals to identify potential market turning points:
- A pivot high is confirmed when the middle candle's high is higher than surrounding candles within the lookback period
- A pivot low is confirmed when the middle candle's low is lower than surrounding candles within the lookback period
- The default lookback period is 2 candles (user adjustable from 1-10)
2. Candlestick Pattern Recognition
At identified pivot points, the indicator analyzes candle properties using these parameters:
- Body percentage threshold for Spinning Tops: 40% (adjustable from 10-60%)
- Shadow percentage threshold for Hammer patterns: 60% (adjustable from 40-80%)
- Maximum upper shadow for Hammer: 10% (adjustable from 5-20%)
- Maximum lower shadow for Inverted Hammer: 10% (adjustable from 5-20%)
3. Pattern Definitions
The indicator recognizes these specific patterns:
Single-Candle Patterns:
- Spinning Top : Small body (< 40% of total range) with significant upper and lower shadows (> 25% each)
- Hammer : Small body (< 40%), very long lower shadow (> 60%), minimal upper shadow (< 10%), closing price above opening price
- Inverted Hammer : Small body (< 40%), very long upper shadow (> 60%), minimal lower shadow (< 10%)
Multi-Candle Patterns:
- Three White Soldiers : Three consecutive bullish candles, each closing higher than the previous, with each open within the previous candle's body
- Three Black Crows : Three consecutive bearish candles, each closing lower than the previous, with each open within the previous candle's body
4. Visual Representation
The indicator provides multiple visualization options:
- Highlighted candle backgrounds for pattern identification
- Text or dot labels showing pattern names and success rates
- Customizable colors for different pattern types
- Real-time alert functionality on pattern detection
- Information dashboard displaying pattern statistics
Why It Works
1. Statistical Edge
Unlike traditional candlestick pattern indicators that simply identify patterns regardless of context, PivotCandlePatterns focuses exclusively on patterns occurring at statistical pivot points, dramatically increasing signal quality.
2. Non-Repainting Design
The pivot detection algorithm only uses confirmed data, ensuring the indicator doesn't repaint or provide false signals that disappear on subsequent candles.
3. Complementary Pattern Selection
The selected patterns have both:
- Statistical significance (high frequency at pivots)
- Logical market psychology (reflecting institutional supply/demand changes)
For example, Three White Soldiers at a pivot high suggests excessive bullish sentiment reaching exhaustion, while Hammers at pivot lows indicate rejection of lower prices and potential buying pressure.
Practical Applications
1. Reversal Trading
The primary use is identifying potential market reversals with statistical probability metrics. Higher percentage patterns (like Three White Soldiers at 28.3%) warrant more attention than lower probability patterns.
2. Confirmation Tool
The indicator works well when combined with other technical analysis methods:
- Support/resistance levels
- Trend line breaks
- Divergences on oscillators
- Volume analysis
3. Risk Management
The built-in success rate metrics help traders properly size positions based on historical pattern reliability. The displayed percentages reflect the probability of the pattern successfully predicting a reversal.
Optimized Settings
Based on extensive testing, the default parameters (Body: 40%, Shadow: 60%, Shadow Maximums: 10%, Lookback: 2) provide the optimal balance between:
- Signal frequency
- False positive reduction
- Early entry opportunities
- Pattern clarity
Users can adjust these parameters based on their timeframe and trading style, but the defaults represent the statistically optimal configuration.
Complementary Research: Reclaim Analysis
Additional research on "reclaim" scenarios (where price briefly breaks a level before returning) showed:
- Fast reclaims (1-2 candles) have 70-90% success rates
- Reclaims with increasing volume have 53.1% success rate vs. decreasing volume at 22.6%
This complementary research reinforces the importance of candle patterns and timing at critical market levels.
21 EMA + VWAP Trend Bias
21 EMA + VWAP Trend Bias
This indicator combines the 21-period Exponential Moving Average (EMA) and the Volume-Weighted Average Price (VWAP) to provide a simple yet effective visual trend bias tool.
🔍 Core Features:
21 EMA Line (Orange): Tracks the short-to-mid-term price trend.
VWAP Line (Blue): Reflects the average trading price, weighted by volume, often used by institutional traders.
Trend Bias Highlight:
Green Background: Bullish bias — price is above both the 21 EMA and VWAP.
Red Background: Bearish bias — price is below both the 21 EMA and VWAP.
No Background: Neutral or mixed signals.
⚙️ Use Cases:
Quickly assess market trend direction at a glance.
Confirm entry or exit signals with dual-layer trend validation.
Great for intraday and swing traders who value clean, unobtrusive chart setups.