Global M2 by Colin Talks Crypto // Days Offset =//@version=6
// by Colin Talks Crypto
//
// Change Log:
// 4/26/25: Removed India M2 from global calculation due to 10x M2 spike (removed until verified true)
// 4/28/25: Re-added India M2 to global calculation due to error removed from data source. The India M2 spike was indeed a bug.
indicator('Global M2 by Colin Talks Crypto // Days Offset =', overlay=true, scale=scale.right)
// Allow configuration of the number of days to offset the M2 chart line in the indicator settings.
offset = input.int(0, title="Time Offset (days)", minval=-1000, maxval=1000)
// EUROZONE Data
EUM2D = request.security("ECONOMICS:EUM2*FX:EURUSD", "D", close, lookahead=barmerge.lookahead_on)
// North America Data
USM2D = request.security("ECONOMICS:USM2", "D", close, lookahead=barmerge.lookahead_on)
CAM2D = request.security("ECONOMICS:CAM2*FX_IDC:CADUSD", "D", close, lookahead=barmerge.lookahead_on)
// Non-EU Europe Data
CHM2D = request.security("ECONOMICS:CHM2*FX_IDC:CHFUSD", "D", close, lookahead=barmerge.lookahead_on)
GBM2D = request.security("ECONOMICS:GBM2*FX:GBPUSD", "D", close, lookahead=barmerge.lookahead_on)
FIPOP = request.security("ECONOMICS:FIM2/FX_IDC:USDFIM", "D", close, lookahead=barmerge.lookahead_on)
RUM2D = request.security("ECONOMICS:RUM2*FX_IDC:RUBUSD", "D", close, lookahead=barmerge.lookahead_on)
// Pacific Data
NZM2D = request.security("ECONOMICS:NZM2*FX_IDC:NZDUSD", "D", close, lookahead=barmerge.lookahead_on)
// Asia Data
CNM2D = request.security("ECONOMICS:CNM2*FX_IDC:CNYUSD", "D", close, lookahead=barmerge.lookahead_on)
TWM2D = request.security("ECONOMICS:TWM2*FX_IDC:TWDUSD", "D", close, lookahead=barmerge.lookahead_on)
HKM2D = request.security("ECONOMICS:HKM2*FX_IDC:HKDUSD", "D", close, lookahead=barmerge.lookahead_on)
INM2D = request.security("ECONOMICS:INM2*FX_IDC:INRUSD", "D", close, lookahead=barmerge.lookahead_on)
JPM2D = request.security("ECONOMICS:JPM2*FX_IDC:JPYUSD", "D", close, lookahead=barmerge.lookahead_on)
PHM2D = request.security("ECONOMICS:PHM2*FX_IDC:PHPUSD", "D", close, lookahead=barmerge.lookahead_on)
SGM2D = request.security("ECONOMICS:SGM2*FX_IDC:SGDUSD", "D", close, lookahead=barmerge.lookahead_on)
// Latin America Data
BRM2D = request.security("ECONOMICS:BRM2*FX_IDC:BRLUSD", "D", close, lookahead=barmerge.lookahead_on)
COM2D = request.security("ECONOMICS:COM2*FX_IDC:COPUSD", "D", close, lookahead=barmerge.lookahead_on)
MXM2D = request.security("ECONOMICS:MXM2*FX_IDC:MXNUSD", "D", close, lookahead=barmerge.lookahead_on)
// Middle East Data
AEM2D = request.security("ECONOMICS:AEM2*FX_IDC:AEDUSD", "D", close, lookahead=barmerge.lookahead_on)
TRM2D = request.security("ECONOMICS:TRM2*FX_IDC:TRYUSD", "D", close, lookahead=barmerge.lookahead_on)
// Africa Data
ZAM2D = request.security("ECONOMICS:ZAM2*FX_IDC:ZARUSD", "D", close, lookahead=barmerge.lookahead_on)
var table correlation_table = table.new(position.bottom_right, 1, 1, border_width=1)
table.cell(correlation_table, 0, 0, text="Global M2 Script by ColinTalksCrypto.com", text_font_family="monospace", text_color=color.rgb(255, 255, 255), bgcolor=color.rgb(0, 0, 0, 74), height=4, text_size=14)
// Calculate Global Money Supply M2
total = (EUM2D + USM2D + CAM2D + CHM2D + GBM2D + FIPOP + RUM2D + NZM2D + CNM2D + TWM2D + HKM2D + INM2D + JPM2D + PHM2D + SGM2D + BRM2D + COM2D + MXM2D + AEM2D + TRM2D + ZAM2D) / 1000000000000
time_offset = offset * 86400000
shifted_time = time - time_offset
plot(total, color=color.yellow, linewidth=2, offset=offset)
Indicadores e estratégias
Multi-Timeframe Closures with Signals month week dayMulti-Timeframe Price Anchoring Indicator (Monthly, Weekly, Daily)
This indicator provides a powerful visual framework for analyzing price action across three major timeframes: monthly, weekly, and daily. It plots the closing prices of each timeframe directly on the chart to help traders assess where current price stands in relation to significant historical levels.
🔍 Core Features:
Monthly, Weekly, and Daily Close Lines: Automatically updated at the start of each new period.
Color-coded Price Anchors: Each timeframe is visually distinct for fast interpretation.
Multi-timeframe Awareness: Helps you identify trend alignment or divergence across different time horizons.
Long & Short Bias Signals: The script can optionally display long or short suggestions based on where the current price stands relative to the anchored closing prices.
📈 How to Use:
Trend Confirmation: If price is consistently above all three levels, it signals a strong bullish trend (potential long bias). If it’s below, the opposite applies (short bias).
Reversal or Pullback Zones: When price becomes extended far above/below the monthly and weekly closes, it may suggest overbought/oversold conditions and the possibility of a reversal or retracement.
Intraday Alignment: Useful for traders who want to enter positions on lower timeframes while being aware of higher timeframe trends.
This indicator is ideal for swing traders, day traders, and position traders who want to anchor their decisions to meaningful multi-timeframe reference points.
Smart Adaptive MACDAn advanced MACD variant that dynamically adapts to market volatility using ATR-based scaling.
Key Features:
Volatility-sensitive MACD and Signal lengths
Optional smoothed MACD line
Dynamic histogram heatmap (strong vs. weak momentum)
Built-in Regular and Hidden Divergence detection
Clear visual signals via solid (regular) and dashed (hidden) divergence lines
What makes this different:
Unlike traditional MACD indicators with fixed-length settings, this version adapts in real time
to changing volatility conditions. It shortens during high-momentum environments for faster
reaction, and lengthens during low-volatility phases to reduce noise. This allows better
alignment with market behavior and cleaner momentum signals.
Divergence Detection – How It Works
The Smart Adaptive MACD detects both regular and hidden divergences by comparing price action with the smoothed MACD line. It uses recent pivot highs and lows to evaluate divergence and draws lines on the chart when conditions are met.
Regular Divergence Detection
This type of divergence signals potential reversals. It occurs when the price moves in one
direction while the MACD moves in the opposite.
Bullish Regular Divergence:
Price makes lower lows, but MACD makes higher lows.
Result: A solid green line is plotted beneath the MACD curve.
Bearish Regular Divergence:
Price makes higher highs, but MACD makes lower highs.
Result: A solid red line is plotted above the MACD curve.
Hidden Divergence Detection
This type of divergence signals trend continuation. It occurs when price pulls back slightly,
but the MACD shows deeper movement in the opposite direction.
Bullish Hidden Divergence:
Price makes higher lows, but MACD makes lower lows.
Result: A dashed green line is plotted below the MACD curve.
Bearish Hidden Divergence:
Price makes lower highs, but MACD makes higher highs.
Result: A dashed red line is plotted above the MACD curve.
How to Use:
This tool is best used alongside price structure, key support/resistance levels, or as a
secondary confirmation for your trend or reversal strategy. It is designed to enhance your
interpretation of market momentum and divergence without needing extra chart clutter.
Disclaimer:
This script is provided for educational and informational purposes only. It is not intended as
financial advice or a recommendation to buy or sell any asset. Always conduct your own
research and consult with a licensed financial advisor before making trading decisions. Use
at your own risk.
License:
This script is published under the Mozilla Public License 2.0 and is fully open-source.
Built by AresIQ | 2025
Median Price RSI DeviationThis indicator is a smoothed RSI-based trend filter that combines median price smoothing, customizable moving averages, and standard deviation bands to identify bullish or bearish conditions:
=> It first smooths price using a median filter.
=> Then it calculates RSI on that smoothed price.
=> The RSI is further smoothed using a selectable moving average (e.g., DEMA, EMA).
=> Standard deviation bands are applied around this smoothed RSI.
Signals:
=> A bullish signal is triggered when the upper band exceeds a long threshold (default 50).
=> A bearish signal occurs when the smoothed RSI drops below a short threshold (default 40).
Mul EMA [TsixJnineY]The "Four EMA Indicator with Toggle" is a customizable technical analysis tool for TradingView that displays up to four Exponential Moving Averages (EMAs) on the chart. Users can adjust the period length for each EMA (default: 5, 10, 50, 200) and toggle their visibility via checkboxes. The indicator supports a selectable data source (default: close price) and offset for flexible chart alignment. Ideal for trend analysis and identifying trading signals through EMA crossovers, it offers a clean and user-friendly interface for traders.
RSI + EMA + Stoch RSI ComboDescription:
This indicator combines three powerful momentum tools — RSI, EMA, and Stochastic RSI — to provide more refined entry and exit signals.
What it does:
• Calculates Relative Strength Index (RSI) and applies an Exponential Moving Average (EMA) to it for smoother trend confirmation.
• Adds Stochastic RSI (Stoch RSI) with adjustable %K and %D settings.
• Generates Buy signals when:
• Stoch RSI %K crosses above %D,
• %K is below 20,
• RSI is below 40,
• and RSI is above its EMA.
• Generates Sell signals when:
• %K crosses below %D,
• %K is above 80,
• RSI is above 60,
• and RSI is below its EMA.
• Visual elements include RSI EMA line, overbought/oversold levels, and Stoch RSI plots.
Use case:
Perfect for traders looking for a multi-indicator confirmation system. Best used on 1H or 4H timeframes, but works across all timeframes.
Alerts for Buy and Sell signals are included.
Feel free to tweak the parameters for your own strategy and market conditions!
Tager Trend Scalping XAUUSD//@version=5
indicator("Tager Trend Scalping XAUUSD", overlay=true)
// === Input Settings ===
emaFastLen = input.int(9, title="EMA Fast")
emaSlowLen = input.int(21, title="EMA Slow")
useEMAFilter = input.bool(true, title="Use EMA Filter")
rsiLen = input.int(14, title="RSI Length")
rsiThreshold = input.int(50, title="RSI Threshold")
useRSIFilter = input.bool(true, title="Use RSI Filter")
atrLen = input.int(5, title="ATR Length")
riskReward = input.float(1.2, title="Risk:Reward Ratio")
trendLen = input.int(6, title="Trend Lookback Length")
// === Calculations ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
rsi = ta.rsi(close, rsiLen)
atr = ta.atr(atrLen)
// Trend detection (simple)
bullish = close > ta.highest(close , trendLen)
bearish = close < ta.lowest(close , trendLen)
// Entry Conditions
buyCond = bullish
sellCond = bearish
// Apply filters
buyCond := buyCond and (not useEMAFilter or emaFast > emaSlow)
buyCond := buyCond and (not useRSIFilter or rsi > rsiThreshold)
sellCond := sellCond and (not useEMAFilter or emaFast < emaSlow)
sellCond := sellCond and (not useRSIFilter or rsi < rsiThreshold)
// Entry Price
longEntry = ta.valuewhen(buyCond, close, 0)
shortEntry = ta.valuewhen(sellCond, close, 0)
// TP / SL Levels
longTP = longEntry + atr * riskReward
longSL = longEntry - atr
shortTP = shortEntry - atr * riskReward
shortSL = shortEntry + atr
// === Plotting ===
plotshape(buyCond, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(sellCond, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
plot(buyCond ? longTP : na, title="Long TP", color=color.aqua, style=plot.style_linebr)
plot(buyCond ? longSL : na, title="Long SL", color=color.red, style=plot.style_linebr)
plot(sellCond ? shortTP : na, title="Short TP", color=color.aqua, style=plot.style_linebr)
plot(sellCond ? shortSL : na, title="Short SL", color=color.red, style=plot.style_linebr)
// === Alerts ===
alertcondition(buyCond, title="Buy Alert", message="Tager Trend SCALPING: BUY signal!")
alertcondition(sellCond, title="Sell Alert", message="Tager Trend SCALPING: SELL signal!")
Hippo Battlefield - Bulls VS Bears 20 bars## Hippo Battlefield – Bulls VS Bears (20 Bars)
**What it is**
A multi-dimensional momentum-and-sentiment oscillator that combines classic Bull/Bear Power with ATR- or peak-normalization, then layers on RSI and MACD-derived metrics into:
1. **A colored bar series** showing net Bull+Bear Power strength over the last 20 bars,
2. **A dynamic table** of each of those 20 BBP values (grouped into four 5-bar “quartals”), with symbols, per-bar change, and rolling averages, and
3. **A composite “Weighted BBP” histogram** blending normalized RSI, MACD, and BBP into a single view.
---
### Key Inputs
- **Length (EMA)** – look-back for the underlying EMA (default 60)
- **Normalization Length** – look-back window for peak-normalization (default 60)
- **Use ATR for Norm.** – toggle ATR-based normalization vs. highest-abs(BBP)
- **Show Tables** – toggle the bottom-right 21×11 grid of raw and average BBP values
---
### What You See
#### 1. Colored Bars (Overlay = false)
- Bars are colored by normalized BBP intensity:
- Extreme Bull (≥+10): deep blue
- Strong Bull (+5 to +10): green/yellow
- Weak Bull (+0 to +5): dark green
- Weak Bear (–0 to –5): dark red
- Strong Bear (–5 to –10): pink/red
- Extreme Bear (<–10): magenta
#### 2. Bottom-Right Table (20 Bars of Data)
- Divided into four columns (0–4, 5–9, 10–14, 15–19 bars ago) and one “average” row.
- Each cell shows:
1. Bar index (1–20),
2. Normalized BBP value (to four decimals),
3. Direction symbol (↑/↓/=),
4. Bar-to-bar change (± value),
5. A separator “|”.
- At the very bottom, each column’s 5-bar average is displayed as “Avg: X.XXXX” with a dot marker.
#### 3. Top-Center Mini-Table
- When ≥20 bars have elapsed, shows the date at 20 bars ago and the average BBP across the full 20-bar window.
#### 4. Normalized RSI Line
- Rescales the classic 14-period RSI into a –20…+20 band to align with BBP.
#### 5. MACD Lines (Hidden) & Composite Histogram
- MACD and signal lines are calculated but not plotted by default.
- A “Weighted BBP” histogram combines:
- 20% normalized RSI,
- 20% average of (MACD + signal + normalized BBP),
- 60% normalized BBP
- Plotted as columns, color-coded by strength using the same palette as the main bars.
#### 6. Middle Reference Line
- A horizontal zero line to anchor over/under-zero readings.
---
### How to Use It
- **Trend confirmation**: Strong blue/green bars alongside a rising histogram suggest bull conviction; strong reds/magentas signal bear dominance.
- **Divergence spotting**: Watch for price making new highs/lows while BBP or the histogram fails to follow.
- **Quartal analysis**: The 5-bar group averages can reveal whether recent momentum is accelerating or waning.
- **Cross-indicator weighting**: Because RSI, MACD, and raw BBP all feed into the final histogram, you get a smoothed, blended view of momentum shifts.
---
**Tip:** Tweak the EMA and normalization length to suit your preferred timeframe (e.g. shorter for intraday scalps, longer for swing trades). Enable/disable the table if you prefer a cleaner pane.
KDJ IndicatorThe KDJ indicator is a technical analysis tool used to identify overbought and oversold conditions in the market, as well as potential trend reversals. It consists of three lines: the K line, D line, and J line. The K line is derived from the Exponential Moving Average (EMA) of the Relative Strength Value (RSV), which measures the closing price relative to the high and low over a user-defined period. The D line is the EMA of the K line, smoothing its movements. The J line, calculated as K + (K - D) × 2, amplifies the difference between K and D, making it more sensitive to price changes. Traders often use the KDJ indicator to spot divergences, crossovers, and extreme values (e.g., above 80 for overbought, below 20 for oversold) to make informed trading decisions. All parameters, including the RSV, K, and D periods, are customizable to suit different trading strategies.
Relative Strength Comparison (RSC)hubvguugygyuguyguyguhgbuvguvuvuhvuvuvuvhuvu jijjujuhuhu9huhu huhuhuh
Daily Vol Reversal Spike (5min) with Highsnotes higher than average volumes indicating potential reversals
Color Changing MAs📌 Indicator: Color Changing Moving Averages
This script plots up to four customizable moving averages, each with dynamic color changes based on price positioning and optional RSI filtering.
🧩 Key Features:
✅ 4 independent moving averages (SMA or EMA)
✅ Custom inputs for:
Length
Source (e.g. close, OHLC4, etc.)
Offset
Bullish/Bearish color
✅ Toggle visibility for each MA
✅ Global RSI filter to enhance trend signals:
User-defined RSI length
Adjustable Bullish/Bearish thresholds
Universal neutral color for flat/unclear momentum
✅ Global timeframe control — all MAs and RSI are calculated on a single timeframe of your choice (e.g. D, W, M)
🎯 Color Logic:
Bullish color = MA is below both open and close, and RSI is above threshold
Bearish color = MA is above both open and close, and RSI is below threshold
Neutral gray = MA is trending but RSI contradicts the move (filtered out)
🛠️ Use Cases:
Spot trend changes with visual clarity
Identify pullbacks within strong RSI-confirmed trends
Apply higher-timeframe signals while on lower-timeframe charts
⚠️ Notes:
This version uses request.security() to support global timeframe selection — higher timeframes on lower TF charts will display step-like behavior (as per TradingView architecture).
No smoothing/interpolation is applied to preserve raw signal accuracy.
4 EMAsIf you need to use multiple EMAs, instead of using multiple indicators, you can add them all here!
Coinbase BTC Premium by BIGTAKERBTC Premium Gap Analysis: Binance, Coinbase, Upbit
This indicator provides real-time analysis and visualization of the premium gap between the Binance BTCUSDT price and the BTC prices on Coinbase (BTCUSD) and Upbit (BTCKRW).
Key Features
Coinbase Premium Gap
Measures the price difference between Coinbase and Binance as a percentage.
To improve visibility, the Coinbase premium is visually amplified by 10x.
Upbit Premium Gap
Calculates the premium by comparing Upbit's BTCKRW price (converted into USD using the real-time USDKRW exchange rate) against Binance BTCUSDT.
Dynamic Color Coding
Premiums above 0% are displayed in lime green, indicating positive premiums.
Premiums below 0% are displayed in red, indicating discounts.
Real-Time Labels
Displays real-time premium values for both Coinbase and Upbit on the right side of the chart.
Additional Notes
Upbit premiums are adjusted for the USD/KRW exchange rate to ensure accurate USD-based comparison.
The Coinbase premium is magnified visually (10x) to better capture minor movements, while the actual premium value remains correctly displayed.
The indicator is optimized for traders who monitor global BTC market price disparities across major exchanges.
How to Use
Quickly track global BTC price discrepancies across Binance, Coinbase, and Upbit.
Detect "Kimchi Premium" conditions in the Korean market through Upbit premiums.
Analyze buying and selling pressure in North American markets through Coinbase premiums.
Rectangle with Optional Quarter LinesBox with quarter lines and half line, color can be changed as well.
Dmarc Multi MAsMultiple MA's on a single chart.
You can add up to 10 MA's, either EMA or SMA per indicator instance.
2 MA + Strat Candle ColorsThe "2 MA + Strat Candle Colors" indicator combines two customizable moving averages (MAs) with a strategic candle-coloring system to help traders analyze trends and price action. Here’s a breakdown of its features:
1. Two Moving Averages (MAs):
MA 1 & MA 2 Settings:
Users can select between 7 MA types for each line: SMA, EMA, WMA, HMA, VWMA, LSMA, SMMA.
Adjustable periods and price sources (e.g., close, open) for both MAs.
Default settings: MA 1 = 9-period EMA, MA 2 = 20-period EMA.
Plotting:
MA 1 is blue, MA 2 is red (colors customizable via inputs).
Crossovers between the MAs can signal trend changes.
2. Strategic Candle Coloring:
Candles are colored based on their relationship to the previous candle:
Green (Bullish): "Two-Up Bar" – current high > prior high, and low does not break prior low.
Red (Bearish): "Two-Down Bar" – current low < prior low, and high does not break prior high.
Purple (Outside Bar): "Three Bar" – current candle engulfs the prior candle (higher high and lower low).
Yellow (Inside Bar): "One Bar" – current candle is contained within the prior candle’s range.
Candle coloring is based on:
BTC/ETH/SOL Spot Aggregated Volume + EMAThe purpose of this indicator is to provide a more comprehensive view of BTC/ETH/SOL spot market activity by combining volume data from several sources.
1. Fetches and aggregates spot volume data for your chosen asset from the following exchanges:
Binance, Coinbase, Kraken, Bitfinex, Bitstamp, KuCoin, Gate.io, OKX, Huobi
2. Calculates the EMA on the aggregated volume to smooth out the data and identify volume trends.
SETTINGS
You can choose in your settings which Asset's aggreagated volume you want to see (BTC/ETH/SOL)
You can choose the period based on which the EMA is calculated.
This indicator is particularly useful for traders who want a broader view of real BTC/ETH/SOL spot market activity, rather than relying on a single exchange's data, which might be misleading or incomplete. By averaging across major exchanges, the indicator helps reduce noise and gives a more accurate picture of volume trends.
Overnight ES Strategy: CBC + Fractal + RSI + ATR FilterThis script is designed for overnight trading of the E-mini S&P 500 futures (ES) between 6 PM and 11 PM EST.
It combines multiple technical confluences to generate high-probability buy and sell signals, focusing on volatility-rich, low-liquidity evening sessions.
Key Features:
Candle Body Confluence (CBC) Approximation:
Identifies candles with small real bodies compared to total range, simulating consolidation zones where price is likely to reverse.
Williams Fractal Confirmation:
Detects local tops and bottoms based on 5-bar fractal reversal patterns, helping validate breakout or reversal points.
RSI Filter:
Ensures momentum is supportive — buys only when RSI < 35 (oversold) and sells only when RSI > 65 (overbought).
ATR Volatility Filter:
Trades are only allowed if the Average True Range (ATR) exceeds a user-defined threshold, filtering out low-volatility, risky environments.
Time Session Control:
Signals are only generated during the user-defined evening session (default: 6 PM to 11 PM EST) to match market behavior.
Real-Time Alerts Enabled:
Alerts can be set for BUY or SELL conditions, enabling mobile notifications, emails, or pop-ups without constant chart monitoring.
Recommended Settings:
Chart Timeframe: 15-minute or 30-minute candles
Assets: ES Mini (ES1!), NQ Mini, or other CME futures
Session: New York Time (EST)
ATR Threshold: Adjust based on market conditions; 5.0 suggested starting point for ES Mini on 15m.
Important:
This script only plots signals, it does not auto-execute trades.
Always backtest and paper trade before using live capital.
Volatility can vary; consider adjusting RSI and ATR filters based on market environment.
Credits:
Script designed based on confluence of price action, momentum, reversal structure, and volatility filtering principles used by professional traders.
Inspired by Candle Body Confluence (CBC) theory and Williams fractal techniques.
Customizable vertical lineIntroduce a customizable vertical line on the chart that spans from top to bottom
EU vs GU Strength @smEURUSD vs GBPUSD Strength Tester
✅ What it does:
-Plots EURUSD change (blue line)
-Plot GBPUSD change (green line)
-Plots EURGBP change (orange line)
Background turns bluish if EUR is stronger, greenish if GBP is stronger!
So, just by watching the background color, you can immediately tell:
If you prefer EURUSD or GBPUSD for your long/short setup.