Global M2 Level + OffsetA simple Global M2 indicator with a configurable offset (default is 105 days) and a smoothing line.
If you like it, consider donating a few sats: talvasconcelos@nostr.com
Análise de Tendência
EMA + Supertrend (Clean)This script is designed to help traders visually identify the primary market trend using a combination of two Exponential Moving Averages (EMA50 and EMA200) and a reversed-color Supertrend indicator.
✅ Key Features:
EMA50 and EMA200 are plotted with dynamic coloring: green when EMA50 is above EMA200 (bullish), and red when EMA50 is below EMA200 (bearish).
Supertrend is plotted with reversed colors for better clarity: red during uptrends and green during downtrends — making cross-analysis easier.
A translucent background fill (green or red) highlights trend dominance based on EMA crossover.
Clean and minimal interface — no buy/sell signals, alerts, or TP/SL levels — ideal for traders who prefer to combine this with other indicators or price action analysis.
🔍 Best suited for swing traders and trend followers, especially on 4H and Daily timeframes. Helps you stay on the right side of the market without clutter.
⚠️ Note: This indicator is not financial advice. Always backtest and combine with your own strategy for best results.
Created by for the global TradingView community. Feel free to customize and build on top of it!
PBOC Balance Sheet (Approx USD Trillions)This indicator displays the People's Bank of China (PBOC) Balance Sheet in approximate USD trillions, converted from CNY data (ECONOMICS:CNCBBS) using a fixed exchange rate of 1 USD ≈ 7 CNY. The data is smoothed with a 3-month SMA and plotted as a black line in a separate pane, with a reference line at 6.0 USD trillions. Ideal for analyzing long-term macroeconomic trends and correlations with other financial metrics like bond yields or asset prices, it includes error handling for missing data to ensure reliable visualization.
ADX Histogram with BuffersHello
This indicator works based on ADX and RSI
Every time the histogram changes color you are allowed to enter two signals and enter a position based on the previous high and low and the second return
با سلام
این اندیکاتور بر اساس ADXو RSIکار میکند
هربار که هیستوگرام تغییر رنگ داد مجاز هستید تا دو سیگنال وارد شده و بر اساس سقف و کف قبل و ریوارد 2 وارد پوزیشن شوید
ba salam in andicator dar time frame haye mokhtalef pishnahad man M15 ast
har bar histogram taghir rang dad ta 2 signal aval mojaz be gereftam position hastid ta signal mokhalef sader beshe
stop rada saghf vakafe ghabli gozashte va ta rivard 2 negah midarim
Jack's ADX with alertsJack's ADX indicator with alerts showing when value increases by variable percentage change from previous value.
Multi-SMA Dashboard (10 SMAs)Description:
This script, "Multi-SMA Dashboard (10 SMAs)," creates a dashboard on a TradingView chart to analyze ten Simple Moving Averages (SMAs) of varying lengths. It overlays the chart and displays a table with each SMA’s direction, price position relative to the SMA, and angle of movement, providing a comprehensive trend overview.
How It Works:
1. **Inputs**: Users define lengths for 10 SMAs (default: 5, 10, 20, 50, 100, 150, 200, 250, 300, 350), select a price source (default: close), and customize table appearance and options like angle units (degrees/radians) and debug plots.
2. **SMA Calculation**: Computes 10 SMAs using the `ta.sma()` function with user-specified lengths and price source.
3. **Direction Determination**: The `sma_direction()` function checks each SMA’s trend:
- "Up" if current SMA > previous SMA.
- "Down" if current SMA < previous SMA.
- "Flat" if equal (no strength distinction).
4. **Price Position**: Compares the price source to each SMA, labeling it "Above" or "Below."
5. **Angle Calculation**: Tracks the most recent direction change point for each SMA and calculates its angle (atan of price change over time) in degrees or radians, based on the `showInRadians` toggle.
6. **Table Display**: A 12-column table shows:
- Columns 1-10: SMA name, direction (Up/Down/Flat), Above/Below status, and angle.
- Column 11: Summary of Up, Down, and Flat counts.
- Colors reflect direction (lime for Up/Above, red for Down/Below, white for Flat).
7. **Debug Option**: Optionally plots all SMAs and price for visual verification when `debug_plots_toggle` is enabled.
Indicators Used:
- Simple Moving Averages (SMAs): 10 user-configurable SMAs ranging from short-term (e.g., 5) to long-term (e.g., 350) periods.
The script runs continuously, updating the table on each bar, and overlays the chart to assist traders in assessing multi-timeframe trend direction and momentum without cluttering the view unless debug mode is active.
🧠 BSKL Screener Sniper (Lite Version)//@version=5
indicator("🧠 BSKL Screener Sniper (Lite Version)", overlay=false)
// === INPUTS ===
emaFastLen = input.int(9, "Fast EMA")
emaSlowLen = input.int(21, "Slow EMA")
volMultiplier = input.float(1.5, "Volume Spike Multiplier")
// === EMA TREND ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
trendUp = emaFast > emaSlow
trendDown = emaFast < emaSlow
// === VOLUME ===
avgVolume = ta.sma(volume, 20)
volumeSpike = volume > avgVolume * volMultiplier
// === ENGULFING ===
bullishEngulf = open > close and close > open and open < close and close > open
bearishEngulf = open < close and close < open and open > close and close < open
// === SCREENER SIGNAL ===
buySignal = trendUp and bullishEngulf and volumeSpike
sellSignal = trendDown and bearishEngulf and volumeSpike
plotshape(buySignal, location=location.top, color=color.green, style=shape.labelup, title="BUY", text="BUY")
plotshape(sellSignal, location=location.bottom, color=color.red, style=shape.labeldown, title="SELL", text="SELL")
// === ALERT ===
alertcondition(buySignal, title="BUY Alert", message="📈 BSKL BUY Signal Detected")
alertcondition(sellSignal, title="SELL Alert", message="📉 BSKL SELL Signal Detected")
Volume Weighted Average PriceVWAP for VIP Group
JUST IN - Panama deal allows US to deploy troops to canal — The document, signed by top security officials from both countries, allows US military personnel to deploy to Panama-controlled facilities for training, exercises and a range of other activities
JUST IN - Panama deal allows US to deploy troops to canal — The document, signed by top security officials from both countries, allows US military personnel to deploy to Panama-controlled facilities for training, exercises and a range of other activities
JUST IN - Panama deal allows US to deploy troops to canal — The document, signed by top security officials from both countries, allows US military personnel to deploy to Panama-controlled facilities for training, exercises and a range of other activities
IMACD + OBVOSC Signal IndicatorCombine Impulse macd from Lazy bear with the volume indicator obvosc to increase the volume verification and make the indicator prompt more effective
Relative Strength MatrixThe Relative Strength Matrix (RSPS M) is a powerful comparison tool that analyzes and ranks up to 10 selected assets based on their relative performance. It does this by calculating price ratios between all asset pairs and applying a consistent strength criterion across each comparison. The results are displayed in a live-updating matrix, showing how each asset performs relative to the rest of the group.
By default, the indicator uses a momentum-based approach (via RSI) to evaluate strength, but it’s fully customizable. Users can modify the valuation logic by replacing the built-in ta.rsi function under the “Inputs your criterion below” section in the code. This makes the tool highly flexible—allowing for different styles of comparison such as trend-following, volatility-adjusted, or custom factor-based ranking methods.
Each asset’s total dominance score is color-coded and ranked, making it easy to spot outperformers and underperformers within any chosen basket. Whether you're tracking crypto pairs, sectors, or other groups, RSPS M provides a clear, objective framework for relative strength monitoring and rotation strategies—perfect for spotting leaders, laggards, and shifts in momentum across markets.
China 10-Year Yield Inverted with Time Lead (Months)The "China 10-Year Yield Inverted with Time Lead (Months)" indicator is a Pine Script tool for TradingView that displays the inverted China 10-Year Government Bond Yield (sourced from TVC:CN10Y) with a user-defined time lead or lag in months. The yield is inverted by multiplying it by -1, making a rising yield appear as a downward movement and vice versa, which helps visualize inverse correlations with other assets. Users can input the number of months to shift the yield forward (lead) or backward (lag), with the shift calculated based on the chart’s timeframe (e.g., 20 bars per month on daily charts). The indicator plots the shifted, inverted yield as a blue line in a separate pane, with a zero line for reference, enabling traders to analyze leading or lagging relationships with other financial data, such as the PBOC Balance Sheet or Bitcoin price.
VWAP-Based MACD VWAP-Based MACD Indicator
This technical indicator combines the Volume-Weighted Average Price (VWAP) with the Moving Average Convergence Divergence (MACD) to provide a volume-sensitive momentum analysis tool. Unlike traditional MACD which relies on price alone, this indicator calculates MACD based on VWAP values, incorporating volume as a key component of market momentum.
## Key Features
- **VWAP Timeframe Selection:** Choose between session, weekly, or monthly VWAP calculations to match your trading horizon.
- **Customizable MACD Parameters:** Adjust fast, slow, and signal lengths to fine-tune sensitivity.
- **Four-Zone System:** Visual color-coding highlights specific market conditions:
- **Dark Green (Zone 1):** Positive histogram that's increasing – strong bullish momentum
- **Light Red (Zone 2):** Positive histogram that's decreasing – possible bullish exhaustion
- **Dark Red (Zone 3):** Negative histogram that's increasing in negativity – strong bearish momentum
- **Light Green (Zone 4):** Negative histogram that's decreasing – possible bearish exhaustion
## Trading Applications
This indicator can be particularly effective for identifying potential reversals and confirming trend continuations. Zone transitions often signal important momentum shifts that may precede price reversals. By incorporating volume through VWAP, the indicator aims to filter out less significant price movements and highlight more substantial market dynamics.
Stoch_RSIStochastic RSI – Advanced Divergence Indicator
This custom indicator is an advanced version of the Stochastic RSI that not only smooths and refines the classic RSI input but also automatically detects both regular and hidden divergences using two powerful methods: fractal-based and pivot-based detection. Originally inspired by contributions from @fskrypt, @RicardoSantos, and later improved by developers like @NeoButane and @FYMD, this script has been fully refined for clarity and ease-of-use.
Key Features:
Dual Divergence Detection:
Fractal-Based Divergence: Uses a four-candle pattern to confirm top and bottom fractals for bullish and bearish divergences.
Pivot-Based Divergence: Employs TradingView’s built-in pivot functions for an alternate view of divergence conditions.
Customizable Settings:
The inputs are organized into logical groups (Stoch RSI settings, Divergence Options, Labels, and Market Open Settings) allowing you to adjust smoothing periods, RSI and Stochastic lengths, and divergence thresholds with a user-friendly interface.
Visual Enhancements:
Plots & Fills: The indicator plots both the K and D lines with corresponding fills and horizontal bands for quick visual reference.
Divergence Markers: Diamond shapes and labeled markers indicate regular and hidden divergences on the chart.
Market Open Highlighting: Optional histogram plots highlight the market open candle based on different timeframes for stocks versus non-forex symbols.
Currency Futures vs USD Basket ComparisonThis indicator plots a normalized comparison of Currencies and Metals vs. USD$ Basket (DXY). You can toggle on and off any of the metals \ currencies.
This may be a helpful tool for those trading in Futures due to the inverse relationship between the value of the USD$ and the values of the metals \ currencies.
I hope you find this useful. Enjoy
Fractal Timeframe Alignment: Expansion FTA ✨This script focuses on Fractal Time Frame Alignment to spot Expansion phases on small as well as HTFs.
Its shows regular as well as heikin ashi candle data.
There is an option to select data feed from the penultimate candle.
Trade the Trend. Happy Trading
CCI Divergence Indicatorthis is the cci indicator. we add some more options for it and now you can see the divergence on it and set alert for that . you can set the options for chandelles and timeframes.
BB Strategy// This strategy highlights bullish and bearish entries using three methods:
// 1. EMA21 cross with follow-through confirmation
// 2. Gap ups/downs filtered by ATR
// 3. Extreme volume spikes
//
// Each entry is scored based on volume, price change, and proximity to key price ranges.
// Configurable labels show strategy names (EMA21, Gap, HighVol) and/or strength scores.
// Exit signals are based on EMA8 reversals.
// Alerts are included for all entries and exits.
Altseason Index (Top 10)### Altseason Index (Top 10)
#### Overview
The "Altseason Index (Top 10)" indicator identifies whether the market is in an altseason (altcoins outperforming Bitcoin) or a Bitcoin season. It analyzes the performance of 9 top altcoins (ETH, BNB, ADA, XRP, SOL, DOT, AVAX, SHIB, LINK) against Bitcoin over 90 days, inspired by the Blockchain Center Altcoin Season Index.
#### How It Works
- Calculates the 90-day price change for BTC and 9 altcoins.
- Counts how many altcoins outperform BTC.
- Index = (number of outperforming altcoins / 9) * 100.
- >75%: Altseason (green zone).
- <25%: Bitcoin season (red zone).
- 25–75%: Neutral.
#### Visualization
- Blue line: Index value (0–100).
- Green line at 75: Altseason threshold.
- Red line at 25: Bitcoin season threshold.
- Green/red background fill for altseason/BTC season zones.
#### Usage
Add to your chart and interpret:
- Above 75: Consider altcoin investments.
- Below 25: Focus on Bitcoin.
Ensure tickers match your exchange (e.g., "BTCUSD" or "BINANCE:BTCUSDT").
#### Notes
- Limited to 9 altcoins due to TradingView's request.security() limit.
- Best on daily charts but adaptable to other timeframes.
BTO Previous Key LevelsSee previous HTF levels automatically without having to mark them up everyday
Yodha Signal// @version=5
indicator("Yodha Signal", shorttitle="Yodha Signal", format=format.price, precision=2, timeframe="", timeframe_gaps=true, explicit_plot_zorder=true)
// Input Groups
var string IndexSettings = "══════ Dynamic Volume RSI Settings ══════"
var string SmoothingGroup = "══════ Smoothing Settings ══════"
var string Appearance = "══════ Appearance Settings ══════"
var string tooltip_1 = "Choose the source for calculating the index."
var string tooltip_2 = "Enable smoothing to reduce noise."
// Dynamic Volume RSI Settings
rsi_length = input.int (14, minval=1, title="RSI Length", group=IndexSettings, tooltip=tooltip_1)
price_source_input = input.source (hlc3, title="Price Source", group=IndexSettings, tooltip=tooltip_1)
// Smoothing Settings
enable_smoothing = input.bool (true, title="Enable Adaptive Smoothing", group=SmoothingGroup, tooltip=tooltip_2)
smoothing_length = input.int (14, title="Smoothing Length", group=SmoothingGroup)
// Appearance Settings
paint_trend_candles = input.bool (true, title="Paint Candles by Trend?", group=Appearance)
bullish_color = input.color (#00ffaa, title="Bullish Trend Color", group=Appearance)
bearish_color = input.color (#ff0000, title="Bearish Trend Color", group=Appearance)
var color up_color = bullish_color
var color down_color = bearish_color
// Adaptive Smoothing Calculation
DynamicEMA(source, length) =>
fast_end = 2 / (2 + 1)
slow_end = 2 / (30 + 1)
change = math.abs(source - source )
volatility = math.sum(math.abs(source - source ), length)
efficiency_ratio = change / volatility
smooth_factor = math.pow(efficiency_ratio * (fast_end - slow_end) + slow_end, 2)
ta.rma(source, length) + smooth_factor * (source - ta.rma(source, length))
NoiseReducer(source, length) =>
smooth = 2 / (length + 1)
ta.ema(source, length) + smooth * (source - ta.ema(source, length))
// Dynamic Volume RSI with Adaptive Smoothing
DynamicVolumeRSI(source, length) =>
smoothed_volume = DynamicEMA(volume, smoothing_length)
price_change = ta.change(source)
up = ta.rma(math.max(price_change, 0) * smoothed_volume, length)
down = ta.rma(math.abs(math.min(price_change, 0)) * smoothed_volume, length)
index = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
NoiseReducer(index, length) // Noise reduction applied to smooth out the signal in choppy markets
dvrsi = DynamicVolumeRSI(price_source_input, rsi_length)
// Plot the DVRSI
plot_dvrsi = plot(dvrsi, histbase=50, color=color.new(chart.fg_color, 0), title="Adaptive Dynamic Volume RSI")
mid_line = plot(50, color=color.new(chart.fg_color, 0), title="Mid Line")
// Overbought/Oversold Plotting
top_line = plot(90, display=display.none)
bottom_line = plot(10, display=display.none)
// Trend Visualization
fill(plot_dvrsi, mid_line, color=dvrsi > 50 ? color.new(up_color, 90) : color.new(down_color, 90), title="Trend Fill")
fill(plot_dvrsi, mid_line, dvrsi, 50, color.new(chart.bg_color, 1000), dvrsi > 50 ? up_color : down_color)
fill(mid_line, top_line, top_value=90, bottom_value=60, bottom_color=na, top_color=color.from_gradient(dvrsi, 20, 90, color.new(down_color, 100), color.new(down_color, 40)))
fill(mid_line, bottom_line, top_value=40, bottom_value=10, bottom_color=color.from_gradient(dvrsi, 20, 90, color.new(up_color, 40), color.new(up_color, 100)), top_color=na)
// Plot Bullish and Bearish Trend Shifts
plotchar(ta.crossover (dvrsi, 50) ? 50 : na, "Bullish Trend Shift", "*", location.absolute, up_color, size=size.large)
plotchar(ta.crossunder(dvrsi, 50) ? 50 : na, "Bearish Trend Shift", "*", location.absolute, down_color, size=size.large)
// Plot Overbought and Oversold Signals
plotchar(ta.crossunder(dvrsi, 60) ? 75 : na, "Potential Overbought", "▼", location.absolute, down_color, size=size.tiny)
plotchar(ta.crossover (dvrsi, 40) ? 25 : na, "Potential Oversold", "▲", location.absolute, up_color, size=size.tiny)
var bar_colour = #ffffff
if dvrsi > 50
bar_colour := up_color
else if dvrsi < 50
bar_colour := down_color
barcolor(paint_trend_candles ? bar_colour : na)
alertcondition(ta.crossover (dvrsi, 50), "Bullish Trend Shift", "DVRSI Crossed Over 50")
alertcondition(ta.crossunder(dvrsi, 50), "Bearish Trend Shift", "DVRSI Crossed Under 50")
alertcondition(ta.crossunder(dvrsi, 60), "Bearish Take Profit", "DVRSI Crossed Below 60")
alertcondition(ta.crossover (dvrsi, 40), "Bullish Take Profit", "DVRSI Crossed Above 40")
changeReturns a simple "close vs close" value for whichever interval is specified. i.e. on a weekly chart, it would be week-over-week change.