Sectors Comparison with Auto LabelsThis indicator creates a label which updates with the chart value.
지표 및 전략
2 MACD VISUEL — 4H / 1H / 15M + CONFIRMATION 5M//@version=6
indicator("MTF MACD VISUEL — 4H / 1H / 15M + CONFIRMATION 5M", overlay=true, max_labels_count=500)
// ─────────────────────────────
// Fonction MACD Histogram
// ─────────────────────────────
f_macd(src) =>
fast = ta.ema(src, 12)
slow = ta.ema(src, 26)
macd = fast - slow
signal = ta.ema(macd, 9)
hist = macd - signal
hist
// ─────────────────────────────
// MTF MACD HISTOGRAM
// ─────────────────────────────
h4 = request.security(syminfo.tickerid, "240", f_macd(close))
h1 = request.security(syminfo.tickerid, "60", f_macd(close))
h15 = request.security(syminfo.tickerid, "15", f_macd(close))
h5 = request.security(syminfo.tickerid, "5", f_macd(close))
// Signes
s4 = h4 > 0 ? 1 : h4 < 0 ? -1 : 0
s1 = h1 > 0 ? 1 : h1 < 0 ? -1 : 0
s15 = h15 > 0 ? 1 : h15 < 0 ? -1 : 0
s5 = h5 > 0 ? 1 : h5 < 0 ? -1 : 0
// Conditions
three_same = (s4 == s1) and (s1 == s15) and (s4 != 0)
five_same = three_same and (s5 == s4)
// BUY / SELL logiques
isBUY = five_same and s4 == 1
isSELL = five_same and s4 == -1
// ─────────────────────────────
// DASHBOARD VISUEL (en haut du graphique)
// ─────────────────────────────
var table dash = table.new(position.top_right, 4, 2, border_color=color.black)
table.cell(dash, 0, 0, "4H", bgcolor = s4 == 1 ? color.green : s4 == -1 ? color.red : color.gray)
table.cell(dash, 1, 0, "1H", bgcolor = s1 == 1 ? color.green : s1 == -1 ? color.red : color.gray)
table.cell(dash, 2, 0, "15M", bgcolor = s15 == 1 ? color.green : s15 == -1 ? color.red : color.gray)
table.cell(dash, 3, 0, "5M", bgcolor = s5 == 1 ? color.green : s5 == -1 ? color.red : color.gray)
table.cell(dash, 0, 1, s4 == 1 ? "↑" : s4 == -1 ? "↓" : "·", bgcolor=color.new(color.black, 0), text_color=color.white)
table.cell(dash, 1, 1, s1 == 1 ? "↑" : s1 == -1 ? "↓" : "·", bgcolor=color.new(color.black, 0), text_color=color.white)
table.cell(dash, 2, 1, s15 == 1 ? "↑" : s15 == -1 ? "↓" : "·", bgcolor=color.new(color.black, 0), text_color=color.white)
table.cell(dash, 3, 1, s5 == 1 ? "↑" : s5 == -1 ? "↓" : "·", bgcolor=color.new(color.black, 0), text_color=color.white)
// ─────────────────────────────
// SIGNES VISUELS SUR LE GRAPHIQUE
// ─────────────────────────────
plotshape(isBUY, title="BUY", style=shape.triangleup, location=location.belowbar, color=color.green, size=size.large, text="BUY")
plotshape(isSELL, title="SELL", style=shape.triangledown, location=location.abovebar, color=color.red, size=size.large, text="SELL")
// Histogramme du MACD 5M en couleur tendance
plot(h5, title="MACD Hist 5M", color = h5 >= 0 ? color.green : color.red, style=plot.style_columns)
// ─────────────────────────────
// Alerte Webhook (message constant OBLIGATOIRE)
// ─────────────────────────────
alertcondition(isBUY, title="Signal BUY Confirmé", message="MTF_MACD_BUY")
alertcondition(isSELL, title="Signal SELL Confirmé", message="MTF_MACD_SELL")
1MTF MACD Alignement XAUUSD - Webhook v6//@version=6
indicator("MTF MACD Alignement XAUUSD - Webhook v6", overlay=false)
// ===== Paramètres utilisateur =====
fast_len = input.int(12, "Fast Length")
slow_len = input.int(26, "Slow Length")
signal_len = input.int(9, "Signal Length")
repl_secret = input.string(title="Webhook secret (doit matcher WEBHOOK_SECRET)", defval="Covid-19@2020")
// ===== Fonction MACD histogramme =====
f_macd_hist(src) =>
macd = ta.ema(src, fast_len) - ta.ema(src, slow_len)
signal = ta.ema(macd, signal_len)
hist = macd - signal
hist
// ===== Récupération multi-timeframe =====
hist4h = request.security(syminfo.tickerid, "240", f_macd_hist(close), lookahead=barmerge.lookahead_off)
hist1h = request.security(syminfo.tickerid, "60", f_macd_hist(close), lookahead=barmerge.lookahead_off)
hist15m = request.security(syminfo.tickerid, "15", f_macd_hist(close), lookahead=barmerge.lookahead_off)
hist5m = request.security(syminfo.tickerid, "5", f_macd_hist(close), lookahead=barmerge.lookahead_off)
// ===== Signes de MACD =====
s4 = hist4h > 0 ? 1 : (hist4h < 0 ? -1 : 0)
s1 = hist1h > 0 ? 1 : (hist1h < 0 ? -1 : 0)
s15 = hist15m > 0 ? 1 : (hist15m < 0 ? -1 : 0)
s5 = hist5m > 0 ? 1 : (hist5m < 0 ? -1 : 0)
// ===== Vérification alignement TF supérieurs =====
three_same = (s4 != 0) and (s4 == s1) and (s1 == s15)
// ===== Confirmation 5M =====
five_in_same = three_same and (s5 == s4)
// ===== Préparation du JSON pour webhook =====
signal_type = s4 == 1 ? "BUY" : (s4 == -1 ? "SELL" : "NEUTRAL")
alert_json = '{"secret":"'+repl_secret+'","symbol":"'+syminfo.ticker+'","signal":"'+signal_type+'","time":"'+str.tostring(time, "yyyy-MM-dd HH:mm:ss")+'","aligned": }'
// ===== Alertcondition compilable =====
// v6 n’accepte pas message dynamique, donc on met un message fixe
alertcondition(five_in_same and ta.change(five_in_same), title="MACD Align + 5M confirm", message="MACD alignement détecté")
// ===== Affichage optionnel des histogrammes =====
plot(hist4h, title="hist 4H", color=color.new(color.green, 0), linewidth=1)
plot(hist1h, title="hist 1H", color=color.new(color.blue, 0), linewidth=1)
plot(hist15m, title="hist 15M", color=color.new(color.orange, 0), linewidth=1)
plot(hist5m, title="hist 5M", color=color.new(color.purple, 0), linewidth=1)
Trillotron 5000 Checklist AssistantTrillotron 5000’s Checklist Assistant is a complete multi-factor trading confirmation system designed to help traders avoid low-quality entries and only take high-probability setups.
The indicator evaluates market structure, multi-timeframe EMA alignment, volume, ATR, key levels, and candle confirmation to determine whether a chart meets the full criteria for a CALL (bullish) or PUT (bearish) setup.
When all conditions align, the indicator highlights the chart with a colored background (green for CALL, red for PUT) and prints a clear signal label on the bar. This tool helps reinforce discipline, reduce impulsive trades, and support consistent decision-making across all timeframes.
Moving Averages (all Types) MTF colored! by Moin-TradingEnglish 🇬🇧
Title: Moving Averages (all Types) MTF colored!
Short Description:
By Moin-Trading. A customizable Moving Average Ribbon that automatically colors the lines green if the closing price is above the MA, and red if the price is below it. Based on the classic "MA Ribbon" indicator.
Description:
This indicator, provided by Moin-Trading, is based on the structure of the popular "Moving Average Ribbon" (MA Ribbon) indicator, but enhances it with powerful dynamic color coding and full MA type flexibility.
It offers a visually intuitive tool for market analysis. It plots four individually adjustable moving averages (MAs) on your chart and applies dynamic color coding based on current price action.
Key Features:
Dynamic Coloring: Each MA line automatically turns green if the current close price is greater than or equal to the MA (bullish sentiment), and red if the price is below it (bearish sentiment). This allows for a quick visual assessment of the trend relative to multiple timeframes.
Four Customizable MAs: Track up to four different moving averages simultaneously (defaulting to 20, 50, 100, 200 periods).
MA Type Flexibility: The indicator supports all MA types (SMA, EMA, RMA, WMA, VWMA), with EMA set as the default.
MTF (Multi-Timeframe): The timeframe = "" setting allows you to run the indicator on any desired timeframe to view higher-timeframe MAs on your current chart.
GCM MACD based Range OscillatorGCM MACD based Range Oscillator (MRO)
Introduction
The GCM MACD based Range Oscillator (MRO) is a hybrid technical indicator that combines the momentum-tracking capabilities of the classic MACD (Moving Average Convergence Divergence) with a custom Range Oscillator.
The core problem this script solves is normalization. Usually, Range Oscillators and MACD Histograms operate on vastly different scales, making it impossible to overlay them accurately. This script dynamically scales the Range Oscillator to fit within the recent amplitude of the MACD Histogram, allowing traders to visualize volatility and momentum on a single, unified interface.
How It Works (The Math)
1. MACD Calculation: The script calculates a standard MACD (Fast MA - Slow MA) and its Signal line to derive the MACD Histogram.
2. Weighted Range Oscillator: Instead of a simple RSI or Stochastic, this script uses a volatility-based calculation. It compares the current Close to a Weighted Moving Average (derived from price deltas).
3. Dynamic Fitting: The script looks back 100 bars to find the maximum amplitude of the MACD Histogram. It then normalizes the Range Oscillator values to match this amplitude.
4. Bands & Coloring:
o Slope Coloring: Both the MACD and the Oscillator change color based on their slope. Green indicates rising values (bullish pressure), and Red indicates falling values (bearish pressure).
o Fixed Bands: Horizontal bands are placed at +0.75 and -0.75 relative to the scaled data to act as Overbought and Oversold zones, with a yellow-tinted background for visibility.
How to Use This Indicator
• Trend Confirmation: When both the MACD line and the Range Oscillator are green, the trend is strongly bullish. When both are red, the trend is bearish.
• Contraction & Expansion: The yellow zone (between -0.75 and +0.75) represents the "equilibrium" or ranging area. Breakouts above the Upper Band (+0.75) usually signal strong expansion or overbought conditions, while drops below the Lower Band (-0.75) signal oversold conditions.
• The "Fill" Gap: The space between the Range Oscillator line and the MACD line is filled. A widening gap between these two metrics can indicate a divergence between pure price action (Range) and momentum (MACD).
• High/Low Marks: Small markers are plotted on the most recent 3 candles to show the exact High and Low oscillation points for short-term entries.
Settings Included
• Range Length & Multiplier: Adjust the sensitivity of the Range Oscillator.
• MACD Inputs: Customizable Fast, Slow, and Signal lengths, with options for SMA or EMA types.
• Visuals: Fully customizable colors for Rising/Falling trends, band opacity, and line thickness.
How this follows House Rules
1. Originality:
o Rule: You cannot simply upload a generic MACD.
o Compliance: This is not a standard MACD. It is a complex script that performs mathematical normalization to fit two different indicator types onto one scale. The "Dynamic Fitting" logic makes it unique.
2. Description Quality:
o Rule: You must explain the math and how to read the signals.
o Compliance: The description above details the "Weighted MA logic" and the "Dynamic Fitting" process. It avoids saying "Buy when Green" (which is low effort) and instead explains why it turns green (slope analysis).
3. Visuals:
o Rule: Plots must be clear and not cluttered.
o Compliance: The script uses overlay=false (separate pane). The specific colors you requested (#37ff0c, #ff0014, and the Yellow tint) are high-contrast and distinct, making the chart easy to read.
4. No "Holy Grail" Claims:
o Rule: Do not promise guaranteed profits.
o Compliance: The description uses terms like "Trend Confirmation" and "Signal," avoiding words like "Guaranteed," "Win-rate," or "No Repaint."
Diganta ATR LevelsThis Script Plots the ATR levels based on the following logic
1. The Open price of 9.15 is considered.
2. Then based on the Open Price the ATR levels are plotted.
3. The ATR length is 180
4. ATR multiplier is 1 ( extended by 25% on both sides)
🚀 Enhanced BUY & SELL Pullback ScannerThis script help to find the scan the script. this sis dor testing
MACD nothing newThere’s nothing new in this indicator, but I strongly recommend hiding the signal line and the histogram.
EMA CrossEMA Cross indicator is a multi-EMA indicator that saves indicator quota when you need several EMAs.
FAIRPRICE_VWAP_RDFAIRPRICE_VWAP_RD
This script plots an **anchored VWAP (Volume Weighted Average Price)** that resets
based on the user-selected anchor period. It acts as a dynamic “fair value” line
that reflects where the market has actually transacted during the chosen period.
FEATURES
- Multiple anchor options: Session, Week, Month, Quarter, Year, Decade, Century,
Earnings, Dividends, or Splits.
- Intelligent handling of the “Session” anchor so it works correctly on both 1m
(resets each new day) and 1D (continuous, non-resetting VWAP).
- Manual VWAP calculation using cumulative(price * volume) and cumulative(volume),
ensuring the line is stable and works on all timeframes.
- Optional hiding of VWAP on daily or higher charts.
- Offset input for horizontal shifting if desired.
- VWAP provides a true “fair price” reference for trend, mean-reversion,
and institutional-level analysis.
PURPOSE
This indicator solves the common problem of VWAP behaving incorrectly on higher
timeframes, on synthetic data, or with unusual anchors. By implementing VWAP
manually and allowing flexible reset conditions, it functions reliably as
an institutional-style fair value benchmark across any timeframe.
RSI_RDRSI_RD - RSI Divergence Detector (Ryan DeBraal)
This script plots a standard RSI along with advanced automatic divergence detection.
It identifies four types of divergences using pivot logic and configurable
lookback windows. Signals appear directly on the RSI line as plotted marks and labels.
FEATURES
- Standard RSI with user-defined length and source.
- Midline (50), overbought (70), and oversold (30) levels with shaded background.
- Automatic detection of:
• Regular Bullish Divergence
• Regular Bearish Divergence
• Hidden Bullish Divergence
• Hidden Bearish Divergence
- Each divergence type can be toggled on/off individually.
- Pivot-based detection using left/right lookback lengths.
- Range filter (bars since pivot) to avoid stale or invalid divergences.
- Colored markers and labels placed exactly on pivot points.
- Alerts for all four divergence conditions.
PURPOSE
This indicator makes RSI divergence trading systematic and visual.
It highlights when price action disagrees with RSI momentum — often signaling
exhaustion, reversal setups, or continuation opportunities depending on the divergence type.
Ideal for combining with trend filters, VWAP, or ORB structures.
TREND_34EMA_RDTREND_34EMA_RD - Enhanced 34 EMA Trend Suite (Ryan DeBraal)
This indicator overlays a trend-adaptive 34 EMA along with optional ATR-based
volatility bands, trend-strength scoring, and crossover alerts. It is built
to give a clean, fast visual read on the current trend direction, volatility,
and momentum quality.
FEATURES
-----------------------------------------------------------------------------
• Core 34 EMA Trend Line
- Standard EMA calculation (default length 34)
- Aqua coloring for clean visibility
- Adjustable line thickness
• ATR-Based Volatility Bands
- Upper and lower bands derived from ATR
- Adjustable ATR length and multiplier
- Optional shaded channel for volatility visualization
- Helps identify trend stability and over-extension
• Trend Strength Score
- Measures slope of the EMA over a lookback window
- Normalizes slope using ATR for consistency across markets
- Outputs a 0–100 score
- Auto-updating label placed at the latest bar
• Gray for weak trend
• Orange for moderate trend
• Green for strong trend
• Optional Crossover Signals
- Detects when price crosses above or below the EMA
- Can display arrows on the chart
- Built-in alert conditions
PURPOSE
-----------------------------------------------------------------------------
This suite provides a clean, minimalistic way to monitor directional bias,
volatility, and trend quality. Ideal for:
• Identifying early trend shifts
• Confirming trend continuation
• Filtering trades based on trend strength
• Detecting over-extension using volatility bands
F5/F15 Breakout High and Low Mark by MDHi This scirpt will mark Previous day high and low and current day 5 Mint and 15 Mint according to your requirement it will mark and show you the Buy signal according to that
MACD_RDMACD_RD - Moving Average Convergence Divergence (Ryan DeBraal)
This indicator plots a standard MACD along with a color-adaptive histogram and
integrated momentum-shift alerts. It preserves the normal MACD structure while
improving visual clarity and signal recognition.
FEATURES
-----------------------------------------------------------------------------
• Standard MACD Calculation
- Fast MA (12 by default)
- Slow MA (26)
- Signal line (9)
- Choice between SMA/EMA for both MACD and Signal smoothing
• Color-Changing Histogram
- Green shades for positive momentum
- Red shades for negative momentum
- Lighter/darker tones depending on whether momentum is increasing or fading
- 50% opacity for improved readability
• Crossover-Based MACD Line Coloring
- MACD line turns green on bullish cross (MACD > Signal)
- MACD line turns red on bearish cross (MACD < Signal)
- Default blue when no crossover occurs
• Momentum-Shift Alerts
- Alerts when histogram flips direction
PURPOSE
-----------------------------------------------------------------------------
This MACD version emphasizes momentum shifts and trend transitions by
highlighting subtle histogram changes and providing clean crossover visuals.
Ideal for:
• Identifying early momentum reversals
• Filtering breakout/trend setups
• Confirming trend continuation vs exhaustion
S&P Options Patterns Detector (6-20 Candles)Pattern detector for S&P options. Detects alerts for bullish or bearish signals for any stock in S&P 500
ADX with 20 ThresholdI wanted an ADX with a threshold line so I created an indicator.
ADX (20 Threshold) Cheat-Sheet
Purpose: Filter trades by trend strength.
Indicator: ADX (derived from DMI) with optional +DI/−DI lines.
Key Rules:
ADX > 20: Trend is strong → trade OK
ADX < 20: Trend is weak/choppy → avoid trades
Optional +DI / −DI: Shows momentum direction
HTF Use: Stable trend confirmation
LTF Use: Optional filter with EMA slope for entries
Tips:
Combine with EMAs or MACD for directional bias.
ADX does not indicate direction, only strength.
Best used to avoid low-probability trades in sideways markets.
Global M2(USD) V2This indicator tracks the total Global M2 Money Supply in USD. It aggregates economic data from the world's four largest central banks (Fed, PBOC, ECB, BOJ). The script automatically converts non-USD money supplies (CNY, EUR, JPY) into USD using real-time exchange rates to provide a unified view of global liquidity.
Usage
Macro Analysis: Overlay this on assets like Bitcoin or the S&P 500 to see if price appreciation is driven by fiat currency debasement ("money printing").
Liquidity Trends: A rising orange line indicates expanding global liquidity (generally bullish for risk assets), while a falling line suggests monetary tightening.
Real-time Data: A label at the end of the line displays the exact raw total in USD for precise tracking.
该脚本旨在追踪以美元计价的全球 M2 货币供应总量。它聚合了四大央行(美联储、中国央行、欧洲央行、日本央行)的经济数据,并通过实时汇率将非美货币(人民币、欧元、日元)统一折算为美元,从而构建出一个标准化的全球流动性指标。
用法
宏观对冲: 将其叠加在比特币或股票图表上,用于判断资产价格的上涨是否由全球法币“大放水”推动。
趋势研判: 橙色曲线向上代表全球流动性扩张(通常利好风险资产),向下则代表流动性紧缩。
数据直观: 脚本会在图表末端生成一个标签,实时显示当前全球 M2 的具体美元总额。
S&P 500 Breadth: Bull vs Bear (20DMA)S&P 500 Breadth: Bull vs Bear (20DMA)
Use as simple market breadth
Buy after 3 Red Candles - Close > Last Red Highthree red candles broken by one green candle, bullish signal





















