ATR Daily (Classic vs Robust, NY-Fix, Spike Control)📘 What this indicator does
This tool provides an advanced view of daily market volatility by comparing two versions of the Average True Range (ATR):
• Classic ATR — standard Wilder smoothing
• Robust ATR — uses median-based filtering and spike-control logic to reduce distortion from abnormal candles
Both values are calculated using daily data aligned to the New York trading session, so volatility resets at the same moment each institutional trading day begins. This keeps readings consistent across crypto, forex and stocks, even on intraday charts.
⚙️ How it works (in simple terms)
The script evaluates each True Range (TR) value relative to a median-based threshold:
• Abnormally large ranges are either clamped to a limit or excluded from updating ATR
• A hard cap prevents single spikes from inflating the entire indicator
• The result is a smoother and more realistic representation of daily volatility
This allows ATR to reflect typical market behaviour instead of rare one-off events.
📊 What appears on the chart
• Two daily ATR lines (Classic and Robust)
• Histogram showing the percentage of daily range already completed
• Red bars when price exceeds 100% of daily ATR
• A data table with volatility metrics
• Background highlights on days with extreme values
💡 How traders can use it
• Identify when a market has already completed most of its typical daily move
• Compare Classic vs Robust ATR to spot news-driven distortion
• Use Robust ATR for more stable stop-loss and take-profit logic
• Track volatility expansion or contraction across sessions
⚙️ Key settings
Setting Purpose
ATR period Standard smoothing length (default 14)
Robust mode Clamp, Freeze or Off
MAD multiplier Sensitivity to outliers
Cap × median(TR) Maximum allowed spike size
Base for passed ATR Which ATR is used to measure daily %
Freeze weekends Keeps ATR unchanged on Sat/Sun
🧩 Unique concept
Unlike typical ATR indicators, this one combines robust statistics (median + MAD) with session-based fixation. ATR values update only once per New York session, creating stable volatility measurements that match institutional timing.
🔒 Source code
The script is published with protected source code to preserve its statistical structure and prevent unauthorized modification.
🧭 Summary
ATR Daily (Classic vs Robust, NY-Fix) provides a clearer and more reliable view of daily volatility.
It helps determine whether the market is still in the early phase of its daily range or already exhausted.
Indicatori e strategie
US Pre-Market open lineThis simple script draws a horizontal line on the candle from the US-Pre-Market Open at 10.00 a.m. (CET) / at 04.00 a.m. (NYT).
The colour, thickness and the style of the line can be changed.
It can help Price Action Traders to complete their strategy by the price action/reaction on the pre-market-opening resp. on the change of market overlapping.
4/8/15 EMA + Classic & Camarilla PivotsEssentially this is what you can get on TOS but everything included in one chart.
4/8/15 EMA Overlaya simple script to overlay your 4/8/15. If it clears the 8, it usually will raise. If it stays entangled with the 4/8, it rarely breaks above.
Low Volume Detector//@version=5
indicator("Low Volume Detector", overlay=true)
// Parameters
length = input.int(20, title="Volume MA Length")
threshold = input.float(0.5, title="Low Volume Threshold (as % of MA)", minval=0.1, step=0.1)
// Volume logic
vol = volume
volMA = ta.sma(vol, length)
lowVol = vol < (volMA * threshold)
// Plot background when volume is low
bgcolor(lowVol ? color.new(color.red, 85) : na, title="Low Volume Background")
// Optional: plot volume and its MA in separate pane
plot(vol, title="Volume", color=color.gray, style=plot.style_columns)
plot(volMA, title="Volume MA", color=color.orange)
RTH & Overnight ETH Levels (Configurable + Labels)Plots yesterday’s RTH high, low, close, today’s RTH open, and the latest overnight ETH high/low with fully customizable lines and floating labels.
McMillan Volatility Bands (MVB) – with Entry Logic// McMillan Volatility Bands (MVB) with signal + entry logic
// Author: ChatGPT for OneRyanAlexander
// Notes:
// - Bands are computed using percentage volatility (log returns), per the Black‑Scholes framing.
// - Inner band (default 3σ) and outer band (default 4σ) are configurable.
// - A setup occurs when price closes outside the outer band, then closes back within the inner band.
// The bar that re‑enters is the "signal bar." We then require price to trade beyond the signal bar's
// extreme by a user‑defined cushion (default 0.34 * signal bar range) to confirm entry.
// - Includes alertconditions for both setups and confirmed entries.
FVG ATRFVG ATR — Fair Value Gap Size Measured in ATR Units
This Pine Script v6 indicator detects Fair Value Gaps and displays their size as a ratio of the Average True Range, providing traders with a normalized measurement of gap significance across different market conditions and timeframes.
Key Features
Automatic FVG Detection
The indicator identifies bullish and bearish Fair Value Gaps using the standard three-candle pattern. Bullish FVGs occur when the current low exceeds the high from two bars ago, while bearish FVGs occur when the current high falls below the low from two bars ago.
ATR Ratio Calculation
Each detected FVG is measured against the current Average True Range at the moment of detection. The ratio is displayed as a compact label next to the gap, showing values like "ATR: 0.75" or "ATR: 1.41". This normalization allows comparison of gap significance across volatile and calm market periods.
Minimal Visual Footprint
Labels are displayed directly on the chart without boxes or lines, using customizable text sizes from tiny to large. The default tiny size ensures the chart remains uncluttered while providing essential information at a glance.
Highly Customizable Display
All visual aspects are configurable through input parameters, including label position (top, middle, or bottom of gap), text size, text color, optional background, and horizontal offset from the detection candle.
Customizable Parameters
Detection Settings
Detect Bullish FVG: Enable or disable detection of bullish gaps. Default is enabled.
Detect Bearish FVG: Enable or disable detection of bearish gaps. Default is enabled.
Min Size (pips): Filter out small gaps below the specified threshold. One pip equals 10 ticks for most Forex pairs. Default is 10 pips.
ATR Calculation
ATR Period: Period length for Average True Range calculation. Default is 14, adjustable to match your trading strategy.
Label Settings
Label Position: Vertical placement of the text label relative to the FVG zone. Options are Top, Middle, or Bottom. Default is Middle.
Label Size: Text size from Tiny (smallest), Small, Normal, to Large. Default is Tiny for minimal chart clutter.
Text Color: Custom color for label text. Default is white for visibility on dark themes.
Show Background: Toggle to display labels with a colored background box or as transparent text only. Default is disabled for cleaner appearance.
Background Color: Custom color for label background when enabled. Default is semi-transparent gray.
Label Offset (bars): Horizontal distance in bars between the detection candle and the label. Set to 0 for labels directly on the candle, or increase for separation. Default is 0.
Recommended Use Cases
Multi-Timeframe Analysis
Compare FVG significance across different timeframes by observing ATR ratios. A 1.5 ATR gap on the 1-hour chart may indicate different significance than the same ratio on the daily chart.
Volatility-Adjusted Trading
Use ATR ratios to filter for only the most significant gaps. For example, only trade FVGs with ratios above 1.0 to focus on gaps larger than typical price movement.
Risk Management
Size positions based on gap magnitude relative to current volatility. Larger ATR ratios may warrant tighter stops or smaller position sizes.
Market Efficiency Analysis
Track how quickly and completely different-sized gaps get filled. Gaps with higher ATR ratios may take longer to fill or act as stronger support and resistance zones.
Technical Details
This indicator is written in Pine Script v6 and follows all recommended coding standards including strict 4-space indentation, lazy boolean evaluation, and proper type declarations. The script uses array-based storage to maintain up to 500 labels simultaneously.
The ATR ratio is calculated at the moment of FVG detection and remains fixed, never repainting. The calculation divides the FVG height (distance between gap boundaries) by the current ATR value using the specified period. Division by zero is protected with conditional logic.
Label positioning uses the xloc.bar_index and yloc.price system for precise placement. The horizontal offset parameter allows traders to adjust label spacing based on chart zoom level and personal preference. Text formatting uses str.tostring with two decimal places for clear ratio display.
Important Notes
The indicator never repaints as all FVG detections and ATR calculations are fixed upon bar confirmation. Labels persist on the chart until the maximum label count is reached, at which point the oldest labels are automatically removed by TradingView.
For optimal performance on charts with many FVGs, consider increasing the minimum pip size filter or using smaller label sizes. The tiny size option provides the smallest possible text for maximum chart clarity.
Installation and Usage
Copy the source code into the TradingView Pine Editor and add the indicator to your chart. The overlay parameter is set to true, allowing labels to display directly on price candles. Configure all parameters through the indicator settings panel to match your trading style and visual preferences.
100% Pine Script v6 indicator — No repaint — Open source
DAX Sectors OverviewIt's a table with a realtime read of DAX sectors, their changes in the day, weight for the whole DAX index.
Weights are fixed values defined in the script - recommended to refresh them periodically.
Label Temps Réel - Position Adaptative🕒 REAL-TIME CANDLE TIMESTAMP LABEL
Displays the current candle's date and time directly on your chart with automatic updates.
✨ KEY FEATURES:
• Automatic timestamp label at the bottom of the chart (like the price label on the right)
• Vertical line connecting the active candle to the timestamp
• Real-time updates: moves automatically with each new candle
• Adaptive positioning: works perfectly on ALL timeframes (1M to 1W+)
🎨 CUSTOMIZATION OPTIONS:
• Label Style: Rectangle, Arrow Up/Down, Circle
• Line Style: Solid, Dotted, Dashed
• Text Layout: Horizontal (1 line) or Vertical (2 lines)
• Colors: Independent label and line colors
• Size: Tiny to Huge label sizes
• Distance: Adjustable spacing (% of visible range)
📅 TIME FORMAT:
HH:MM - DD-MM (Hour:Minute - Day-Month)
No year displayed for cleaner visuals.
⚙️ TECHNICAL DETAILS:
• 100% Pine Script v6 compliant
• Zero lag or repainting
• Minimal resource usage (1 label + 1 line)
• Position calculated as percentage of visible range = always consistent visual placement
🎯 USE CASES:
Perfect for traders who need constant time awareness without cluttering the chart.
Especially useful for multi-timeframe analysis and session timing.
💡 NO CONFIGURATION NEEDED:
Add to chart → Works immediately. Customize later if desired.
---
Built with Pine Script v6 | Lightweight | Universal Compatibility
High/Low from Set Period with LabelsMark high and low from a set period.
I use it to mark Overnight Low and High of FDAX instrument, to achieve that :
- you need to use candle chart
- you need to use regular trading hours ( to include overnight trades )
- you need to set that on M2 timeframe
- you need to set time begin : 17:30
- you need to set time end : 08:58
- when it will be drawn in 09:02, then let extend it via a hand and then you can disable
Issues :
- it will be visible after finished miminum period time :
-- after 2 minutes on M2 ( 9:02 )
-- after 5 minutes on M5 ( 9:05 )
etc ...
Institutional Trend Confirmed PRO The Institutional Trend Confirmed PRO – v2.3 TUNE (Reactive & Strong) is an advanced institutional-grade indicator designed to confirm true trend direction and reversals with precision.
It combines adaptive RSI, ATR, ADX, and volume-delta filters into a single smoothed oscillator that reacts quickly yet remains stable across all timeframes.
The indicator assigns weighted confirmation scores between 0–100 to highlight early institutional flow, trend continuation, and strong reversal zones.
Works best on 30m, 1H, and 4H charts, offering reliable confirmation for swing and intraday traders who need fewer false signals and stronger momentum validation.
Includes optional alert signals when strong confirmation levels are reached.
Range breaking indicatorDescription
Bull/Bear Area Ratio (last N candles) helps identify potential end-of-range situations by analyzing the relative strength of bullish vs bearish candles over a rolling window of N bars.
Instead of simply counting up or down candles, this script measures the "area" of each candle — the absolute distance between open and close, optionally weighted by volume.
By summing these areas over the last N bars, it calculates the percentage of bullish and bearish energy within that period.
When both sides become balanced (near 50/50), it often signals range exhaustion or possible trend transition.
How it works
Calculates the bullish and bearish area of each candle (abs(close - open), optionally × volume).
Maintains rolling buffers of the last N bars to compute running totals.
Plots both Bullish % (green) and Bearish % (red).
Highlights possible range-ending zones when the bullish ratio nears 50% ± threshold.
Displays a label showing the current balance.
Includes an alert condition when equilibrium is detected.
Inputs
Number of candles (N) – Rolling window length.
Use volume weighting – Multiplies each candle’s area by its volume.
Balance threshold (%) – Sensitivity for detecting equilibrium (default: 10%).
Best use
Combine with volume or volatility indicators to confirm market compression or expansion.
Use on higher timeframes (H1, H4, D1) to detect early signs of accumulation or distribution.
Works across all asset types: crypto, forex, stocks, indices, etc.
Alerts
An alert is triggered when:
“The range of the last N candles is balanced (possible end of range).”
RonaldoCalculates ATR (Average True Range): Measures market volatility over a customizable period (default: 10). A higher ATR means more volatility. Calculates the Supertrend: Combines ATR with a multiplier (default: 3)
Premarket High/Low (4:00–9:30 AM)This indicator allows me to visualize the full range in which the price moved during the pre-market session, providing a bearish confirmation when the low is broken and a bullish confirmation when the high is breached.
Williams Percent Range + MAA modernized take on the classic Williams %R oscillator — enhanced with a configurable moving average (SMA, EMA, RMA, WMA, HMA, or KAMA) for trend confirmation. Overbought and oversold zones are fully adjustable, and background highlights appear when momentum shifts: green for bullish crosses in oversold areas, red for bearish crosses in overbought zones.
Mom(5) SMA(3)Plots 5-period Momentum and its 3-period SMA to smooth swings and highlight short-term trend shifts.
JonnyFutures ScalpomaticThis indicator combines Fair Value Gap (FVG) detection with Exponential Moving Average (EMA) signals to help identify potential trade entry points based on market inefficiencies and trend direction.
⚙️ Main Components
1. EMAs
Two EMAs are calculated:
EMA 20 (short-term trend)
EMA 50 (medium-term trend)
ema20 = ta.ema(close, len20)
ema50 = ta.ema(close, len50)
These are plotted on the chart:
Orange line = EMA 20
Purple line = EMA 50
2. Fair Value Gaps (FVGs)
The script looks for gaps in price structure (imbalances):
Bullish FVG → when the high from two bars ago is less than the current bar’s low
→ Indicates a potential bullish inefficiency.
Bearish FVG → when the low from two bars ago is greater than the current bar’s high
→ Indicates a potential bearish inefficiency.
bullishFVG = high < low
bearishFVG = low > high
When found, the background color changes:
Light Green for bullish FVGs
Light Red for bearish FVGs
bgcolor(bullishFVG ? color.new(color.green,90) : na)
bgcolor(bearishFVG ? color.new(color.red,90) : na)
3. EMA Crossover Signals
The script plots visual buy/sell markers when the closing price crosses above or below each EMA:
For EMA 20:
✅ Long signal (triangle up, lime): close crosses above EMA 20
❌ Short signal (triangle down, red): close crosses below EMA 20
For EMA 50:
✅ Long signal (triangle up, aqua): close crosses above EMA 50
❌ Short signal (triangle down, maroon): close crosses below EMA 50
These signals help identify potential trend-following entries or exits.
📈 How to Use It
Trend Confirmation:
Watch the EMAs — if EMA20 > EMA50, the trend is generally bullish; if EMA20 < EMA50, it’s bearish.
FVG Zones:
When a bullish or bearish FVG appears, it highlights potential retracement zones where price may rebalance before continuing the trend.
Entry Timing:
Combine FVGs with EMA cross signals for confluence:
Long bias → bullish FVG + price crossing above EMA 20 or 50.
Short bias → bearish FVG + price crossing below EMA 20 or 50.
🎯 Summary
This indicator:
Detects Fair Value Gaps and shades them visually.
Plots EMA 20 and EMA 50 to define short- and mid-term trends.
Marks entry/exit signals when price crosses these EMAs.
Is designed for trend-following trades with FVG confirmation
MSB Trend Breakout Indicator**MSB Trend Breakout Indicator: The Low-Risk Trend Catcher**
This indicator is built on a proprietary system designed to identify and confirm high-momentum price breakouts within the prevailing market trend.
**What It Does:**
* **Confirms Trend Bias:** Uses a customized Moving Average filter to determine the direction of institutional flow (Long or Short).
* **Identifies Entry Momentum:** Plots signals only when price breaks a calculated short-term support/resistance level, confirming strong directional momentum.
* **Filters Noise:** Excludes signals during market chop or counter-trend movement, focusing on higher probability setups.
**Optimized For:** XAUUSD (Gold) on 15m/30m charts.
---
**Important Note & Risk Disclosure:**
The underlying logic is designed to optimize risk management. This tool is for informational and educational use only. Past performance is not indicative of future results, and this indicator does not guarantee profits. Please use appropriate risk tolerance when trading.
Ripping & Dipping ReversalsUses a ribbon of emas from 987 to 8. When all emas align from highest to lowest in either direction we have "Ripping" or "Dipping." If ripping or dipping end AND there have been a set number of rip/dip ends since the last crossover of the 987, a trade is indicated.
Bitcoin 50-Week MA “Cycle Line” — Bull/Bear RegimeOverview. This indicator plots the true 50-week simple moving average (SMA) on any timeframe by requesting weekly data, then colors the chart to show a bull/bear regime: green when price is above the 50-week MA, red when below. Many Bitcoin analysts treat this average as a cycle “line in the sand”—multiple weekly closes below it have historically coincided with the end of bull phases and the start of broader drawdowns, while holding above has aligned with continued strength.
Why it matters. Recently, research notes and market commentary have flagged the 50-week MA near ~$100k–$103k (feed-dependent) as a critical support/resistance area to watch. Use this tool to track that threshold on your own exchange feed and timeframe.
How it works.
Pulls weekly closes via request.security() and computes a 50-week SMA (not an EMA).
Plots the line on your current chart and applies a regime color (background or candles, toggle in settings).
Works on any symbol; optimized for BTC spot and futures.
Notes.
MA values vary by data source/exchange; confirm on a weekly chart if needed.
A single intrawEEK break can whipsaw; many analysts look for confirmed weekly closes. Pair with your macro/liquidity view and risk rules.
SMACD / MACD Screener with diffsTo find stocks certain values of SMACD, for instance SMACD crosses up through signal line when below of 0-line.
Stochastic + Bollinger Bands Multi-Timeframe StrategyThis strategy fuses the Stochastic Oscillator from the 4-hour timeframe with Bollinger Bands from the 1-hour timeframe, operating on a 10-hour chart to capture a unique volatility rhythm and temporal alignment discovered through observational alpha.
By blending momentum confirmation from the higher timeframe with short-term volatility extremes, the strategy leverages what some traders refer to as “rotating volatility” — a phenomenon where multi-timeframe oscillations sync to reveal hidden trade opportunities.
🧠 Strategy Logic
✅ Long Entry Condition:
Stochastic on the 4H timeframe:
%K crosses above %D
Both %K and %D are below 20 (oversold zone)
Bollinger Bands on the 1H timeframe:
Price crosses above the lower Bollinger Band, indicating a potential reversal
→ A long trade is opened when both momentum recovery and volatility reversion align.
✅ Long Exit Condition:
Stochastic on the 4H:
%K crosses below %D
Both %K and %D are above 80 (overbought zone)
Bollinger Bands on the 1H:
Price reaches or exceeds the upper Bollinger Band, suggesting exhaustion
→ The long trade is closed when either signal suggests a potential reversal or overextension.
🧬 Temporal Structure & Alpha
This strategy is deployed on a 10-hour chart — a non-standard timeframe that may align more effectively with multi-timeframe mean reversion dynamics.
This subtle adjustment exploits what some traders identify as “temporal drift” — the desynchronization of volatility across timeframes that creates hidden rhythm in price action.
→ For example, Stochastic on 4H (lookback 17) and Bollinger Bands on 1H (lookback 20) may periodically sync around 10H intervals, offering unique alpha windows.
📊 Indicator Components
🔹 Stochastic Oscillator (4H, Length 17)
Detects momentum reversals using %K and %D crossovers
Helps define overbought/oversold zones from a mid-term view
🔹 Bollinger Bands (1H, Length 20, ±2 StdDev)
Measures price volatility using standard deviation around a moving average
Entry occurs near lower band (support), exits near upper band (resistance)
🔹 Multi-Timeframe Logic
Uses request.security() to safely reference 4H and 1H indicators from a 10H chart
Avoids repainting by using closed higher-timeframe candles only
📈 Visualization
A plot selector input allows toggling between:
Stochastic Plot (%K & %D, with overbought/oversold levels)
Bollinger Bands Plot (Upper, Basis, Lower from 1H data)
This helps users visually confirm entry/exit triggers in real time.
🛠 Customization
Fully configurable Stochastic and BB settings
Timeframes are independently adjustable
Strategy settings like position sizing, slippage, and commission are editable
⚠️ Disclaimer
This strategy is intended for educational and informational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any asset.
Market conditions vary, and past performance does not guarantee future results.
Always test any trading strategy in a simulated environment and consult a licensed financial advisor before making real-world investment decisions.






















