Institutional Composite Moving Average (ICMA) [Volume Vigilante]Institutional Composite Moving Average (ICMA)
The Next Evolution of Moving Averages — Built for Real Traders.
ICMA blends the strength of four powerful averages (SMA, EMA, WMA, HMA) into a single ultra-responsive, ultra-smooth signal.
It reacts faster than traditional MAs while filtering out noise, giving you clean trend direction with minimal lag.
🔹 Key Features:
• Faster reaction than SMA, EMA, or WMA individually
• Smoother and more stable than raw HMA
• Naturally adapts across trend, momentum, and consolidation conditions
• Zero gimmicks. Zero repainting. Full institutional quality.
🔹 Designed For:
• Scalping
• Swing trading
• Signal engines
• Algorithmic systems
📎 How to Use:
• Overlay it on any chart
• Fine-tune the length per timeframe
• Combine with your entries/exits for maximum edge
Created by Volume Vigilante 🧬 — Delivering Real-World Trading Tools.
Trend Analysis
EMA Crossover with Signalswhen the 8 ema line crosses above the 50 ema, a buy signal is initiated. Will not paint again for 24 hours. Should a candle touch the 20 ema line to the downside, a orange X will appear - helps for raising your stop-loss or closing your order.
Cointegration Buy and Sell Signals [EdgeTerminal]The Cointegration Buy And Sell Signals is a sophisticated technical analysis tool to spot high-probability market turning points — before they fully develop on price charts.
Most reversal indicators rely on raw price action, visual patterns, or basic and common indicator logic — which often suffer in noisy or trending markets. In most cases, they lag behind the actual change in trend and provide useless and late signals.
This indicator is rooted in advanced concepts from statistical arbitrage, mean reversion theory, and quantitative finance, and it packages these ideas in a user-friendly visual format that works on any timeframe and asset class.
It does this by analyzing how the short-term and long-term EMAs behave relative to each other — and uses statistical filters like Z-score, correlation, volatility normalization, and stationarity tests to issue highly selective Buy and Sell signals.
This tool provides statistical confirmation of trend exhaustion, allowing you to trade mean-reverting setups. It fades overextended moves and uses signal stacking to reduce false entries. The entire indicator is based on a very interesting mathematically grounded model which I will get into down below.
Here’s how the indicator works at a high level:
EMAs as Anchors: It starts with two Exponential Moving Averages (EMAs) — one short-term and one long-term — to track market direction.
Statistical Spread (Regression Residuals): It performs a rolling linear regression between the short and long EMA. Instead of using the raw difference (short - long), it calculates the regression residual, which better models their natural relationship.
Normalize the Spread: The spread is divided by historical price volatility (ATR) to make it scale-invariant. This ensures the indicator works on low-priced stocks, high-priced indices, and crypto alike.
Z-Score: It computes a Z-score of the normalized spread to measure how “extreme” the current deviation is from its historical average.
Dynamic Thresholds: Unlike most tools that use fixed thresholds (like Z = ±2), this one calculates dynamic thresholds using historical percentiles (e.g., top 10% and bottom 10%) so that it adapts to the asset's current behavior to reduce false signals based on market’s extreme volatility at a certain time.
Z-Score Momentum: It tracks the direction of the Z-score — if Z is extreme but still moving away from zero, it's too early. It waits for reversion to start (Z momentum flips).
Correlation Check: Uses a rolling Pearson correlation to confirm the two EMAs are still statistically related. If they diverge (low correlation), no signal is shown.
Stationarity Filter (ADF-like): Uses the volatility of the regression residual to determine if the spread is stationary (mean-reverting) — a key concept in cointegration and statistical arbitrage. It’s not possible to build an exact ADF filter in Pine Script so we used the next best thing.
Signal Control: Prevents noisy charts and overtrading by ensuring no back-to-back buy or sell signals. Each signal must alternate and respect a cooldown period so you won’t be overwhelmed and won’t get a messy chart.
Important Notes to Remember:
The whole idea behind this indicator is to try to use some stat arb models to detect shifting patterns faster than they appear on common indicators, so in some cases, some assumptions are made based on historic values.
This means that in some cases, the indicator can “jump” into the conclusion too quickly. Although we try to eliminate this by using stationary filters, correlation checks, and Z-score momentum detection, there is still a chance some signals that are generated can be too early, in the stock market, that's the same as being incorrect. So make sure to use this with other indicators to confirm the movement.
How To Use The Indicator:
You can use the indicator as a standalone reversal system, as a filter for overbought and oversold setups, in combination with other trend indicators and as a part of a signal stack with other common indicators for divergence spotting and fade trades.
The indicator produces simple buy and sell signals when all criteria is met. Based on our own testing, we recommend treating these signals as standalone and independent from each other . Meaning that if you take position after a buy signal, don’t wait for a sell signal to appear to exit the trade and vice versa.
This is why we recommend using this indicator with other advanced or even simple indicators as an early confirmation tool.
The Display Table:
The floating diagnostic table in the top-right corner of the chart is a key part of this indicator. It's a live statistical dashboard that helps you understand why a signal is (or isn’t) being triggered, and whether the market conditions are lining up for a potential reversal.
1. Z-Score
What it shows: The current Z-score value of the volatility-normalized spread between the short EMA and the regression line of the long EMA.
Why it matters: Z-score tells you how statistically extreme the current relationship is. A Z-score of:
0 = perfectly average
> +2 = very overbought
< -2 = very oversold
How to use it: Look for Z-score reaching extreme highs or lows (beyond dynamic thresholds). Watch for it to start reversing direction, especially when paired with green table rows (see below)
2. Z-Score Momentum
What it shows: The rate of change (ROC) of the Z-score:
Zmomentum=Zt − Zt − 1
Why it matters: This tells you if the Z-score is still stretching out (e.g., getting more overbought/oversold), or reverting back toward the mean.
How to use it: A positive Z-momentum after a very low Z-score = potential bullish reversal A negative Z-momentum after a very high Z-score = potential bearish reversal. Avoid signals when momentum is still pushing deeper into extremes
3. Correlation
What it shows: The rolling Pearson correlation coefficient between the short EMA and long EMA.
Why it matters: High correlation (closer to +1) means the EMAs are still statistically connected — a key requirement for cointegration or mean reversion to be valid.
How to use it: Look for correlation > 0.7 for reliable signals. If correlation drops below 0.5, ignore the Z-score — the EMAs aren’t moving together anymore
4. Stationary
What it shows: A simplified "Yes" or "No" answer to the question:
“Is the spread statistically stable (stationary) and mean-reverting right now?”
Why it matters: Mean reversion strategies only work when the spread is stationary — that is, when the distance between EMAs behaves like a rubber band, not a drifting cloud.
How to use it: A "Yes" means the indicator sees a consistent, stable spread — good for trading. "No" means the market is too volatile, disjointed, or chaotic for reliable mean reversion. Wait for this to flip to "Yes" before trusting signals
5. Last Signal
What it shows: The last signal issued by the system — either "Buy", "Sell", or "None"
Why it matters: Helps avoid confusion and repeated entries. Signals only alternate — you won’t get another Buy until a Sell happens, and vice versa.
How to use it: If the last signal was a "Buy", and you’re watching for a Sell, don’t act on more bullish signals. Great for systems where you only want one position open at a time
6. Bars Since Signal
What it shows: How many bars (candles) have passed since the last Buy or Sell signal.
Why it matters: Gives you context for how long the current condition has persisted
How to use it: If it says 1 or 2, a signal just happened — avoid jumping in late. If it’s been 10+ bars, a new opportunity might be brewing soon. You can use this to time exits if you want to fade a recent signal manually
Indicator Settings:
Short EMA: Sets the short-term EMA period. The smaller the number, the more reactive and more signals you get.
Long EMA: Sets the slow EMA period. The larger this number is, the smoother baseline, and more reliable trend bases are generated.
Z-Score Lookback: The period or bars used for mean & std deviation of spread between short and long EMAs. Larger values result in smoother signals with fewer false positives.
Volatility Window: This value normalizes the spread by historical volatility. This allows you to prevent scale distortion, showing you a cleaner and better chart.
Correlation Lookback: How many periods or how far back to test correlation between slow and long EMAs. This filters out false positives when EMAs lose alignment.
Hurst Lookback: The multiplier to approximate stationarity. Lower leads to more sensitivity to regime change, higher produces a more stricter filtering.
Z Threshold Percentile: This value sets how extreme Z-score must be to trigger a signal. For example, 90 equals only top/bottom 10% of extremes, 80 = more frequent.
Min Bars Between Signals: This hard stop prevents back-to-back signals. The idea is to avoid over-trading or whipsaws in volatile markets even when Hurst lookback and volatility window values are not enough to filter signals.
Some More Recommendations:
We recommend trying different EMA pairs (10/50, 21/100, 5/20) for different asset behaviors. You can set percentile to 85 or 80 if you want more frequent but looser signals. You can also use the Z-score reversion monitor for powerful confirmation.
AI-EngulfingCandle+Alert+thanks-2-ahmedirshad419!WE MUST APPRECIATE ahmedirshad419 and his great work.
I added some tips and sources instead of the shout for MIT XD.
plotshape(tradeSignal and bullishCandle, title = 'bullish', location = location.belowbar, color = color.new(color.green, 0), style = shape.triangleup, text = 'BUY @ next higher bottom @ upper trend')
plotshape(tradeSignal and bearishCandle, title = 'bearish', location = location.abovebar, color = color.new(color.red, 0), style = shape.triangledown, text = 'SELL @ next lower top @ downer trend')
alertcondition(bullishCandle, title = 'Double Bottom Upcoming', message = 'BUY @ next higher bottom @ upper trend !')
alertcondition(bearishCandle, title = 'Doublle Top Upcoming', message = 'SELL @ next lower top @ downer trend !')
You should see the MIRACLE of your LIFE.
Scalping Supertrend + Stochastic RSIThe Scalping Supertrend + Stochastic RSI Indicator is designed for short-term trading and scalping on lower timeframes. It combines the Supertrend indicator to identify trend direction with the Stochastic RSI to pinpoint overbought/oversold conditions for precise entry and exit signals. The indicator generates buy and sell signals when the Stochastic RSI crosses predefined levels (oversold/overbought) while aligned with the Supertrend’s trend direction.
Godfather of Support & Resistance Godfather of Support & Resistance
Overview
The Godfather of Support & Resistance script is a powerful tool designed to help traders identify critical support and resistance levels on their charts. These price levels are vital for understanding market behavior, as they often act as turning points where prices reverse, consolidate, or break through. By automating the detection of these levels, this script simplifies your trading decisions and enhances your technical analysis.
How It Works
Pivot Points for Level Detection:
The script uses pivot points to identify potential support (lows) and resistance (highs) levels:
A pivot high is a local peak (a high surrounded by lower highs).
A pivot low is a local trough (a low surrounded by higher lows).
You can adjust the Pivot Length (pivotLen) input to control the sensitivity of detection. Smaller values detect more levels, while larger values focus on major levels.
Dynamic Grouping with Tolerance:
The script dynamically groups nearby price levels using a tolerance percentage. This tolerance is based on the level's price, making it adaptive to all types of assets (low- and high-priced).
For example, if the tolerance is set to 1% and a level is at $100, levels within $1 are grouped together.
Touch Count for Significance:
The script tracks how many times the price interacts with each level (touch count). Only levels that meet or exceed the Minimum Touches (minTouches) input are displayed on the chart. This ensures only meaningful levels are highlighted.
Clear Visual Representation:
Resistance Levels (Red Lines): Represent areas where the price tends to reverse downward.
Support Levels (Green Lines): Represent areas where the price tends to reverse upward.
Labels are added to each level (optional) to display the price and the number of touches for better decision-making.
Inputs You Can Customize
Minimum Touches to Show Level:
Set the minimum number of price interactions required for a level to be displayed.
Maximum Lines to Keep:
Limit the number of support and resistance lines displayed to keep your chart clean and focused.
Pivot Length:
Customize the sensitivity of pivot point detection. Smaller values detect more levels, while larger values focus on key levels.
Tolerance for Touch Detection (%):
Adjust the grouping tolerance as a percentage of the price. For example, 1% groups levels that are within 1% of each other.
How to Use
Apply the Script:
Add the script to your TradingView chart, and it will automatically detect and plot support and resistance levels.
Analyze the Levels:
Use Resistance Levels (red lines) as potential sell zones or areas to place stop-loss orders above.
Use Support Levels (green lines) as potential buy zones or areas to place stop-loss orders below.
Customize for Your Trading Style:
Adjust the inputs to match your preferred strategy and the timeframe or asset you're analyzing.
Example Use Case
Imagine you're analyzing a stock:
Resistance Level: The script identifies resistance at $150 with 3 touches. This might be a potential sell zone if the price struggles to break through.
Support Level: The script identifies support at $130 with 4 touches. This might be a potential buy zone if the price shows signs of bouncing upward.
Key Features
Automatically detects and plots support and resistance levels.
Tracks the number of price touches to filter out weak levels.
Adapts dynamically to price ranges using a percentage-based tolerance.
Fully customizable to suit different trading styles and assets.
Clean and professional chart display with a limit on the number of lines.
Notes
This script is for educational purposes only and should not be considered financial advice.
Always perform your own analysis and manage risk before making trading decisions.
Why Use This Script?
The Godfather of Support & Resistance script simplifies your trading decisions by automating the detection of critical price levels. Whether you're a beginner or an experienced trader, this script is designed to save you time and help you focus on making informed trades.
Start using it today to master the art of support and resistance trading!
Let me know if you need further refinements for this description!
Market Breadth Peaks & Troughs IndicatorIndicator Overview
Market Breadth (S5TH) visualizes extremes of market strength and weakness by overlaying -
a 200-period EMA (long-term trend)
a 5-period EMA (short-term trend, user-adjustable)
on the percentage of S&P 500 constituents trading above their 200-day SMA (INDEX:S5TH).
Peaks (▼) and troughs (▲) are detected with prominence filters so you can quickly spot overbought and oversold conditions.
⸻
1. Core Logic
Component Description
Breadth series INDEX:S5TH — % of S&P 500 stocks above their 200-SMA
Long EMA 200-EMA to capture the primary trend
Short EMA 5-EMA (default, editable) for short-term swings
Peak detection ta.pivothigh + prominence ⇒ major peaks marked with red ▼
Trough detection (200 EMA) ta.pivotlow + prominence + value < longTroughLvl ⇒ blue ▲
Trough detection (5 EMA) ta.pivotlow + prominence + value < shortTroughLvl ⇒ green ▲
Background shading Pink when 200 EMA slope is down and 5 EMA sits below 200 EMA
⸻
2. Adjustable Parameters (input())
Group Variable Default Purpose
Symbol breadthSym INDEX:S5TH Breadth index
Long EMA longLen 200 Period of long EMA
Short EMA shortLen 5 Period of short EMA
Pivot width (long) pivotLen 20 Bars left/right for 200-EMA peaks/troughs
Pivot width (short) pivotLenS 10 Bars for 5-EMA troughs
Prominence (long) promThresh 0.5 %-pt Depth filter for 200-EMA pivots
Prominence (short) promThreshS 3.0 %-pt Depth filter for 5-EMA pivots
Trough level (long) longTroughLvl 50 % Max value to accept a 200-EMA trough
Trough level (short) shortTroughLvl 30 % Max value to accept a 5-EMA trough
⸻
3. Signal Guide
Marker / Color Meaning Typical reading
Red ▼ Major breadth peak Overbought / possible top
Blue ▲ Deep 200-EMA trough End of mid-term correction
Green ▲ Shallow 5-EMA trough (early) Short-term rebound setup
Pink background Long-term down-trend and short-term weak Risk-off phase
⸻
4. Typical Use Cases
1. Counter-trend timing
• Fade greed: trim longs on red ▼
• Buy fear: scale in on green ▲; add on blue ▲
2. Trend filter
• Avoid new longs while the background is pink; wait for a trough & recovery.
3. Risk management
• Reduce exposure when peaks appear, reload partial size on confirmed troughs.
⸻
5. Notes & Tips
• INDEX:S5TH is sourced from TradingView and may be back-adjusted when index membership changes.
• Fine-tune pivotLen, promThresh, and level thresholds to match current volatility before relying on alerts or automated rules.
• Slope thresholds (±0.10 %-pt) that trigger background shading can also be customized for different market regimes.
Stablecoin Supply Ratio [Alpha Extract]Stablecoin Supply Ratio Indicator
The Stablecoin Supply Ratio (SSR) indicator compares Bitcoin's market capitalization to the aggregate supply of major stablecoins, offering insights into relative purchasing power and liquidity. This tool helps traders:
✔ Assess Bitcoin's buying power relative to the available stablecoin liquidity.
✔ Detect periods of capital inflow or outflow from stablecoins.
✔ Identify market sentiment shifts based on stablecoin reserves.
🔶 CALCULATION
The indicator aggregates the supply of key stablecoins and compares it to Bitcoin's market cap:
Stablecoin Aggregation
• Inputs:
USDT, USDC, DAI, USDD (daily closing values).
BUSD Market Cap (Glassnode data).
• Total Stablecoin Supply:
Sum of the listed stablecoins' market caps.
Stablecoin Supply Ratio (SSR)
• Formula:
SSR = Bitcoin Market Cap / Total Stablecoin Supply
• Normalized SSR:
Normalized by dividing SSR by its 200-day SMA.
Bollinger Bands
• Bands are applied to the normalized SSR using a configurable moving average type and 2 standard deviations.
Example Calculation:
ssr = btcmc / stablecoin_liq
ratio = ssr / ta.sma(ssr, 200)
basis = ta.sma(ratio, 200)
dev = 2 * ta.stdev(ratio, 200)
upper = basis + dev
lower = basis - dev
🔶 DETAILS
Visual Features:
• Normalized SSR:
Plotted as a light green line.
• Upper Band:
Red line indicating SSR overbought zone.
• Lower Band:
Green line signaling SSR oversold zone.
Interpretation:
• High SSR: Indicates stablecoin reserves are low relative to Bitcoin's market cap, reducing stablecoin buying power.
• Low SSR: Suggests high stablecoin liquidity relative to Bitcoin's market cap, increasing potential buying pressure.
• Band Crosses: Movements beyond the upper or lower bands may signal sentiment extremes.
🔶 EXAMPLES
Market insights include:
• Capital Outflows: SSR rising into the upper band may reflect decreasing stablecoin reserves, potentially signaling a liquidity drain.
• Capital Inflows: SSR dropping near the lower band could indicate growing stablecoin reserves, potentially fueling Bitcoin demand.
🔶 SETTINGS
Customization Options:
• MA Type: Choose between SMA, EMA, WMA, SMMA, and VWMA for band calculation.
• Period: Adjust the 200-day smoothing period.
• Deviation Multiplier: Modify the standard deviation multiplier (default: 2).
The Stablecoin Supply Ratio indicator is a valuable tool for traders monitoring liquidity dynamics and stablecoin trends to anticipate Bitcoin market moves and capital flows.
1m Confirmation: EMA20 + QQE + Vol Spike by RalpinoyThis is a “confirmation” indicator for 1-minute scalping. We created to assure us before entering a trade.
It fires a ✅ long arrow when all three line up:
Trend: price is above the 20-period EMA
Momentum: QQE histogram is above zero
Volume: current bar’s volume > 1.5× its 20-bar SMA
A ❌ short arrow shows when the inverse conditions are met.
Guys you may use this and drop it onto your 1 min chart and adjust the multipliers to taste.
How to use:
Add this as a single indicator on your 1 min chart.
Watch for the ✅/❌ arrows to mark “all-clear” entries.
You can hook the built-in alerts to get pinged exactly when those arrows appear.
Feel free to tweak the QQE multiplier, volume multiplier or even swap in your preferred momentum calc. Happy scalping!
PumpC Opening Range Breakout (ORB) 5min Range📄 PumpC ORB 5-Minute Opening Range Breakout Indicator
✨ Overview
The PumpC ORB 5-Minute Opening Range Breakout indicator captures early session price action by tracking the high, low, and open of a defined 5-minute window at market open (customized for Futures or Stocks).
It plots breakout levels, extension targets, average range calculations, volume tracking, and provides visual and table-based data summaries.
This indicator is designed for traders seeking a complete, clean visualization of Opening Range Breakouts (ORB) with flexible customization.
⚙️ Main Features
Opening Range Box (ORB Box) Draws a box around the high and low of the first 5-minute session (8:30–8:35 ET for Futures, 9:30–9:35 ET for Stocks). Box extends from the session open to the session close (4:00 PM ET). Option to enable/disable historical boxes. Box color and opacity are customizable. Core ORB Levels Open Level: Plots the open price of the 5-minute ORB window. ORB Levels: Plots breakout levels at multiples: +0.5x the range +1.5x the range (customizable factor) Each level has independent color settings and visibility toggles. Option to show or hide historic extension levels. Table Display Compact table in the top-right corner showing: ORB ATR (average range) ORB ATR in ticks Today's ORB range ORB Volume ATR (average volume during ORB) Today's ORB Volume Volume is formatted automatically into "K" (thousands) or "M" (millions) for readability. Background Highlights After the ORB window closes: Blue highlight if today's ORB range is greater than the 10-day ATR average. Orange highlight if today's ORB range is smaller than the 10-day ATR average. Helps quickly assess relative strength or weakness compared to historical behavior. Alerts Breakout Confirmations: Fires when price closes above ORB High or below ORB Low. Fallout Traps: Alerts when price wick crosses ORB High/Low but closes back inside the range. Alerts use clean titles and simple messages for easy identification.
🔧 Inputs and Customization
Mode Toggle: Choose between Futures (8:30 ET open) or Stocks (9:30 ET open). Show/Hide Labels: Control label visibility for ORB and extension levels. Line Width Control: Customize thickness for ORB lines and extension levels. ORB Level Level Visibility: Independently enable or disable each extension line. Table Appearance: Customize table background color, font color, and padding. ORB Box Settings: Customize box color and control whether historical boxes are drawn.
📚 How to Use
Select Mode: Choose Futures or Stocks depending on your instrument. Observe the Opening Range: Focus on the ORB High and ORB Low during the first 5 minutes after the open. Monitor Breakouts: Breakout alerts will fire when price closes outside the ORB range, signaling potential continuation. Watch for Fallout Traps: Fallout alerts signal when price briefly wicks above/below but closes back inside the ORB range. Use Table Metrics: Instantly compare today's ORB range and volume versus historical averages to assess session strength or weakness.
🛡️ Notes
Best used on the 1-minute or 5-minute chart for intraday trading. Ensure your TradingView chart time zone is set to New York for correct functioning. Alerts must be manually configured after adding the indicator to your chart.
Scalping Bollinger BreakoutThe Scalping Bollinger Breakout Indicator is designed for scalping and short-term trading.
Key features:
Bollinger Bands: Detects volatility-driven breakouts above/below upper/lower bands.
MACD: Confirms bullish/bearish momentum for reliable signals.
Heikin Ashi: Aligns trades with smoothed trend direction, reducing noise.
Volume Filter: Ensures breakouts are supported by elevated volume.
Non-Repainting: Uses closed-bar data for consistent, reliable signals.
Visuals & Alerts: Displays buy/sell triangles and includes trading alerts.
Ideal for fast-paced trading in volatile markets.
Custom Multi-Indicator [bandar]//1-SuperTrend 2-MACD 3-RSI 4-Stochastic 5-EMA (50 & 200) 6-Bollinger Bands 7-ADX 8-Ichimoku Cloud 9-Volume Weighted Average Price (VWAP) 10-Parabolic SAR
//@version=5
indicator("Custom Multi-Indicator ", overlay=true)
// SuperTrend (تم التصحيح النهائي هنا)
atrPeriod = 10
factor = 3.0
= request.security(syminfo.tickerid, timeframe.period, ta.supertrend(factor, atrPeriod))
supertrendBuy = close > supertrend
supertrendSell = close < supertrend
// MACD
= ta.macd(close, 12, 26, 9)
macdBuy = ta.crossover(macdLine, signalLine)
macdSell = ta.crossunder(macdLine, signalLine)
// RSI
rsi = ta.rsi(close, 14)
rsiBuy = rsi < 30
rsiSell = rsi > 70
// Stochastic (تصحيح كامل)
k = ta.stoch(close, high, low, 14)
d = ta.sma(k, 3)
stochBuy = ta.crossover(k, d) and k < 20
stochSell = ta.crossunder(k, d) and k > 80
// EMA Cross
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
emaBuy = ta.crossover(ema50, ema200)
emaSell = ta.crossunder(ema50, ema200)
// Bollinger Bands
= ta.bb(close, 20, 2)
bbBuy = ta.crossover(close, lower)
bbSell = ta.crossunder(close, upper)
// ADX
= ta.dmi(14, 14)
adxBuy = adx > 25 and diPlus > diMinus
adxSell = adx > 25 and diPlus < diMinus
// Ichimoku Cloud (تصحيح يدوي كامل)
conversionLine = (ta.highest(high, 9) + ta.lowest(low, 9)) / 2
baseLine = (ta.highest(high, 26) + ta.lowest(low, 26)) / 2
leadingSpanA = (conversionLine + baseLine) / 2
leadingSpanB = (ta.highest(high, 52) + ta.lowest(low, 52)) / 2
laggingSpan = close
// إشارات الشراء والبيع بناءً على الكلاود
ichiBuy = close > leadingSpanA and close > leadingSpanB
ichiSell = close < leadingSpanA and close < leadingSpanB
// VWAP
vwap = ta.vwap
vwapBuy = close > vwap
vwapSell = close < vwap
// Parabolic SAR (تصحيح كامل)
sar = ta.sar(0.02, 0.02, 0.2)
sarBuy = close > sar
sarSell = close < sar
// حساب مجموع الإشارات
buySignals = (supertrendBuy ? 1 : 0) + (macdBuy ? 1 : 0) + (rsiBuy ? 1 : 0) + (stochBuy ? 1 : 0) +
(emaBuy ? 1 : 0) + (bbBuy ? 1 : 0) + (adxBuy ? 1 : 0) + (ichiBuy ? 1 : 0) +
(vwapBuy ? 1 : 0) + (sarBuy ? 1 : 0)
sellSignals = (supertrendSell ? 1 : 0) + (macdSell ? 1 : 0) + (rsiSell ? 1 : 0) + (stochSell ? 1 : 0) +
(emaSell ? 1 : 0) + (bbSell ? 1 : 0) + (adxSell ? 1 : 0) + (ichiSell ? 1 : 0) +
(vwapSell ? 1 : 0) + (sarSell ? 1 : 0)
// شروط القرار النهائي
finalBuy = buySignals >= 7
finalSell = sellSignals >= 7
// الرسم على الشارت
plotshape(finalBuy, title="BUY Signal", location=location.belowbar, style=shape.labelup, color=color.green, size=size.tiny, text="BUY")
plotshape(finalSell, title="SELL Signal", location=location.abovebar, style=shape.labeldown, color=color.red, size=size.tiny, text="SELL")
// تلوين الخلفية
bgcolor(finalBuy ? color.new(color.green,90) : finalSell ? color.new(color.red,90) : na)
// إظهار عدد الإشارات
var label lbl = na
if barstate.islast
label.delete(lbl)
lbl := label.new(bar_index, high, str.tostring(buySignals) + " Buy | " + str.tostring(sellSignals) + " Sell", color=color.white, style=label.style_label_down)
Swing Trading NR4/NR7 + 2BarNR/3BarNR + Trend📜 Description:
NR4, NR7, 2-Bar NR, and 3-Bar NR Compression Scanner (Swing Trading Version)
This script spots serious price compressions (NR4, NR7, 2-Bar NR, 3-Bar NR) on the daily chart, with simple but ruthless trend confirmation.
It's leaner. It's cleaner. It's built for those who don’t like getting caught with their pants down in messy sideways markets.
The scanner conditions are:
NR4 and NR7 patterns: Today's daily range must be the narrowest compared to the last 4 or 7 days.
2-Bar and 3-Bar Narrow Ranges: The narrowest two-day or three-day ranges relative to the previous 20 sets.
Trend filter:
Closing price must be above the 20 EMA.
The 10 EMA must be above the 20 EMA.
Visuals:
Background highlights whenever a compression setup forms.
Shape markers above or below the bars to mark the opportunity.
📈 Why Use This?
Some have said swing trading is like sipping fine wine — slow, measured, deliberate.
I won’t say they’re wrong.
But there’s also the part where you grab the bottle, smash it over the head of bad setups, and only drink the good stuff.
This scanner lets you find daily compressions inside healthy trends.
The kind of coils that can explode in your favour — and not the fake-outs that empty your account while you cry into your keyboard.
🛠️ Built for Traders Who:
Trade on daily candles, not minute charts.
Want high-quality entries without second-guessing.
Understand that real breakouts come from contraction, not chaos.
Like their setups clean, focused, and simple enough to stick to under pressure.
Day Trading NR4/NR7 + 2BarNR/3BarNR + ID + MomentumDay Trading Version: The High-Precision Momentum Setup
The Day Trading Version of this strategy is designed for traders who need quick, high-probability setups that work in real-time throughout the trading day. It’s a dynamic approach that blends classic price compression patterns with crucial intraday filters like VWAP and MACD, ensuring you’re only executing trades when everything lines up for success.
Price Compression: Focuses on NR4, NR7, and Inside Day patterns, offering clear signals when stocks are in tight ranges—ideal for a breakout or breakdown. These setups identify periods of compression that often precede explosive moves.
Trend Alignment: Price must be above the 20 EMA, with the 10 EMA above the 20 EMA, confirming a trend that's worthy of entering. These filters keep you on the right side of the market, ensuring you’re trading in the direction of momentum.
VWAP Filter: The price must be above VWAP for long trades, keeping you in sync with intraday institutional flow. This ensures you're aligning with the market’s overall bias.
MACD Confirmation: The fast MACD line needs to be at least 5% above or below the slow line, ensuring that the trade has sufficient momentum. For long trades, the MACD must be positive, confirming upward strength.
This strategy is built for momentum-focused traders who thrive on fast action and want to capture intraday volatility. Perfect for day traders who need to identify reliable setups on the fly, with clear rules and filters that make entering and exiting positions easier than ever.
Zonas Psicológicas Cercanas .XX500Te pinta líneas en el gráfico en las zonas psicológicas 500 más cercanas al precio actual.
Neon HMANeon-HMA with Gradient Heat-Map
A simple, visually-rich trend ribbon that mixes a smooth Hull Moving Average with a fast “heat-map” colour-scale.
Perfect when you want to keep one clean line on the chart, but still see lower-time-frame momentum flashes.
Silver BulletSilver Bullet — A Strategic Approach
The Silver Bullet indicator simplifies trading by focusing on three core elements: Time Frame, Price Levels, and Optimal Trade Entries.
Time Frame
Silver Bullet targets a precise intraday window to capture key market moves. By zeroing in on specific time frames, it aligns trade setups with real-time momentum and dynamic price action.
Price Levels
Using Fibonacci-based levels, Fair Value Gaps (FVGs), and Volume Imbalances (VIs), Silver Bullet highlights high-probability zones for entries and exits.
Optimal Trade Entry
By combining strategic time windows with precise price zones, Silver Bullet pinpoints ideal trade moments — maximizing potential while keeping risk tightly controlled.
Included in the Silver Bullet TradingView Indicator
• Macro Time Highlight (09:50 - 10:10 EST)
• Fibonacci Levels
• Fair Value Gaps (FVGs)
• Volume Imbalances (VIs)
• Tweezer Candlestick Reversal Detection
⸻
Live Support & More
For live support, updates, and access to premium features, visit silverbullet.trade .
August Pump PredictorAugust Pump Predictor is an indicator designed to forecast massive price movements.
Accurate Global M2 (Top10 GDP, FX-Stabilized)This script was created to solve the serious distortions found in other circulating "Global M2" indicators.
Many previous versions used noisy daily FX rates, unweighted country data, mixed liquidity categories (e.g., RRP, TGA), or aggregated low-quality sources, causing exaggerated or misleading charts.
This version fixes those problems by:
Using Top 10 global economies only (based on GDP).
GDP-weighting each country's M2 contribution.
Fetching monthly-averaged M2 data.
Applying monthly FX conversions to eliminate daily volatility noise.
Forward-shifting the M2 line (default 90 days) to study potential Bitcoin correlations.
Keeping the math clean, without mixing central bank liquidity tools with broad M2 aggregates.
As a result, this script provides a more realistic and stable representation of global M2 expansion in USD terms, more suitable for serious macroeconomic analysis and Bitcoin market correlation studies.
Scalping Strategy with Fixed CooldownThis is a sample scalping strategy is designed for short-term trading on lower timeframes.
Entry Signals: Utilizes Hull Moving Average (HullMA) crossovers to generate buy and sell signals.
Filters:
-Bollinger Bands and RSI to avoid overbought or oversold conditions.
-VWAP to confirm trend direction, ensuring trades align with momentum.
Cooldown Mechanism: Implements a bar-based cooldown period to prevent immediate re-entries after trade closures, reducing the risk of overtrading.