OPEN-SOURCE SCRIPT

Momentum Candle V2 by Sekolah Trading

626
📌 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

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.