Conferma Rotture by G.I.N.e Trading (Auto/Manual Profile)This indicator is designed to detect Range Expansion Bars (REB) and validate them through multiple filters, including trend alignment, fractal breakouts, volume strength, and VSA logic.
It can be used as a standalone breakout detector or as a confirmation tool for existing strategies.
Main Components
Range Expansion Detection (REB)
A bar is considered a REB when its range (High − Low) exceeds a dynamic threshold based on either:
Average range over N bars, or
ATR over N bars (if enabled).
Thresholds are adjustable and can adapt automatically to the instrument (e.g., DAX, Bund).
Trend Filter — HMA Slope
Calculates the slope of a Hull Moving Average to determine trend direction.
REB signals are only valid when aligned with the current trend (optional filter).
Fractal Breakout Confirmation
Uses Bill Williams fractals to identify the most recent swing high/low.
A REB is confirmed only if it breaks the latest fractal in the signal’s direction (optional).
Volume Filters
Simple Volume Check: Volume must be greater than the moving average × multiplier.
VSA Filter: Requires wide spread + high volume, confirming strong participation.
Armed Trigger Mode (Two-step Confirmation)
Step 1: REB detected → state is “armed” for a set number of bars.
Step 2: Position triggers only if price breaks the REB bar’s high/low within the validity window.
Visual Elements
Green/Red Columns — Confirmed REB signals (Long / Short).
White Line — REB intensity (range / base).
Yellow ±0.5 Line — “Armed” state before trigger activation.
Aqua Circles — VSA confirmation (wide spread + high volume).
Teal Line — Last up fractal level.
Orange Line — Last down fractal level.
Usage Example
Detect breakouts with strong momentum and volume.
Combine with fractal breakout for additional confirmation.
Use in “armed” mode to avoid false entries and require a follow-up trigger.
Especially suited for futures like DAX and Bund, but parameters can be adapted to other assets.
Trend Analizi
Bullish Bearish volatility analysisThis script is used to analyse Bullish/Bearish volatility direction based on volumes and moving average.
Gann Fan Master – Selectable Base Angle & Fibonacci AnglesGann Fan Master – Selectable Base Angle & Fibonacci Angles
This indicator plots a Gann Fan from point A1 through point B1, with full customization over:
Base angle selection (8/1, 1/1, 1/8)
Main angle set
Fibonacci-based angles
Up to 10 custom user-defined angles
Logarithmic or linear slope calculation
Custom fan color and extended line length
Perfect for manual chart analysis — you select A1 and B1, the script calculates and draws the fan with labeled angles.
How It Works
-Select A1 (time & price) and B1 (time & price).
-The script calculates the base slope depending on the selected base angle:
Linear scale: slope = (B1 − A1) / Δt / base_angle_value
Logarithmic scale: slope = (ln(B1) − ln(A1)) / Δt / base_angle_value
-Each enabled angle is drawn from A1, extended by the chosen number of bars, and labeled with its value.
-Fan color is determined automatically by direction (green for upward, red for downward) or can be overridden.
Quick Start
-Add the indicator to your chart.
-In settings:
A1 Time/Price — starting point.
B1 Time/Price — second point (defines slope).
Base Angle — choose 8/1, 1/1, or 1/8.
Extend Fan (Bars) — number of bars to extend lines into the future.
Logarithmic Fan Calculation — toggle for log-scale mode.
Enable desired angle sets: Main, Fibonacci, or Custom.
-Optionally, enable Use Custom Fan Color and set your own color.
Settings
Enable Fan — master switch.
A1 Time/A1 Price, B1 Time/B1 Price — anchor points.
Base Angle — 8/1, 1/1, 1/8.
Extend Fan (Bars) — extension length.
Use Custom Fan Color / Fan Color — manual color override.
Main Angles — 1/8, 1/4, 1/3, 1/2, 1/1, 2/1, 3/1, 4/1, 6/1, 8/1.
Fibonacci Angles — 0.214, 0.35, 0.382, 0.618, 0.786, 0.886, 0.9335, 1.118, 1.236, 1.382, 1.618.
Custom Angles — up to 10 values (dotted lines), labels from the exact value.
Usage Tips
-Choosing A1 and B1:
A1 — significant starting swing high or low.
B1 — next key swing to define slope.
-Logarithmic scale:
Ideal for long-term exponential trends (crypto, growth stocks).
Prices must be > 0.
-Watch how price reacts to different angles:
1/1 as median trend, fractional for support/resistance, multiples for acceleration/slowdown.
Disclaimer
This is a technical analysis tool. It is not financial advice. Trading decisions are made at your own risk.
Gann Fan Master – Selectable Base Angle & Fibonacci Angles
Индикатор строит веер Ганна от точки A1 через точку B1 с полной кастомизацией:
Выбор базового угла (8/1, 1/1, 1/8)
Набор основных углов
Углы Фибоначчи
До 10 пользовательских углов
Расчёт в логарифмической или линейной шкале
Цвет веера по направлению или заданный вручную
Настройка длины продления линий
Идеально подходит для ручного анализа графика — вы задаёте A1 и B1, а скрипт рассчитывает и строит веер с подписями углов.
Как это работает
-Задайте A1 (время и цена) и B1 (время и цена).
-Скрипт рассчитывает базовый наклон в зависимости от выбранного базового угла:
Линейная шкала: наклон = (B1 − A1) / Δt / base_angle_value
Логарифмическая шкала: наклон = (ln(B1) − ln(A1)) / Δt / base_angle_value
-Каждый включённый угол рисуется из точки A1, продлевается на заданное число баров и подписывается.
-Цвет линий определяется автоматически по направлению (зелёный — вверх, красный — вниз) или задаётся вручную.
Быстрый старт
1)Добавьте индикатор на график.
2)В настройках:
A1 Time/Price — начальная точка.
B1 Time/Price — вторая точка (задаёт наклон).
Base Angle — выберите 8/1, 1/1 или 1/8.
Extend Fan (Bars) — длина продления линий в барах.
Logarithmic Fan Calculation — переключатель логарифмического режима.
Включите нужные блоки углов: Main, Fibonacci, Custom.
3)При желании активируйте Use Custom Fan Color и задайте цвет веера.
Настройки
Enable Fan — общий выключатель.
A1 Time/A1 Price, B1 Time/B1 Price — опорные точки.
Base Angle — 8/1, 1/1, 1/8.
Extend Fan (Bars) — продление линий.
Use Custom Fan Color / Fan Color — цвет вручную.
Main Angles — 1/8, 1/4, 1/3, 1/2, 1/1, 2/1, 3/1, 4/1, 6/1, 8/1.
Fibonacci Angles — 0.214, 0.35, 0.382, 0.618, 0.786, 0.886, 0.9335, 1.118, 1.236, 1.382, 1.618.
Custom Angles — до 10 значений (точечные линии) с подписями.
Советы по применению
Выбор A1 и B1:
A1 — значимый экстремум начала движения.
B1 — следующий важный экстремум для задания наклона.
Логарифмическая шкала:
Подходит для долгосрочных экспоненциальных трендов (крипто, акции роста).
Цена должна быть > 0.
Следите, как цена реагирует на разные углы:
1/1 — медианный тренд.
Дробные углы — потенциальная поддержка/сопротивление.
Кратные — ускорение/замедление движения.
Дисклеймер
Это инструмент технического анализа и не является инвестиционной рекомендацией. Торговые решения вы принимаете на свой страх и риск.
Candlestick Suite–(Phoenix) it colors the major Reversal candlesticks
BullEngulf or BearEngulf or Engulfing() -> DARK_ORANGE
PiercingLine or DarkCloudCover -> CYAN
BullishHarami or BearishHarami -> YELLOW
BullishInsideBar or BearishInsideBar -> WHITE
Market Regime Matrix [Alpha Extract]A sophisticated market regime classification system that combines multiple technical analysis components into an intelligent scoring framework to identify and track dominant market conditions. Utilizing advanced ADX-based trend detection, EMA directional analysis, volatility assessment, and crash protection protocols, the Market Regime Matrix delivers institutional-grade regime classification with BULL, BEAR, and CHOP states. The system features intelligent scoring with smoothing algorithms, duration filters for stability, and structure-based conviction adjustments to provide traders with clear, actionable market context.
🔶 Multi-Component Regime Engine Integrates five core analytical components: ADX trend strength detection, EMA-200 directional bias, ROC momentum analysis, Bollinger Band volatility measurement, and zig-zag structure verification. Each component contributes to a sophisticated scoring system that evaluates market conditions across multiple dimensions, ensuring comprehensive regime assessment with institutional precision.
// Gate Keeper: ADX determines market type
is_trending = adx_value > adx_trend_threshold
is_ranging = adx_value <= adx_trend_threshold
is_maximum_chop = adx_value <= adx_chop_threshold
// BULL CONDITIONS with Structure Veto
if price_above_ema and di_bullish
if use_structure_filter and isBullStructure
raw_bullScore := 5.0 // MAXIMUM CONVICTION: Strong signals + Bull structure
else if use_structure_filter and not isBullStructure
raw_bullScore := 3.0 // REDUCED: Strong signals but broken structure
🔶 Intelligent Scoring System Employs a dynamic 0-5 scale scoring mechanism for each regime type (BULL/BEAR/CHOP) with adaptive conviction levels. The system automatically adjusts scores based on signal alignment, market structure confirmation, and volatility conditions. Features decision margin requirements to prevent false regime changes and includes maximum conviction thresholds for high-probability setups.
🔶 Advanced Structure Filter Implements zig-zag based market structure analysis using configurable deviation thresholds to identify significant pivot points. The system tracks Higher Highs/Higher Lows (HH/HL) for bullish structure and Lower Lows/Lower Highs (LL/LH) for bearish structure, applying structure veto logic that reduces conviction when price action contradicts the underlying trend framework.
// Define Market Structure (Bull = HH/HL, Bear = LL/LH)
isBullStructure = not na(last_significant_high) and not na(prev_significant_high) and
not na(last_significant_low) and not na(prev_significant_low) and
last_significant_high > prev_significant_high and last_significant_low > prev_significant_low
isBearStructure = not na(last_significant_high) and not na(prev_significant_high) and
not na(last_significant_low) and not na(prev_significant_low) and
last_significant_low < prev_significant_low and last_significant_high < prev_significant_high
🔶 Superior Engine Components Features dual-layer regime stabilization through score smoothing and duration filtering. The score smoothing component reduces noise by averaging raw scores over configurable periods, while the duration filter requires minimum regime persistence before confirming changes. This eliminates whipsaws and ensures regime transitions represent genuine market shifts rather than temporary fluctuations.
🔶 Crash Detection & Active Penalties Incorporates sophisticated crash detection using Rate of Change (ROC) analysis with severity classification. When crash conditions are detected, the system applies active penalties (-5.0) to BULL and CHOP scores while boosting BEAR conviction based on crash severity. This ensures immediate regime response to major market dislocations and drawdown events.
// === CRASH OVERRIDE (Active Penalties) ===
is_crash = roc_value < crash_threshold
if is_crash
// Calculate crash severity
crash_severity = math.abs(roc_value / crash_threshold)
crash_bonus = 4.0 + (crash_severity - 1.0) * 2.0
// ACTIVE PENALTIES: Force bear dominance
raw_bearScore := math.max(raw_bearScore, crash_bonus)
raw_bullScore := -5.0 // ACTIVE PENALTY
raw_chopScore := -5.0 // ACTIVE PENALTY
❓How It Works
🔶 ADX-Based Market Classification The Market Regime Matrix uses ADX (Average Directional Index) as the primary gatekeeper to distinguish between trending and ranging market conditions. When ADX exceeds the trend threshold, the system activates BULL/BEAR regime logic using DI+/DI- crossovers and EMA positioning. When ADX falls below the ranging threshold, CHOP regime logic takes precedence, with maximum conviction assigned during ultra-low ADX periods.
🔶 Dynamic Conviction Scaling Each regime receives conviction ratings from UNCERTAIN to MAXIMUM based on signal alignment and score magnitude. MAXIMUM conviction (5.0 score) requires perfect signal alignment plus favorable market structure. The system progressively reduces conviction when signals conflict or structure breaks, ensuring traders understand the reliability of each regime classification.
🔶 Regime Transition Management Implements decision margin requirements where new regimes must exceed existing regimes by configurable thresholds before transitions occur. Combined with duration filtering, this prevents premature regime changes and maintains stability during consolidation periods. The system tracks both raw regime signals and final regime output for complete transparency.
🔶 Visual Regime Mapping Provides comprehensive visual feedback through colored candle overlays, background regime highlighting, and real-time information tables. The system displays regime history, conviction levels, structure status, and key metrics in an organized dashboard format. Regime changes trigger immediate visual alerts with detailed transition information.
🔶 Performance Optimization Features efficient array management for zig-zag calculations, smart variable updating to prevent recomputation, and configurable debug modes for strategy development. The system maintains optimal performance across all timeframes while providing institutional-grade analytical depth.
Why Choose Market Regime Matrix ?
The Market Regime Matrix represents the evolution of market regime analysis, combining traditional technical indicators with modern algorithmic decision-making frameworks. By integrating multiple analytical dimensions with intelligent scoring, structure verification, and crash protection, it provides traders with institutional-quality market context that adapts to changing conditions. The sophisticated filtering system eliminates noise while preserving responsiveness, making it an essential tool for traders seeking to align their strategies with dominant market regimes and avoid adverse market environments.
EMA72 com Difusor - Cor Dinâmica e Espessuras Ajustadas17 EMA
72 EMA (with diffuser included, green signals buy, red signals sell)
72 EMA on the weekly chart
Gemini Trend Following SystemStrategy Description: The Gemini Trend Following System
Core Philosophy
This is a long-term trend-following system designed for a position trader or a patient swing trader, not a day trader. The fundamental goal is to capture the majority of a stock's major, multi-month or even multi-year uptrend.
The core principle is: "Buy weakness in a confirmed uptrend, and sell only when the uptrend's structure is fundamentally broken."
It operates on the belief that it's more profitable to ride a durable trend than to chase short-term breakouts or worry about daily price fluctuations. It prioritizes staying in a winning trade over frequent trading.
The Three Pillars of the Strategy
The script's logic is built on three distinct pillars, processed in order:
1. The Regime Filter: "Is This Stock in a Healthy Uptrend?"
Before even considering a trade, the script acts as a strict gatekeeper. It will only "watch" a stock if it meets all the criteria of a healthy, long-term uptrend. This is the most important part of the strategy as it filters out weak or speculative stocks.
A stock passes this filter if:
The 50-day Simple Moving Average (SMA) is above the 200-day SMA. This is the classic definition of a "Golden Cross" state, indicating the medium-term trend is stronger than the long-term trend—a hallmark of a bull market for the stock.
The stock's performance over the last year is positive. The Rate of Change (ROC) must be above a minimum threshold (e.g., 15%). This ensures we are only looking at stocks that have already demonstrated significant strength.
The 200-day SMA itself is rising. This is a crucial check to ensure the very foundation of the trend is solid and not flattening out or beginning to decline.
If a stock doesn't meet these conditions, the script ignores it completely.
2. The Entry Trigger: "When to Buy the Dip"
Once a stock is confirmed to be in a healthy uptrend, the script does not buy immediately. Instead, it patiently waits for a point of lower risk and higher potential reward—a pullback.
The entry trigger is a specific, two-step sequence:
The stock price first dips and closes below its 50-day SMA. This signifies a period of temporary weakness or profit-taking.
The price then recovers and closes back above the 50-day SMA within a short period (10 bars).
This sequence is a powerful signal. It suggests that institutional buyers view the 50-day SMA as a key support level and have stepped in to defend it, overpowering the sellers. The entry occurs at this point of confirmed support, marking the likely resumption of the uptrend. On the chart, this event is highlighted with a teal background.
3. The Exit Strategy: "When is the Trend Over?"
The exit logic is designed to keep you in the trade as long as possible and only sell when the trend's character has fundamentally changed. It uses a dual-exit system:
Primary Exit (Trend Failure): The main reason to sell is a "Death Cross"—when the 50-day SMA crosses below the 200-day SMA. This is a robust, albeit lagging, signal that the long-term uptrend is over and a bearish market structure is taking hold. This exit condition is designed to ignore normal market corrections and only trigger when the underlying trend has truly broken. On the chart, this is highlighted with a maroon background.
Safety-Net Exit (Catastrophic Stop-Loss): To protect against a sudden market crash or a company-specific disaster, a "safety-net" stop-loss is placed at the time of entry. This stop is set far below the entry price, typically underneath the 200-day SMA. It is a "just-in-case" measure that should only be triggered in a severe and rapid decline, protecting your capital from an unexpected black swan event.
Who is This Strategy For?
Position Traders: Investors who are comfortable holding a stock for many months to over a year.
Patient Swing Traders: Traders who want to capture large price swings over weeks and months, not days.
Investors using a Rules-Based Approach: Anyone looking to apply a disciplined, non-emotional system to their long-term portfolio.
Ideal Market Conditions
This strategy excels in markets with clear, durable trends. It performs best on strong, leading stocks during a sustained bull market. It will underperform significantly or generate losses in choppy, sideways, or range-bound markets, where the moving averages will frequently cross back and forth, leading to "whipsaw" trades.
Bearish Breakaway-Publish-FVG concept
This indicator tracks the intraday RTH (Regular Trading Hours) high in the bearish direction to identify breakaway candles based on the Fair Value Gap (FVG) and gap breakout concept. By default, the session runs from 9:30 AM to 5:00 PM EST, but the start time can be adjusted to track other sessions such as ETH beginning at 6:00 PM.
At the start of the session, the first candle is always considered the initial intraday high. This candle becomes the anchor, and the indicator continuously updates it whenever a new intraday high is made. A bearish breakaway occurs when a candle’s high is lower than the low of the current anchor candle, creating a gap between them. This first breakaway candle is marked with a red arrow. After the first breakaway, the indicator continues to look for additional breakaways in the bearish direction, each based on the most recent breakaway candle.
If a new intraday high is formed after a breakaway candle has appeared, the anchor is reset to this new high, all previous breakaway markers are removed, and the search starts over. The high and low of the most recent breakaway candle are drawn as horizontal rays, which can act as potential resistance or support depending on the trader’s bias.
You can backtest this indicator using TradingView’s Bar Replay feature to watch the resetting process as new intraday highs are made. Because the first candle of the session is always the first intraday high, the reset behavior is easy to observe in replay mode.
Timeframe recommendations: This tool works best on 1-minute, 5-minute, 15-minute, and 30-minute charts.
Trading tips:
• At the market open, always identify the first bearish breakaway candle.
• Once the intraday high stabilizes, a bearish run may follow — the first breakaway candle often marks the start of this move.
• To trade reversals from a bearish trend, watch for a bullish breakaway candle using the bullish companion indicator.
• If the daily trend is bullish, you will often see the intraday high reset many times — this is a sign to favor bullish trades.
• If trading reversals against the prevailing trend, use the breakaway candle as your signal for potential entry.
Bullish Breakaway-Publish
This indicator tracks the intraday RTH (Regular Trading Hours) low in the bullish direction to identify breakaway candles based on the Fair Value Gap (FVG) and gap breakout concept. By default, the session runs from 9:30 AM to 5:00 PM EST, but the start time can be adjusted to track other sessions such as ETH beginning at 6:00 PM.
At the start of the session, the first candle is always considered the initial intraday low. This candle becomes the anchor, and the indicator continuously updates it whenever a new intraday low is made. A bullish breakaway occurs when a candle’s low is higher than the high of the current anchor candle, creating a gap between them. This first breakaway candle is marked with a green arrow. After the first breakaway, the indicator continues to look for additional breakaways in the bullish direction, each based on the most recent breakaway candle.
If a new intraday low is formed after a breakaway candle has appeared, the anchor is reset to this new low, all previous breakaway markers are removed, and the search starts over. The high and low of the most recent breakaway candle are drawn as horizontal rays, which can act as potential support or resistance depending on the trader’s bias.
You can backtest this indicator using TradingView’s Bar Replay feature to watch the resetting process as new intraday lows are made. Because the first candle of the session is always the first intraday low, the reset behavior is easy to observe in replay mode.
Timeframe recommendations: This tool works best on 1-minute, 5-minute, 15-minute, and 30-minute charts.
Trading tips:
• At the market open, always identify the first breakaway candle.
• Once the intraday low stabilizes, a bullish run may follow — the first breakaway candle often marks the start of this move.
• To trade reversals from a bullish trend, watch for a bearish breakaway candle using the bearish companion indicator.
• If the daily trend is bearish, you will often see the intraday low reset many times — this is a sign to favor bearish trades.
• If trading reversals against the prevailing trend, use the breakaway candle as your signal for potential entry.
You should always trade in the daily trend direction and this indicator will give you the footprint of the daily trend as they are the breakaway candle.
Dynamic Swing Anchored VWAP (Zeiierman)█ Overview
Dynamic Swing Anchored VWAP (Zeiierman) is a price–volume tool that anchors VWAP at fresh swing highs/lows and then adapts its responsiveness as conditions change. Instead of one static VWAP that drifts away over time, this indicator re-anchors at meaningful structure points (swings). It computes a decayed, volume-weighted average that can speed up in volatile markets and slow down during quiet periods.
Blending swing structure with an adaptive VWAP engine creates a fair-value path that stays aligned with current price behavior, making retests, pullbacks, and mean reversion opportunities easier to spot and trade.
█ How It Works
⚪ Swing Anchor Engine
The script scans for swing highs/lows using your Swing Period.
When market direction flips (new pivot confirmed), the indicator anchors a new VWAP at that pivot and starts tracking from there.
⚪ Adaptive VWAP Core
From each anchor , VWAP is computed using a decay model (recent price×volume matters more; older data matters less).
Adaptive Price Tracking lets you set the base responsiveness in “bars.” Lower = more reactive, higher = smoother.
Volatility Adjustment (ATR vs Avg ATR) can automatically speed up the VWAP during spikes and slow it during compression, so the line stays relevant to live conditions.
█ Why This Adaptive Approach Beats a Simple VWAP
Standard VWAP is cumulative from the anchor point. As time passes and volume accumulates, it often drifts far from current price, especially in prolonged trends or multi-session moves. That drift makes retests rare and unreliable.
Dynamic Swing Anchored VWAP solves this in two ways:
⚪ Event-Driven Anchoring (Swings):
By restarting at fresh swing highs/lows, the VWAP reference reflects today’s structure. You get frequent, meaningful retests because the anchor stays near the action.
⚪ Adaptive Responsiveness (Volatility-Aware):
Markets don’t move at one speed. When volatility expands, a fixed VWAP lags; when volatility contracts, it can overreact to noise. Here, the “tracking speed” can auto-adjust using ATR vs its average.
High Volatility → faster tracking: VWAP hugs price more tightly, preserving retest relevance.
Low Volatility → smoother tracking: VWAP filters chop and stays stable.
Result: A VWAP that follows price more accurately, creating plenty of credible retest opportunities and more trustworthy mean-reversion/continuation reads than a simple, ever-growing VWAP.
█ How to Use
⚪ S wing-Aware Fair Value
Use the VWAP as a dynamic fair-value guide that restarts at key structural pivots. Pullbacks to the VWAP after impulsive moves often provide retest entries.
⚪ Trend Trading
In trends, the adaptive VWAP will ride closer to price, offering continuation pullbacks.
█ Settings
Swing Period: Number of bars to confirm swing highs/lows. Larger = bigger, cleaner pivots (slower); smaller = more frequent pivots (noisier).
Adaptive Price Tracking: Sets the base reaction speed (in bars). Lower = faster, tighter to price; higher = smoother, slower.
Adapt APT by ATR ratio: When ON, the tracking speed auto-adjusts with market volatility (ATR vs its own average). High vol → faster; low vol → calmer.
Volatility Bias: Controls how strongly volatility affects the speed. >1 = stronger effect; <1 = lighter touch.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
VHX EMA 135/315📈 EMA 135/315 Cross Strategy – Your Trend Compass with Smart Confirmations
🔍 Core Idea
The EMA 135/315 Cross strategy is a trend-following system.
It tracks two moving averages:
EMA 135 → the “fast” line that reacts to short-term price moves
EMA 315 → the “slow” line that reacts to the bigger trend
When the fast EMA crosses above the slow EMA → market momentum is turning up → BUY signal 🟢
When the fast EMA crosses below the slow EMA → momentum is turning down → SELL signal 🔴
This gives you a clear entry trigger — no guessing, no overcomplication.
✨ On Your Chart
BUY/SELL Arrows
🟢 Green arrow = bullish cross → trend turning up
🔴 Red arrow = bearish cross → trend turning down
Trend Info Panel (Top Left)
Current Trend: BUY / SELL / Neutral
Last Cross: how many bars ago it happened
EMA Gap in %: measures the strength of the trend
Status: “Approaching” if EMAs are getting close → possible cross soon
Automatic TP/SL Levels
📈 TP line (+2% from entry)
📉 SL line (–0.5% from entry)
Saves time — you instantly see your target and protection
EMA Distance Meter
Big % gap = strong trend momentum 🚀
Small % gap = weak or sideways market ⚠️
Real-Time Alerts
You get notified when a cross happens, even if you’re away from the screen
🧠 The Logic Behind It
The EMA 135 reacts faster → it reflects short-term momentum
The EMA 315 moves slower → it reflects the main trend
When the fast EMA overtakes the slow EMA: short-term strength now aligns with the long-term trend → higher probability of a sustained move
The gap % tells you how strong the alignment is — large gap = cleaner moves, small gap = market in transition
“Approaching” status warns that the EMAs are converging, which often happens before a reversal
📊 Boosting the Strategy with Volume Analysis
The EMA cross is a strong trigger, but volume confirms the quality of the move:
High Volume + Cross → more reliable signal, as strong market participation is pushing the trend
Low Volume + Cross → caution, the move might be weak or a false breakout
💡 Tip:
Check the volume histogram or a volume-based indicator (e.g., Volume Profile, OBV).
On a BUY signal: volume should spike above the recent average.
On a SELL signal: watch for strong selling volume bars.
📍 Adding Support & Resistance for Precision
Support and resistance levels help filter out bad trades and optimize entries:
Best BUY setups:
EMA 135 crosses above EMA 315 near a known support zone
Bonus if volume confirms the move
Avoid buying directly into a strong resistance
Best SELL setups:
EMA 135 crosses below EMA 315 near a known resistance zone
Bonus if selling volume is strong
Avoid selling directly into a major support
💡 Use tools like horizontal lines, previous highs/lows, and Volume Profile nodes to spot these zones.
📈 Best Usage Practices
Timeframes
Lower timeframes (1m–5m) → more signals, but more noise → best for scalping with extra filters
Always Combine With Confirmation
EMA Cross = Trigger
Volume spike = Confirmation
S/R zone in your favor = High-probability setup
Manage Risk
Start with the built-in TP/SL
Adjust SL if volatility is higher than usual
Consider trailing stop once price moves in your favor
Avoid Sideways Markets
If EMA gap % is very small and crosses happen often → stand aside until a clear direction forms
Use Alerts
Set alerts for BUY & SELL crosses so you never miss a setup
In short:
This isn’t just an EMA cross indicator — it’s a trend system with built-in risk management, strength measurement, and pre-trade preparation. Combine it with volume confirmation and smart use of support/resistance, and you turn a simple signal into a high-probability trading edge.
RJ Trend Engine (Final Version)Title: RJ Trend Engine (Hybrid Core)
Description:
A Note from the Modifier (Rohit Jadhav)
This indicator is for all retail traders who are looking for a disciplined, rule-based approach to the market. This script began with the excellent open-source work of the original author, aybarsm. I, Rohit Jadhav, have modified and added several powerful features with one main goal: to create a tool that can help fellow traders navigate the market with more confidence.
We know how challenging it can be, especially when emotions like fear and greed take over. Many of us face losses, and everyone deserves access to good tools to succeed. That is why this indicator is published as Open Source for everyone to use, study, and learn from.
This is a community project. If you have suggestions for improvement, please share them. Let's help each other succeed.
Thank you, and happy trading!
Recommended Usage & Settings
IMPORTANT NOTE: The default settings of this indicator have been specifically calibrated and backtested for the Nifty 50 index on a 5-minute timeframe.
While the indicator can be used on any symbol, its performance will vary. Assets with different volatility, such as Bank Nifty, Forex, or individual stocks, will likely require different settings for the PSAR, Supertrend, and ADX to be effective. Users are encouraged to backtest and adjust the parameters to find the optimal settings for the asset they are trading.
Core Components
The "RJ Trend Engine" uses a hybrid core of three indicators that must all agree before a signal is generated in its default mode:
Parabolic SAR (PSAR): Acts as the primary timing and entry trigger.
Supertrend: Serves as the main trend filter.
ADX (Average Directional Index): Functions as a "power" filter to confirm trend strength.
Three Systems in One Indicator
This indicator's true power lies in its flexibility. You can switch between three distinct strategies using the checkboxes in the settings.
1. Balanced Mode (Default - Recommended)
This is the standard, disciplined mode designed for capital protection. It requires a signal from all three core indicators to align perfectly.
How to use: Ensure both "Allow Aggressive Reversal Trades?" and "Use Dynamic (Trailing) Take Profit?" are UNTICKED.
2. Aggressive Reversal Mode (Experimental)
This higher-risk mode is designed to catch sharp, V-shaped reversals. It will generate a signal on a PSAR flip and a strong ADX, even if the Supertrend has not yet confirmed.
How to use: TICK the "Allow Aggressive Reversal Trades?" box.
3. Dynamic Take Profit (Experimental)
This feature changes the exit logic from a fixed target to the live Bollinger Band, which moves with market volatility. This can be useful for highly volatile assets like Bank Nifty.
How to use: TICK the "Use Dynamic (Trailing) Take Profit?" box.
Features
Multi-Mode Strategy: Switch between disciplined and aggressive trading styles.
Flexible Take Profit: Choose between a fixed, calculated TP or a dynamic, trailing TP.
Clear BUY/SELL Signals: Labels appear on the chart when all conditions are met.
Built-in Stop Loss: Automatically calculates an initial Stop Loss based on the ATR.
Customizable Alerts: Fully configured for creating custom alerts for all entry and exit signals.
Disclaimer: This indicator is a tool to assist in your decision-making process. It is not financial advice. All trading involves risk, and you should always use your own judgment and risk management.
Latent Regime Informed Monte Carlo ForecastThis script uses a Monte Carlo simulation to forecast where price might be a set number of bars into the future (default 6 bars ahead). It generates hundreds of possible future price paths based on an average move (drift) and random shocks (volatility). The result is a distribution of outcomes, displayed as probability zones: the median (most likely), inner bands (50% confidence), and wider bands (80% and 95% confidence). Due to the randomness assumption in Monte Carlo simulations, the paths are not very important so to minimize cluttering on the graphs we only plot bands. These zones help you visualize uncertainty, set stops and targets based on probabilities, and spot when market behavior changes.
The accuracy of any Monte Carlo forecast depends heavily on how well you estimate trend and volatility. By default and no prior information the Monte Carlo simulation gives you a parabolic forecast that assumes absolute randomness. This is where the Kalman filter comes in. The filter (derived from control theory) aims to detect latent (unobservable) traits about the system by continuously updating its transition probabilities to better understand how the latent traits affect the observable measurement (price). With each new observable state we get better and better transition probabilities and enhances our understanding about the latent and unobservable market characteristics like trend and volatility. Both crucial measurements for short term market sentiment.
Extracting these measurements for market sentiment informs us how to better parametrize the Monte Carlo simulation for a better forecast. Each bar, the KF updates its estimates based on how close its last prediction was to reality. In calm periods, it holds estimates steady; in volatile periods, it adapts quickly. This gives you real-time, low-lag measurements of both trend and volatility.
By feeding these adaptive estimates into the Monte Carlo simulation, the forecast becomes much more responsive to current market conditions. In trends, the predicted paths tilt toward the direction of movement; in choppy markets, they spread wider but stay centered; when volatility spikes, the probability zones expand immediately. The result is a dynamic forecast tool that adjusts on every bar, giving you a clearer, probability-based picture of where the market could go next.
This is my very first script and I would love feedback/ideas for different topics.
My background is in economics/mathematics and interests lie in time series analysis/exploring financial features for DS
SM Trap Detector – Liquidity Sweeps & Institutional ReversalsOverview:
This script is designed to help traders detect Smart Money traps, liquidity grabs, and false breakouts with high precision.
Inspired by institutional trading logic (SMC, ICT, Wyckoff), this tool combines:
🟦 Liquidity Zone Mapping – Detects stop hunt targets near highs/lows
🚨 Trap Candle Detection – Identifies fakeouts using wick + volume logic
✅ Reversal Confirmation – Entry signals based on real market structure
🧭 Dashboard Panel – Always see the last trap type, price, and confirmation
🔔 Real-Time Alerts – Stay notified of traps and entry points
🧠 Logic Breakdown:
Trap Candle = Large wick, small body, volume spike, and sweep of a liquidity zone
Confirmed Entry = Reversal price action following the trap (engulfing-style)
📈 Best Used On:
Markets: Crypto, Forex, Stocks
Timeframes: No limitation but works best on 1H, 4H, Daily
🛠 Suggested Use:
Trade only confirmed entries for best results
Place stops beyond wick highs/lows
Target previous structure or use RR-based exits
📊 Backtest Tip:
Use alerts + replay mode to manually validate past traps.
Note: Please backtest before using it for entry.
MacD Alerts MACD Triggers (MTF) — Buy/Sell Alerts
What it is
A clean, multi-timeframe MACD indicator that gives you separate, ready-to-use alerts for:
• MACD Buy – MACD line crosses above the Signal line
• MACD Sell – MACD line crosses below the Signal line
It keeps the familiar MACD lines + histogram, adds optional 4-color histogram logic, and marks crossovers with green/red dots. Works on any symbol and any timeframe.
How signals are generated
• MACD = EMA(fast) − EMA(slow)
• Signal = SMA(MACD, length)
• Buy when crossover(MACD, Signal)
• Sell when crossunder(MACD, Signal)
• You can compute MACD on the chart timeframe or lock it to another timeframe (e.g., 1h MACD on a 4h chart).
Key features
• MTF engine: choose Use Current Chart Resolution or a custom timeframe.
• Separate alert conditions: publish two alerts (“MACD Buy” and “MACD Sell”)—ideal for different notifications or webhooks.
• Visuals: MACD/Signal lines, optional 4-color histogram (trend & above/below zero), and crossover dots.
• Heikin Ashi friendly: runs on whatever candle type your chart uses. (Tip below if you want “regular” candles while viewing HA.)
Settings (Inputs)
• Use Current Chart Resolution (on/off)
• Custom Timeframe (when the above is off)
• Show MACD & Signal / Show Histogram / Show Dots
• Color MACD on Signal Cross
• Use 4-color Histogram
• Lengths: Fast EMA (12), Slow EMA (26), Signal SMA (9)
How to set alerts (2 minutes)
1. Add the script to your chart.
2. Click ⏰ Alerts → + Create Alert.
3. Condition: choose this indicator → MACD Buy.
4. Options: Once per bar close (recommended).
5. Set your notification method (popup/email/webhook) → Create.
6. Repeat for MACD Sell.
Webhook tip: send JSON like
{"symbol":"{{ticker}}","time":"{{timenow}}","signal":"BUY","price":"{{close}}"}
(and “SELL” for the sell alert).
Good to know
• Symbol-agnostic: use it on crypto, stocks, indices—no symbol is hard-coded.
• Timeframe behavior: alerts are evaluated on bar close of the MACD timeframe you pick. Using a higher TF on a lower-TF chart is supported.
• Heikin Ashi note: if your chart uses HA, the calculations use HA by default. To force “regular” candles while viewing HA, tweak the code to use ticker.heikinashi() only when you want it.
• No repainting on close: crossover signals are confirmed at bar close; choose Once per bar close to avoid intra-bar noise.
Disclaimer
This is a tool, not advice. Test across timeframes/markets and combine with risk management (position sizing, SL/TP). Past performance ≠ future results.
Key Session Levels (KUUUMZ)
📜 Summary
Tired of manually drawing the same key levels every single trading day? The KUUMZ-Key Session Levels indicator automates this entire process, plotting the most critical intraday and previous day levels directly on your chart. This tool provides a clean, dynamic framework of potential support and resistance zones, allowing you to focus on your trading strategy, not on chart setup.
Built for day traders and scalpers of US equities, this indicator helps you instantly visualize the market's structure from the moment the session begins.
🎯 Key Levels Plotted
This indicator automatically identifies and draws horizontal lines for the following session levels:
Previous Day High (PDH) & Low (PDL): The highest and lowest points of the prior trading day, which often act as major psychological support and resistance magnets.
Pre-Market High & Low (PMH/PML): The range established during the pre-market session (4:00 - 9:30 AM ET). A breakout from this range can often signal the initial directional bias.
5-Minute Opening Range High & Low (OR5): The high and low of the first 5 minutes of the regular session (9:30 - 9:35 AM ET). A crucial level for opening range breakout (ORB) strategies.
15-Minute Opening Range High & Low (OR15): The high and low of the first 15 minutes (9:30 - 9:45 AM ET), providing a slightly broader view of the initial balance area.
📈 How to Use This Indicator
These levels are fundamental to many intraday trading strategies:
Support & Resistance: Watch how price reacts as it approaches these levels. A bounce or rejection can signal a potential reversal, while a clean break can indicate continuation.
Breakout Trading: A strong, high-volume move through one of these levels (e.g., breaking above the Pre-Market High) can be an entry signal for a breakout trade.
Market Context: Quickly gauge market sentiment. Is the price trading above or below the previous day's range? Is it trapped within the opening range? These levels provide immediate context to the current price action.
Setting Targets & Stops: Use these levels to set logical profit targets or place stop-loss orders. For example, if you go long on a breakout of the 5-min OR, the Pre-Market High or Previous Day High could be your first target.
⚙️ Features & Customization
The script is designed to be flexible and clean, allowing you to tailor it to your specific charting style.
Toggle Any Level: Enable or disable any set of levels (Previous Day, Pre-Market, etc.) to reduce clutter.
Full Style Control: Customize the Color, Width, and Style (Solid, Dotted, Dashed) for each pair of high/low lines independently.
Optional Labels: A master switch allows you to show or hide all price labels (like "PDH", "PM Low", etc.) with a single click.
Automatic & Dynamic: Levels are calculated and drawn in real-time as each session concludes and are automatically cleared and reset for the next trading day.
Inverted Hammer w/ Buy Signal This indicator will identify inverted hammer candles in a downtrend and also provide a buy signal when the following candle closes above the top wick of the previous inverted hammer candle.
Position Sizing Risk TablePosition Sizing Risk Table - swing trading. Allowing for a 0,25; 0,5 and 1% risk based on NAV
SuperTrend (5,1,5) By satish SWhy 3 Supertrends?
Short-term Supertrend (7, 1, 3) → reacts quickly, catches early trend changes but can give more false signals.
Medium-term Supertrend (14, 1, 2) → smoother, filters out noise.
Long-term Supertrend (21, 1, 3) → confirms major trend direction, fewer whipsaws.
How it Works
Trend Reversal Detection
If all three flip in the same direction → strong confirmation of trend change.
If only the short-term flips but others don’t → possible false signal, wait for confirmation.
Entry Signal Example
Buy when all three turn green (Supertrend below price).
Sell/short when all three turn red (Supertrend above price).
Exit / Partial Profit
Exit when the shortest one (7, 1, 3) flips against your position — protects profits in choppy markets.
TradingView Setup
You can do this by:
Adding Supertrend three times.
Setting their (Period, Multiplier, ATR Type) to:
ST1: 7, 1, 3
ST2: 14, 1, 2
ST3: 21, 1, 3
Use different colors or line styles for each so you can spot alignment quickly.
SuperTrend (5,1,5) BY Satish SWhy 3 Supertrends?
Short-term Supertrend (7, 1, 3) → reacts quickly, catches early trend changes but can give more false signals.
Medium-term Supertrend (14, 1, 2) → smoother, filters out noise.
Long-term Supertrend (21, 1, 3) → confirms major trend direction, fewer whipsaws.
How it Works
Trend Reversal Detection
If all three flip in the same direction → strong confirmation of trend change.
If only the short-term flips but others don’t → possible false signal, wait for confirmation.
Entry Signal Example
Buy when all three turn green (Supertrend below price).
Sell/short when all three turn red (Supertrend above price).
Exit / Partial Profit
Exit when the shortest one (7, 1, 3) flips against your position — protects profits in choppy markets.
TradingView Setup
You can do this by:
Adding Supertrend three times.
Setting their (Period, Multiplier, ATR Type) to:
ST1: 7, 1, 3
ST2: 14, 1, 2
ST3: 21, 1, 3
Use different colors or line styles for each so you can spot alignment quickly.
SuperTrend with 3 Inputs SatishWhy 3 Supertrends?
Short-term Supertrend (7, 1, 3) → reacts quickly, catches early trend changes but can give more false signals.
Medium-term Supertrend (14, 1, 2) → smoother, filters out noise.
Long-term Supertrend (21, 1, 3) → confirms major trend direction, fewer whipsaws.
How it Works
Trend Reversal Detection
If all three flip in the same direction → strong confirmation of trend change.
If only the short-term flips but others don’t → possible false signal, wait for confirmation.
Entry Signal Example
Buy when all three turn green (Supertrend below price).
Sell/short when all three turn red (Supertrend above price).
Exit / Partial Profit
Exit when the shortest one (7, 1, 3) flips against your position — protects profits in choppy markets.
TradingView Setup
You can do this by:
Adding Supertrend three times.
Setting their (Period, Multiplier, ATR Type) to:
ST1: 7, 1, 3
ST2: 14, 1, 2
ST3: 21, 1, 3
Use different colors or line styles for each so you can spot alignment quickly.
Swing Anchored Vwap [BigBeluga]🔵 OVERVIEW
Swing Anchored Vwap tracks the market’s directional behavior by anchoring VWAPs (Volume Weighted Average Price) to dynamically detected swing highs and lows. It visually distinguishes the active swing VWAP from historical ones—offering traders a clean view of trend-aligned value zones with clearly marked inflection points.
🔵 CONCEPTS
Swing Anchored VWAPs: VWAPs are initiated from recent swing highs during downtrends and swing lows during uptrends.
Trend Detection: The indicator identifies trend shifts based on the breaking of recent highest or lowest price value.
Trend-Based Coloring:
• Green VWAPs: are drawn from swing lows in uptrends.
• Blue VWAPs: are drawn from swing highs in downtrends.
Sensitivity Control: The Length input defines how far back the script looks to determine swing points—shorter lengths make it more reactive.
🔵 FEATURES
Real-time VWAP projection from the current swing point, updated live.
Historical VWAP traces with slightly faded color to emphasize the current active one.
Swing markers automatically placed on highs/lows where VWAPs are anchored.
Label with price value at the end of each active VWAP line for clarity.
Adaptive color scheme that visually separates uptrend/downtrend zones.
🔵 HOW TO USE
Use active VWAP as a dynamic support/resistance guide during ongoing trends.
Observe breaks or rejections around these VWAPs for trend continuation or reversal clues .
Compare current price position relative to swing VWAPs to assess trend maturity and extension .
Combine with volume analysis or structure to increase conviction at swing points.
🔵 CONCLUSION
Swing Anchored Vwap merges the logic of anchored VWAPs and swing structure into a responsive visual tool. It helps traders stay aligned with the current trend while offering historical context via previous value anchors—ideal for intraday to swing-level analysis.
Confidence Score – DAX & BUND (Auto) by G.I.N.e TradingConfidence Score – DAX & BUND (Auto)
This indicator calculates a confidence score (0–5) to filter trade signals based on market conditions, adapting its parameters automatically for the DAX and the German Bund futures.
The score is built from five independent conditions:
ADX Strength – Measures trend directionality. Score point if ADX is above a defined threshold.
RSI Position – Avoids the neutral “no-trade zone” between two RSI levels. Score point if RSI is outside this range.
Price Range Expansion – Checks whether the recent price range (over N bars) is large enough relative to current price.
Candle Body Size – Ensures the current candle body is significant compared to the total high–low range (avoiding very small-bodied candles).
Volume Confirmation – Requires current volume to be above its moving average and higher than the previous bar.
Score Interpretation:
4–5 points → Green: strong, clear market conditions (high confidence).
2–3 points → Orange: moderate conditions (trade with caution).
0–1 points → Red: weak, choppy market (high noise).
DAX Logic:
Used for trend-following entries only.
Trades are allowed only if the score is above the DAX threshold and the price is aligned with the main trend (defined by HMA).
BUND Logic:
Used for trend-reversal entries only.
Trades are allowed only if the score is above the Bund threshold and the price is against the main trend, confirming a potential reversal setup.
Key Features:
Automatic instrument detection (DAX vs. BUND) with parameter adjustment.
Separate score thresholds for DAX (trend continuation) and Bund (reversals).
Visual columns showing score levels and optional bar coloring when score ≥ 4.
Context windows plotted as small markers to indicate when trade setups are allowed according to the instrument-specific rules.
This indicator should be used as a filter in combination with your core entry strategy (e.g., HARSI Cross, MACD, VSA) to avoid taking trades in low-confidence, noisy market conditions.