Fixed First Candle Levels by TF with UTCFixed First Candle Levels by TF with UTC
This script draws High and Low levels of the first candle of each day based on a custom timeframe selected by the user (15m, 30m, 1h, 2h, 4h) and adjusted for the UTC offset.
Features:
✅ Automatically detects the first candle of the day for the selected timeframe
✅ Plots horizontal lines from the start of the day to the end of the day
✅ Highlights the actual candle’s range using a translucent background box
✅ Works across all chart timeframes
✅ Ideal for identifying potential support/resistance zones based on early market structure
You can customize:
Target timeframe (independent from current chart TF)
UTC offset
Useful for intraday traders, breakout strategies, and pre-market planning.
Candlestick analysis
Hacim Patlaması Alarmı (3 Bar Ortalaması)//@version=5
indicator("Hacim Patlaması Alarmı (3 Bar Ortalaması)", overlay=false)
hacim = volume
hacimOrtalama = ta.sma(volume, 3)
limit = hacimOrtalama * 1.5
hacimPatladiMi = hacim > limit
plot(hacim, title="Hacim", color=color.new(color.blue, 0), style=plot.style_columns)
plot(hacimOrtalama, title="3 Bar Ortalaması", color=color.gray, linewidth=1)
bgcolor(hacimPatladiMi ? color.new(color.red, 80) : na)
alertcondition(hacimPatladiMi, title="Hacim Patladı", message="⚠ Hacim patlaması tespit edildi!")
Closed CRT Rejection in LON/NY Kill-ZonesThis is a Timed CRT Indicator for lazy markups without lifting a finger.
3 EMA Indicator3 EMA Indicator Description
The 3 EMA Indicator is a customizable TradingView indicator designed to plot three Exponential Moving Averages (EMAs) on a price chart. It helps traders analyze trends, identify potential trading signals, and monitor price momentum through the interaction of three EMAs with user-defined periods.
Features
Three EMAs: Displays three EMAs with default periods of 9, 21, and 50, which can be adjusted via input settings.
Customizable Parameters:
Source: Choose the price data (e.g., close, open, hlc3) for EMA calculations (default: close).
EMA Periods: Set custom lengths for each EMA (minimum 1).
Colors: Assign unique colors to each EMA for clear visualization (default: red, blue, green).
Line Width: Adjust the thickness of EMA lines (default: 2).
Dynamic Label: A label on the last bar displays the configured EMA periods (e.g., "EMA1: 9, EMA2: 21, EMA3: 50") for easy reference.
Overlay: Plots directly on the price chart, making it intuitive to compare EMAs with price action.
Usage
Trend Analysis: Use the relative positions of the EMAs to identify bullish (e.g., shorter EMA above longer EMA) or bearish trends.
Crossover Signals: Monitor EMA crossovers (e.g., 9-period EMA crossing above the 21-period EMA) for potential buy or sell signals.
Customization: Adjust periods, colors, and line width through the indicator’s settings to match your trading strategy.
How to Apply
Open TradingView’s Pine Editor.
Copy and paste the indicator’s Pine Script code.
Add the indicator to your chart.
Customize settings (periods, source, colors, line width) via the indicator’s input panel.
This indicator is ideal for traders seeking a simple yet flexible tool to track price trends and momentum using multiple EMAs.
1H & 2H Candle Panel + Daily Grid v1.2Indicator: "1H & 2H Candle Panel + Daily Grid v1.2"
This powerful indicator combines two key features into one tool:
Daily Grid anchored to the previous day’s close
Multi-Timeframe Candle Panel for comprehensive market analysis
1. Daily Grid Logic
Input:
Grid Distance (Points): Adjustable spacing between grid lines (default: 5.0 pts).
How It Works:
Detects the start of a new trading day using ta.change(time("D")).
Fetches the prior day’s close via request.security().
Draws the following elements at each new session:
Thick Red Line: Previous day’s closing price (key reference level).
8-Point Grid:
4 blue lines above the close (+1x to +4x the grid distance).
4 gold lines below the close (-1x to -4x the grid distance).
Info Label: Displays the exact prior close value.
Automatically clears and redraws all elements daily to avoid clutter.
2. Multi-Timeframe Candle Panel
Timeframes Analyzed:
Current chart TF, 30M, 1H, 2H, 3H, 4H, 6H, 12H, and Daily (1D).
Data Displayed per TF:
Open, Close, High, Low
Price Difference (Close − Open)
Candle Type (Bullish/Bearish)
Time remaining until candle close (hh:mm:ss format)
Visual Output:
A right-aligned table with conditional coloring:
Bullish candles: Green background
Bearish candles: Red background
Current timeframe highlighted in purple.
Optimized Updates:
Uses request.security() for efficient cross-TF data fetching.
Tracks candle closing times via TradingView’s native time_close.
Updates only on the last bar or in real-time (barstate.islast/isrealtime).
3. Confluence Signals
Full Confluence:
Triggers when all timeframes align:
Buy Signal: All candles bullish → Green arrow + alert.
Sell Signal: All candles bearish → Red arrow + alert.
1H Special Confluence:
Activates 30 minutes after the 1H candle opens.
Requires alignment between 1H, 4H, and 6H candles.
Marks entries with price-level arrows (no alerts).
4. Technical Optimizations
Performance:
Dynamically manages graphic objects (no redundant redrawing).
Uses arrays to track grid lines efficiently.
Precision:
Leverages TradingView’s time_close for accurate countdowns.
Formats prices with format.mintick for asset-specific precision.
How to Use
Adjust Grid Distance based on asset volatility.
Monitor the panel for multi-TF trend strength.
Use the daily grid as support/resistance reference.
Confluence signals highlight high-probability setups.
Pro Tip: Combine with volume analysis or RSI for confirmation!
GOLDGoalGO - 2 Min SignalGOLDGoalGO" Indicator for TradingView
Introduction
The "GOLDGoalGO" indicator is designed to assist traders in analyzing short-term price movements of gold (XAUUSD). It provides buy and sell signals every 5 minutes, helping traders identify optimal entry and exit points based on recent price changes.
Concept and Functionality
Primary Goal: To offer clear and timely trading signals by analyzing short-term price trends, specifically tailored for 2-minute intervals.
How It Works: The indicator calculates the change in closing prices compared to the previous bar to generate buy and sell signals. These signals are only active during 2-minute timeframes, ensuring precision in short-term trading.
Signals Provided:
A buy signal (represented by an upward shape) appears when prices show upward momentum.
A sell signal (represented by a downward shape) appears when prices show downward momentum.
Visual Cues: The signals are displayed directly on the chart with intuitive shapes for quick recognition. Additionally, alert notifications are configured to inform you immediately when new signals occur.
How the Indicator Works in Detail
Timeframe Check: It activates only during 2-minute candlestick intervals to ensure signals are relevant for short-term trading.
Price Change Calculation: It compares the current close with the previous close to detect the direction of market movement.
Signal Generation:
If the price is increasing (positive change), a buy signal is generated.
If the price is decreasing (negative change), a sell signal is generated.
Chart Annotations: When a signal occurs, a shape appears on the chart indicating the optimal point for entering a trade.
Automated Alerts: The system sends a Thai-language notification every 2 minutes to alert you of new signals, enabling timely actions even when you're away from the screen.
How to Use
Paste this script into the Pine Editor in TradingView.
Click "Add to Chart" to activate the indicator.
Set up Alert rules:
Choose the alert condition for "Buy Signal" or "Sell Signal".
Select webhook or notification options to receive real-time alerts (for example, to Telegram).
The indicator provides real-time notifications every 2 minutes whenever new signals are generated.
Why Use This Indicator?
Simplicity: Designed for traders who prefer short-term, momentum-based trading strategies.
Timely Alerts: Signals are provided precisely every 2 minutes, helping you capitalize on short-term price movements.
Flexibility: Easily adaptable to other assets by adjusting the script if needed.
GOLDGoalGO"GOLDGoalGO" Indicator for TradingView
Introduction
The "GOLDGoalGO" indicator is designed to assist traders in analyzing short-term price movements of gold (XAUUSD). It provides buy and sell signals every 5 minutes, helping traders identify optimal entry and exit points based on recent price changes.
Concept and Functionality
Primary Goal: To offer clear and timely trading signals by analyzing short-term price trends, specifically tailored for 5-minute intervals.
How It Works: The indicator calculates the change in closing prices compared to the previous bar to generate buy and sell signals. These signals are only active during 5-minute timeframes, ensuring precision in short-term trading.
Signals Provided:
A buy signal (represented by an upward shape) appears when prices show upward momentum.
A sell signal (represented by a downward shape) appears when prices show downward momentum.
Visual Cues: The signals are displayed directly on the chart with intuitive shapes for quick recognition. Additionally, alert notifications are configured to inform you immediately when new signals occur.
How the Indicator Works in Detail
Timeframe Check: It activates only during 5-minute candlestick intervals to ensure signals are relevant for short-term trading.
Price Change Calculation: It compares the current close with the previous close to detect the direction of market movement.
Signal Generation:
If the price is increasing (positive change), a buy signal is generated.
If the price is decreasing (negative change), a sell signal is generated.
Chart Annotations: When a signal occurs, a shape appears on the chart indicating the optimal point for entering a trade.
Automated Alerts: The system sends a Thai-language notification every 5 minutes to alert you of new signals, enabling timely actions even when you're away from the screen.
How to Use
Paste this script into the Pine Editor in TradingView.
Click "Add to Chart" to activate the indicator.
Set up Alert rules:
Choose the alert condition for "Buy Signal" or "Sell Signal".
Select webhook or notification options to receive real-time alerts (for example, to Telegram).
The indicator provides real-time notifications every 5 minutes whenever new signals are generated.
Why Use This Indicator?
Simplicity: Designed for traders who prefer short-term, momentum-based trading strategies.
Timely Alerts: Signals are provided precisely every 5 minutes, helping you capitalize on short-term price movements.
Flexibility: Easily adaptable to other assets by adjusting the script if needed.
Summary
The "GOLDGoalGO" indicator helps traders stay on top of short-term market trends for gold, giving precise buy and sell signals every 5 minutes. With visual cues on the chart and notifications sent automatically in Thai, it ensures you're always informed of potential trading opportunities and can act swiftly to maximize profit.
Reversal IndicatorWhat does this indicator do?
This indicator is designed to help traders spot potential reversal points in the market by combining multiple conditions:
✅ Multi-Timeframe RSI – Checks RSI on a lower timeframe (like 5m) to see if the market is oversold or overbought.
✅ Higher Timeframe SMA Filter – Uses a higher timeframe SMA (like 1h) as a trend filter, so signals only trigger in the direction of the bigger trend.
✅ Candle Pattern Confirmation – Looks for bullish or bearish engulfing candles to confirm price exhaustion before signaling a reversal.
When all these conditions align, the indicator plots a triangle under/above the candle to highlight a possible reversal.
Why is this useful?
Many traders struggle with false RSI signals or candle patterns that fail because they don’t respect the larger trend.
This indicator filters out weak setups by requiring alignment between:
A lower timeframe RSI oversold/overbought condition,
A higher timeframe trend filter (SMA),
And a strong candle reversal pattern.
This multi-layer approach helps avoid chasing every RSI dip and focuses only on high-probability reversal zones.
How does it work?
Bullish reversal signal → appears when RSI on the lower TF is oversold, price is still above the higher TF SMA (trend still intact), AND a bullish engulfing candle forms.
Bearish reversal signal → appears when RSI on the lower TF is overbought, price is below the higher TF SMA, AND a bearish engulfing candle forms.
When all conditions match, the indicator plots a triangle under the candle for bullish signals and above the candle for bearish signals.
How to use it?
Choose your timeframes:
A timeframe for trend filtering (e.g. 1h).
A timeframe for RSI (e.g. 4h).
NOTICE: THE RSI TIMEFRAME SHOULD BE GREATER THEN THE TIMEFRAME FOR THE SMA
Otherwise it will not generate that much signals.
Watch for signals ONLY in the direction of the higher trend.
Use the signals as potential reversal points, not as guaranteed entries. Combine with your own confluence.
Optionally set alerts for bullish or bearish reversal conditions so you never miss a setup.
Customization
✅ Choose your RSI length & overbought/oversold levels.
✅ Select which timeframes you want for SMA & RSI.
✅ Toggle the higher TF SMA display on/off.
✅ Adjust signal appearance (triangles).
Important Notes
⚠️ This is not a standalone trading system. It’s a tool to help spot possible reversal areas. Always confirm with price action, support/resistance, or your own strategy
New York Master Range📈 New York Master Range (5-Min Timeframe)
Description:
This custom TradingView indicator captures the opening range based on the body high and low of the first 3 candles after 10:30 AM (BRT – Brasília Time) on the 5-minute timeframe — a technique often used during the New York market session.
🔍 How it works:
At exactly 10:30 AM (BRT), the indicator starts collecting the highs and lows of candle bodies (not wicks) for the next 3 five-minute candles.
Once the 3 candles are processed, the highest close/open (body high) and lowest close/open (body low) are plotted as static green and red lines on the chart.
These levels can act as key intraday support/resistance zones or range breakout triggers.
Universal Renko Bars by SiddWolfUniversal Renko Bars or UniRenko Bars is an overlay indicator that applies the logic of Renko charting directly onto a standard candlestick chart. It generates a sequence of price-driven bricks, where each new brick is formed only when the price moves a specific amount, regardless of time. This provides a clean, price-action-focused visualization of the market's trend.
WHAT IS UNIVERSAL RENKO BARS?
For years, traders have faced a stark choice: the clean, noise-free world of Renko charts, or the rich, time-based context of Candlesticks. Choosing Renko meant giving up your favorite moving averages, volume profiles, and the fundamental sense of time. Choosing Candlesticks meant enduring the market noise that often clouds true price action.
But what if you didn't have to choose?
Universal Renko Bars is a revolutionary indicator that ends this dilemma. It's not just another charting tool; it's a powerful synthesis that overlays the pure, price-driven logic of Renko bricks directly onto your standard candlestick chart. This hybrid approach gives you the best of both worlds:
❖ The Clarity of Renko: By filtering out the insignificant noise of time, Universal Renko reveals the underlying trend with unparalleled clarity. Up trends are clean successions of green bricks; down trends are clear red bricks. No more guesswork.
❖ The Context of Candlesticks: Because the Renko logic is an overlay, you retain your time axis, your volume data, and full compatibility with every other time-based indicator in your arsenal (RSI, MACD, Moving Averages, etc.).
The true magic, however, lies in its live, Unconfirmed Renko brick. This semi-transparent box is your window into the current bar's real-time struggle. It grows, shrinks, and changes color with every tick, showing you exactly how close the price is to confirming the trend or forcing a reversal. It’s no longer a lagging indicator; it’s a live look at the current battle between buyers and sellers.
Universal Renko Bars unifies these two powerful charting methods, transforming your chart into a more intelligent, noise-free, and predictive analytical canvas.
HOW TO USE
To get the most out of Universal Renko Bars, here are a few tips and a full breakdown of the settings.
Initial Setup for the Best Experience
For the cleanest possible view, it's highly recommended that you hide the body of your standard candlesticks, that shows only the skelton of the candle. This allows the Renko bricks to become the primary focus of your chart.
→ Double click on the candles and uncheck the body checkbox.
Settings Breakdown
The indicator is designed to be powerful yet intuitive. The settings are grouped to make customization easy.
First, What is a "Tick"?
Before we dive in, it's important to understand the concept of a "Tick." In Universal Renko, a Tick is not the same as a market tick. It's a fundamental unit of price movement that you define. For example, if you set the Tick Size to $0.50, then a price move of $1.00 is equal to 2 Ticks. This is the core building block for all Renko bricks. Tick size here is dynamically determined by the settings provided in the indicator.
❖ Calculation Method (The "Tick Size" Engine)
This section determines the monetary value of a single "Tick."
`Calculation Method` : Choose your preferred engine for defining the Tick Size.
`ATR Based` (Default): The Tick Size becomes dynamic, based on market volatility (Average True Range). Bricks will get larger in volatile markets and smaller in quiet ones. Use the `ATR 14 Multiplier` to control the sensitivity.
`Percentage` : The Tick Size is a simple percentage of the current asset price, controlled by the `Percent Size (%)` input.
`Auto` : The "set it and forget it" mode. The script intelligently calculates a Tick Size based on the asset's price. Use the `Auto Sensitivity` slider to make these automatically calculated bricks thicker (value > 1.0) or thinner (value < 1.0).
❖ Parameters (The Core Renko Engine)
This group controls how the bricks are constructed based on the Tick Size.
`Tick Trend` : The number of "Ticks" the price must move in the same direction to print a new continuation brick. A smaller value means bricks form more easily.
`Tick Reversal` : The number of "Ticks" the price must move in the opposite direction to print a new reversal brick. This is typically set higher than `Tick Trend` (e.g., double) to filter out minor pullbacks and market noise.
`Open Offset` : Controls the visual overlap of the bricks. A value of `0` creates gapless bricks that start where the last one ended. A value of `2` (with a `Tick Reversal` of 4) creates the classic 50% overlap look.
❖ Visuals (Controlling What You See)
This is where you tailor the chart to your visual preference.
`Show Confirmed Renko` : Toggles the solid-colored, historical bricks. These are finalized and will never change. They represent the confirmed past trend.
`Show Unconfirmed Renko` : This is the most powerful visual feature. It toggles the live, semi-transparent box that represents the developing brick. It shows you exactly where the price is right now in relation to the levels needed to form the next brick.
`Show Max/Min Levels` : Toggles the horizontal "finish lines" on your chart. The green line is the price target for a bullish brick, and the red line is the target for a bearish brick. These are excellent for spotting breakouts.
`Show Info Label` : Toggles the on-chart label that provides key real-time stats:
🧱 Bricks: The total count of confirmed bricks.
⏳ Live: How many chart bars the current live brick has been forming. These bars forms the Renko bricks that aren't confirmed yet. Live = 0 means the latest renko brick is confirmed.
🌲 Tick Size: The current calculated value of a single Tick.
Hover over the label for a tooltip with live RSI(14), MFI(14), and CCI(20) data for additional confirmation.
TRADING STRATEGIES & IDEAS
Universal Renko Bars isn't just a visual tool; it's a foundation for building robust trading strategies.
Trend Confirmation: The primary use is to instantly identify the trend. A series of green bricks indicates a strong uptrend; a series of red bricks indicates a strong downtrend. Use this to filter out trades that go against the primary momentum.
Reversal Spotting: Pay close attention to the Unconfirmed Brick . When a strong trend is in place and the live brick starts to fight against it—changing color and growing larger—it can be an early warning that a reversal is imminent. Wait for the brick to be confirmed for a higher probability entry.
Breakout Trading: The `Max/Min Levels` are your dynamic breakout zones. A long entry can be considered when the price breaks and closes above the green Max Level, confirming a new bullish brick. A short entry can be taken when price breaks below the red Min Level.
Confluence & Indicator Synergy: This is where Universal Renko truly shines. Overlay a moving average (e.g., 20 EMA). Only take long trades when the green bricks are forming above the EMA. Combine it with RSI or MACD; a bearish reversal brick forming while the RSI shows bearish divergence is a very powerful signal.
A FINAL WORD
Universal Renko Bars was designed to solve a fundamental problem in technical analysis. It brings together the best elements of two powerful methodologies to give you a clearer, more actionable view of the market. By filtering noise while retaining context, it empowers you to make decisions with greater confidence.
Add Universal Renko Bars to your chart today and elevate your analysis. We welcome your feedback and suggestions for future updates!
Follow me to get notified when I publish New Indicator.
~ SiddWolf
Dominance Candle Raja Saien (Detector with Alerts)Dominance Candle Finder with Alerts by Raja Saien
This powerful indicator is designed to detect dominance candles—those strong-bodied candles that often signify momentum and trend strength. Whether you're trading breakouts, trend continuations, or reversals, this tool helps you identify key market moves in real time with optional alerts.
🔍 Features:
Automatic Detection of Dominance Candles: Highlights candles with strong body size, showing decisive market movement.
Customizable Thresholds: Adjust sensitivity according to your strategy or asset volatility.
Built-in Alerts: Get notified the moment a dominance candle forms—no need to stare at charts all day!
Multi-Timeframe Compatibility: Works on any timeframe from 1-minute to daily or higher.
📊 Use Cases:
Entry confirmation on breakouts
Trend strength analysis
Volatility surge detection
Combine with support/resistance or order block zones for powerful setups
Tip: Best used with strong support/resistance levels or price action strategies for confluence
Linear Regression Channels📈 Linear Regression Channels
🌟 Overview
A professional dual linear regression channel indicator designed for comprehensive trend analysis. This powerful tool provides simultaneous short-term and long-term trend perspectives through two independent regression channels with customizable standard deviation bands.
🔧 Core Features
📊 Dual Channel System
Channel 1: 43-period regression analysis for long-term trend identification
Channel 2: 20-period regression analysis for short-term momentum tracking
Independent Configuration: Each channel fully customizable with separate parameters
Real-Time Updates: Dynamic calculations with every new candle
📐 Standard Deviation Bands
Multiple Levels: Configurable deviation bands (1σ, 2σ, 3σ)
Dynamic Support/Resistance: Automatically calculated price levels
Trend Boundaries: Clear visualization of trend strength and direction
Statistical Precision: Mathematically accurate regression calculations
🎨 Customization Options
🎭 Visual Styling
Individual Colors: Separate color schemes for each channel
Line Styles: Choose between Solid, Dashed, or Dotted lines
Line Width: Adjustable thickness (1-5 pixels) for optimal visibility
Extension Options: Project lines into the future for analysis
⚙️ Technical Parameters
Period Length: Fully adjustable lookback periods
Source Selection: Choose from Close, Open, High, Low, or custom sources
Deviation Levels: Customizable standard deviation multipliers
Display Control: Toggle individual channels on/off
📈 Trading Applications
🎯 Trend Analysis
Dual Timeframe Perspective: Simultaneous short and long-term view
Trend Confirmation: When both channels align in direction
Trend Strength: Measured by price position within channels
🔍 Support & Resistance
Dynamic Levels: Standard deviation bands as S/R zones
Channel Boundaries: Natural support and resistance areas
Confluence Trading: Multiple level confirmations
⚡ Entry & Exit Signals
Channel Breakouts: Trend continuation opportunities
Mean Reversion: Trades back to center line
Channel Crossovers: When price moves between timeframes
🚀 Key Benefits
✅ Multi-Timeframe Analysis - Complete market perspective
✅ Mathematical Precision - Least squares regression accuracy
✅ High Customization - Adaptable to any trading style
✅ Clean Interface - Professional chart appearance
✅ Performance Optimized - Smooth real-time operation
✅ Versatile Application - Works on all markets and timeframes
💡 Professional Usage
Combine both channels for confluence signals
Use longer channel for overall trend bias
Trade shorter channel signals within longer trend
Monitor channel width for volatility analysis
Essential tool for traders seeking precise trend analysis and dynamic support/resistance levels.
Exponential-Decay Cumulative Spread (Cycle-Tuned)## Indicator Overview
**Exponential-Decay Cumulative Spread (Cycle-Tuned)** – short title **LambdaCumDelta** – tracks the percentage spread between CEXs BTC spot prices.
By clipping outliers, applying an exponential-decay running sum, and comparing that sum to rolling percentile bands, the script flags potential **cycle bottoms** and **cycle tops** whenever the cumulative spread stays beyond extreme thresholds for three consecutive bars.
---
### Core Logic
1. **Price Spread**
`spread_pct = (cexA – cexB) / cexB × 100`.
2. **Outlier Suppression**
* Calculates the **90-day standard deviation σ** of `spread_pct`.
* Uses a **clip coefficient `k_clip`** (0.5–5.0) to cap the spread at `±k_clip × σ`, damping single-day anomalies.
3. **Exponential-Decay Sum**
* Applies a decay factor **λ** (0.50–0.999):
```
CumΔₜ = spread_clipₜ + λ × CumΔₜ₋₁
```
* Larger λ → longer memory half-life.
4. **Rolling Percentile Bands**
* Uses a **365-bar window** to derive dynamic percentile thresholds.
* Upper / Lower bands are set by **perc\_hi** and **perc\_lo** (e.g., 85 % and 15 %).
5. **Signal Definition**
* **Bullish** (cycle bottom): `CumΔ` above the upper band for **3 straight bars**.
* **Bearish** (cycle top): `CumΔ` below the lower band for **3 straight bars**.
---
### Chart Elements
| Plot | Style | Meaning |
| --------------- | ----------------- | ----------------------------------- |
| **CumΔ** | Teal thick line | Exponential-decay cumulative spread |
| Upper Threshold | Green thin line | Rolling upper percentile |
| Lower Threshold | Red thin line | Rolling lower percentile |
| Background | Faded green / red | Bullish / bearish signal zone |
---
### Key Inputs
| Input | Default | Purpose |
| -------------------- | ------- | ------------------------------- |
| **Decay factor λ** | 0.95 | Memory length of CumΔ |
| **Clip coefficient** | 2.0 | Multiple of σ for outlier cap |
| **Upper percentile** | 85 | Cycle-bottom trigger percentile |
| **Lower percentile** | 15 | Cycle-top trigger percentile |
---
### Practical Tips
1. **Timing bias**
* Green background often precedes mean-reversion of the spread – consider scaling into longs or covering shorts.
* Red background suggests stretched positive spread – consider trimming longs or lightening exposure.
2. **Combine with volume, trend filters (MA, MACD, etc.)** to weed out false extremes.
3. Designed for **daily charts**; ensure both exchange feeds are synchronized.
---
### Alerts
Two built-in `alertcondition`s fire when bullish or bearish criteria are met, enabling push / email / webhook notifications.
---
### Disclaimer
This script is for educational and research purposes only and is **not** financial advice. Test thoroughly and trade at your own risk.
Momentum Candle V2 by Sekolah Trading📌 Momentum Candle V2 by Sekolah Trading – Pair-Based Volatility & Wick Ratio Filter
This script provides a structured and adaptive approach to detecting high-probability momentum candles in intraday markets. It dynamically adjusts pip thresholds and wick filtering conditions based on the selected symbol and timeframe, making it highly practical for real-time trading.
🔍 Concept and Originality
Momentum Candle V2 by Sekolah Trading implements a custom-built methodology combining:
Dynamic Pip Calibration
For each supported instrument (e.g., XAUUSD, USDJPY, GBPUSD, AUDUSD, EURUSD, BTCUSD), the user can define a pip threshold that determines the minimum valid body size for momentum candles. These thresholds are tailored for each pair and timeframe (M5, M15, H1), ensuring the logic adjusts to different volatility profiles.
Wick-to-Body Ratio Filtering
The script filters out candles with large wicks by requiring that total wick length (upper + lower) be no more than 30% of the full candle range. This helps identify decisive candles with minimal rejection.
Directional Validation
Bullish momentum is defined as: Close > Open with a shorter upper wick.
Bearish momentum is: Close < Open with a shorter lower wick.
Real-Time Timing Filter
Alerts are only triggered when the current candle is between 20 and 90 seconds from closing, which reduces noise and encourages confirmation-based entry.
Non-Repainting Logic
All calculations run in real-time with confirmed candles only — no lookahead or future leak.
📊 Visual Output – How to Read the Chart
When the conditions above are met, the script displays triangle markers on the chart:
🔺 Red downward triangle above the candle: valid bearish momentum signal
🔻 Blue upward triangle below the candle: valid bullish momentum signal
These shapes appear on live bars during the final moments of the candle to alert traders to potential confirmed momentum.
🔔 Alert Conditions
Two alert types are provided:
Momentum Bullish: Large bullish candle with small upper wick, during last 20–90s of bar
Momentum Bearish: Large bearish candle with small lower wick, same timing window
Alerts are designed for precision entries at candle close.
🧭 How to Use
Apply the script to a 5m, 15m, or 1h chart.
Configure pip thresholds for your preferred pairs from the input settings.
Watch for triangle markers near the close of each candle:
Blue = potential bullish momentum
Red = potential bearish momentum
Set alerts:
Go to Alerts → Select Momentum Bullish or Momentum Bearish
Frequency: Once Per Bar
Customize message: e.g. “Momentum Bullish on XAUUSD M15”
Combine signals with:
EMA, S/R, or trend filters
Volume/Order Flow
Liquidity zone or breakout context
🛡️ Why This Script Is Closed-Source
This script uses proprietary logic developed by Sekolah Trading, including:
Custom pip calibration engine
Adaptive wick filtering
Real-time entry validation with triangle plots
While the code is protected, the methodology has been explained transparently here in accordance with TradingView publishing rules.
⚠️ Disclaimer
This script is provided for educational and technical analysis purposes only.
It does not guarantee results or provide financial advice. Always verify trades with your own strategy and risk controls.
Author: Sekolah Trading
Version: Momentum Candle V2
Built with Pine Script v6
Profitable Loser Model [MMT]Profitable Loser Model
Overview
The Profitable Loser Model is a powerful PineScript v6 indicator designed to enhance your trading by visualizing key price levels, session open zones, Fibonacci retracements, and premium/discount zones. This overlay indicator provides traders with a customizable toolkit to analyze market structure across any timeframe, making it ideal for intraday and swing trading strategies.
Features
Open Zone Visualization
- Plots a box based on the open and close of the first candle in a user-defined timeframe (default: 5-minute).
- Customizable box color, projection offset, and label size (Tiny, Small, Normal, Large).
- Displays a timeframe label (e.g., "5m Open Zone") for quick reference, toggleable on/off.
Session Open Lines
- Optionally draws horizontal lines at key session opens (8:30 AM, 9:30 AM, 1:30 PM, Midnight, New York time).
- Customize line color, style (Solid, Dashed, Dotted), width, and label size for each session.
- Perfect for identifying critical intraday price levels.
Premium and Discount Zones
- Highlights premium (above midpoint) and discount (below midpoint) zones based on session high/low.
- Toggleable with customizable colors and projection offsets.
- Helps traders spot overbought/oversold areas for potential mean-reversion trades.
Fibonacci Retracement Levels
- Plots user-defined Fibonacci levels (default: 0.23, 0.35, 0.5, 0.62, 0.705, 0.79, 0.886, 1, 1.1).
- Customizable line style, width, color, and labels (showing percentage and/or price).
- Dynamically adjusts based on price movement relative to the open zone.
Take Profit (TP) and Stop Loss (SL) Levels
- Highlights TP (default: 0.23) and SL (default: 1.1) Fibonacci levels with distinct colors.
- Fully customizable to align with your risk-reward strategy.
How It Works
- Session Detection : Resets daily (or per user-defined timeframe) to capture the first candle's open, high, low, and close.
- Open Zone : Draws a box between the open and close, extended forward by the projection offset.
- Session Lines : Plots lines at specified session opens with customizable styles and labels.
- Fibonacci Retracement : Adjusts levels dynamically based on session high/low and price action.
- Premium/Discount Zones : Calculated from the session range midpoint, updated in real-time.
Settings
- Open Zone :
- Timeframe (default: 5m), Calculate Timeframe (default: Daily).
- Toggle label, adjust size, box color, and projection offset.
- Session Open Lines :
- Enable/disable lines for 8:30 AM, 9:30 AM, 1:30 PM, Midnight.
- Customize color, style, width, label size, and vertical offset.
- Premium/Discount Zones :
- Toggle visibility, set colors, and adjust projection offset.
- Fibonacci Retracement :
- Toggle visibility, set custom levels, line style, width, color, and label options.
- Adjust projection offset.
- TP/SL :
- Set TP/SL Fibonacci levels and colors.
Use Cases
- Intraday Trading : Use session open lines and open zones to trade key market hours.
- Swing Trading : Leverage Fibonacci levels for potential reversal or continuation zones.
- Risk Management : Set precise TP/SL levels based on Fibonacci retracements.
- Market Structure : Identify overbought/oversold zones with premium/discount areas.
Notes
- Optimized with `dynamic_requests = true` for efficient real-time data handling.
- Visual elements (boxes, lines, labels) are cleaned up at the start of each new session.
- Session lines use New York time (`America/New_York`) for alignment with major markets.
Support and Resistance Levels with BreaksThis indicator identifies dynamic support and resistance levels using pivot point analysis and provides clear trading signals when these levels are broken with volume confirmation. Enhanced version with improved signal clarity for better trading decisions.
## 🔧 Key Features
### Support & Resistance Detection
- Automatically identifies key pivot high and low levels
- Draws clear visual lines (red for resistance, blue for support)
- Configurable sensitivity with left/right bar settings
### Enhanced Trading Signals
- **BUY** signals when resistance is broken with volume confirmation
- **SELL** signals when support is broken with volume confirmation
- **Bull Wick** alerts for potential reversals at resistance
- **Bear Wick** alerts for potential reversals at support
### Volume Confirmation
- Built-in volume oscillator using 5 and 10-period EMAs
- Filters out low-volume false breakouts
- Adjustable volume threshold (default: 20%)
### Complete Alert System
- Support Broken alerts
- Resistance Broken alerts
- Bull Wick reversal alerts
- Bear Wick reversal alerts
## ⚙️ Settings
- **Show Breaks**: Toggle signal display
- **Left Bars**: Pivot detection lookback (default: 15)
- **Right Bars**: Pivot detection lookforward (default: 15)
- **Volume Threshold**: Minimum volume increase for valid signals (default: 20%)
## 📈 Best For
- Swing trading strategies
- Breakout confirmation
- Support/resistance trading
- Volume-based entry signals
## 🔍 How It Works
1. Identifies pivot highs/lows using configurable periods
2. Calculates volume oscillator for confirmation
3. Generates BUY signals on resistance breaks with volume
4. Generates SELL signals on support breaks with volume
5. Detects wick patterns for potential reversals
## 📋 Updates in This Version
- Enhanced BUY/SELL signal clarity (replaced generic "B" labels)
- Added Bull Wick and Bear Wick alert conditions
- Updated to Pine Script v6 compatibility
- Improved signal filtering and accuracy
## ⚠️ Disclaimer
This indicator is for educational and informational purposes only. Always conduct your own analysis and risk management before making trading decisions. Past performance does not guarantee future results.
---
**Original Script**: "Support and Resistance Levels with Breaks" by LuxAlgo
**License**: CC BY-NC-SA 4.0
**Enhanced by**: profitgang
**Version**: Pine Script v6
Fair Value Gap Profiles [AlgoAlpha]🟠 OVERVIEW
This script draws and manages Fair Value Gap (FVG) zones by detecting unfilled gaps in price action and then augmenting them with intra-gap volume profiles from a lower timeframe. It is designed to help traders find potential areas where price may return to fill liquidity voids, and to provide extra detail about volume distribution inside each gap to assess strength and likely mitigation. The script automatically tracks each gap, updates its state over time, and can show which gaps are still unfilled or have been mitigated.
🟠 CONCEPTS
A Fair Value Gap is a zone between candles where no trades occurred, often seen as an inefficiency that price later revisits. The script checks each bar to see if a bullish (low above 2-bars-ago high) or bearish (high below 2-bars-ago low) gap has formed, and measures whether the gap’s size exceeds a threshold defined by a volatility-adjusted multiplier of past gap widths (to only detect significantly large gaps). Once a qualified gap is found, it gets recorded and visualized with a box that can stretch forward in time until filled. To add more context, a mini volume profile is built from a lower timeframe’s price and volume data, showing how volume is distributed inside the gap. The lowest-volume subzone is also highlighted using a sliding window scan method to visualise the true gap (area with least trading activity)
🟠 FEATURES
Visual gap boxes that appear automatically when bullish or bearish fair value gaps are detected on the chart.
Color-coded zones showing bullish gaps in one color and bearish gaps in another so you can easily see which side the gap favors.
Volume profile histograms plotted inside each gap using data from a lower timeframe, helping you see where volume concentrated inside the gap area.
Highlight of the lowest-volume subzone within each gap so you can spot areas price may target when filling the gap.
Dynamic extension of the gap boxes across the chart until price comes back and fills them, marking them as mitigated.
Customizable colors and transparency settings for gap boxes, profiles, and low-volume highlights to match your chart style.
Alerts that notify you when a new gap is created or when price fills an existing gap.
🟠 USAGE
This indicator helps you find and track unfilled price gaps that often act as magnets for price to revisit. You can use it to spot areas where liquidity may rest and plan entries or exits around these zones.
The colored gap boxes show you exactly where a fair value gap starts and ends, so you can anticipate potential pullbacks or continuations when price approaches them.
The intra-gap volume profile lets you gauge whether the gap was created on strong or thin participation, which can help judge how likely it is to be filled. The highlighted lowest-volume subzone shows where price might accelerate once inside the gap.
Traders often look for entries when price returns to a gap, aiming for a reaction or reversal in that area. You can also combine the mitigation alerts with your trade management to track when gaps have been closed and adjust your bias accordingly. Overall, the tool gives a clear visual reference for imbalance zones that can help structure trades around supply and demand dynamics.
Pullback Pro Dow Strategy v7 (ADX Filter)
### **Strategy Description (For TradingView)**
#### **Title:** Pullback Pro: Dow Theory & ADX Strategy
---
#### **1. Summary**
This strategy is designed to identify and trade pullbacks within an established trend, based on the core principles of Dow Theory. It uses market structure (pivot highs and lows) to determine the trend direction and an Exponential Moving Average (EMA) to pinpoint pullback entry opportunities.
To enhance trade quality and avoid ranging markets, an ADX (Average Directional Index) filter is integrated to ensure that entries are only taken when the trend has sufficient momentum.
---
#### **2. Core Logic: How It Works**
The strategy's logic is broken down into three main steps:
**Step 1: Trend Determination (Dow Theory)**
* The primary trend is identified by analyzing recent pivot points.
* An **Uptrend** is confirmed when the script detects a pattern of higher highs and higher lows (HH/HL).
* A **Downtrend** is confirmed by a pattern of lower highs and lower lows (LH/LL).
* If neither pattern is present, the strategy considers the market to be in a range and will not seek trades.
**Step 2: Entry Signal (Pullback to EMA)**
* Once a clear trend is established, the strategy waits for a price correction.
* **Long Entry:** In a confirmed uptrend, a long position is initiated when the price pulls back and crosses *under* the specified EMA.
* **Short Entry:** In a confirmed downtrend, a short position is initiated when the price rallies and crosses *over* the EMA.
**Step 3: Confirmation & Risk Management**
* **ADX Filter:** To ensure the trend is strong enough to trade, an entry signal is only validated if the ADX value is above a user-defined threshold (e.g., 25). This helps filter out weak signals during choppy or consolidating markets.
* **Stop Loss:** The initial Stop Loss is automatically and logically placed at the last market structure point:
* For long trades, it's placed at the `lastPivotLow`.
* For short trades, it's placed at the `lastPivotHigh`.
* **Take Profit:** Two Take Profit levels are calculated based on user-defined Risk-to-Reward (R:R) ratios. The strategy allows for partial profit-taking at the first target (TP1), moving the remainder of the position to the second target (TP2).
---
#### **3. Input Settings Explained**
**① Dow Theory Settings**
* **Pivot Lookback Period:** Determines the sensitivity for detecting pivot highs and lows. A smaller number makes it more sensitive to recent price swings; a larger number focuses on more significant, longer-term pivots.
**② Entry Logic (Pullback)**
* **Pullback EMA Length:** Sets the period for the Exponential Moving Average used to identify pullback entries.
**③ Risk & Exit Management**
* **Take Profit 1 R:R:** Sets the Risk-to-Reward ratio for the first take-profit target.
* **Take Profit 1 (%):** The percentage of the position to be closed when TP1 is hit.
* **Take Profit 2 R:R:** Sets the Risk-to-Reward ratio for the final take-profit target.
**④ Filters**
* **Use ADX Trend Filter:** A master switch to enable or disable the ADX filter.
* **ADX Length:** The lookback period for the ADX calculation.
* **ADX Threshold:** The minimum ADX value required to confirm a trade signal. Trades will only be placed if the ADX is above this level.
---
#### **4. Best Practices & Recommendations**
* This is a trend-following system. It is designed to perform best in markets that exhibit clear, sustained trending behavior.
* It may underperform in choppy, sideways, or strongly ranging markets. The ADX filter is designed to help mitigate this, but no filter is perfect.
* **Crucially, you must backtest this strategy thoroughly** on your preferred financial instrument and timeframe before considering any live application.
* Experiment with the `Pivot Lookback Period`, `Pullback EMA Length`, and `ADX Threshold` to optimize performance for a specific market's characteristics.
---
#### **DISCLAIMER**
This script is provided for educational and informational purposes only. It does not constitute financial advice. All trading involves a high level of risk, and past performance is not indicative of future results. You are solely responsible for your own trading decisions. The author assumes no liability for any financial losses you may incur from using this strategy. Always conduct your own research and due diligence.
Institutional Sessions Overlay (Asia/London/NY)Institutional Sessions Overlay is a professional TradingView indicator that visually highlights the main trading sessions (Asia, London, and New York) directly on your chart.
Customizable: Easily adjust session start and end times (including minutes) for each market.
Timezone Alignment: Shift session boxes using the timezone offset parameter so sessions match your chart’s timezone exactly.
Clear Visuals: Colored boxes and optional labels display session opens and closes for fast institutional market structure reference.
Toggle Labels: Show or hide session open/close labels with a single click for a clean or detailed look.
Intuitive UI: User-friendly grouped settings for efficient configuration.
This tool is designed for day traders, institutional traders, and anyone who wants to instantly recognize global session timing and ranges for SMC, ICT, and other session-based strategies.
How to use:
Set your chart to your local timezone.
Use the "Session timezone offset" setting if session boxes do not match actual session opens on your chart.
Adjust the hours and minutes for each session as needed.
Enable or disable labels in the “Display” settings group.
Tip: Use the overlay to spot session highs and lows, volatility windows, and institutional liquidity sweeps.
Enhanced Neowave Wave 1 Finder with ZigZagThis script is an advanced technical analysis indicator for the TradingView platform, written in Pine Script version 5. Its primary goal is to identify potential Elliott Wave "Wave 1" patterns, enhanced with principles from Neowave theory and a custom ZigZag indicator for more accurate pivot detection. The script is designed to be overlaid on the main price chart.
Core Functionality: Blending ZigZag and Neowave
The indicator's methodology is a two-part process. First, it identifies significant price swings using a robust ZigZag indicator. Then, it analyzes these swings based on a set of rules derived from Neowave and classic technical analysis to validate them as potential Wave 1 patterns.
Part 1: ZigZag Integration
The first major component is a comprehensive ZigZag indicator that forms the foundation for all subsequent analysis.
Pivot Detection: The pivots() function is the engine of the ZigZag. It scans the historical price data for significant high and low points (pivots) over a user-defined Length.
Segment Drawing: Once pivots are identified, the script draws lines connecting them, creating the classic ZigZag pattern on the chart.
Extended Direction & Ratios: This is an enhanced feature. The script doesn't just identify highs and lows; it categorizes them as:
Higher High (HH) or Lower High (LH)
Lower Low (LL) or Higher Low (HL)
This classification is crucial for understanding the market structure. It also calculates the price ratio of the most recent ZigZag leg relative to the previous one, which is used later for pattern validation.
Dynamic Updates: The ZigZag is not static. On each new bar, it can update its most recent pivot point if a new, more extreme price (a higher high or a lower low) is printed before the direction officially changes. This ensures the ZigZag is always reflecting the most current and significant price action.
Part 2: Neowave Wave 1 Finder
With the market structure defined by the ZigZag, the second part of the script applies a rigorous set of rules to identify potential Wave 1 patterns. A Wave 1 is the initial move of a new trend in Elliott Wave theory.
Key Validation Criteria
For a price move between two ZigZag pivots to be considered a valid Wave 1, it must pass a series of checks:
Significance: The move must have a minimum percentage change (Minimum Wave Length) and last for a minimum number of bars, filtering out insignificant noise.
Volume Confirmation: A genuine impulse wave is typically supported by increasing volume. The script checks if the volume during the potential Wave 1 is significantly higher than the recent average (Volume Increase Threshold).
Momentum Alignment: The direction of the wave must be confirmed by momentum indicators.
For a bullish (upward) Wave 1, the Relative Strength Index (RSI) must be in a bullish regime (above 50) and the MACD line must be above its signal line.
For a bearish (downward) Wave 1, the RSI must be below 50 and the MACD line must be below its signal line.
Structural Analysis (Impulse vs. Diagonal): The script attempts to differentiate between two types of Wave 1:
Impulse Wave: A strong, clean, and direct move.
Diagonal Wave: A more complex, overlapping, and often wedge-shaped pattern. This is identified by analyzing the time and price complexity of the move, along with the ZigZag leg ratios.
Wave 2 Retracement Check: A critical Neowave rule is that a valid Wave 1 must be followed by a valid Wave 2 retracement. The script looks at the next ZigZag leg to ensure it doesn't retrace more than 100% of the potential Wave 1. It also uses the ZigZag ratios to confirm the retracement falls within typical Fibonacci levels (e.g., 38.2% to 78.6%).
Display and User Interface
The script provides a rich visual experience to aid the trader in their analysis.
Wave Labels and Boxes: When a valid Wave 1 is detected, it is highlighted with a colored line (green for bullish, red for bearish) and a shaded background box. A label clearly marks it as "Wave 1 IMPULSE" or "Wave 1 DIAGONAL".
Fibonacci Retracement Levels: Upon detection of a Wave 1, the script automatically draws key Fibonacci retracement levels (38.2%, 50%, 61.8%, 78.6%). These levels are potential targets for the end of the subsequent Wave 2, offering potential entry points for a Wave 3 trade.
Information Labels: Additional labels provide at-a-glance confirmation of the conditions, showing whether volume and momentum criteria were met.
Customizable Inputs: Users have extensive control over the indicator's parameters, including the ZigZag length, volume thresholds, RSI levels, and the colors of all visual elements.
Alerts: The indicator can be configured to generate an alert whenever a new bullish or bearish Wave 1 pattern is confirmed, allowing traders to be notified of potential opportunities in real-time.
NY Open Breakout [ATR-5000]# **New York Open Breakout Indicator **
## **📌 Overview**
This **Pine Script** indicator identifies high-probability breakout opportunities at the **New York market open (13:30 UTC)** based on **volatility filters** using **customizable ATR periods and thresholds**.
### **🔹 Key Features**
✅ **Fully Customizable ATR Periods** (2 to **5000** bars)
✅ **Adjustable Thresholds** (0.01% to 5.00%)
✅ **Opening Range (OR) Filter** (0.01% to 5.00%)
✅ **Clean Visuals** – Only highlights the **13:30 UTC candle** when conditions are met
✅ **Real-Time Info Panel** – Displays current ATR & threshold settings
✅ **Automatic Daily Reset** – Fresh signals every trading day
---
## **📊 How It Works**
### **1️⃣ Volatility Check (13:25 UTC)**
- Calculates **two ATR values** (user-defined periods)
- Compares them against **custom % thresholds**
- Only proceeds if **both ATRs exceed** their required volatility levels
### **2️⃣ Opening Range Confirmation (13:30 UTC)**
- Measures the **high-low range** of the 13:30 candle
- Validates if the range meets the **minimum % threshold**
- If all conditions pass → **Highlights the candle** in your chosen color
### **3️⃣ Visual Feedback**
- **🟣 Colored Candle** → Valid breakout signal
- **📊 Info Table** → Shows current ATR settings & thresholds
---
## **⚙️ Customization Options**
| **Setting** | **Default** | **Adjustable Range** |
|---------------------------|------------|----------------------|
| **First ATR Period** | 14 | **2–5000** bars |
| **Second ATR Period** | 161 | **2–5000** bars |
| **First ATR Threshold** | 0.42% | **0.01%–5.00%** |
| **Second ATR Threshold** | 0.40% | **0.01%–5.00%** |
| **OR Range Threshold** | 0.42% | **0.01%–5.00%** |
| **Candle Color** | Purple | **Any color** |
---
## **📈 Best Use Cases**
✔ **Forex (EURUSD, GBPUSD)** – Captures NY session momentum
✔ **Indices (SPX, NASDAQ)** – Works well with opening volatility
✔ **Commodities (Gold, Oil)** – Filters out low-energy days
---
## **🔧 How to Adjust Settings**
1. **Click the gear icon (⚙️)** on your TradingView chart
2. **Modify ATR periods & thresholds** as needed
3. **Change the candle color** for better visibility
---
## **🚀 Why This Indicator?**
- **No repainting** – Signals lock in after candle close
- **No clutter** – Only marks valid 13:30 candles
- **Adaptable** – Works on **any market & timeframe**
- **Fully automated** – No manual adjustments needed
---
### **📥 Apply & Start Trading!**
Simply **load the script** on TradingView and customize it to fit your strategy! 🚀