Multi-Mode MACD Signals v2Multi-Mode MACD Signals v2
Signal Types Explained ⚙️
You can now choose your preferred signal from a dropdown menu in the indicator's settings:
Pullback (Default): The original, high-probability strategy. It identifies "buy the dip" and "sell the rally" opportunities within an established trend.
Buy: Triggers on a bullish MACD/Signal line cross above the zero line.
Sell: Triggers on a bearish MACD/Signal line cross below the zero line.
Standard Crossover: The most common MACD signal. It's a pure momentum signal that triggers whenever the MACD line crosses the signal line, regardless of the trend.
Buy: MACD line crosses above the Signal line.
Sell: MACD line crosses below the Signal line.
Zero Line Cross: A trend-change signal. It identifies when the overall momentum shifts from bullish to bearish or vice-versa.
Buy: MACD line crosses above the Zero line.
Sell: MACD line crosses below the Zero line.
How Signals Are Displayed (Real-time vs. Confirmed)
This indicator addresses your request to have signals "display as it occurs" automatically. Here is how it works:
Real-time Alert (As it Occurs): On a live, developing candle, a "BUY" or "SELL" label may appear the instant the MACD conditions are met. This gives you the earliest possible warning.
Signal Repainting: Because the price is still moving within the live candle, the signal may appear and later disappear if the conditions are no longer met by the time the candle closes. This is known as "repainting".
Confirmed Signal: Once the candle closes, the signal is locked in and will never change. This is the confirmed, non-repainting signal.
To create alerts based on these signals, right-click a label on the chart, select "Add alert on Multi-Mode MACD Signals," and choose "Once Per Bar Close" for a confirmed signal or "Once Per Bar" for an earlier, real-time alert.
指標和策略
Pivot Channel LevelsPivot Channel Levels
Indicator Description
“Pivot Channel Levels” is an advanced technical analysis tool that identifies key price pivots (highs and lows) and creates dynamic support and resistance levels based on the wicks of candles at these points (or bodies if wicks are minimal). The indicator analyzes the volume at the time of a pivot’s formation, displaying its value and percentage change relative to the volume’s simple moving average (SMA).
It does not generate buy/sell signals but provides a clear visualization of market structure, helping traders identify potential price reaction zones and assess the strength of market movements.
Why Are Wicks Important?
Candle wicks at price pivots indicate significant market reactions in key areas. Depending on the context, they may signal rejection, testing, or absorption of a support or resistance level. Long wicks often appear where large players are active, and the marked zones are frequently retested. The indicator allows for quick identification and observation of their impact on future price action.
Why Use It?
- Precise Support and Resistance Levels: The indicator draws price channels based on candle wicks at pivots (or bodies if wicks are absent), enabling better identification of zones where price may react.
- Volume Analysis: It shows how the volume at a pivot differs from the average, indicating potential activity by large players or key market moments.
- Visual Clarity: Colored lines, channel fills, and clear labels facilitate quick chart analysis, even on short timeframes.
- Flexibility: Adjustable pivot length, volume average, and label colors allow customization to various trading strategies.
How It Works
- Pivot Detection: Automatically identifies local highs and lows based on the “Pivot Length” parameter (default: 20 candles). This means a pivot appears on the chart with a 20-candle delay. Reducing this value allows faster pivot detection (after fewer candles), increasing their number but potentially generating more noise.
- Channel Creation: Draws support and resistance levels based on the wicks of candles at pivot points (or bodies if wicks are minimal) with a delay to confirm zones. A pivot channel is drawn until the next pivot is identified, but if not previously broken, it remains valid as active support or resistance.
- Volume Analysis: Displays the volume at the pivot’s formation and its percentage change relative to the volume’s SMA.
- Visualization: Pivot and channel levels are shown as lines with fills, and labels display volume and its deviation from the average.
Trading Applications
- Swing Trading: Use pivot levels and channels to identify price reversal points or consolidation zones.
- Scalping: Monitor price reactions to channels on short timeframes, especially with high volume.
- Faster Pivot Identification: Switch to a lower timeframe (e.g., from H1 to M15) to identify pivots more quickly, allowing earlier reactions to price changes.
- Market Context Analysis: High volume at pivots may indicate significant levels likely to be retested.
- Combining with Other Tools: The indicator pairs well with Fibonacci retracement, supply/demand zones, or oscillators like RSI.
Settings and Customization
- Pivot Length: Determines how many candles back and forward are analyzed to detect pivots (default: 20). A smaller value increases sensitivity, a larger one enhances stability.
- Volume Average: Length of the SMA for volume (default: 20). Adjust to better reflect market characteristics.
- Label Colors: Choose colors for bullish and bearish pivot labels to match your chart style.
Usage Examples
- Identifying Key Zones: If the price approaches a pivot level with high volume (e.g., +50% relative to SMA), it may signal strong support or resistance.
- Breakout Confirmation: A channel breakout with high volume can indicate trend continuation.
- Price Reaction Analysis: Long wicks at pivots with high volume may signal level rejection by large players.
Notes for Users
- The indicator performs best on highly liquid markets (e.g., Forex, indices, cryptocurrencies).
- On short timeframes (e.g., M1, M5), it may generate more noise—adjust “Pivot Length” to suit your needs.
- Consider combining with other indicators to confirm signals derived from pivot and volume analysis.
BTST Top Gainer ScannerBTST Stock identifier- BETA
scanner configuration based on the validated BTST checklist. This scans for stocks likely to gain 5-10% intraday tomorrow when bought at today's close:
Execution Tips:
Run scanner at 3:20 PM IST daily
Filter stocks with:
FII/DII net buying (check moneycontrol)
Pre-market futures premium > 0.4%
No pending corporate actions
Position sizing formula: Qty = (1% Account Risk) / (1.5 * ta.atr(14))
Cross-verify with FII/DII activity (moneycontrol.com) - stocks with FII net buys have 23% higher success rate.
Pivot Points Standard📄 Indicator Overview
This indicator is an advanced trend-following tool designed to generate entry signals based on EMA 234 and SMA 200, while also providing dynamic ATR-based stop-loss (SL) and take-profit (TP) levels.
Buy (Long) Signal:
Triggered when the price is above both the EMA 234 and SMA 200.
Sell (Short) Signal:
Triggered when the price is below both the EMA 234 and SMA 200.
For each signal, the indicator automatically displays:
✅ Entry price,
✅ Stop-loss (SL) level,
✅ Take-profit (TP) level,
✅ Risk amount,
✅ Reward amount,
✅ Risk/Reward (R/R) ratio.
All past signals and their corresponding entry, SL, and TP levels remain visible on the chart, allowing you to easily review historical trades. Thanks to ATR-based dynamic calculations, stop-loss and take-profit levels adjust to market volatility, providing a flexible and adaptive risk management approach.
⚙️ Features
Trend signals based on EMA 234 and SMA 200
Dynamic stop-loss and take-profit levels calculated with ATR
Persistent historical signal tracking (labels remain on the chart)
Automatic risk/reward calculation and display
Clean, user-friendly design for easy interpretation
💬 Usage Tips
When entering a position, consider the displayed risk and reward values for proper risk management. Since stop-loss and take-profit levels adjust dynamically to volatility, manual adjustment is not necessary.
⚠️ Disclaimer
This indicator is not financial advice. It is intended for educational and informational purposes only to support your personal trading analysis and strategy.
✅ If you'd like, I can also prepare a shorter summary version or add a Turkish + English bilingual version side by side. Just tell me! 🚀
VSA-Stopping VolumeVSA Stopping Volume Indicator
Stopping Volume occurs when candles show decreasing body sizes (narrow spreads) while volume steadily increases.
Example chart:
As you see:
3 consecutive candles in same direction (all green OR all red)
Body sizes (spreads) decreasing progressively: Candle 1 > Candle 2 > Candle 3
Volume increasing progressively: Volume 1 < Volume 2 < Volume 3
This pattern indicates price absorption - increased buying/selling pressure but declining price movement, often signaling exhaustion and potential reversal.
Indicator Features
This indicator detects Stopping Volume candlestick clusters with two signal types:
🔹 BUY/SELL Signals: Generated when pattern occurs at support/resistance zones
🔹 Directional Alerts (▲-green, ▼-red): Generated when pattern occurs outside key levels
Trading Guidelines:
⚠️ Auto-drawn S/R zones are reference only - manual level plotting recommended for accuracy
📊 Best for scalping: M5, M10, M15 timeframes
🛡️ Stop Loss: Place beyond the S/R zone you're trading
🎯 Take Profit: Based on your risk management
Key Concept: Volume expansion + price contraction = potential reversal, especially at SnR levels.
Perfect for scalpers looking to catch reversals at critical zones!
Time Frame Color ClassifierTime Frame Colour Classifier
A professional Pine Script indicator that provides instant visual identification of trading sessions through intelligent colour-coded backgrounds.
Key Features
📅 Daily Session Colours
- Monday: Green | Tuesday: Blue | Wednesday: Yellow | Thursday: Red | Friday: Purple
📊 Weekly Classification
- Week 1-5 : Colour-coded by week of the month using the same colour scheme
## How It Works
Intraday Charts (1min-4H) : Shows daily colours - every candle on Monday displays green background, Tuesday shows blue, etc.
Daily/Weekly Charts : Switches to weekly colours - all days in Week 1 show green, Week 2 shows blue, etc.
Professional Applications
✅ Multi-Timeframe Analysis : Seamlessly switch between timeframes whilst maintaining visual context
✅ Session Recognition : Instantly identify which trading day you're analysing
✅ Pattern Analysis : Spot recurring patterns on specific days of the week
✅ Strategy Development : Incorporate temporal factors into trading strategies
✅ Performance Attribution : Correlate results with specific trading sessions
Customisation Options
- Toggle daily/weekly colours on/off
- Fully customisable colour schemes
- Adjustable background transparency
- Optional day labels
Technical Details
- Pine Script v5for optimal performance
- Automatic timeframe detection - no manual configuration required
- Minimal resource usage - won't slow down your charts
- Works on all chart types and timeframes
Perfect For
- Day traders switching between multiple timeframes
- Swing traders analysing weekly patterns
- Algorithmic strategy development
- Multi-timeframe market analysis
- Trading education and research
---
Developed by @wyckoffnawaf
Transform your chart analysis with visual timeframe clarity
Strict S&D Zones with Real BoS (Wick Breaks)Marking supply and demand zones for you before a 3 candle push. Accurate for supply and demand zones
Fibonacci Retracement levels Automatically D/W/MIndicator Description: Fibonacci Retracement levels Automatically
Fibonacci retracement levels based on the day, week, month High Low range and Fibonacci retracement levels draws automatically .This Pine Script indicator is designed to plot Fibonacci retracement levels based on the high and low prices of a user-selected timeframe (Daily, Weekly, or Monthly). It identifies bullish or bearish candles in the chosen timeframe, draws key price levels, and overlays Fibonacci retracement lines and semi-transparent colored boxes to highlight potential support and resistance zones. The indicator dynamically updates with each new period and extends lines, labels, and boxes to the current bar for real-time visualization. Key Features
1. Timeframe Selection: Users can choose the timeframe for analysis: Daily, Weekly, or Monthly via an input dropdown. The indicator retrieves the open, high, low, and close prices for the selected timeframe using `request.security`.
2. High and Low Tracking : Tracks the highest high and lowest low within the selected timeframe. Stores these values and their corresponding bar indices in arrays (`whigh`, `wlow`, `whighIdx`,`wlowIdx`). Limits the array size to the most recent period to optimize performance.
3. Bullish and Bearish Candle Detection : Identifies whether the previous period’s candle is bullish (`close > open`) or bearish (`close < open`). Uses this to determine the direction for Fibonacci retracement calculations. Bullish candle: Fibonacci levels are drawn from low to high
Bearish candle: Fibonacci levels are drawn from high to low
4. Fibonacci Retracement Levels : Plots Fibonacci levels at 0.236, 0.382, 0.5, 0.618, and 0.786 between the high and low of the period. For bullish candles, levels are calculated from the low (support) to the high (resistance). For bearish candles, levels are calculated from the high (resistance) to the low (support). Each Fibonacci level is drawn as a horizontal line with a unique color:
- 0.236: Blue
- 0.382: Purple
- 0.5: Yellow
- 0.618: Teal
- 0.786: Fuchsia
5. Visual Elements: - High/Low Lines and Labels: Draws a red line and label for the previous period’s high. Draws a green line and label for the previous period’s low. Fibonacci Lines and Labels: Each Fibonacci level has a horizontal line and a label displaying the ratio.
Colored Boxes: Semi-transparent boxes are drawn between consecutive Fibonacci levels (including high and low) to highlight zones.
6. Dynamic Updates:
- At the start of a new period (e.g., new week for Weekly timeframe), the indicator:
- Clears previous Fibonacci lines, labels, and boxes.
- Recalculates the high and low for the new period.
- Redraws lines, labels, and boxes based on the new data.
- Extends all lines, labels, and boxes to the current bar index for real-time tracking.
7. Performance Optimization:
- Deletes old lines, labels, and boxes to prevent clutter.
- Limits the storage of highs and lows to the most recent period.
How It Works
1. Initialization: Defines variables for tracking bullish/bearish candles, lines, labels, and arrays for Fibonacci levels and boxes. Sets up color arrays for Fibonacci lines and boxes with distinct, semi-transparent colors.
2. Data Collection: Fetches the previous period’s OHLC (open, high, low, close) using `request.security`. Detects new periods (e.g., new week or month) using `ta.change(time(tf))`.
3. Fibonacci Calculation: On a new period, stores the high and low prices and their bar indices.
- Identifies the maximum high and minimum low from the stored data. - Calculates Fibonacci levels based on the range (`maxHigh - minLow`) and the direction (bullish or bearish).
4. Drawing:
- Draws high/low lines and labels at the identified price levels. Plots Fibonacci retracement lines and labels for each ratio. Creates semi-transparent boxes between Fibonacci levels to visually distinguish zones.
5. Updates:
- Extends all lines, labels, and boxes to the current bar index when a new period is detected. Clears old Fibonacci elements to avoid overlap and ensure clarity.
Usage
- Purpose: This indicator is useful for traders who use Fibonacci retracement levels to identify potential support and resistance zones in financial markets.
- Application:
- Select the desired timeframe (Daily, Weekly, Monthly) via the input settings.
- The indicator automatically plots the previous period’s high/low and Fibonacci levels on the chart.
- Use the labeled Fibonacci levels and colored boxes to identify key price zones for trading decisions.
- Customization:
- Modify the `timeframe` input to switch between Daily, Weekly, or Monthly analysis.
- Adjust the `fibLineColors` and `fibFillColors` arrays to change the visual appearance of lines and boxes.
- The indicator is designed for use on TradingView with Pine Script.
- The maximum array size for highs/lows is limited to 1 period in this version (can be adjusted by modifying the `array.shift` logic).
- The indicator dynamically updates with each new period, ensuring real-time relevance.
This indicator make educational purpose use only
MA Band Zones with AlertsThis is a simple script with alerts.
Its a tool, helps traders, who works on price average range, to identify zones away from Moving average + and - side.
it will work on sma, ema, wma.
custom TF
custom source
alert 5 alert variation to choose from.
there is small glitch, kindly uncheck both the background boxes in in the input setting. it will removed in the next version
KZ TRADING _ BOT RSI,STOCH, MO HINH NENBot trade demo for m15 . it suitable for XAU, U.J. use RSI + Stoch RSI and candless pattem
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.
Recent Swing High/Low Linesit gives the recent swing highs and lows.
for options buyers, they can simply enter on a trade when an opposite option (at the money) goes below the recent swing low.
Robbin hoodsomething good, this is ewrfiwevdcbdkjsdbvkj vasfdkjvsdvkjae dk;v asd vk;jsbdvkaeskv jkjsD v.kj awerekrv
Digit Sum Mark (3/6/9 + Price ~33 ±15)This indicator highlights the price bars where the digit sum of high or low equals 3, 6, or 9, and the closing price is within a specific range (around ₹33 ±15, i.e., mod 100 ∈ ).
✨ Key Features:
Calculates digit sum of high and low values.
Adds +1 if the decimal portion > 0.50 (smart rounding logic).
Only activates when close price mod 100 is between 18 to 48, a zone inspired by the resonance around 33.
Marks the chart with green downward arrows (for high) and red upward arrows (for low) when digit sum = 3, 6, or 9.
📌 Inspired by Gann numerology and price vibration logic – especially the powerful influence of 3, 6, and 9 as noted by Nikola Tesla.
🚨 Best used on intraday or positional charts where price oscillates frequently around round figures.
🧠 Try pairing this with support/resistance tools for better accuracy!
Daily SMA Levels on Intraday📌 Indicator Overview: Daily SMA Levels on Intraday
🔧 What It Does
- Plots horizontal lines for up to eight daily SMAs: 5, 10, 20, 50, 100, 150, 200
- Displays dynamic labels at the end of each line showing both the SMA name and current value
- Works on intraday timeframes, pulling daily calculations for reference
- Lets you toggle each SMA line individually from the settings
- Offers three line styles—Solid, Dashed, and Dotted
- Includes a line thickness slider, giving you visual control
- Positions labels with left-pointing arrows for visual alignment without clutter
💡 Benefits of This Indicator,
🎯 Precision Entry & Exit Zones
Daily SMAs often act as support or resistance levels on lower timeframes. This indicator shows where these zones are in real time—even on a 1-minute chart.
🔍 Visual Trend Context
You see instantly if price is above or below critical SMAs like the 50 or 200, helping gauge bullish vs bearish bias.
⏱️ Intraday Awareness Without Clutter
Instead of switching to a daily chart, you can stay zoomed in and still track major daily trend lines.
Think of it like your intraday roadmap showing where institutional players might have interest—and where price could react.
10 EMA, 20 EMA & 50 SMAThis script plots three key moving averages on the price chart to help identify trends and potential trade opportunities:
10 EMA (Exponential Moving Average):
A fast-reacting average that captures short-term price momentum. Useful for spotting quick trend changes.
20 EMA (Exponential Moving Average):
A medium-term average that smooths out more noise while still being responsive to price changes.
50 SMA (Simple Moving Average):
A widely-used long-term trend indicator. It smooths price data over a longer period and is often used to define overall market direction.
EMA/SMA Distance Percentage TableThis TradingView indicator, "EMA/SMA Distance Percentage Table," is designed to help traders and analysts quickly assess the current price's relationship to key Exponential Moving Averages (EMAs) and Simple Moving Averages (SMAs).
Here's a breakdown of what it does:
Calculates Multiple Moving Averages: It computes EMAs for lengths 10, 30, 50, and 200, and SMAs for lengths 50 and 200. These are commonly used moving averages in technical analysis.
Measures Percentage Distance: For each of these moving averages, it calculates the percentage difference between the current closing price and the moving average's value. This indicates how far, in percentage terms, the price has deviated from that average. A positive percentage means the price is above the MA, while a negative percentage means it's below.
Displays Data in a Table: All the calculated information (MA type and length, its current value, and the percentage distance) is presented in a clear, organized table on the chart. This allows for quick at-a-glance monitoring.
Customizable Visibility: Users have the flexibility to show or hide the plots of the EMAs and SMAs on the chart, as well as the entire data table, through the indicator's settings.
Purpose:
The primary purpose of this indicator is to provide a concise overview of price momentum and potential overbought/oversold conditions relative to various moving averages. Traders often use the distance from MAs to:
Identify Trend Strength: A large distance from a long-term MA might suggest a strong trend.
Spot Potential Reversals: If the price is significantly extended from an MA, it might indicate that a pullback or reversal is due.
Confirm Support/Resistance: Moving averages often act as dynamic support or resistance levels, and their distance can provide context.
In essence, it helps you quickly see if the price is "stretched" or "compressed" relative to its historical averages, which can be valuable for making trading decisions.
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
Pattern Detector [theUltimator5]🎯 Overview
The Pattern Detector is a comprehensive technical analysis indicator that automatically identifies and visualizes multiple pattern types on your charts. Built with advanced ZigZag technology and sophisticated pattern recognition algorithms, this tool helps traders spot high-probability trading opportunities across all timeframes and markets.
✨ Key Features
🔍 Multi-Pattern Detection System
Harmonic Patterns: Butterfly, Gartley, Bat, and Crab patterns with precise Fibonacci ratios
Classic Reversal Patterns: Head & Shoulders and Inverse Head & Shoulders
Double Patterns: Double Tops and Double Bottoms with extreme validation
Wedge Patterns: Rising and Falling Wedges with volume confirmation
📊 Advanced ZigZag Engine
Customizable sensitivity (5-50 levels)
Depth multiplier for multi-timeframe analysis
Real-time pivot detection with noise filtering
Option to display ZigZag lines only for pure price action analysis
🎨 Visualization
Clean pattern lines with distinct color coding
Point labeling system (X, A, B, C, D for harmonics / LS, H, RS for H&S)
Pattern name displays with bullish/bearish direction
Price target projections with arrow indicators
Subtle pattern fills for enhanced visibility
🛠️ Settings & Configuration
Core ZigZag Settings
ZigZag Sensitivity (5-50): Controls pattern detection sensitivity. Lower values detect more patterns but may include noise. Higher values focus on major swings only.
ZigZag Depth Multiplier (1-5): Multiplies sensitivity for deeper analysis. Level 1 = most responsive, Level 5 = major swings only.
Pattern Detection Toggles
Show ZigZag Lines Only: Displays pure ZigZag without pattern detection for price structure analysis
Detect Harmonic Patterns: Enable/disable Fibonacci-based harmonic pattern detection
Detect Head & Shoulders: Toggle classic reversal pattern identification
Detect Double Tops/Bottoms: Enable double pattern detection with extreme validation
Detect Wedge Patterns: Toggle wedge pattern detection with volume confirmation
Display Options
Show Pattern Names: Display pattern names directly on chart (e.g., "Butterfly (Bullish)")
Show Point Labels: Add lettered labels at key pattern points for structure identification
Project Harmonic Targets: Show projected completion points for incomplete harmonic patterns
📈 Pattern Types Explained
Harmonic Patterns 🦋
Advanced Fibonacci-based patterns that provide high-probability reversal signals:
Butterfly: AB=0.786 XA, BC=0.382-0.886 AB, CD=1.618-2.24 BC
Gartley: AB=0.618 XA, BC=0.382-0.886 AB, CD=1.272-1.618 BC
Bat: AB=0.382-0.50 XA, BC=0.382-0.886 AB, CD=1.618-2.24 BC
Crab: AB=0.382-0.618 XA, BC=0.382-0.886 AB, CD=2.24-3.618 BC
Head & Shoulders 👤
Classic three-peak reversal pattern indicating trend exhaustion:
Standard H&S: Bearish reversal at tops
Inverse H&S: Bullish reversal at bottoms
Automatic neckline validation and price target calculation
Double Patterns 📊
Powerful reversal patterns with extreme validation:
Double Top: Two similar highs with valley between (bearish)
Double Bottom: Two similar lows with peak between (bullish)
Includes lookback period validation to ensure patterns are significant extremes
Wedge Patterns 📐
Continuation/reversal patterns with converging trend lines:
Rising Wedge: Converging upward slopes (typically bearish)
Falling Wedge: Converging downward slopes (typically bullish)
Volume confirmation required for increased accuracy
🎯 Trading Applications
Entry Signals
Harmonic Patterns: Enter at point D completion with targets at point A
H&S Patterns: Enter on neckline break with calculated targets
Double Patterns: Enter on support/resistance break with measured moves
Wedge Patterns: Enter on breakout direction with volume confirmation
Risk Management
Use pattern structure for logical stop placement
Pattern invalidation levels provide clear exit rules
Multiple pattern confirmation increases probability
Multi-Timeframe Analysis
Higher ZigZag depth for longer-term patterns
Lower sensitivity for short-term trading patterns
Combine with other timeframes for confluence
⚙️ Optimal Settings
For Day Trading (1m-15m charts)
ZigZag Sensitivity: 5-9
Depth Multiplier: 1-2
Enable all pattern types for maximum opportunities
For Swing Trading (1H-4H charts)
ZigZag Sensitivity: 9-15
Depth Multiplier: 2-3
Focus on harmonic and H&S patterns
For Position Trading (Daily+ charts)
ZigZag Sensitivity: 15-25
Depth Multiplier: 3-5
Emphasize major harmonic and double patterns
🔧 Technical Specifications
Maximum Lookback: 5000 bars for comprehensive analysis
Pattern Overlap Prevention: Intelligent filtering prevents duplicate patterns
Performance Optimized: Efficient algorithms for real-time detection
Volume Integration: Advanced volume analysis for wedge confirmation
Fibonacci Precision: 10% tolerance for harmonic ratio validation
📚 How to Use
Add to Chart: Apply indicator to any timeframe/market
Configure Settings: Adjust sensitivity based on trading style
Enable Patterns: Toggle desired pattern types
Analyze Results: Look for completed patterns with clear structure
Plan Trades: Use price targets and pattern invalidation for trade management
Perfect for both novice and experienced traders seeking systematic pattern recognition with visualization and entry/exit signals.
Tnup Zones 2025This indicator marks zones where price has a high probability of rejection/bouncing off of