Global M2 Money Supply (Days Offset)The Global M2 Money Supply indicator, updated by Colin Talks Crypto on March 2, 2025, and modified by Grok (xAI), is a TradingView Pine Script (v6) tool designed to visualize the aggregated M2 money supply from key global regions, overlaid on a price chart (e.g., BTCUSD) with a right-axis scale. It aggregates daily M2 data from regions including North America, Eurozone, Asia, and others, adjusted with forex rates (e.g., EURUSD, JPYUSD), and scales the total to billions for readability. Users can adjust the time offset (default 76 days, range -1000 to 1000) to align M2 with Bitcoin price movements, reflecting lags of 70–76 days as noted in market analyses. Additionally, a customizable smoothing period (default 20 days, range 1 to 100) applies a Simple Moving Average (SMA) to reduce noise, highlighting longer-term trends. A debug plot of raw M2 data (gray line) aids in verifying data integrity, making this indicator a valuable tool for crypto traders analyzing liquidity impacts on price action.
Indicators and strategies
Auto Trendline Indicator🚀 Automatically detect key trendlines to spot support & resistance levels like a pro! This indicator helps traders visualize market structure, breakouts, and potential reversals.
✅ Auto-Detects Uptrend & Downtrend Lines 📈📉
✅ Dynamic Adjustments – Adapts to price action ⚡
✅ Works on Any Timeframe – 5m, 15m, 1H, 4H, Daily ⏳
✅ Great for Breakouts & Retests 🎯
🔥 What This Indicator Does:
✔ Automatically Draws Trendlines – No manual work needed!
✔ Identifies Swing Highs & Lows for precise market structure 📊
✔ Shows Dynamic Trendlines that adjust to price action 🎯
✔ Perfect for Breakouts, Retests & Trend Trading 🚀
Magnificent 7 Basket Desempenho da Basket:
O script calcula o desempenho ponderado das Magnificent 7 e plota uma linha azul no gráfico.
Benchmarks:
O desempenho do S&P 500 , Ouro e DXY são plotados como opcionais.
Linha Azul: Desempenho ponderado da cesta.
Felipe Mendonca
RSI Divergence IndicatorThe Relative Strength Index (RSI) is a momentum indicator that measures the speed and change of price movements, typically ranging from 0 to 100. It helps identify overbought (above 70) and oversold (below 30) conditions in a market.
Bullish and Bearish Divergences:
Divergences occur when the RSI moves in the opposite direction of the price, signaling potential trend reversals.
Bullish Divergence (Reversal to the Upside)
Price makes a lower low, but
RSI makes a higher low
This suggests weakening selling pressure and a potential upward reversal.
Bearish Divergence (Reversal to the Downside)
Price makes a higher high, but
RSI makes a lower high
This indicates weakening buying pressure and a potential downward reversal.
Divergences are more reliable when combined with other indicators like support/resistance levels and volume analysis.
SCALPING BOTThis indicator provide buy and sell signals.
higher accuracy in 5 min chart.
ATR line used for target.
Order Block FinderEste indicador experimental está diseñado para identificar Bloques de Orden Institucionales en gráficos financieros. Estas son áreas donde los grandes actores del mercado (como instituciones) han colocado órdenes significativas, a menudo marcando el inicio de movimientos fuertes en el precio. Los Bloques de Orden son útiles porque hay una alta probabilidad de que el precio regrese a estas áreas en el futuro, lo que las hace ideales para colocar órdenes límite.
Características principales:
Bloques de Orden Bullish (alcistas):
Definidos como la última vela bajista antes de una secuencia de velas alcistas.
El rango de precios relevante va de Apertura a Mínimo (o todo el rango de Máximo a Mínimo, opcionalmente).
Bloques de Orden Bearish (bajistas):
Definidos como la última vela alcista antes de una secuencia de velas bajistas.
El rango de precios relevante va de Apertura a Máximo (o todo el rango de Máximo a Mínimo, opcionalmente).
Configuración ajustable:
Puedes cambiar el número de velas consecutivas requeridas para identificar un bloque.
Permite establecer un umbral porcentual de cambio en el precio necesario para validar un Bloque de Orden.
Canales y Equilibrio:
Muestra u oculta los canales que marcan los últimos bloques alcistas y bajistas.
Resalta el equilibrio (valor promedio) dentro de cada bloque como una zona clave para la interacción del precio.
Alertas:
Se activan automáticamente cuando se detecta un Bloque de Orden.
El retraso depende del parámetro "Periodos Relevantes" (por defecto, 5).
Wilders MACD + EMA MACDHi,
This is the MACD in Wilders mode (turquoise) and in Exponential mode (purple).
All in one on the same chart. This to avoid having 2 indicators.
Strategy is to trade at Exp cross over and having the wilders to confirm that to which come later if momentum is intact.
Gold Liquidity & Momentum Bot✅ Detects liquidity grabs (swing highs/lows)
✅ Confirms momentum shifts (RSI & VWAP conditions)
✅ Limits trades to 4 per day
✅ Uses a risk-reward ratio of 3:1
✅ Executes trades silently
RSI Failure Swing Pattern (with Alerts & Targets)RSI Failure Swing Pattern Indicator – Detailed Description
Overview
The RSI Failure Swing Pattern Indicator is a trend reversal detection tool based on the principles of failure swings in the Relative Strength Index (RSI). This indicator identifies key reversal signals by analyzing RSI swings and confirming trend shifts using predefined overbought and oversold conditions.
Failure swing patterns are one of the strongest RSI-based reversal signals, initially introduced by J. Welles Wilder. This indicator detects these patterns and provides clear buy/sell signals with labeled entry, stop-loss, and profit target levels. The tool is designed to work across all timeframes and assets.
How the Indicator Works
The RSI Failure Swing Pattern consists of two key structures:
1. Bullish Failure Swing (Buy Signal)
Occurs when RSI enters oversold territory (below 30), recovers, forms a higher low above the oversold level, and finally breaks above the intermediate swing high in RSI.
Step 1: RSI dips below 30 (oversold condition).
Step 2: RSI rebounds and forms a local peak.
Step 3: RSI retraces but does not go below the previous low (higher low confirmation).
Step 4: RSI breaks above the previous peak, confirming a bullish trend reversal.
Buy signal is triggered at the breakout above the RSI peak.
2. Bearish Failure Swing (Sell Signal)
Occurs when RSI enters overbought territory (above 70), declines, forms a lower high below the overbought level, and then breaks below the intermediate swing low in RSI.
Step 1: RSI rises above 70 (overbought condition).
Step 2: RSI declines and forms a local trough.
Step 3: RSI bounces but fails to exceed the previous high (lower high confirmation).
Step 4: RSI breaks below the previous trough, confirming a bearish trend reversal.
Sell signal is triggered at the breakdown below the RSI trough.
Features of the Indicator
Custom RSI Settings: Adjustable RSI length (default 14), overbought/oversold levels.
Buy & Sell Signals: Buy/sell signals are plotted directly on the price chart.
Entry, Stop-Loss, and Profit Targets:
Entry: Price at the breakout of the RSI failure swing pattern.
Stop-Loss: Lowest low (for buy) or highest high (for sell) of the previous two bars.
Profit Targets: Two levels calculated based on Risk-Reward ratios (1:1 and 1:2 by default, customizable).
Labeled Price Levels:
Entry Price Line (Blue): Marks the point of trade entry.
Stop-Loss Line (Red): Shows the calculated stop-loss level.
Target 1 Line (Orange): Profit target at 1:1 risk-reward ratio.
Target 2 Line (Green): Profit target at 1:2 risk-reward ratio.
Alerts for Trade Execution:
Buy/Sell signals trigger alerts for real-time notifications.
Alerts fire when price reaches stop-loss or profit targets.
Works on Any Timeframe & Asset: Suitable for stocks, forex, crypto, indices, and commodities.
Why Use This Indicator?
Highly Reliable Reversal Signals: Unlike simple RSI overbought/oversold strategies, failure swings filter out false breakouts and provide strong confirmation of trend reversals.
Risk Management Built-In: Stop-loss and take-profit levels are automatically set based on historical price action and risk-reward considerations.
Easy-to-Use Visualization: Clearly marked entry, stop-loss, and profit target levels make it beginner-friendly while still being valuable for experienced traders.
How to Trade with the Indicator
Buy Trade Example (Bullish Failure Swing)
RSI drops below 30 and recovers.
RSI forms a higher low and then breaks above the previous peak.
Entry: Buy when RSI crosses above its previous peak.
Stop-Loss: Set below the lowest low of the previous two candles.
Profit Targets:
Target 1 (1:1 Risk-Reward Ratio)
Target 2 (1:2 Risk-Reward Ratio)
Sell Trade Example (Bearish Failure Swing)
RSI rises above 70 and then declines.
RSI forms a lower high and then breaks below the previous trough.
Entry: Sell when RSI crosses below its previous trough.
Stop-Loss: Set above the highest high of the previous two candles.
Profit Targets:
Target 1 (1:1 Risk-Reward Ratio)
Target 2 (1:2 Risk-Reward Ratio)
Final Thoughts
The RSI Failure Swing Pattern Indicator is a powerful tool for traders looking to identify high-probability trend reversals. By using the RSI failure swing concept along with built-in risk management tools, this indicator provides a structured approach to trading with clear entry and exit points. Whether you’re a day trader, swing trader, or long-term investor, this indicator helps in capturing momentum shifts while minimizing risk.
Would you like any modifications or additional features? 🚀
Chart Box Session Indicator [The Quant Science]This indicator allows highlighting specific time sessions within a chart by creating colored boxes to represent the price range of the selected session. Is an advanced and flexible tool for chart segmenting trading sessions. Thanks to its extensive customization options and advanced visualization features, it allows traders to gain a clear representation of key market areas based on chosen time intervals.
The indicator offers two range calculation modes:
Body to Body: considers the range between the opening and closing price.
Wick to Wick: considers the range between the session's low and high.
Body To Body
Wick to Wick
Key Features
1. Session Configuration
- Users can select the time range of the session of interest.
- Option to choose the day of the week for the calculation.
- Supports UTC timezone selection to correctly align data.
2. Customizable Visualization
- Option to display session price lines.
- Ability to show a central price line.
- Extension of session lines beyond the specified duration.
3. Design Display Configuration
- Three different background configurations to suit light and dark themes.
- Two gradient modes for session coloring:
- Centered: the color is evenly distributed.
- Off-Centered: the gradient is asymmetrical.
How It Works
The indicator determines whether the current time falls within the selected session, creating a colored box that highlights the corresponding price range. Depending on user preferences, the indicator draws horizontal lines at the minimum and maximum price levels and, optionally, a central line.
During the session:
- The lowest and highest session prices are dynamically updated.
- The range is divided into 10 bands to create a gradient effect.
- A colored box is generated to visually highlight the chosen session.
If the Extend Lines option is enabled, price lines continue even after the session ends, keeping the range visible for further analysis.
This indicator is useful for traders who want to analyze price behavior in specific timeframes. It is particularly beneficial for strategies based on market sessions (e.g., London or New York open) or for identifying accumulation and distribution zones.
Fibonacci Retracement with Color FillMain Functionality:
Fibonacci Levels Calculation 📊:
Calculate the high (high_price) and low (low_price) of the last 20 candlesticks 📈.
Use the values to calculate 5 Fibonacci levels:
0% (low) 🏁
23.6% 🌱
38.2% 🌊
61.8% 🍊
100% (high) 🔝
Color Fill 🎨:
Apply color fill between each Fibonacci level to improve the visibility of the chart 🧐. Different colors are available for each range:
0% to 23.6%: Green 🍃
23.6% to 38.2%: Blue 🌊
38.2% to 61.8%: Orange 🍊
61.8% to 100%: Red 🔴
Display Fibonacci Levels 📏:
Display the values of each Fibonacci level (e.g. 0%, 23.6%, 38.2%, 61.8%, 100%) on the chart with different colored Labels according to the Fibonacci level 🔠 for the user to see clearly.
Key Code:
Calculate Fibonacci levels using the ta.highest and ta.lowest functions to find the high and low of the last 20 candles 🔎.
Use plot to display each Fibonacci level 📊.
Use fill to color between Fibonacci levels 🎨.
Display Labels to indicate the value of each Fibonacci level 🏷️.
Working Example:
If the closing price of the last 20 candles was a high of 100 and a low of 50, the program will calculate the Fibonacci level from this price and display levels such as 23.6%, 38.2%, etc. with color filling between these levels 🎯.
This code will help to simplify chart analysis, especially in finding support and resistance levels according to the popular Fibonacci Levels in trading strategies 🚀.
This indicator works on
#crypto #forex #gold and all assets.
Up/Down Days//@version=5
indicator("Up/Down Days", overlay=true)
// Check if today is an "up day" (close > previous close)
isUpDay = close > close
// Check if today is a "down day" (close < previous close)
isDownDay = close < close
// Plot arrows or labels
plotshape(isUpDay, title="Up Day", color=color.green, style=shape.triangleup, location=location.belowbar)
plotshape(isDownDay, title="Down Day", color=color.red, style=shape.triangledown, location=location.abovebar)
// Count up/down days in a rolling window (e.g., last 30 days)
var int upDaysCount = 0
var int downDaysCount = 0
if isUpDay
upDaysCount += 1
else if isDownDay
downDaysCount += 1
// Reset counts every 30 days
if bar_index % 30 == 0
upDaysCount := 0
downDaysCount := 0
// Display counts
tablePosition = position.top_right
var table statsTable = table.new(tablePosition, 2, 1)
table.cell(statsTable, 0, 0, "Up Days: " + str.tostring(upDaysCount), bgcolor=color.green)
table.cell(statsTable, 1, 0, "Down Days: " + str.tostring(downDaysCount), bgcolor=color.red)
NAS100, Gold, EURUSD Table with MACD, Volume, Pivotvwydgvıywd k mn bıuwgoubnd. ıuywgıudgbkjwöd. bıuywbdhıjbvknw
EMA Cross🔥EMA Cross – Multi-Timeframe Trend & Crossover Indicator⚡
📌 Overview
The EMA Cross Indicator is a trend-following tool designed to help traders identify market trends and potential trade opportunities using Exponential Moving Averages (EMAs). It provides clear crossover signals, allowing traders to spot trend reversals and momentum shifts with precision.
📌 Concept & Working Mechanism
1. Multi-Timeframe EMAs:
- Plots two customizable EMAs (Fast EMA & Slow EMA) that can be set to any timeframe.
- Helps traders determine short-term and long-term trend direction.
2. EMA Crossover Signals:
- Golden Cross (Bullish Signal): Occurs when the fast EMA crosses above the slow EMA, indicating a potential uptrend.
- Death Cross (Bearish Signal): Occurs when the fast EMA crosses below the slow EMA, signaling a possible downtrend.
3. Customizable Crossover Alerts:
- Choose from different shapes (arrow, triangle, circle, cross) to highlight EMA crossovers for better visualization.
- Helps traders quickly recognize trend shifts on the chart.
4. Dynamic Trend Adaptation:
- Supports timeframe selection to analyze trends from different perspectives.
- Works across all asset classes, including Forex, Crypto, Stocks, and Commodities.
📌 How to Use
1- Trend Confirmation: Use the EMA direction and crossover signals to validate trend strength.
2- Entry & Exit Strategy:
3- Enter long trades after a Golden Cross, indicating bullish momentum.
4- Enter short trades after a Death Cross, signaling bearish pressure.
5- Custom Alerts & Visuals: Customize crossover signals for clear trade identification.
📌 Why Use This Indicator?
✅ Multi-timeframe EMAs for accurate trend analysis.
✅ Clear crossover signals for easy trade execution.
✅ Customizable shapes for crossover visualization.
✅ Works on all markets and trading styles.
Global M2 Money Supply // Days Offset =Global M2 Money Supply. BTC follows this if you offset it by 70 days.
رازی+RSIواگرایی مخفی پیشرفتهrazi + costum rsi + vagarayi pishrafte thats all ( hidden api from dex and apps)
Niveluri Psihologice GER40This indicator automatically marks the high and low psychological levels for the GER40-DAX parity
Zero Lag RibbonThis Zero Lag Ribbon Indicator helps you identify trend direction and generate Buy/Sell signals based on the crossover of two Zero Lag EMAs (ZLEMA). Follow these steps to use it effectively:
Two Moving Averages (Fast ZLEMA & Slow ZLEMA) will appear on your chart:
Fast ZLEMA (Green Line): Reacts quickly to price movements.
Slow ZLEMA (Red Line): Moves slower and filters noise.
Color Background Changes:
🟩 Green Background → Bullish Trend (Fast ZLEMA > Slow ZLEMA).
🟥 Red Background → Bearish Trend (Fast ZLEMA < Slow ZLEMA).
Buy/Sell Signals (Arrows):
Green UP Arrow = Buy Signal (Fast ZLEMA crosses above Slow ZLEMA).
Red DOWN Arrow = Sell Signal (Fast ZLEMA crosses below Slow ZLEMA).
Step 3: Spot Trading Opportunities
BUY Entry ✅
Wait for a Green Background.
Fast ZLEMA crosses above Slow ZLEMA.
Confirm with Volume & Support Levels.
SELL Entry ❌
Wait for a Red Background.
Fast ZLEMA crosses below Slow ZLEMA.
Check Resistance Levels.
EXIT Strategy
Exit when the color changes OR another signal appears.
Go to "Alerts" (Clock icon on TradingView).
Click "Create Alert".
Set conditions:
Buy Signal → Alert when Fast ZLEMA crosses above Slow ZLEMA.
Sell Signal → Alert when Fast ZLEMA crosses below Slow ZLEMA.
Enable Notifications (Popup, Email, App Notification).
tep 5: Optimize for Better Trades
Combine with Other Indicators: Use Volume, RSI, or Open Interest for confirmation.
Avoid False Signals: Don't trade every crossover blindly. Look for strong trend zones.
Backtest the Strategy: Check past performance before real trades.
📌 Example Trade Using This Indicator
🔹 Chart: Nifty 50, 5-Min Timeframe
🔹 BUY Signal Triggered: Fast ZLEMA crossed above Slow ZLEMA at 22,250
🔹 Exit at Resistance: Price hit 22,400 (Profit booked ✅)
🔹 SELL Signal Triggered: Fast ZLEMA crossed below Slow ZLEMA at 22,380
🔹 Exit at Support: Price dropped to 22,250 (Profit booked ✅)
💡 Final Thoughts
✔ Great for Trend Trading
✔ Works on Any Market (Stocks, Crypto, Options, Forex)
✔ Use with Alerts for Automated Trading
💬 Let me know if you want modifications or improvements! 🚀
EMA Cross Alert (5m EMA, Custom Timeframe Opposite Candle)9/21 cross 5m
2m entry
alert - helps with entry on opposite candle
Dynamic Timeframe Trend AnalyzerPurpose and Core Logic
This indicator automatically adjusts its calculations based on the current chart’s timeframe, allowing traders to analyze trends, momentum, and mean reversion opportunities without manually changing indicator settings for each interval. It detects potential long or short setups by combining several techniques:
Dynamic Timeframe Factor
The script compares the current timeframe to a base (e.g., 5 minutes) and calculates a “factor” to scale certain parameters, such as EMA lengths or ATR settings. This reduces the need to reconfigure indicators when switching timeframes.
Regime Detection
It uses ADX (Average Directional Index) to classify the market as strongly trending, moderately trending, choppy, or in a potential mean-reversion phase.
RSI (Relative Strength Index) is also monitored for extreme levels (e.g., overbought/oversold) to detect potential reversal zones.
Volume is compared to a moving average to confirm or refute volatility conditions.
Trend & Mean Reversion Signals
EMA Alignment (8/21/55) helps identify bullish or bearish phases (strong bull if all EMAs align upward, strong bear if aligned downward).
For mean reversion opportunities, the script checks if ADX is sufficiently low (indicating weak or no trend) while price and RSI are at extreme levels—suggesting a snapback or countertrend move may occur.
Dynamic Stop Loss & Take Profit
Uses ATR (Average True Range) to set initial stop-loss (SL) and take-profit (TP) levels, then adjusts these levels further with “regime multipliers” based on whether the market is in a high-volatility trend or a quieter mean-reversion environment.
This approach aims to place stops and targets in a more adaptive way, reflecting current market conditions rather than a one-size-fits-all approach.
Visual Aids
Color-coded chart backgrounds (e.g., greenish for bullish trend, red for bearish, yellow/orange for mean reversion).
Triangles to show recent bullish/bearish signals.
A status table in the top-right corner (optional) displaying key metrics like ADX, RSI, dynamic thresholds, current SL/TP levels, and whether a stop loss has been hit.
How It Works Internally
ADX & Dynamic Thresholds:
A moving average (adx_mean) and standard deviation (adx_std) of the ADX are calculated over a lookback period to define “strong” vs. “weak” ADX thresholds.
This allows the script to adapt to changing volatility and trend strength in different markets or timeframes.
Mean Reversion Criteria:
The indicator checks if price deviates significantly from its own moving average, alongside RSI extremes. If ADX suggests no strong directional push (i.e., the market is “quiet”), it may classify conditions as mean-reverting.
Regime Multipliers:
Once the script identifies the market regime (e.g., strong uptrend, choppy, mean reversion), it applies different multipliers to the user-defined base values for stop-loss and take-profit. For instance, strong trending conditions might allow for wider stops to handle volatility, while mean reversion signals use tighter exits to capture quick reversals.
How to Use It
Timeframe Agnostic
Simply apply it to any timeframe (from 1-minute up to daily or weekly). The “Dynamic Timeframe Factor” will scale the indicator parameters automatically.
Look for Buy/Sell Triangles
When the script detects a valid bullish trend shift or a mean-reversion long setup, it plots a green triangle under the price bar. Conversely, it plots a red triangle above the price bar for bearish or mean-reversion short setups.
Check the Status Table
The table in the top-right corner summarizes the indicator’s current readings: ADX, RSI, volume trends, and the market regime classification.
The table also shows if a stop loss has been hit (SL Hit) and displays recommended SL/TP levels if a signal is active.
Stop Loss & Take Profit
The script plots lines for SL and TP on your chart after a new signal. These lines are automatically adjusted based on ATR, volume conditions, and ADX-derived multipliers.
Mean Reversion vs. Trend-Following
If you see a “Mean Rev” state in the table or the background turning yellow/orange, it suggests potential countertrend trades. Conversely, “STRONG BULL” or “STRONG BEAR” states favor momentum-based entries in the prevailing direction.
Originality & Benefits
Adaptive to Timeframe: Many indicators require reconfiguration when switching from short to long timeframes. This script automates that process using the “timeframe factor” logic.
Regime-Based SL/TP: Instead of fixed risk parameters, the script dynamically tunes stop and target levels depending on whether the market is trending or reverting.
Comprehensive Market View: It combines multiple factors—ADX, RSI, volume, moving averages, and volatility measurements—into a single, integrated framework that categorizes the market regime in real time.
Best Practices & Notes
Timeframes: It typically performs well on intraday timeframes (5m, 15m, 1H) but can also be used for swing trading on 4H or Daily charts.
Settings: The defaults are a good starting point, but you can adjust the base ATR multiplier or ADX lookbacks if you prefer a different balance between sensitivity and stability.
Risk Management: This indicator is not a guarantee of any specific results. Always use proper risk management (position sizing, stop-losses, and diversified strategies).
Alert Conditions: Built-in alert conditions can notify you when a new long or short signal appears, or when a stop loss is triggered.
Market Cipher + RSI Bollinger BandsMarket Cipher Imitation + RSI Bollinger Bands
Created with Grok 3
Market Cipher:
Zero Dash Line = Neutral
Wave Trend Fast = Blue Line
Wave Trend Slow = Yellow Line
Money Flow Index = Green / Red Wave
MFI Oversold = Green Background
MFI Overbought = Red Background
+ Additional Icons with Oversold / Overbought Trend Crosses
RSI Bollinger Bands:
RSI = Purple Line
Bollinger Bands = Grey Shaded Area