No Supply / No Demand Candle AlertsNo Supply Candle: A No Supply candle generally has a large body (close near high) with low volume. So, you would likely want the body percentage to be high, meaning the price action is concentrated near the high of the candle.
No Demand Candle: A No Demand candle generally has a large body (close near low) with low volume. You would want a high body percentage but with the close near low.
Padrões gráficos
[TehThomas] - Fair Value GapsThis script is designed to automatically detect and visualize Fair Value Gaps (FVGs) on your chart in a clean, intuitive, and highly responsive way. It’s built with active traders in mind, offering both dynamic updates and customization options that help you stay focused on price action without being distracted by outdated or irrelevant information.
What Are Fair Value Gaps?
Fair Value Gaps are areas on a chart where there’s an inefficiency in price, typically formed when price moves aggressively in one direction, leaving a gap between the wicks of consecutive candles. These gaps represent imbalanced price action where not all buy or sell orders were efficiently matched. As a result, they often become magnet zones where price returns later to "fill" the imbalance before continuing in its intended direction. Many traders use them as points of interest for entries, re-entries, or anticipating reversals and consolidations.
This concept is frequently used in Smart Money and ICT-based trading models, where understanding how price seeks efficiency is crucial to anticipating future moves. When combined with concepts like liquidity, displacement, and market structure, FVGs become powerful tools for technical decision-making.
Script Features & Functionality
1. Live Updating Gaps (Dynamic Shrinking)
One of the core features of this script is its ability to track and dynamically shrink Fair Value Gaps as price trades into them. Instead of leaving a static zone on your chart, the gap will adjust in real-time, reflecting the portion that has been filled. This gives you a much more accurate picture of remaining imbalance and avoids misleading zones.
2. Automatic Cleanup After Fill
Once price fully fills an FVG, the script automatically removes it from the chart. This helps keep your workspace clean and focused only on relevant price zones. There’s no need to manually manage your gaps, everything is handled behind the scenes to reduce clutter and distraction.
3. Static Mode Option
While dynamic updating is the default, some traders may prefer to keep the original size of the gap visible even after partial fills. For that reason, the script includes a toggle to switch from live-updating (shrinking) mode to static mode. In static mode, FVGs stay fixed from the moment they are drawn, giving you a more traditional visual reference point.
4. Multi-Timeframe Support (MTF)
You can now view higher timeframe FVGs, such as those from the 1H or 4H chart, while analyzing lower timeframes like the 5-minute. This allows you to see key imbalances from broader market context without having to flip between charts. FVGs from higher timeframes will be drawn distinctly so you can differentiate them at a glance.
5. Cleaner Visualization
The script is designed with clarity in mind. All drawings are streamlined, and filled gaps are removed to maintain a minimal, distraction-free chart. This makes it easier to combine this tool with other indicators or price-action-based strategies without overloading your workspace.
6. Suitable for All Market Types
This script can be used on any asset that displays candlestick-based price action — including crypto, forex, indices, and stocks. Whether you're scalping low-timeframe setups or swing trading with a higher timeframe bias, FVGs remain a useful concept and this script adapts to your trading style.
Use Case Examples
On a 5-minute chart, display 1-hour FVGs to catch major imbalance zones during intraday trading.
Combine the FVGs with liquidity levels and inducement patterns to build ICT-style trade setups.
Use live-updating gaps to monitor in-progress fills and evaluate whether a zone still holds validity.
Set the script to static mode to perform backtesting or visual replay with historical setups.
Final Notes
Fair Value Gaps are not a standalone trading signal, but when used with market structure, liquidity, displacement, and order flow concepts, they provide high-probability trade locations that align with institutional-style trading models. This script simplifies the visualization of those zones so you can react faster, stay focused on clean setups, and eliminate unnecessary distractions.
Whether you’re trading high volatility breakouts or patiently waiting for retracements into unfilled imbalances, this tool is designed to support your edge with precision and flexibility.
Super YZH Modelsma200 and sma20 especially works 30m 1h. candle filter, the wick must be more than %50 of total candle. sma200 and sma20 must ne in trend. the wick must be on sma20 than we need body closure from this canlde
Candle Eraser (New York Time, Dropdown)If you want to focus on first 3 hours of Asia, London> and New York, inspired by Stacey Burke Trading 12 Candle Window Concept
- Set your time to UTC-4 New York
Cointegration Heatmap & Spread Table [EdgeTerminal]The Cointegration Heatmap is a powerful visual and quantitative tool designed to uncover deep, statistically meaningful relationships between assets.
Unlike traditional indicators that react to price movement, this tool analyzes the underlying statistical relationship between two time series and tracks when they diverge from their long-term equilibrium — offering actionable signals for mean-reversion trades .
What Is Cointegration?
Most traders are familiar with correlation, which measures how two assets move together in the short term. But correlation is shallow — it doesn’t imply a stable or predictable relationship over time.
Cointegration, however, is a deeper statistical concept: Two assets are cointegrated if a linear combination of their prices or returns is stationary , even if the individual series themselves are non-stationary.
Cointegration is a foundational concept in time series analysis, widely used by hedge funds, proprietary trading firms, and quantitative researchers. This indicator brings that institutional-grade concept into an easy-to-use and fully visual TradingView indicator.
This tool helps answer key questions like:
“Which stocks tend to move in sync over the long term?”
“When are two assets diverging beyond statistical norms?”
“Is now the right time to short one and long the other?”
Using a combination of regression analysis, residual modeling, and Z-score evaluation, this indicator surfaces opportunities where price relationships are stretched and likely to snap back — making it ideal for building low-risk, high-probability trade setups.
In simple terms:
Cointegrated assets drift apart temporarily, but always come back together over time. This behavior is the foundation of successful pairs trading.
How the Indicator Works
Cointegration Heatmap indicator works across any market supported on TradingView — from stocks and ETFs to cryptocurrencies and forex pairs.
You enter your list of symbols, choose a timeframe, and the indicator updates every bar with live cointegration scores, spread signals, and trade-ready insights.
Indicator Settings:
Symbol list: a customizable list of symbols separated by commas
Returns timeframe: time frame selection for return sampling (Weekly or Monthly)
Max periods: max periods to limit the data to a certain time and to control indicator performance
This indicator accomplishes three major goals in one streamlined package:
Identifies stable long-term relationships (cointegration) between assets, using a heatmap visualization.
Tracks the spread — the difference between actual prices and the predicted linear relationship — between each pair.
Generates trade signals based on Z-score deviations from the mean spread, helping traders know when a pair is statistically overextended and likely to mean revert.
The math:
Returns are calculated using spread tickers to ensure alignment in time and adjust for dividends, splits, and other inconsistencies.
For each unique pair of symbols, we perform a linear regression
Yt=α+βXt+ε
Then we compute the residuals (errors from the regression):
Spreadt=Yt−(α+βXt)
Calculate the standard deviation of the spread over a moving window (default: 100 samples) and finally, define the Cointegration Score:
S=1/Standard Deviation of Residuals
This means, the lower the deviation, the tighter the relationship, so higher scores indicate stronger cointegration.
Always remember that cointegration can break down so monitor the asset over time and over multiple different timeframes before making a decision.
How to use the indicator
The heatmap table:
The indicator displays 2 very important tables, one in the middle and one on the right side. After entering your symbols, the first table to pay attention to is the middle heatmap table.
Any assets with a cointegration value of 25% is something to pay attention to and have a strong and stable relationship. Anything below is weak and not tradable.
Additionally, the 40% level is another important line to cross. Assets that have a cointegration score of over 40% will most likely have an extremely strong relationship.
Think about it this way, the higher the percentage, the tighter and more statistically reliable the relationship is.
The spread table:
After finding a good asset pair using heatmap, locate the same pair in the spread table (right side).
Here’s what you’ll see on the table:
Spread: Current difference between the two symbols based on the regression fit
Mean: Historical average of that spread
Z-score: How far current spread is from the mean in standard deviations
Signal: Trade suggestion: Short, Long, or Neutral
Since you’re expecting mean reversion, the idea is that the spread will return to the average. You want to take a trade when the z-score is either over +2 or below -2 and exit when z-score returns to near 0.
You will usually see the trade suggestion on the spread chart but you can make your own decision based on your risk level.
Keep in mind that the Z-score for each pair refers to how off the first asset is from the mean compared to the second one, so for example if you see STOCKA vs STOCKB with a Z-score of -1.55, we are regressing STOCKB (Y) on STOCKA (X).
In this case, STOCKB is the quoted asset and STOCKA is the base asset.
In this case, this means that STOCKB is much lower than expected relative to STOCKA, so the trade would be a long position on stock B and short position on stock A.
Multi-Timeframe RSI Divergenceweekly RSI divergence indicator. marking are made on chart for bullish and bearish indication on charts. suggestion for improvement are welcomed for refinement.
Improved RSI with Divergence + Gradient + Trend HistogramThis will:
Restrict the y-axis to start at 0
Prevent any accidental -40 scale drops
You can now safely reintroduce the histogram bars without breaking the scale.
Let me know if you want to move the histogram to a separate pane or adjust its bar thickness/gradient.
MACDtechnical analysis. It consists of three components:
MACD Line: Calculated by subtracting the 26-period EMA from the 12-period EMA.
Signal Line: A 9-period EMA of the MACD Line (acts as a trigger).
Histogram: Visualizes the difference between the MACD and Signal lines.
Key interpretations:
Bullish Signal: When the MACD line crosses above the Signal line.
Bearish Signal: When the MACD line crosses below the Signal line.
Divergence: Price and MACD moving opposite directions may indicate trend reversal.
Developed by Gerald Appel in the 1970s, it combines trend and momentum analysis. Traders use it for entries/exits and confirming trends.
Chattes-SwingCount Chattes-SwingCount
// This indicator detects swings using a custom ZigZag algorithm and calculates:
// - Average pip movement per swing
// - Standard deviation of pip movement
// - Average number of candles per swing
// - Standard deviation of candle count
//
// The stats are displayed in a compact box at the top-right corner of the chart.
//
// An alert is triggered when a swing's pip size exceeds 1.5× the standard deviation,
// helping identify unusual volatility or significant market moves.
//
// Inputs allow customization of ZigZag detection parameters and swing sample size.
1m EMA Background ColorEntry Color background indicator where when the 5 ema 1 min timeframe is above the 21 ema 1 min timeframe background is green and when 5 is below the 21 it is red. this can be used for long or short trading
Enhanced Market Structure & Trading SignalsEnhanced Market Structure & Trading Signals
A Smart Support/Resistance Indicator with Buy/Sell Alerts
This indicator identifies key support & resistance levels and generates high-probability buy/sell signals based on price action and candle structure. It helps traders spot potential reversals at critical levels, just like manual analysis but with algorithmic precision.
🔹 Key Features
✅ Clean Support/Resistance Lines – Draws horizontal levels like manual charting
✅ Smart Buy/Sell Signals – Detects reversals at key levels with confirmation
✅ Price Action Filter – Only triggers signals on strong bullish/bearish candles
✅ ATR-Based Proximity Check – Ensures signals occur near valid S/R zones
✅ Customizable Settings – Adjust sensitivity, confirmation bars, and visibility
🔹 How It Works
Support/Resistance Detection – Uses pivot highs/lows to mark key levels
Bullish Signals (Green ▲) – Triggers near support after a strong bullish candle + confirmation
Bearish Signals (Red ▼) – Triggers near resistance after a strong bearish candle + confirmation
🔹 Recommended Settings
Timeframe: 1H or higher (works best on swing trading)
Confirmation Bars: 2-3 (for stricter signals)
Left/Right Bars: 10-20 (adjust based on market volatility)
🔹 How to Trade with This Indicator
Go Long when a green ▲ appears near support
Go Short when a red ▼ appears near resistance
Combine with: Trend analysis, volume confirmation, or RSI for higher accuracy
📌 Note: Works best in trending or ranging markets. Avoid using in choppy/low-liquidity conditions.
First 15-Min Candle High/Low### 📘 Description of the Script
This Pine Script indicator draws **horizontal lines** at the **high and low of the first 15-minute candle after the market opens at 9:30 AM (New York time)**. It is designed for use on **intraday charts** (e.g., 1m, 5m) for U.S. stock markets.
---
### 🔍 What the Script Does
* **Fetches 15-minute candle data** using `request.security()` from the `"15"` timeframe.
* **Detects the first 15-minute candle starting at 9:30 AM** (i.e., the 9:30–9:45 candle).
* **Saves the high and low** of that first 15-minute candle.
* **Plots horizontal lines** at those high/low levels for the rest of the trading day.
* **Resets at the start of each new day**, so the levels are updated fresh each morning.
---
### 🕒 When It Updates
* At exactly 9:45 AM (when the first 15-minute candle closes), it captures the high/low.
* Lines remain plotted for the rest of the day until the script resets on a new day.
---
### 🧠 Why This Is Useful
Traders often watch the **initial 15-minute range** as a key zone for:
* Breakouts or breakdowns
* Trend direction confirmation
* Entry or exit signals
This script helps visualize that range clearly and automatically.
---
Let me know if you want to:
* Extend the line beyond today
* Add alerts for breakouts
* Support different market open times (e.g., futures or forex markets)
MAGICAL 50 LINEExplanation:
Indicator Declaration: The script declares an indicator to overlay on the chart.
Time Calculation: Calculates the start time of the first 5-minute candle, assuming it begins at 9:15 AM.
First Candle Close: It gets the closing price of the first 5-minute candle.
Calculate +50: It calculates the level 50 points above the closing price.
Plot Line: It plots a line at the calculated +50 level in green.
This script will draw a line on your chart at the specified level, providing a visual reference for your analysis. If you have any other requests or modifications, just let me know! 😊
Breakout DailyBreakout - with body - of yesterday's daily high or low.
###################################################################################
Rottura strutturale - con corpo - del massimo o minimo giornaliero di ieri.
Liquidity stop huntThis tool identifies key liquidity zones where stop hunts are likely to occur.
**How it works:**
- Detects swing highs/lows on your selected timeframe.
- Marks levels where "liquidity sweeps" (fakeouts) often happen.
- Plots these zones as dotted lines for visual reference.
**How to use:**
1. Look for price rejections near marked levels.
2. Avoid placing stops too close to obvious liquidity zones.
3. Combine with price action for confirmation.
**Settings:**
- Timeframe: Choose the historical period for analysis (e.g., 1D, 1W).
- Sweep Type: "Wick Only" for precise tails, "Regular" for all breaks.
- Colors/Style: Customize appearance.
Note: Works best in trending markets. Not a standalone strategy — always confirm with additional analysis.
HMA ATR Mean Reversion OscillatorMeasures how far the price deviates from a moving average (initially SMA, now HMA).
Normalizes this deviation using the Average True Range (ATR) to account for volatility.
Scales the result into a 0–100 oscillator, displayed in a separate pane (like RSI).
Identifies overbought (above 70) and oversold (below 30) conditions for potential mean reversion trades.
Added visual cues like green/yellow dots to indicate whether the price is above or below the mean.
Scalping Ichimoku with Optional Choppiness and RSI FilterIchimoku Cloud Buy-Sell Signal Indicator. The Ichimoku Cloud Strategy is a comprehensive trend-following system combining multiple indicators. It uses the Kumo (cloud) to identify support, resistance, and trend direction. Buy signals occur when price breaks above the cloud with bullish confirmation. Sell signals trigger when price breaks below with bearish alignment. Ideal for spotting momentum shifts and sustained trend entries.
Midpoint Line on Last Two Strong CandlesBreaking a mid point of the recent strong candle by its opposite candle can be considered as a trend reversal.
Weekly ManipulationUnderstanding the "Weekly Manipulation" Indicator
The "Weekly Manipulation" indicator is a powerful tool designed to identify false breakouts in the market—moments. Let me explain how it works in simple terms.
What This Indicator Detects
This indicator spots two specific market behaviors that often indicate manipulation:
1. Single-Day Manipulation (Red/Green Labels)
This occurs when price briefly breaks through a significant daily level but fails to maintain the momentum:
Bearish Manipulation (Red): Price pushes above the previous day's high, but then reverses and closes below that high.
Bullish Manipulation (Green): Price drops below the previous day's low), but then reverses and closes above that low.
2. Two-Day Manipulation (Black Labels)
This is a more complex version of the same pattern, but occurring over a 2-day period. These signals can indicate even stronger manipulation attempts and potentially more powerful reversals.
Why This Matters for Your Trading
By identifying these patterns, you can:
- Avoid getting caught in false breakouts
- Find potential entry points after the manipulation is complete
- Understand when market action might not be genuine price discovery
How to Use This Indicator
1. Look for Red Markers: These appear when price has attempted to break higher but failed. This often suggests bearish potential going forward.
2. Look for Green Markers: These appear when price has attempted to break lower but failed. This often suggests bullish potential going forward.
3. Pay Attention to Black Markers: These 2-day patterns can signal stronger reversals and might be worth giving extra weight in your analysis.
The indicator labels these patterns clearly as "Manipulation" right on your chart, giving you an immediate visual cue when these potential setups occur.
Minervini Trend Template (EMA)📄 Description:
This script is inspired by Mark Minervini’s SEPA (Specific Entry Point Analysis) strategy and adapts his famous Trend Template using Exponential Moving Averages (EMAs). It helps traders visually identify technically strong stocks that are in ideal buy conditions based on Minervini's rules.
📈 Strategy Logic:
This script scans for momentum breakouts by filtering stocks with the following characteristics:
✅ Buy Criteria (All Conditions Must Be Met):
Price above 50-day EMA
Price above 150-day EMA
Price above 200-day EMA
50-day EMA above 150-day EMA
150-day EMA above 200-day EMA
200-day EMA trending upward (greater than it was 20 days ago)
Price within 25% of its 52-week high
Price at least 30% above its 52-week low
If all 8 conditions are satisfied, the script triggers a SEPA Setup Signal. This is visually indicated by:
✅ A green background on the chart
✅ A label saying “SEPA Setup” under the bar
🛒 When to Buy:
Wait for the stock to break out above a recent base or consolidation pattern (like a cup-with-handle or flat base) on strong volume.
The ideal entry is within 5% of the breakout point.
Confirm that the SEPA conditions are met on the breakout day.
📉 When to Sell:
Place a stop-loss 5–8% below your entry price.
Exit if the breakout fails and price falls back below the pivot or the 50-day EMA.
Take partial profits after a 20–25% gain, and move your stop-loss up to breakeven or trail it using moving averages like the 21 or 50 EMA.
Exit fully if price closes below the 50-day or 150-day EMA on volume.
🧠 Why EMAs?
EMAs react faster to recent price action than SMAs, helping you catch earlier signals in fast-moving markets. This makes it especially useful for growth and momentum traders following Minervini’s high-performance approach.
📊 How to Use:
Apply the script to any stock chart (daily timeframe recommended).
Look for a green background + SEPA Setup label.
Combine with price/volume analysis, base patterns, and market context to time your entries.
🚨 Optional Alerts:
You can set an alert on the condition minerviniPass == true to notify you when a SEPA-compliant setup appears.
📚 This tool is meant for educational and research purposes. Always validate with your own due diligence and consult your risk plan before making any trades.
Market Structure & Support/ResistanceOverview
This Pine Script indicator, inspired by Richard Wyckoff and Stan Weinstein’s market structure theories, assists traders in navigating market cycles by identifying key phases and support/resistance levels. It’s designed for TradingView, offering a visual and customizable tool for better trading decisions.
Key Features
Market Stages: Detects and colors four stages—accumulation, advancing, distribution, declining—to show the market’s phase.
Support/Resistance: Plots these as areas, not lines, highlighting potential price reaction zones and their weakening with multiple tests.
Moving Averages: Includes 200-day and 50-period MAs for trend analysis and dynamic levels.
Alerts: Notifies on breakouts/breakdowns, with volume filters for confirmation.
Customization: Adjust pivot periods, volume thresholds, and toggle visuals for personalized use.
Benefits
It helps traders decide when to buy, sell, or stay out by understanding market conditions, with alerts for significant moves. The indicator also shows how support can turn into resistance after breaks, a common market behavior.
Contact Information
For questions, reach out to @w_thejazz on X
Ma stratégieAlphaTrader – Sunjoku Strategy
Overview:
AlphaTrader – Sunjoku Strategy is a precision intraday trading tool combining three core processes of the Sunjoku method with advanced institutional logic. Built for scalpers and intraday trend followers, it identifies high-probability entries using Initial Balance breakouts, VWAP bands, order blocks (H1 & H4 only), and volume-driven impulses.
Core Features:
✅ Sunjoku 3-Process Logic:
Process 1: Institutional Impulse Recognition
Process 2: Structure Retest after EMA Shift
Process 3: Reversal from Extreme Deviation Zones (VWAP)
✅ Initial Balance Detection & Breakout Filtering (05:00–06:00 UTC)
✅ VWAP Daily & Weekly Bands with Up to 3 Standard Deviations
✅ Order Blocks (H1 & H4 Only) with Auto Buy/Sell Signal Zones
✅ High-Volume Filter + EMA Flux Alignment
✅ Clean Dashboard for Live Conditions
✅ Visual Entry Points + Alerts
✅ Optimized for M15 precision entries
Best Timeframe:
M15 (Main execution)
H1/H4 (Context – Order Block Zones)
Use Cases:
Prop Firm Challenges
High-precision intraday trading
Institutional momentum capture
Structured trade confirmation via volume and imbalance
Note:
This indicator is built to avoid noise and reduce false signals by aligning volume, VWAP structure, and Initial Balance breakouts. Order Blocks are filtered and visible only on H1 and H4, with smart confirmation logic.