Close Outside BB Without Touching//@version=5
indicator("Close Outside BB Without Touching", overlay=true)
// Input parameters
length = input.int(20, title="BB Length")
mult = input.float(2.0, title="BB Standard Deviation")
src = input(close, title="Source")
// Calculate Bollinger Bands
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper = basis + dev
lower = basis - dev
// Check if candle closed outside BB
closedAbove = close > upper
closedBelow = close < lower
// Check if candle didn't touch the BB during its formation
// For a candle closing above: low must be greater than upper band
// For a candle closing below: high must be less than lower band
noTouchAbove = low > upper
noTouchBelow = high < lower
// Final conditions
validAbove = closedAbove and noTouchAbove
validBelow = closedBelow and noTouchBelow
// Plot Bollinger Bands
plot(basis, "Basis", color=color.orange)
u = plot(upper, "Upper", color=color.blue)
l = plot(lower, "Lower", color=color.blue)
// Fill between Bollinger Bands
fill(u, l, color=color.new(color.blue, 95), title="Background")
// Highlight valid candles
barcolor(validAbove ? color.green : validBelow ? color.red : na)
// Plot markers for valid signals
plotshape(validAbove, title="Valid Above BB", color=color.green,
style=shape.triangleup, location=location.belowbar, size=size.small)
plotshape(validBelow, title="Valid Below BB", color=color.red,
style=shape.triangledown, location=location.abovebar, size=size.small)
// Alert conditions
alertcondition(validAbove, title="Valid Close Above BB",
message="Candle closed above BB without touching")
alertcondition(validBelow, title="Valid Close Below BB",
message="Candle closed below BB without touching")
Penunjuk dan strategi
MEMEC - Meme Coin Market Cap [Da_Prof]For this indicator, the meme coin market cap of the top meme coins are added together to get an estimate of the total meme coin market cap back to the first meme coin, DOGE. Meme.C does this natively on TradingView, but its data only goes back to 19 May 2025. For the indicator, MEME.C supersedes the addition of all the individual meme coins (i.e., from 19 May 2025 to present). The start of MEME.C is labeled on the chart by default, but can be removed by deselecting the label in the settings.
After the creation of DOGE, but before data is available for Meme.C, the highest market cap meme coins are added together to estimate the meme coin market cap. The meme coins used by default are DOGE, SHIB, PEPE, BONK, FLOKI, PENGU, TRUMP, SPX6900, FARTCOIN, WIF, M, BRETT, B, MOG, APE, TURBO, DOG, and POPCAT. Users can select if they wish to disregard any or all of these coins. As of the creation of the indicator, DOGE, SHIB, and PEPE have CRYPTOCAP symbols on TradingView. Therefore, the true market cap of these coins is integrated into this indicator. The other meme coin market caps are estimated using price and the circulating supply as of 09/16/2025. I make no claims as to the indicator's exact accuracy. In fact, it isn't exactly accurate since I utilized the circulating supply on the day it was created, so for meme coins that have a changing supply, the market cap will be at least slightly inaccurate. Use this indicator at your own risk.
To use the indicator, it is best to plot overlayed on the CRYPTOCAP:DOGE chart. You can decide whether or not to hide the DOGE market cap.
ASIA AND LONDON BOXES
---
### Purpose:
This indicator highlights the **Tokyo (Asia) and London trading sessions** on a price chart by drawing boxes around the price action during these time frames. It helps traders visually identify the price range (high and low) for each session across multiple days.
---
### Key Features:
1. **Timezone Selection:**
* You can select the timezone offset (default `'GMT-7'`) for the session times.
* This adjusts when the sessions start and end according to your preferred timezone.
2. **Sessions Defined:**
* **Tokyo session** defaults to 17:00 to 23:00 (5 PM to 11 PM) in the selected timezone.
* **London session** defaults to 23:00 to 05:00 (11 PM to 5 AM) in the selected timezone.
* These are customizable through `input.session()`.
3. **Session Boxes:**
* For each day and session, the script:
* Tracks the highest high and lowest low price during the session.
* Draws a box on the chart covering that price range over the session time.
* Boxes can be styled either as a solid box or just a background color (configurable).
* Box opacity and colors are customizable.
4. **Multiple Days Back:**
* The indicator keeps boxes visible for a user-defined number of days back (default 3 days).
* Old boxes beyond this limit are deleted to keep the chart clean.
5. **Session Start/End Detection:**
* It detects the start and end of the Tokyo and London sessions based on the selected session times and timezone.
* At session start: initializes tracking variables for high, low, and bars.
* During the session: updates the high and low.
* At session end: finalizes the session box.
6. **Box Drawing Details:**
* Boxes are drawn using price coordinates (`yloc=yloc.price`), meaning the vertical edges correspond exactly to the high and low prices of the session.
* Horizontally, the boxes stretch from the session start bar to the session end bar.
7. **Performance:**
* Uses arrays to manage multiple boxes.
* Periodically cleans up old boxes to avoid performance degradation.
---
### Summary:
* **Visualizes Tokyo and London trading sessions on your chart with colored boxes.**
* **Boxes highlight the price range during each session (high and low).**
* **Allows customization of session times, colors, opacity, style, and timezone.**
* **Maintains boxes for a set number of past days, then cleans up old ones.**
---
### Why is this useful?
For many traders, especially those trading forex or global indices, knowing the price range during the Asian and London sessions is critical. These boxes let you quickly see support/resistance zones and volatility windows linked to these major market hours.
---
ATR Move Tracker v1.0# ATR Move Tracker v1.0 - Purpose & Use Guide
## What Is This Indicator?
ATR Move Tracker v1.0 is a trading tool that shows you whether a stock has moved "enough" for the day based on its historical patterns. It answers the question: **"Has this stock moved its typical daily amount yet?"**
## The Core Purpose
Think of each stock as having a "daily personality" - some stocks naturally move $1 per day, others move $5 per day. This indicator:
- **Shows the stock's Daily ATR** (its typical daily movement over 14 days)
- **Tracks Today's Range** (how much it's actually moved today)
- **Displays the gap** between typical and actual movement
- **Provides visual progress** toward completing its normal daily range
## Practical Trading Applications
### **Entry Timing**
- **Low Progress (0-30%)**: Stock hasn't moved much yet - potential opportunity if you expect movement
- **Medium Progress (30-70%)**: Stock is moving normally - good for trend following
- **High Progress (70-100%+**: Stock has moved a lot - be cautious of exhaustion
### **Exit Planning**
- When the progress bar turns **green (100%+)**, the stock has exceeded its typical daily movement
- Consider taking profits or tightening stops when Daily ATR is reached or exceeded
- Use remaining "Need" amount to set realistic profit targets
### **Risk Management**
- **Today's Range much smaller than Daily ATR**: Potential for more volatility
- **Today's Range exceeds Daily ATR**: Stock may be overextended for the day
- Adjust position sizes based on how much of the Daily ATR has been "used up"
## Real-World Example
**Stock XYZ at 2:00 PM shows:**
- Daily ATR: $4.00 (typically moves $4/day)
- Daily Move: $2.50 (62%)
- Need: $1.50
- Progress Bar: 62% filled (orange)
**Interpretation:** XYZ has moved $2.50 of its typical $4.00 daily range. There's potentially $1.50 more movement available based on historical patterns.
## Key Benefits
✅ **Context for Price Movement**: Know if today's action is normal or unusual
✅ **Better Position Sizing**: Trade smaller when Daily ATR is nearly reached
✅ **Realistic Profit Targets**: Base targets on remaining Daily ATR potential
✅ **Works on All Timeframes**: See daily context even on 1-minute charts
✅ **Fully Customizable**: Position, colors, and ATR period adjustable
## Who Should Use This
- **Day Traders**: Perfect for intraday volatility context
- **Swing Traders**: Helps time entries based on daily movement patterns
- **Options Traders**: Understand if implied volatility expectations are being met
- **Any Trader**: Who wants to trade with historical volatility context
This isn't a buy/sell signal - it's **volatility intelligence** that helps you make better trading decisions based on what's normal for each stock!
Supertrend Ravi Shinde📌 Multi-Timeframe Supertrend (MFT Supertrend)
This indicator is a refined version of the classic Supertrend, designed with multi-timeframe flexibility for traders who rely on higher-timeframe confirmation while trading lower charts.
🔑 Key Features:
Multi-Timeframe Analysis: Apply Supertrend from any higher timeframe (e.g., use 15m, 1h, or 1d Supertrend on a 5m chart).
Clear Trend Identification:
🔴 Price below Supertrend → Bearish trend.
🟢 Price above Supertrend → Bullish trend.
Customizable Parameters: Input ATR length, ATR multiplier, and timeframe of your choice.
Visual Simplicity: Clean chart display with no clutter – just the essential Supertrend line.
📊 Portafoglio Verticale Personalizzabile (5 Tickers, Net ROI)📊 Customizable Vertical Portfolio (5 Tickers, Net ROI)
Type: Pine Script v6 Indicator (TradingView)
Layout: Vertical table (up to 5 tickers + header)
🔹 Features
Tracks up to 5 tickers simultaneously
Table position selectable (top, middle, bottom; left, center, right)
Customizable colors (header, rows, borders)
Optional header display
🔹 Calculations
For each ticker:
Total cost = Entry price × Qty + Entry commissions
Current value = Current price × Qty – Exit commissions
Net P/L = Current value – Cost – Taxes
Net ROI (%) = (Net P/L ÷ Cost) × 100
🔹 Commission & Tax
Entry/Exit: Fixed or Percentage
CGT: user-defined %, applied only on profits
🔹 Output Table
| Ticker | Net P/L | Net ROI (%) |
Color-coded: Green = Profit, Red = Loss, Silver = Neutral/NA
✅ Best for
Multi-asset tracking in one chart
Real-time evaluation of profits after fees & taxes
Clear, visual portfolio monitoring
Dual EMA (EMA Average)Simple EMA visual with 2 EMAs + Average
Includes:
2 EMAs with timeframe settings
EMA Midline - an average of EMAs
shaded space between EMA lines
Bollinger Bands Difference Score
Bollinger Bands Difference Score (TradingView – Pine Script v6)
The **Bollinger Bands Difference Score** is a volatility-based scoring system designed to help traders quickly assess whether a stock is in a **strong trend, neutral zone, or weak setup**. It transforms the raw **Bollinger Band Width (BB-Diff)** into a **normalized score (0–100)** and classifies conditions with intuitive thresholds.
---
### 🔹 What is Bollinger Bands Difference (BB-Diff)?
* **Bollinger Bands** are built from a moving average with upper and lower bands set by standard deviations.
* The **difference (or width)** between the bands reflects market volatility.
* A **high difference** = wide bands = strong volatility (breakout/trend).
* A **low difference** = narrow bands = low volatility (consolidation).
This indicator standardizes BB-Diff into a score and smooths it for cleaner signals.
---
### 🔹 Key Features
1. **BB-Diff Scoring System**
* Converts Bollinger Band width into a **0–100 normalized score**.
* Higher score → higher volatility/trend strength.
* Lower score → consolidation or weaker momentum.
2. **Signal Levels**
* **Strong Zone (≥ 70):** Indicates strong trend strength or expansion in volatility.
* **Neutral Zone (40–70):** Sideways or undecided price action.
* **Weak Zone (≤ 20):** Suggests very low volatility, potential upcoming squeeze.
3. **Score Smoothing**
* Applies a moving average to reduce noise.
* Helps avoid false signals during choppy markets.
4. **Visual Enhancements**
* Plots the score as a line (0–100 scale).
* Adds horizontal reference lines for **Strong**, **Neutral**, and **Weak** levels.
* Background colors automatically highlight **bullish strength (green)** or **weakness (red)**.
---
### 🔹 How to Use
* **Trend Confirmation:**
Look for scores **above 70** → suggests trend continuation or volatility breakout.
* **Consolidation Watch:**
Scores in the **20 or below** zone may precede volatility squeezes → breakout setups.
* **Neutral Zone:**
Scores between **40–70** suggest sideways price action; avoid aggressive trades.
* **Combine with Price Action:**
Use with support/resistance, candlestick patterns, or momentum indicators for confirmation.
---
### 🔹 Best Practices
* Great as a **volatility filter** before entries.
* Use in combination with **RSI, MACD, or OBV** for directional bias.
* Works well for **breakout trading** (when score rises from low levels).
* Monitor on multiple timeframes for alignment.
---
✅ **In summary:** The **Bollinger Bands Difference Score** is a simple yet powerful tool that quantifies volatility strength into an actionable score, making it easier to spot strong trends, consolidation phases, and potential breakout opportunities.
8 EMA BundleThis indicator plots 8 key Exponential Moving Averages (EMAs) — 5, 8, 13, 20, 34, 50, 100, and 200 — in one script. These EMAs help traders analyze short, medium, and long-term market trends at a glance.
📌 Features:
Short-term EMAs (5, 8, 13, 20) highlight momentum and quick trend changes.
Medium-term EMAs (34, 50) confirm ongoing trends.
Long-term EMAs (100, 200) define the primary trend and major support/resistance.
Suitable for both intraday and swing trading.
This tool simplifies multi-EMA analysis, making it easier to spot crossovers, trend shifts, and pullback opportunities.
Swing Cross NotifierThis indicator identifies swing highs and lows on the chart and draws horizontal lines at these levels.
It is designed to send an alert when the price first crosses a swing level and then closes with a reversal candle within a user-defined number of bars.
**How to Use for Alerts:**
1. Add the indicator to your chart.
2. Create an Alert.
3. In the "Condition" dropdown, select this script's name.
4. Choose "Any alert() function call".
5. Set the trigger to "Once Per Bar Close".
1300 BarThe "1300 Bar" indicator is a simple yet effective tool designed to highlight the 1:00 PM EDT (New York time) bar on your chart with a yellow background. This helps traders and analysts easily identify this key intraday mark for strategic analysis or decision-making.
Key Features:
Time-Specific Highlighting: Targets the 13:00 EDT bar using the America/New_York timezone, ensuring accuracy regardless of your chart's display timezone. Focuses solely on coloring the bar yellow, providing a clear visual cue without additional overlays. Works on any symbol and timeframe, though best viewed on 1-minute to 30-minute charts for precise 13:00 EDT alignment.
How to Use:
Add the "1300 Bar" indicator to your chart. The 13:00 EDT bar will be highlighted yellow automatically. Scroll to historical data (e.g., 1:00 PM EDT on prior trading days) to see the highlighted bar.
Notes:
The indicator uses the America/New_York timezone, automatically adjusting for Daylight Saving Time (e.g., UTC-4 in EDT as of now). For best results, apply to a low timeframe (e.g., 1-min to 30-min) to ensure a bar exists at 13:00 EDT. No additional customization options are included, keeping the focus on the yellow bar highlight. Ideal for day traders or analysts who need a straightforward way to mark the 1:00 PM EDT period on their charts!
Mongoose Global Conflict Risk Index v1Overview
The Mongoose Global Conflict Risk Index v1 is a multi-asset composite indicator designed to track the early pricing of geopolitical stress and potential conflict risk across global markets. By combining signals from safe havens, volatility indices, energy markets, and emerging market equities, the index provides a normalized 0–10 score with clear bias classifications (Neutral, Caution, Elevated, High, Shock).
This tool is not predictive of headlines but captures when markets are clustering around conflict-sensitive assets before events are widely recognized.
Methodology
The indicator calculates rolling rate-of-change z-scores for eight conflict-sensitive assets:
Gold (XAUUSD) – classic safe haven
US Dollar Index (DXY) – global reserve currency flows
VIX (Equity Volatility) – S&P 500 implied volatility
OVX (Crude Oil Volatility Index) – energy stress gauge
Crude Oil (CL1!) – WTI front contract
Natural Gas (NG1!) – energy security proxy, especially Europe
EEM (Emerging Markets ETF) – global risk capital flight
FXI (China ETF) – Asia/China proxy risk
Rules:
Safe havens and vol indices trigger when z-score > threshold.
Energy triggers when z-score > threshold.
Risk assets trigger when z-score < –threshold.
Each trigger is assigned a weight, summed, normalized, and scaled 0–10.
Bias classification:
0–2: Neutral
2–4: Caution
4–6: Elevated
6–8: High
8–10: Conflict Risk-On
How to Use
Timeframes:
Daily (1D) for strategic signals and early warnings.
4H for event shocks (missiles, sanctions, sudden escalations).
Weekly (1W) for sustained trends and macro build-ups.
What to Look For:
A single trigger (for example, Gold ON) may be noise.
A cluster of 2–3 triggers across Gold, USD, VIX, and Energy often marks early stress pricing.
Elevated readings (>4) = caution; High (>6) = rotation into havens; Shock (>8) = market conviction of conflict risk.
Practical Application:
Monitor as a heatmap of global stress.
Combine with fundamental or headline tracking.
Use alert conditions at ≥4, ≥6, ≥8 for systematic monitoring.
Notes
This indicator is for informational and educational purposes only.
It is not financial advice and should be used in conjunction with other analysis methods.
AlphaShell IndicatorAlphaShell integrates key technical elements such as Exponential Moving Averages (EMAs), Relative Strength Index (RSI), Volume analysis, and the Average Directional Index (ADX). The indicator's unique strength lies in its ability to assess the confluence of these diverse factors, dynamically weighing their combined strength to validate potential trend continuations or reversals.
AlphaShell doesn't tell you to buy or sell - it alerts you to high-probability setups that match your analytical framework, allowing you to make informed decisions based on your own strategy.
Core Features:
Combines EMA trend, RSI strength, volume spikes, break of structure, fair value gaps, CVC momentum, and more for comprehensive analysis.
VWAP max distance filter blocks trades too far from VWAP, cooldown system prevents signal spam, EMA velocity detects breakout acceleration.
Prevents same-side signals from repeating until an opposite signal occurs, ensuring clean and reliable trade entries.
Green triangles for high-probability long entries, Red triangles for high-probability short entries with clean visual overlays.
8 EMA/SMA + HMA + Pivot PointsMultiple customizeable Moing average indictors including Hall moving average, Exponential Moving average. Also includes Pivot Point indicator as an all-in-one indicator
NASDAQ VWAP Distance Histogram (Multi-Symbol)📊 VWAP Distance Histogram (Multi-Symbol)
This custom indicator plots a histogram of price strength relative to the VWAP (Volume-Weighted Average Price).
The zero line is VWAP.
Histogram bars above zero = price trading above VWAP (strength).
Histogram bars below zero = price trading below VWAP (weakness).
Unlike a standard VWAP overlay, this tool lets you monitor multiple symbols at once and aggregates them into a single, easy-to-read histogram.
🔑 Features
Multi-Symbol Support → Track up to 10 different tickers plus the chart symbol.
Aggregation Options → Choose between average or median deviation across enabled symbols.
Percent or Raw Values → Display distance from VWAP as % of price or raw price points.
Smoothing → Apply EMA smoothing to calm intraday noise.
Color-Coded Histogram → Green above VWAP, red below.
Alerts → Trigger when the aggregate crosses above/below VWAP.
Heads-Up Table → Shows number of symbols tracked and current aggregate reading.
⚡ Use Cases
Market Breadth via VWAP → Monitor whether your basket of stocks is trading above or below VWAP.
Index Substitution → Create your own “mini index” by tracking a hand-picked set of tickers.
Intraday Confirmation → Use aggregate VWAP strength/weakness to confirm entries and exits.
Relative Strength Spotting → Switch on/off specific tickers to see who’s holding above VWAP vs. breaking down.
🛠️ Settings
Include Chart Symbol → Toggle to include the current chart’s ticker.
Smoothing → EMA length (set to 0 to disable).
Percent Mode → Show results as % of price vs. raw difference.
Aggregate Mode → Average or median across all active symbols.
Symbol Slots (S1–S10) → Enter tickers to track alongside the chart.
⚠️ Notes
Works best on intraday charts since VWAP is session-based.
Designed for confirmation, not as a standalone entry/exit signal.
Ensure correct symbol format (e.g., NASDAQ:AAPL if needed).
✅ Tip: Combine this with your regular price action strategy. For example, if your setup triggers long and the histogram is well above zero, that’s added confirmation. If it’s below zero, caution — the basket shows weakness.
Malaysian SnR + Storyline This indicator combines the Malaysian Support & Resistance (SnR) method with a Multi-Timeframe Storyline view.
🔹 Malaysian SnR (A/V levels)
Plots Support & Resistance using candlestick bodies only (close → open).
“A” shape = Resistance (bullish close → bearish open).
“V” shape = Support (bearish close → bullish open).
Supports Fresh/Unfresh logic with wick-touch validation.
🔹 Storyline (W/D/H4/H1 bias lines)
Weekly = Big map / macro bias.
Daily = Medium trend / retracement.
H4 = Intraday bias confirmation.
H1 = Execution bias (entry filter).
Lines extend forward and only update when a new pivot confirms.
🔹 Extra Features
Alignment Rule: option to hide A/V levels when TF biases don’t align (e.g. W=D=H4=H1).
Story Labels: optional text labels describing each TF storyline.
History filter: show storyline for the last X days only, for cleaner charts.
This script is designed for price action traders who want to combine body-based SnR levels with a clear multi-timeframe bias storyline, making it easier to align intraday execution with higher timeframe context.
EMA Crossover Alert for stocksthis script has alert for breakout
use daily timeframe
put whole watchlist on alert while setting up alert
choose breakout alert
when any stock do breakout during the day you will get notification
which you can use as you wish
to buy options or spreads or quick profit and run
use on your own risk
Symbol Value TableIt allows us to see the key driving forces in the cryptocurrency market in real time.
Custom Linear Regression Candles with Real-Time PriceHii this is great indicator to build by chatgpt.
How to use------------
1. It is based on the linear regression formula which gives you accurate market conditions.
2. You can do this with a RSI indicator so you can know overbought and oversell label.
3.If you want to get good accuracy then you can use chart type Heikin Ashi.
Input--------------
1. You can take linear regression length on different timeframes, in my backtest it was
5 to 15 min----30 and 1hour to 4hour---20 and Day---10 you can keep it.
2. You can pinpoint the highs and lows of the linear regression line.
--Please use it and give your feedback.
US Net Liquidity + M2 / US Debt (FRED)US Net Liquidity + M2 / US Debt
🧩 What this chart shows
This indicator plots the ratio of US Net Liquidity + M2 Money Supply divided by Total Public Debt.
US Net Liquidity is defined here as the Federal Reserve Balance Sheet (WALCL) minus the Treasury General Account (TGA) and the Overnight Reverse Repo facility (ON RRP).
M2 Money Supply represents the broad pool of liquid money circulating in the economy.
US Debt uses the Federal Government’s total outstanding debt.
By combining net liquidity with M2, then dividing by total debt, this chart provides a structural view of how much monetary “fuel” is in the system relative to the size of the federal debt load.
🧮 Formula
Ratio
=
(
Fed Balance Sheet
−
(
TGA
+
ON RRP
)
)
+
M2
Total Public Debt
Ratio=
Total Public Debt
(Fed Balance Sheet−(TGA+ON RRP))+M2
An optional normalization feature scales the ratio to start at 100 on the first valid bar, making long-term trends easier to compare.
🔎 Why it matters
Liquidity vs. Debt Growth: The numerator (Net Liquidity + M2) captures the monetary resources available to markets, while the denominator (Debt) reflects the expanding obligation of the federal government.
Market Signal: Historically, shifts in net liquidity and money supply relative to debt have coincided with major turning points in risk assets like equities and Bitcoin.
Context: A rising ratio may suggest that liquidity conditions are improving relative to debt expansion, which can be supportive for risk assets. Conversely, a falling ratio may highlight tightening conditions or debt outpacing liquidity growth.
⚙️ How to use it
Overlay this chart against S&P 500, Bitcoin, or gold to analyze correlations with asset performance.
Watch for trend inflections—does the ratio bottom before equities rally, or peak before risk-off periods?
Use normalization for long historical comparisons, or raw values to see the absolute ratio.
📊 Data sources
This indicator pulls from FRED (Federal Reserve Economic Data) tickers available in TradingView:
WALCL: Fed balance sheet
RRPONTSYD: Overnight Reverse Repo
WTREGEN: Treasury General Account
M2SL: M2 money stock
GFDEBTN: Total federal public debt
⚠️ Notes
Some FRED series are updated weekly, others monthly—set your chart timeframe accordingly.
If any ticker is unavailable in your plan, replace it with the equivalent FRED symbol provided in TradingView.
This indicator is intended for macro analysis, not short-term trading signals.