Danny Gee EMA Trend RibbonDanny Gee EMA Trend Ribbon - Multi-Timeframe Trend Analysis
A sophisticated 9-EMA ribbon system designed to visualize trend strength and direction with precision. This indicator creates a dynamic color-coded ribbon that adapts to market conditions, making trend identification effortless.
Key Features:
9 Customizable EMAs - Default periods: 8, 14, 20, 26, 32, 38, 44, 50, and 60
Intelligent Ribbon Coloring - Automatically displays bullish (green), bearish (red), or neutral (gray) based on EMA consensus
Smoothing Control - Adjustable smoothing period (default 2) reduces noise and false signals
Real-Time Trend Status - Live dashboard showing current trend state and EMA agreement count (e.g., "Bullish 8/9")
Visual Clarity - Color-coded EMA lines with the 60 EMA highlighted for key support/resistance
How It Works:
The indicator analyzes the slope direction of all 9 EMAs. When 7 or more EMAs agree on direction, the ribbon displays a clear bullish or bearish color. This consensus-based approach helps filter out weak or conflicting trends, keeping you focused on high-probability setups.
Best Used For:
✓ Identifying strong trending conditions
✓ Avoiding choppy, sideways markets
✓ Confirming trade direction with other indicators
✓ Multi-timeframe analysis (works on any chart timeframe)
Customization Options:
Adjust all EMA periods to match your trading style
Customize ribbon colors for personal preference
Toggle ribbon visibility on/off
Modify smoothing sensitivity
Perfect for swing traders, scalpers, and day traders looking for a clean, reliable trend filter that works across all markets - forex, crypto, stocks, and indices.
Moving Averages
FVG DUAL HTF ALERTS - DG - FVG Dual HTF ALERTS DG - Confluence & Strength
Professional Fair Value Gap (FVG) Trading Indicator with Advanced HTF Analysis
This powerful indicator identifies and tracks Fair Value Gaps across two customizable higher timeframes (HTF), providing traders with precise entry zones, strength ratings, and real-time alerts for high-probability trading setups.
🎯 KEY FEATURES
Dual HTF Analysis
Two independent HTF settings - Analyze FVGs from any timeframe (1min to Daily)
Works on ALL timeframes - View 15min and 60min FVGs on your 1min chart
HTF confluence detection - Automatically highlights when both HTFs align
Customizable colors - Distinct colors for HTF1 and HTF2 zones
Intelligent Strength Scoring (0-10)
Each FVG receives a comprehensive strength rating based on:
Gap size relative to ATR
Volume analysis vs 20-period average
Current timeframe FVG confluence (★ indicator)
Trading session timing (London/NY sessions)
Large gap bonus
HTF confluence bonus
Rating System:
8-10 = 🔥 PREMIUM (Green) - Highest probability setups
5-7 = ✅ GOOD (Yellow) - Quality opportunities
0-4 = ⚠️ WEAK (Gray) - Lower confidence zones
Sweet Spot Inner Boxes
Precision entry zones - 10% inner box (customizable 1-50%)
BUY/SELL labels - Clear directional indicators
Customizable styling - Colors, borders, and text size
Entry optimization - Target the highest probability area within each FVG
Advanced Trading Tools
Automatic Entry/Stop/Target Lines - Up to 3 closest FVGs displayed simultaneously
Risk/Reward calculator - Shows R multiples and dollar values
Customizable position sizing - Micro, mini, or standard lots
Entry offset adjustment - Fine-tune entries ±50 pips from sweet spot center
Smart Fill Detection
HTF candle-based fills - Only checks for fills on HTF candle closes (not every lower TF bar)
Multiple fill methods:
Any Touch - Most sensitive
Midpoint Reached - Balanced
Wick Sweep - Conservative (default)
Body Beyond - Most strict
Touched tracking - Visual feedback when zones are tested
Comprehensive Alert System
8 Individual Alerts:
HTF1: Bullish/Bearish Zone Entry
HTF1: BUY/SELL Sweet Spot Entry
HTF2: Bullish/Bearish Zone Entry
HTF2: BUY/SELL Sweet Spot Entry
4 Combined Alerts:
ANY HTF: Bullish/Bearish Zone Entry
ANY HTF: BUY/SELL Sweet Spot Entry
Plus: Optional alerts for high-strength FVGs (8+)
Information Dashboard
Real-time market context display:
Gold Daily & 1H - Bullish/bearish bias with range in pips
Distance to nearest FVGs - Bull and bear zones
IN ZONE indicator - Shows when price enters sweet spots with strength rating
Optional BTC tracking - Monitor Bitcoin FVGs and bias simultaneously
⚙️ CUSTOMIZATION OPTIONS
Display Settings
Max FVGs to show per type (1-100)
Show only untouched FVGs option
Center line styling (solid/dashed/dotted)
Label visibility and colors
Strength color coding
Trading Parameters
Stop loss (1-100 pips)
Take profit (1-200 pips)
Entry offset adjustment
Lot size (0.01-100)
Dollar value display toggle
Advanced Options
Min strength filter (0-10)
Current TF confluence check
Lookback period (20-200 bars)
Max bars back (1-5000)
Require body close through gap
Test mode: Disable fill removal
💡 IDEAL FOR
Scalpers - 1min/3min charts viewing 5min/15min FVGs
Day Traders - 5min/15min charts viewing 15min/60min FVGs
Swing Traders - 1H/4H charts viewing 4H/Daily FVGs
Gold (XAU/USD) traders - Built-in gold bias indicators
Multi-timeframe analysis - See the bigger picture while trading lower TFs
🎓 HOW TO USE
Add to chart - Works best on 1-5min charts for intraday trading
Set your HTFs - Recommended: 15min + 60min for scalping
Watch for confluence - Green/orange borders indicate HTF alignment
Filter by strength - Focus on 8+ rated zones for best probability
Enter at sweet spots - Wait for price to reach inner boxes
Set alerts - Get notified when price enters high-quality zones
Manage risk - Use provided entry/stop/target lines
📊 BEST PRACTICES
✅ DO:
Focus on 8+ strength FVGs during London/NY sessions
Look for HTF confluence (lime/orange borders)
Wait for sweet spot entries (inner boxes)
Trade in the direction of HTF bias
Use multiple timeframe confirmation
❌ DON'T:
Trade low-strength FVGs (below 5) unless confirmed
Ignore the HTF bias indicators
Chase price - let it come to the zones
Trade without stops
Overtrade - quality over quantity
🔧 TECHNICAL NOTES
Max 500 boxes/lines/labels - Optimized for performance
Lookahead enabled - Accurate HTF data on lower timeframes
No repainting - All signals confirmed on bar close
Compatible with all brokers - Works on any instrument with FVGs
Mobile friendly - Clean display on all devices
📈 PERFORMANCE TIPS
For best results on lower timeframes (1min/3min):
Set "Max Bars Back" to 2000-3000
Set "Max FVGs Per Type" to 20-50
Use "Body Beyond" fill method for longer zone visibility
Enable "Check Current TF FVGs" for additional confluence
🎨 COLOR RECOMMENDATIONS
HTF1 (15min):
Bull: Blue (#2962FF80)
Bear: Red (#f2364580)
HTF2 (60min):
Bull: Purple (#9C27B080)
Bear: Light Red (#FF6B6B80)
Confluence:
Bull: Green (#00FF0060)
Bear: Orange (#FF6B0060)
💬 SUPPORT
Created by DJG9911
For questions, feature requests, or bug reports, please use the TradingView comments section.
Version: 6.0
License: Mozilla Public License 2.0
Last Updated: December 2024
Disclaimer: This indicator is for educational and informational purposes only. Always practice proper risk management and never risk more than you can afford to lose. Past performance does not guarantee future results.
Liquidity Pools Smart Entry + Multi-TF Targets + VWAPOverview
This indicator is designed to help traders identify high-probability institutional-style entries using concepts from ICT (Inner Circle Trader) methodology. It combines liquidity pool detection, fair value gaps (FVG), swing levels, killzones, ATR-based targets, VWAP bias, and optional multi-timeframe analysis.
The script provides visual trade signals and a green-light confirmation system to streamline decision-making and reduce overtrading.
Key Features
Market Structure
Detects CHoCH (Change of Character) and BOS (Break of Structure).
Marks bullish and bearish breaks with labels on the chart.
Liquidity & Swings
Highlights Swing High/Low liquidity zones (SSL/BSL).
Shows horizontal swing lines for reference.
Fair Value Gap (FVG) Detection
Bullish and bearish gaps are plotted as shaded boxes.
Identifies potential institutional entry zones.
Killzones
Highlights London and New York sessions.
Helps align trades with high liquidity periods.
VWAP Filter
Plots the intraday VWAP.
Optional VWAP bias filter ensures trades follow intraday institutional flow.
Multi-Timeframe Confirmation
Supports 5-minute entry confirmation.
Shows SL/TP for both current TF and 5-min TF signals.
ATR-Based Stops & Targets
Entry signals automatically calculate SL (1.5 ATR) and TP (ATR x multiplier).
Customizable ATR multiplier.
Trade Light System
Visual green/red/gray indicators:
🟢 Green: All bullish conditions aligned → LONG allowed.
🔴 Red: All bearish conditions aligned → SHORT allowed.
⚪ Gray: Wait → conditions not aligned.
Inputs
Input Description
Show CHoCH/BOS Toggle structure labels on/off
Show Killzones Toggle session backgrounds on/off
Show Swing Liquidity Show SSL/BSL swing points
Show Horizontal Lines Extend swing lines horizontally
Show FVG Zones Show Fair Value Gaps
Show VWAP Display intraday VWAP
Swing Length Number of bars to calculate swing pivots
ATR Target Multiplier Multiplies ATR for TP calculation
Use HTF 200 EMA Filter Filter entries with higher timeframe trend
Use RSI Filter Filter entries using RSI 14
Use Volume Filter Filter entries with high volume confirmation
Use ATR Filter Filter entries based on ATR expansion
Use VWAP Filter Only allow trades in VWAP direction
How to Read the Chart
Structure Labels
BOS ↑ / BOS ↓: Breaks of structure showing trend direction.
Swing Liquidity
SSL (blue): Bullish swing low liquidity.
BSL (red): Bearish swing high liquidity.
FVG Zones
Green boxes: Potential bullish liquidity gaps.
Red boxes: Potential bearish liquidity gaps.
Killzones
Green background: London session.
Blue background: New York session.
VWAP
Purple line: Intraday volume-weighted average price.
Trade Lights
🟢 Green: All bullish conditions met — LONG ready.
🔴 Red: All bearish conditions met — SHORT ready.
⚪ Gray: Wait — conditions not aligned.
Entry Labels
Shows Entry price, SL, TP.
Separate labels for current TF and 5-min confirmation.
How to Use
Step 1: Identify Market Bias
Check HTF EMA: price above → bullish trend, below → bearish trend.
Check VWAP (if enabled): trade in direction of VWAP for institutional alignment.
Check Killzones: prefer entries during London or New York sessions.
Step 2: Confirm Entry Conditions
Wait for BOS / CHoCH to align with your trend.
Look for FVG zone and SSL/BSL liquidity.
Ensure RSI, ATR, Volume, VWAP filters (if enabled) all confirm.
Green/red Trade Light should be active.
Step 3: Place Trade
Use Entry Label price as reference.
SL: 1.5 ATR away.
TP: ATR x multiplier away.
Optional: check 5-min multi-TF confirmation label for additional confidence.
Step 4: Manage Trade
Follow ATR-based SL/TP.
Move stop to break-even after partial target if desired.
Only take trades when Trade Light is GREEN (LONG) or RED (SHORT).
Best Practices
Combine with volume profile or order block analysis for higher precision.
Avoid trading outside killzones.
Use multi-TF confirmation for safer entries.
Adjust ATR multiplier according to market volatility.
Context Bundle | VWAP / EMA / Session HighLow (v6)
📌 0DTE Context Bundle (v6)
**VWAP • EMA Cloud • Session High/Low (NY / London / Asia)
The **0DTE Context Bundle** is a *decision-making overlay*, not a signal spam indicator.
It’s designed to help traders clearly see **value, trend, and liquidity levels** across **New York, London, and Asia sessions** — all in one clean, customizable tool.
Built for **NQ, ES, Gold, and FX pairs**, with a focus on **5–15-minute execution charts**.
---
## 🔹 What This Indicator Shows
### ✅ VWAP + ATR Bands
* Session VWAP (fair value)
* ATR-based extension bands (1x / 2x)
* Helps identify **overextension, mean reversion zones, and trend pullbacks**
### ✅ EMA 9 / 21 Cloud
* Visual trend and momentum filter
* Custom colors + opacity
* Identifies **trend continuation vs chop**
### ✅ Session High / Low Levels
* **New York RTH**
* **London**
* **Asia (midnight-safe)**
* Optional previous session highs/lows
* Adjustable line styles, widths, colors, and extensions
### ✅ Anchored VWAP (Optional)
* Reset by:
* Daily
* NY session start
* London session start
* Asia session start
* Useful for tracking **session-specific value shifts**
---
## 🔹 How Traders Use It
This indicator is meant to answer:
* *Are we trading at value or extension?*
* *Is the market trending or rotating?*
* *Where is liquidity likely sitting right now?*
Common use cases:
* Trend pullbacks into VWAP or EMA cloud
* Reversal setups at session highs/lows
* Session breakout + retest confirmation
* Overnight context for London and Asia sessions
---
## 🔹 Customization & Flexibility
Every component can be toggled and styled:
* Colors, widths, line styles
* Cloud up/down colors + opacity
* Session visibility and extensions
* VWAP band multipliers and ATR length
Members can adapt it to **their own style**, market, and timeframe.
---
## ⚠️ Disclaimer
This indicator is provided for **educational and informational purposes only**.
It does **not** provide financial advice or trade signals.
Always manage risk and confirm entries with your own strategy.
MultiTimeFrame SMA/EMA & clouds [PACHI]This will allow you to plot multiple moving averages and clouds for the current timeframe and also up to 5 from different timeframes
Hybrid Trend-Following Inside Bar BreakoutHybrid Trend-Following Inside Bar Breakout Strategy
The Hybrid Trend-Following Inside Bar Breakout Strategy is a rule-based trading system designed to capture strong directional moves while controlling risk during uncertain market conditions. It combines trend-following, price action, and volatility-based risk management into a single robust framework.
Core Concept
The strategy trades inside bar breakouts only in the direction of the dominant market trend. Inside bars represent periods of consolidation, and when price breaks out of this consolidation in a trending market, it often leads to impulsive moves with favorable risk–reward characteristics.
Key Components
1. Trend Filter
Uses 50 EMA and 200 EMA to define the market trend.
Bullish bias: 50 EMA above 200 EMA
Bearish bias: 50 EMA below 200 EMA
This filter prevents counter-trend trades and improves trade quality.
2. Volatility Filter
Compares fast ATR (14) with slow ATR (50).
Trades are taken only when volatility is expanding or above a minimum threshold.
This avoids low-volatility, choppy market conditions.
3. Inside Bar Breakout
An inside bar forms when the current candle’s high is lower than the previous candle’s high and the low is higher than the previous candle’s low.
A trade is triggered only when price breaks above or below the inside bar range in the direction of the trend.
4. Candle Quality Filter
Requires a minimum body-to-range ratio, ensuring that the breakout candle has strong momentum and is not driven by weak wicks.
Risk Management & Trade Management
Stop Loss (SL)
Placed using ATR-based dynamic stops, adapting to current market volatility.
Prevents tight stops in volatile conditions and wide stops in calm markets.
Partial Profit Taking
50% of the position is exited at 1.5R, locking in profits early.
This reduces psychological pressure and improves equity stability.
Trailing Stop
After partial profit is taken, the remaining position is managed with an ATR-based trailing stop.
Allows the strategy to capture large trend moves while protecting gains.
Cooldown Mechanism
After a losing trade, the system enters a cooldown period and skips a fixed number of bars.
This helps avoid revenge trading and overtrading during unfavorable market phases.
Why This Strategy Works
Trades only high-probability breakouts in trending markets
Adapts automatically to changing volatility
Combines price action precision with systematic risk control
Designed for consistent performance over long historical periods
Price Crossing 144 EMA Alert (No Visuals)Price Crossing 144 EMA Alert (No VisuPrice Crossing 144 EMA Alert (No Visuals)Price Crossing 144 EMA Alert (No Visuals)Price Crossing 144 EMA Alert (No Visuals)Price Crossing 144 EMA Alert (No Visuals)als)
Trend Prediction Meter [PointAlgo]The Trend Prediction Meter & Levels is a composite market-bias and volatility visualization tool designed to summarize trend strength, momentum, price positioning, and volatility into a single normalized score.
It provides a structured framework to interpret directional bias and probable price expansion zones during active market conditions.
Concept Overview
Markets often reflect multiple conditions simultaneously—trend direction, momentum strength, price location within a range, and volatility.
This indicator combines these elements into a unified Bullish Score (0–100), displayed as a meter and supported by projected ATR-based levels.
Rather than focusing on a single signal, the script aims to present context about current market conditions.
Bullish Score Composition (0–100)
The meter represents a weighted blend of multiple market factors:
1. Trend Strength (EMA Structure)
Uses a fast and slow EMA to assess directional bias.
The distance between EMAs is normalized into a trend strength score.
Strong separation indicates directional conviction; compression suggests balance.
2. Momentum Strength (RSI Blend)
Combines a short-term and mid-term RSI.
Helps capture both immediate momentum and broader directional stability.
Higher readings indicate sustained bullish pressure, lower readings indicate bearish pressure.
3. Position Within Recent Range
Measures where price is trading relative to its recent high–low range.
Values near the top of the range reflect strength; values near the bottom reflect weakness.
Mid-range positioning indicates equilibrium.
4. Volume Participation
Compares current volume against its recent average.
Acts as a minor confidence modifier rather than a primary driver.
Each component is normalized and combined using fixed weights to produce a final Bullish Score between 0 and 100.
Bias Classification
The Bullish Score is translated into descriptive market states:
Extreme Bullish
Very Bullish
Bullish
Neutral
Bearish
Very Bearish
These labels describe current bias, not future certainty.
Meter Visualization
The meter plot dynamically changes color based on the score range.
A dashed midline at 50 represents balance.
Background shading highlights strong bullish or bearish dominance zones.
Crossovers of the 50-level indicate shifts in directional control.
ATR-Based Projection Levels:
To provide volatility context, the indicator calculates ATR-based upside and downside reference levels:
Two potential expansion levels (TP1 and TP2) are projected above and below price.
The distance of these levels adapts based on current bias strength.
These levels are contextual reference zones, not fixed targets.
Prediction Dashboard
An optional side table summarizes key readings at the most recent bar:
Symbol
Current bias label
Bullish Score
Current price
ATR value
Upside and downside projection levels
Directional comment (Upside favoured / Downside favoured / Balanced)
This dashboard is designed to provide a quick structural overview without requiring manual calculation.
Signals & Alerts
Built-in alerts are available for:
Bullish bias conditions
Bearish bias conditions
Bullish Score crossing above 50
Bullish Score crossing below 50
Alerts are informational and reflect internal state changes only.
Customization:
Users can adjust:
RSI lengths
EMA lengths
Range lookback period
ATR parameters
Display options for the meter and dashboard
This allows adaptation across different instruments and timeframes.
Usage Notes
Best suited for analytical interpretation rather than standalone decision-making.
Designed to complement price action, structure, or other indicators.
Works across multiple markets where volume and volatility data are available.
Disclaimer :
This indicator is intended for educational and analytical purposes only.
It does not provide investment, trading, or financial advice.
All signals and levels should be validated with independent analysis and appropriate risk management.
Relative Strength Index_YJ//@version=5
indicator(title="MACD_YJ", shorttitle="MACD_YJ",format=format.price, precision=2)
source = close
useCurrentRes = input.bool(true, title="Use Current Chart Resolution?")
resCustom = input.timeframe("60", title="Use Different Timeframe? Uncheck Box Above")
smd = input.bool(true, title="Show MacD & Signal Line? Also Turn Off Dots Below")
sd = input.bool(false, title="Show Dots When MacD Crosses Signal Line?")
sh = input.bool(true, title="Show Histogram?")
macd_colorChange = input.bool(true, title="Change MacD Line Color-Signal Line Cross?")
hist_colorChange = input.bool(true, title="MacD Histogram 4 Colors?")
// === Divergence inputs ===
grpDiv = "Divergence"
calculateDivergence = input.bool(true, title="Calculate Divergence", group=grpDiv, tooltip="피벗 기반 정/역배 다이버전스 탐지 및 알람 사용")
lookbackRight = input.int(5, "Lookback Right", group=grpDiv, minval=1)
lookbackLeft = input.int(5, "Lookback Left", group=grpDiv, minval=1)
rangeUpper = input.int(60, "Bars Range Upper", group=grpDiv, minval=1)
rangeLower = input.int(5, "Bars Range Lower", group=grpDiv, minval=1)
bullColor = input.color(color.new(#4CAF50, 0), "Bull Color", group=grpDiv)
bearColor = input.color(color.new(#F23645, 0), "Bear Color", group=grpDiv)
textColor = color.white
noneColor = color.new(color.white, 100)
res = useCurrentRes ? timeframe.period : resCustom
fastLength = input.int(12, minval=1)
slowLength = input.int(26, minval=1)
signalLength= input.int(9, minval=1)
fastMA = ta.ema(source, fastLength)
slowMA = ta.ema(source, slowLength)
macd = fastMA - slowMA
signal = ta.sma(macd, signalLength)
hist = macd - signal
outMacD = request.security(syminfo.tickerid, res, macd)
outSignal = request.security(syminfo.tickerid, res, signal)
outHist = request.security(syminfo.tickerid, res, hist)
// 가격도 같은 res로
hi_res = request.security(syminfo.tickerid, res, high)
lo_res = request.security(syminfo.tickerid, res, low)
// ── Histogram 색
histA_IsUp = outHist > outHist and outHist > 0
histA_IsDown = outHist < outHist and outHist > 0
histB_IsDown = outHist < outHist and outHist <= 0
histB_IsUp = outHist > outHist and outHist <= 0
macd_IsAbove = outMacD >= outSignal
plot_color = hist_colorChange ? (histA_IsUp ? color.new(#00FF00, 0) :
histA_IsDown ? color.new(#006900, 0) :
histB_IsDown ? color.new(#FF0000, 0) :
histB_IsUp ? color.new(#670000, 0) : color.yellow) : color.gray
macd_color = macd_colorChange ? color.new(#00ffff, 0) : color.new(#00ffff, 0)
signal_color = color.rgb(240, 232, 166)
circleYPosition = outSignal
// 골든/데드 크로스 (경고 해결: 먼저 계산)
isBullCross = ta.crossover(outMacD, outSignal)
isBearCross = ta.crossunder(outMacD, outSignal)
cross_color = isBullCross ? color.new(#00FF00, 0) : isBearCross ? color.new(#FF0000, 0) : na
// ── 플롯
plot(sh and outHist ? outHist : na, title="Histogram", color=plot_color, style=plot.style_histogram, linewidth=5)
plot(smd and outMacD ? outMacD : na, title="MACD", color=macd_color, linewidth=1)
plot(smd and outSignal? outSignal: na, title="Signal Line", color=signal_color, style=plot.style_line, linewidth=1)
plot(sd and (isBullCross or isBearCross) ? circleYPosition : na,
title="Cross", style=plot.style_circles, linewidth=3, color=cross_color)
hline(0, "0 Line", linestyle=hline.style_dotted, color=color.white)
// =====================
// Divergence (정배/역배) - 피벗 비교
// =====================
_inRange(cond) =>
bars = ta.barssince(cond)
rangeLower <= bars and bars <= rangeUpper
plFound = false
phFound = false
bullCond = false
bearCond = false
macdLBR = outMacD
if calculateDivergence
// 정배: 가격 LL, MACD HL
plFound := not na(ta.pivotlow(outMacD, lookbackLeft, lookbackRight))
macdHL = macdLBR > ta.valuewhen(plFound, macdLBR, 1) and _inRange(plFound )
lowLBR = lo_res
priceLL = lowLBR < ta.valuewhen(plFound, lowLBR, 1)
bullCond := priceLL and macdHL and plFound
// 역배: 가격 HH, MACD LH
phFound := not na(ta.pivothigh(outMacD, lookbackLeft, lookbackRight))
macdLH = macdLBR < ta.valuewhen(phFound, macdLBR, 1) and _inRange(phFound )
highLBR = hi_res
priceHH = highLBR > ta.valuewhen(phFound, highLBR, 1)
bearCond := priceHH and macdLH and phFound
// 시각화 (editable 파라미터 삭제)
plot(plFound ? macdLBR : na, offset=-lookbackRight, title="Regular Bullish (MACD)",
linewidth=2, color=(bullCond ? bullColor : noneColor), display=display.pane)
plotshape(bullCond ? macdLBR : na, offset=-lookbackRight, title="Bullish Label",
text=" Bull ", style=shape.labelup, location=location.absolute, color=bullColor, textcolor=textColor, display=display.pane)
plot(phFound ? macdLBR : na, offset=-lookbackRight, title="Regular Bearish (MACD)",
linewidth=2, color=(bearCond ? bearColor : noneColor), display=display.pane)
plotshape(bearCond ? macdLBR : na, offset=-lookbackRight, title="Bearish Label",
text=" Bear ", style=shape.labeldown, location=location.absolute, color=bearColor, textcolor=textColor, display=display.pane)
// 알람
alertcondition(bullCond, title="MACD Regular Bullish Divergence",
message="MACD 정배 다이버전스 발견: 현재 봉에서 lookbackRight 만큼 좌측.")
alertcondition(bearCond, title="MACD Regular Bearish Divergence",
message="MACD 역배 다이버전스 발견: 현재 봉에서 lookbackRight 만큼 좌측.")
EMA 5/9 Angle + Candle Strength (SL=Open, TP=RR)EMA 5 / EMA 9 cross
Cross must have ~30° angle (approximated using slope → atan)
Entry candle must be bullish/bearish and also be Normal / 2nd Most / Most based on body-size percentile
Entry = close of signal candle
SL = open of signal candle
TP = 1:2 RR (editable input)
[Backtest Crypto] Cross MAThis script is designed for testing the moving average crossover strategy.
Script settings:
Select testing range
Indicator settings: Select moving average type (EMA, SMA, WMA, SMMA, HMA) and period
Trade management: Select risk-to-reward ratio, stop-loss defined as min/max for a certain number of candles (you can set a desired number), option to partially lock in a position by moving the stop-loss to breakeven, trailing stop, or close a position on an opposite signal.
Option to limit the stop-loss by ATR to prevent it from becoming too large during volatile movements.
===============================================================
Скрипт предназначен для тестирования стратегии пересечение скользящих средних.
Настройки скрипта:
Выбор диапазона тестирования
Настройки индикатора: выбор типа скользящей (EMA, SMA, WMA, SMMA, HMA) и периода
Сопровождение сделки: выбор соотношения риска к прибыли, стоп-лосс определяется как мин/мах за определенное количество свечей (можно устанавливать желаемое количество), возможность частичной фиксации позиции с переносом стоп-лосса в безубыток, трейлинг-стоп, или закрытие позиции по противоположному сигналу.
Возможность ограничения стоп-лосса по ATR, чтобы при волатильных движениях он не был слишком большим.
Moving Averages 20 & 200Moving Averages 20&200. Help you decide buy signal to find bullish or bearish.
SMC Market Structure with EMA Confirmation and Prepare EntryDewaSMC v1 — Smart Market Structure with Prepare Entry & EMA Confirmation
DewaSMC v1 is a technical analysis indicator based on market structure concepts, designed to help traders visually analyze price behavior in a structured and objective way. This indicator focuses on identifying structural changes in the market and highlighting areas of interest where price reactions may occur.
It is intended as an analytical support tool, not as an automated trading system or a signal service
🔹 Key Features
1. Market Structure Detection (BOS & CHoCH)
• Identifies Break of Structure (BOS) and Change of Character (CHoCH) using swing high and swing low analysis.
• Break confirmation can be configured to use candle body or wick.
• Structure levels are visualized with lines and clear BOS / CHoCH labels directly on the chart.
2. Prepare Entry Zones
• Displays prepare entry zones when price approaches an important structure level but has not yet confirmed a break.
• These zones help users monitor potential setups without entering prematurely.
• Prepare zones are temporary and automatically disappear after a defined number of bars or once a structure break occurs.
3. EMA Confirmation Filter
• Uses short-term and long-term EMAs as directional filters.
• Optional confirmation modes:
o Price relative to EMA
o EMA alignment (short EMA above/below long EMA)
• This filter is designed to reduce counter-structure or counter-trend scenarios.
4. Volatility-Based Target Projection
• After a confirmed structure break, the indicator projects:
o Entry level
o Stop Loss level
o Multiple target levels (TP1, TP2, TP3)
• Targets are calculated using ATR-based volatility logic, allowing adaptability to different market conditions.
• Risk and reward areas are displayed as visual zones for clarity.
5. Trade Information Table
• A real-time information table summarizes key analytical data, including:
o Structural direction
o Entry level
o Stop Loss
o Target levels
o EMA confirmation status
o Estimated Risk-to-Reward ratio
• Table position is fully customizable on the chart.
6. Trend Visualization
• Candles can be colored based on current market structure direction.
• EMAs are plotted as additional trend references.
⚙️ Customizable Settings
• Structure detection period
• Break confirmation type (Body or Wick)
• Enable / disable:
o Prepare Entry zones
o EMA confirmation
o Trade information table
o Trend-based candle coloring
• Visual customization options for colors and layout
📌 Important Notes
• This indicator does not provide financial advice and does not guarantee any specific outcome.
• It should be used in combination with:
o Personal risk management rules
o Additional technical or contextual analysis
• All trading decisions remain the responsibility of the user.
🎯 Suitable For
• Traders studying market structure or Smart Money–style concepts
• Manual analysis on various instruments and timeframes
• Users seeking a structured and visual approach to price analysis
MA Crossovers (EMA + SMA)A versatile Moving Average tool designed to spot trends using a hybrid EMA/SMA setup. It provides clear visual signals and an on-chart trade simulator to track potential performance.
Features:
Hybrid Setup: Combines a fast EMA (Length 9) with three SMAs (50, 100, 150) for balanced trend detection.
4 Crossover Alerts: Monitors up to 4 different crossover pairs simultaneously with customizable markers.
Visual P&L Simulator: Automatically draws entry/exit lines and calculates Profit/Loss percentages for the primary crossover, helping you visualize trade potential.
Price Labels: Displays the exact price at every crossover point for precision.
Fully Customizable: extensive control over colors, opacity, line widths, and label positioning to keep your chart clean.
Rainbow MA Width█ OVERVIEW
Rainbow MA Width is a companion indicator for Rainbow MA Cloud. It displays ribbon width as a normalized Z-Score, allowing traders to visualize trend momentum expansion and contraction relative to recent history.
█ CONCEPTS
Z-Score Normalization:
Rather than displaying raw width values (which vary by asset and timeframe),
this indicator normalizes the ribbon width using Z-Score calculation:
Z-Score = (Current Width - Average Width) / Standard Deviation
Z-Score Interpretation:
• 0 = Average width (mean)
• +1 to +2 = Expanding (above average, strong trend)
• -1 to -2 = Contracting (below average, weakening trend)
• Beyond ±2 = Extreme (statistical outlier, potential reversal)
Width Calculation Modes:
• Outer — Distance between fastest and slowest MA: |MA1 - MA8|
• Average Gap — Mean of all adjacent MA gaps
• Total Gap — Sum of all adjacent MA gaps
█ FEATURES
1 — Width Mode Selection
Three methods to calculate ribbon width.
"Outer" recommended for aligned trends.
2 — Z-Score Period
Configurable lookback for mean and standard deviation.
Default 20 bars; increase for smoother, less reactive readings.
3 — Zone Fill Coloring
Cyan fill when expanding (Z > 0).
Orange fill when contracting (Z < 0).
Yellow fill for extreme values (|Z| > 2) as warning.
4 — Alignment Background
Green background during bullish alignment.
Red background during bearish alignment.
Synced with Rainbow MA Cloud for consistency.
5 — Reference Lines
Horizontal lines at 0 (mean), ±1σ, and ±2σ levels.
Provides clear visual boundaries for interpretation.
6 — Raw Width Display
Optional secondary line showing original width percentage.
Useful for comparing normalized vs absolute values.
█ HOW TO USE
Trend Confirmation:
• Z-Score rising above 0 confirms trend acceleration
• Z-Score staying above +1 indicates sustained strong momentum
• Use alongside alignment background for confluence
Reversal Warning:
• Z-Score exceeding +2 suggests overextension (yellow warning zone)
• Z-Score dropping below -2 indicates extreme contraction
• Extreme readings often precede trend reversals or consolidation
Entry Timing:
• Enter trends when Z-Score crosses above 0 (expansion beginning)
• Avoid entries when Z-Score is at extreme highs (potential exhaustion)
• Consider exits when Z-Score peaks and begins declining
█ LIMITATIONS
• Z-Score is relative to lookback period; different periods give different readings
• Extreme zones (±2) are statistical guides, not guarantees
• Best used in conjunction with Rainbow MA Cloud for full context
█ ALERTS
Four built-in alert conditions:
• Z-Score crosses above/below zero
• Z-Score enters extreme high/low zones (±2)
Rainbow MA Cloud█ OVERVIEW
Rainbow MA Cloud displays 8 Moving Averages as a gradient-colored cloud to visualize trend direction and strength. The "rainbow" effect shows momentum through ribbon width, while perfect MA alignment signals strong trending conditions.
█ CONCEPTS
The indicator uses 8 MAs with Fibonacci-based default lengths (8, 13, 21, 34, 55, 89, 144, 233) to create a layered view of price momentum across multiple timeframes.
Perfect Alignment Detection:
• Bullish Alignment — All 8 MAs in ascending order (MA1 > MA2 > ... > MA8)
Indicates strong uptrend with momentum across all timeframes
• Bearish Alignment — All 8 MAs in descending order (MA1 < MA2 < ... < MA8)
Indicates strong downtrend with aligned selling pressure
• Mixed — MAs are not in sequential order, suggesting consolidation or transition
Ribbon Width:
• Widening ribbon = Trend acceleration, increasing momentum
• Narrowing ribbon = Trend weakening, potential reversal or consolidation
█ FEATURES
1 — MA Configuration
Choose from EMA, SMA, WMA, VWMA, or HMA calculation methods.
All 8 MA lengths are fully customizable.
2 — Color Themes
Five built-in themes: Rainbow, Warm, Cool, Neon, Mono.
Creates visually distinct gradient from fast to slow MAs.
3 — Alignment Background
Green background during bullish alignment.
Red background during bearish alignment.
Helps quickly identify strong trending periods.
4 — Trend Signals
Labels appear when perfect alignment forms.
"BULL ALIGN" for bullish, "BEAR ALIGN" for bearish.
5 — Information Panel
Real-time display of alignment status, trend strength percentage,
ribbon width, price position relative to cloud, and MA values.
█ HOW TO USE
Entry Signals:
• Look for alignment signals (BULL/BEAR ALIGN) as trend confirmation
• Enter long when bullish alignment forms with price above cloud
• Enter short when bearish alignment forms with price below cloud
Trend Following:
• Stay in position while alignment background color persists
• Widening ribbon confirms trend continuation
• Exit or reduce when alignment breaks (background disappears)
Support/Resistance:
• Cloud edges act as dynamic support (bullish) or resistance (bearish)
• Price entering cloud suggests consolidation or potential reversal
█ LIMITATIONS
• Alignment signals are lagging by nature (based on MA crossovers)
• Works best on trending markets; generates mixed signals during ranging periods
• Ribbon width measurement uses outer MAs only (MA1 vs MA8)
█ COMPANION INDICATOR
Use "Rainbow MA Width" indicator for detailed Z-Score analysis of ribbon expansion/contraction patterns.
Fish vs Shark Vote Dashboard (6 Signals)very simple dashboard align with fish and shark market votes 1/5 2/4 etc
Multi-TF EMA Alignment with Curvature (Buy & Sell) 2when you pick 3 times frames as a Context, Validation, and Entry, when all EMA's stack on all three time frame with curvature up or down it signals a long or short
Momentum Turtle Swing StrategyMomentum Breakout Swing Tool — Overview
This indicator is built for traders who like breakout-style swing entries with a simple, disciplined structure. It blends trend context + momentum confirmation to highlight moments when price is more likely to continue rather than chop.
Core idea
Focus on directional expansion: it looks for points where price starts moving decisively after a period of structure building.
Signals are filtered so they appear primarily when the market is showing a clear directional bias, not when it’s indecisive.
Confirmation concept
Uses a trend context filter to stay aligned with the dominant market direction.
Adds a momentum sanity check so signals are less likely to trigger when strength is fading.
Position logic (unique signals)
Designed to keep signals clean and non-spammy: it produces distinct entry markers instead of repeated triggers in the same direction.
The internal flow treats market states as “in-trade / out-of-trade” to keep the chart readable.
Exit philosophy
Exits are based on a reactive market reference (to adapt when momentum cools or structure shifts), rather than fixed targets.
The goal is to stay in the move while it’s healthy and step aside when conditions degrade.
Best conditions
Works best in markets with clear swings and breakout continuation behavior.
Less effective in tight ranges or noisy sideways phases, where breakouts can fail more often.
For educational and analytical purposes only. Always forward-test on different markets and timeframes.
Kalman Smoother PanelPanel version of the Kalman smoothing indicator which I have setup myself to look at the volume but could be used for smoothing other noisy or erratic data values, it populates in a new pane below the main chart and has a small panel window of it's own to display the values that are output and the user is able to see the difference that way as well as in line chart format.
Anchored Cumulative AverageAnchored Cumulative Price Average
Overview
The Anchored Cumulative Price Average plots the arithmetic mean of price values calculated from a user-defined start date and time.
Instead of using a fixed lookback length, the average continuously incorporates every completed candle since the anchor point, producing a stable reference level that evolves as new data becomes available.
The indicator supports custom source selection, optional higher-timeframe calculation, and an optional High / Low average mode, making it suitable for contextual market analysis across multiple time horizons.
How It Works
• A start date and time define the anchor point.
• From that moment forward, the script accumulates price values and divides them by the total number of candles included.
• The result is a cumulative (since-anchor) average, not a rolling moving average.
• When a higher timeframe is selected, calculations are performed only when a new HTF candle completes, ensuring consistent aggregation.
This approach creates an average that reflects the market’s mean price relative to a specific event, session, or structural point.
Inputs
• Calculation Timeframe
Choose the timeframe used for the calculation. Leaving this empty uses the chart timeframe.
• Start Date / Time
Defines the anchor point from which the average begins.
Source
Select the price input used for the average:
• Close, Open, High, Low
• HL2, HLC3, OHLC4
• High & Low (plots separate averages for highs and lows)
How to Use
• Anchor the indicator to a session open, swing point, news event, or structural shift.
• Observe how price interacts with the cumulative average as more data is added.
• Use the High & Low mode to visualize mean price boundaries instead of a single central line.
• Apply a higher timeframe to view broader contextual averages while remaining on a lower-timeframe chart.
Common Use Cases
• Contextual reference for mean price since a specific date or event
• Market structure and balance analysis
• Session-based or event-anchored price evaluation
• Multi-timeframe alignment and bias assessment
• Visual support tool alongside discretionary analysis
Notes
• This indicator does not predict price or generate trade signals.
• It is designed as a contextual analysis tool and should be used in conjunction with other forms of market analysis.
• The plotted values will change as new candles form after the anchor point.
Sentinel System V1.1
Sentinel System – High-Probability Confluence Indicator (Non-Repainting)The Sentinel System is a powerful all-in-one indicator designed for traders who want clean, high-probability entries with minimal false signals. Built around the principle of multiple confluence, it combines trend filtering, momentum triggers, and dynamic price zones to deliver precise buy/sell arrows only when everything aligns.Key Features:Trend Filter: Uses EMA 50/200 to ensure signals only appear in the direction of the prevailing trend (no counter-trend noise).
Sentinel Trigger: Custom fast/slow momentum crossover optimized to catch the beginning of impulsive moves.
Sentinel Zones: Shaded dynamic areas based on recent pivots/fractals, mild overbought/oversold conditions, and relative strength. Signals are only validated inside these high-confluence zones.
Clean Arrows & Alerts: Non-repainting ↑ (long) and ↓ (short) arrows with pop-up, sound, and push alerts.
Confluence Dashboard: Small on-chart label showing signal strength (Strong / Medium / Weak).
Works on any timeframe and any asset – exceptional performance on volatile markets like BTC, ETH, XAU/USD, and major forex pairs.
Why traders love it:Extremely low false signal rate thanks to triple-layer confirmation.
Fully non-repainting – once an arrow appears, it stays.
Perfect for scalping (lower TFs) or swing trading (higher TFs).
Simple and clean visuals – no chart clutter.
Whether you're a beginner looking for reliable signals or an experienced trader seeking confluence confirmation, Sentinel System helps you stay on the right side of the market with confidence.Feel free to test it extensively – the results speak for themselves. Disclaimer: No indicator guarantees profits. Always use proper risk manageme
¿Cómo funciona?Combina tres capas de confirmación:Tendencia (EMA).
Momentum (trigger).
Zona de precio dinámica.
Solo cuando las tres coinciden, aparece una señal. Esto reduce mucho las entradas falsas.¿Para qué sirve?Funciona en cualquier timeframe y cualquier activo.
Destaca especialmente en mercados volátiles como Bitcoin (BTC), Ethereum (ETH), oro (XAU/USD) y pares mayores de forex.
Ideal para scalping (timeframes bajos) o swing trading (timeframes altos).
Perfecto para principiantes que buscan señales claras o traders avanzados que quieren confirmación extra.






















