VWAP Bands with Volume PressureThis indicator plots a session-based VWAP (Volume Weighted Average Price) with dynamic standard deviation bands. The VWAP line is color-coded based on volume pressure — green when volume increases, red when it decreases — providing an instant view of market momentum.
💡 How to use it:
VWAP Line: Used as a dynamic fair value. Price above VWAP may suggest bullish pressure, below VWAP bearish.
Upper/Lower Bands: Represent overbought and oversold zones based on real-time volatility (standard deviation). When price touches or exceeds a band, it may signal:
A potential reversal zone (mean reversion)
Or a breakout continuation if supported by volume
Color of VWAP:
🔹 Green VWAP: increasing volume — confirms price move
🔻 Red VWAP: decreasing volume — caution, move may lack strength
📈 Useful for intraday traders, scalpers, and swing traders wanting to combine price and volume dynamics in a clean visual way.
อินดิเคเตอร์และกลยุทธ์
EMA Confluence Zones — Dynamic Support/ResistanceThis indicator identifies zones where multiple EMAs converge tightly together, which often act as dynamic support or resistance. You can customize which EMAs to include and define the maximum % spread between them to trigger a “confluence zone.”
🔧 How to Use
Use default EMAs (8, 13, 21, 34) or add your own.
Zones appear when EMAs are within a tight price range (configurable).
Look for price pullbacks into these zones for entries or continuation plays.
Great for trend traders and smart money setups.
Visual and adaptive — this indicator shows you where institutions might be stacking positions.
Triple Confirmation Trend FollowerHere's a robust trading strategy combining *trend following, **momentum confirmation, and **risk management* principles. This strategy uses widely available technical indicators and can be applied to stocks, forex, or commodities (adjust parameters per asset class).
---
### *Strategy: Triple-Confirmation Trend Follower*
*Core Components:*
1. *Trend Filter* (EMA 50 & EMA 200)
2. *Entry Signal* (MACD + Stochastic Oscillator)
3. *Exit Signal* (Chandelier Exit for trailing stop)
4. *Risk Management* (Fixed % risk per trade)
---
#### *Step 1: Trend Identification (Daily Chart)*
- *Bullish Trend Condition:*
EMA(50) > EMA(200)
Rationale: Only trade in the direction of the primary trend.
- *Bearish Trend Condition:*
EMA(50) < EMA(200)
---
#### *Step 2: Entry Signals (4-Hour Chart)*
*Long Entry (All must align):*
1. MACD (12,26,9) crosses *above* signal line.
2. Stochastic Oscillator (14,3,3) crosses *above 20* (oversold rebound).
3. Price closes *above EMA(50)* on the 4H chart.
*Short Entry (All must align):*
1. MACD crosses *below* signal line.
2. Stochastic crosses *below 80* (overbought rejection).
3. Price closes *below EMA(50)* on the 4H chart.
---
#### *Step 3: Exit Strategy*
- *Profit-Taking:*
- Close 50% at *1:1 Risk-Reward Ratio*.
- Trail remainder using *Chandelier Exit (22-period, 3x ATR)*.
- *Stop Loss:*
- Place stop at *entry price - (3x ATR(14))* for longs (vice versa for shorts).
---
#### *Step 4: Risk Management*
- *Per-Trade Risk:* Never risk > *1% of account equity*.
Position Size = (1% Account Equity) / (Entry - Stop Loss)
- *Maximum Drawdown Control:* Halt trading after *6% monthly loss*.
- *Trade Frequency:* Max 3 open positions simultaneously.
---
### *Example Trade (Long)*
| *Parameter* | *Value* |
|----------------------|--------------------|
| Asset | EUR/USD |
| Account Equity | $10,000 |
| Entry Price | 1.0850 |
| Stop Loss (3x ATR) | 1.0800 (50 pips) |
| Position Size | (0.01 × $10k) / 50 = $2 (2 micro lots) |
| Take Profit 1 | 1.0900 (50 pips) → Close 50% |
| Take Profit 2 | Trail with Chandelier Exit |
---
### *Key Advantages*
1. *Trend Alignment:* Avoids counter-trend trades.
2. *Triple Confirmation:* Reduces false signals.
3. *Dynamic Exits:* Locks in profits during trends.
4. *Capital Preservation:* Strict risk controls.
### *Backtesting & Optimization*
- Test on 5+ years of data (adjust EMA/MACD periods per asset volatility).
- Ideal assets: *EUR/USD, **Gold, **S&P 500 ETFs* (high liquidity).
- Win rate: ~55-65% with 1.5:1 avg reward:risk in trending markets.
AMT Regime-Switch Long/ShortAMT Switch Long / Short.
Pos. Taking
Up‑triangles (green) = Long entry signals
Down‑triangles (red) = Short entry signals
Green background = Trending regime (ATR above its MA and volatility in top 40 %).
Orange background = Ranging regime (ATR below MA and vol in bottom 40 %).
No shading = Transition zone (mixed regime).
This tells you which sub‑strategy is active.
Pos. Taking
Up‑triangles (green) = Long entry signals
Down‑triangles (red) = Short entry signals
LUCY Fixed Candle ColorsBULL and BEAR CHRONICLES BY LUCIFER – Fixed Candle Colors is a unique visual enhancement tool that colors each candle based on specific market behavior, helping traders quickly interpret price momentum and potential sentiment shifts.
🎨 Candle Color Logic:
🟡 Yellow Candle:
Current candle is bullish (close > open)
Previous candle was bearish (close < open )
→ Suggests bullish reversal or breakout attempt.
✅ Green Candle:
Bullish candle (close > open)
Closes above previous high
→ Indicates strong upward momentum.
🔻 Red Candle:
Bearish candle (close < open)
Closes below previous low
→ Suggests strong bearish pressure.
🔵 Blue Candle:
Bearish candle (close < open)
Volume is 1.5x greater than previous candle
→ Highlights high-volume sell-off, often seen in panic selling or breakdowns.
⚙️ Use Case:
This color-coded system acts as a psychological and technical cue, useful for:
Spotting momentum shifts
Identifying exhaustion or volume spikes
Enhancing trend continuation or reversal signals
🧠 Best For:
Price action traders
Volume/momentum traders
Anyone who prefers clean, visual market storytelling over indicator clutter
🔥 Combine this script with the full BULL and BEAR CHRONICLES BY LUCIFER suite for a complete narrative-driven trading system.
Customizable Range Box📦 Customizable Range Box (with Dynamic Chart Placement)
Description:
The Customizable Range Box is a versatile tool for visualizing candle range dynamics directly on the chart, now positioned at the top of the visible price area for better readability and reduced clutter.
🔍 Features:
📊 Real-Time Range Analysis:
Displays the current candle’s range
Compares to the average range over a set lookback period
Shows ATR, 1.5× ATR, and 2× ATR thresholds for volatility context
🎯 Dynamic Chart-Top Label Positioning:
Automatically floats the label above the chart’s visible price range
Keeps the label unobstructed regardless of zoom or bar size
🎨 Customizable Appearance:
Toggle label position: Top, Middle, or Bottom of candle (if desired)
Choose left/right label alignment
Set label text size: Small → Huge
Customize text color and background box color
🛠️ Ideal Use Cases:
Spotting volatility spikes or compressed bars
Comparing candles to historical range behavior
Identifying bars likely to trigger breakouts or traps
Enhancing discretionary entries with quantified context
ONE Highest Volume Green Candle (5/15-min)This indicator does a very simple job. It just highlight the volume bar with highest volume in 5 minute and 15 minute time frame. This volume bar does act as exhaustion and the trend may change depending on the time of the chart.
Volume bars related candles high can be broken if the market just opened. and if this is formed after few candles then the trend may change.
Range Box (Manual Bar Index)Here’s a clear and public-facing description of your **Range Box with Manual Bar Index** tool for TradingView, written for traders of all experience levels:
---
### 📦 Range Box (with Manual Bar Selection)
**Description:**
The **Range Box with Manual Bar Index** is a visual tool designed for traders who want to **analyze historical price action** with precision. Rather than relying on live, real-time data only, this version allows you to **manually select any past bar** on your chart to display detailed range metrics for that specific candle.
---
### 🔍 Features:
* **Manual Bar Selection:** Input the bar index (distance from the most recent candle) to inspect.
* **Range Metrics Displayed:**
* **Range:** High - Low of the selected bar
* **Average Range:** Calculated over a customizable lookback period
* **ATR Multiples:** Shows 1.5× and 2× ATR values for volatility comparison
* **Customizable Positioning:** Text box can be offset on the X (bars) and Y (price) axis for visibility
* **Color-Coded Alerts:** Highlights if the range exceeds normal behavior based on ATR multipliers
---
### 🛠 Use Cases:
* Identify **unusual volatility** in prior bars
* Study historical **breakout ranges** or compression candles
* Train your eye to spot **institutional-sized bars** versus average price action
* Prep screenshots for analysis, reports, or educational posts
---
### 📌 How to Use:
1. Add the script to your chart
2. Set the **"Bar Index"** to the number of bars back you want to analyze (e.g., `0` = current, `1` = one bar ago)
3. The script will draw a **box around the candle**, and display key range info nearby
---
Would you like a copy-and-paste version of this for TradingView's Public Library description or script header?
RSI Divergence Indicator + TrendlinesThe RSI Divergence Indicator with Trendlines is a technical analysis tool that combines the Relative Strength Index (RSI) with price and RSI trendlines to identify potential trend reversals or continuations. It highlights bullish and bearish divergences by comparing the movement of price action against the RSI oscillator, and plots automatic trendlines for visual clarity.
High Win Rate EMA Scalping with SL/TPParthiban 50 EMA trading strategy
Buy Setup (Long Position)
✔️ Price is above both 50 EMA and 200 EMA.
✔️ Price pulls back near or touches the 50 EMA.
✔️ Support zone is identified near the pullback.
✔️ Bullish reversal candlestick pattern forms (Pin bar, Bullish Engulfing, etc.).
✔️ Enter after the bullish confirmation candle closes.
Sell Setup (Short Position)
✔️ Price is below both 50 EMA and 200 EMA.
✔️ Price pulls back near or touches the 50 EMA.
✔️ Resistance zone is identified near the pullback.
✔️ Bearish reversal candlestick pattern forms (Pin bar, Bearish Engulfing, etc.).
✔️ Enter after the bearish confirmation candle closes.
Week Window AlgorithmWeek Window Algorithm
The Week Window Algorithm is an advanced intraday trading overlay built for precision session tracking and key level visualization.
🔹 Features:
1. Time Lines
Automatically plots vertical lines 30 minutes ahead of specific London times (07, 08, 09, 13, 14, 15UK), with adjustable height in pips and custom color.
2. Session Boxes
Draws price range boxes for:
Asia (22:00–06:00 UK)
Europe AM (08:00–09:00 UK)
Europe PM (14:00–15:00 UK)
Each box auto-updates during the session and fades after 3 days. Fill color is fully customizable via settings.
3. Yesterday’s High/Low Levels
Captures and plots yesterday’s high and low at 23:00 UK. Lines extend through today and highlight first-time hits.
🛠️ Customization:
Enable/disable sessions individually
Set pip size for early lines
Choose colors for each session box and line style
🕒 Recommended Timeframes:
Optimized for 1–15 minute charts. Works best on intraday setups.
✅ Trend Predictor with Breakout and Volume FlowComponents & What Each One Does:
1. Rate of Change (ROC) – Momentum Direction
• Measures the % change in price over a recent period.
• Helps confirm whether price momentum is positive (bullish) or negative (bearish).
2. ADX (Average Directional Index) – Trend Strength
• Tells how strong the current trend is.
• You set the threshold to detect only when the trend is strong enough (default: 15, loosened for more signals).
3. Volume Filter (vs. MA) – Confirm Real Activity
• Confirms breakouts are supported by higher-than-usual volume.
• You use volume > 0.8 × volume average — a looser filter to show more setups.
4. Chaikin Money Flow (CMF) – Smart Money Buying or Selling
• Measures volume-weighted accumulation/distribution over time.
• Helps detect money inflow/outflow, supporting or rejecting trend changes.
5. RSI (Relative Strength Index) – Overbought/Oversold Risk
• Momentum indicator to spot potential reversals from extremes.
• You now have a solid green horizontal line at 30 (oversold), and a red one at 70 (overbought).
6. Bollinger Band vs. Keltner Channel (Squeeze Detection) – Volatility Contraction
• Detects when price volatility compresses, creating a “squeeze”.
• Squeeze zones are shown with a purple background (lightened for visibility).
• These zones often precede explosive moves.
7. Inside Bar Breakout – Price Action Setup
• Looks for candles with lower high and higher low (inside bar), then a breakout of that range.
• This acts as a price action trigger to validate entry.
LUCY Trend Analysis - MA, EMA, MACDBULL and BEAR CHRONICLES BY LUCIFER is a precision-crafted trend analysis tool that visually narrates the ongoing battle between bulls and bears using a fusion of classic indicators:
🔍 Core Logic:
This script detects trend direction by combining:
8 EMA vs 34 EMA – momentum crossover.
50 MA & 200 MA – broader trend context.
MACD Line vs Signal Line – momentum confirmation.
✅ Trend Conditions:
🟢 Bullish Trend:
8 EMA > 34 EMA
Price > 50 MA & 200 MA
MACD Line > Signal Line
🔴 Bearish Trend:
8 EMA < 34 EMA
Price < 50 MA & 200 MA
MACD Line < Signal Line
⚪ Sideways: When neither condition is fully met.
🎨 Visuals:
Trend labels: "Bullish", "Bearish", "Sideways"
Color-coded moving averages:
8 EMA (orange), 34 EMA (blue)
50 MA (green), 200 MA (red)
Background shading for clear visual cue:
Light green = Bullish
Light red = Bearish
🔔 Built-in Alerts:
Get notified instantly when a bullish, bearish, or sideways condition is triggered.
⚙️ Best For:
Swing Traders
Trend Followers
Strategy Builders are looking for multi-confirmation setups
🔥 Join the Chronicles. Ride with the bulls, run from the bears, or wait out the chaos — all with Lucifer's guidance.
Soportes y Resistencias por Máximo Rebote con FiltroSoporte y resistencia con opción a filtros de fuerza
Lucifer Signal Engine Lucifer Signal Engine
Author: Lucifer
Version: 1.0
Script Type: Overlay
Tags: buy signal, momentum, breakout, volume spike, MACD, EMA crossover, donchian, trend strategy, lucifer
🧠 Overview
The Lucifer Signal Engine is a powerful multi-factor buy signal generator designed to identify high-probability breakout entries using a combination of momentum, trend, and volume filters.
This tool is ideal for traders who want sharp, fast entries based on confluence from proven technical indicators. When the signal fires, it's because multiple bullish conditions have aligned—what Lucifer calls a “green light from the underworld.”
🔍 Signal Logic
A Lucifer 🚀 Signal appears only when all four conditions are met:
Donchian Channel Breakout: Price breaks above the 20-period high.
EMA Trend Confirmation: The 8 EMA is above the 34 EMA.
MACD Momentum: MACD line is above the signal line and in positive territory.
Volume Spike: Current volume exceeds 2× the 20-bar average (customizable).
This combination filters out weak breakouts and choppy conditions—only highlighting moments of real strength.
📈 Visual Components
✅ Lucifer Signal (🚀): Green label below the bar when all criteria align.
🟠 8 EMA: Tracks short-term trend strength.
🔵 34 EMA: Tracks medium-term direction.
🟢 Donchian High Line: Visual reference for breakout trigger.
🛎️ Alerts
Built-in alert condition:
Lucifer Buy Signal: Triggers when a qualified breakout is detected.
text
Copy
Edit
Lucifer signal on {{ticker}}!
⚙️ Inputs
Donchian Period: Default 20 bars.
EMAs: Fast = 8, Slow = 34.
MACD Settings: Fast = 12, Slow = 26, Signal = 9.
Volume Multiplier: Default 2× average volume over 20 bars.
📌 Best Use Cases
Ideal for momentum traders and breakout scalpers
Works best on liquid assets and trending markets (e.g. crypto, tech stocks, FX majors)
Combine with support/resistance or higher timeframe filters for precision entries
⚠️ Disclaimer
This script provides technical signals based on objective conditions. It does not guarantee success and should be used in conjunction with proper risk management and personal judgment. Always backtest before deploying in live markets.
Lucifer v1 – Beginner-Safe Trend ToolAuthor: Lucifer
Version: 1.0
Script Type: Overlay
Tags: trend, support resistance, beginner, bullish breakout, bearish breakdown, EMA strategy, visual trading
🧭 Overview
Lucifer v1 is a beginner-friendly trend detection and breakout visualization tool that blends simplicity with essential price structure analysis. It highlights key support/resistance zones, trend directions using EMAs, and price positioning with intuitive visuals—making it an excellent companion for new traders learning to navigate market momentum.
📊 Key Features
🔍 Automatic Support & Resistance:
Uses a customizable lookback period to detect dynamic support and resistance levels.
🧱 Zone Padding:
Adds a buffer (Zone Padding% %) to create a visual comfort zone, helping traders identify high-probability setups.
📈 Trend Identification with EMAs:
Bull Trend: EMA(10) crosses above EMA(30)
Bear Trend: EMA(10) crosses below EMA(30)
🟡 Zone Logic with Candle Coloring:
Blue candles: Bullish trend within the zone
Red candles: Bearish trend within the zone
Yellow candles: Neutral activity inside the zone
🌈 Breakout Highlights (Background):
Green shading: Bullish breakout above resistance
Red shading: Bearish breakdown below support
📏 Visual Plots:
Red Line: Resistance
Green Line: Support
💡 How to Use
Watch Candle Colors to read market bias inside the zone.
Breakout Backgrounds indicate potential trend continuation or reversal.
Combine with Volume or Momentum Indicators for confirmation.
Ideal for:
🔰 New traders learning structure
⚔️ Swing traders seeking zone-to-zone plays
📐 Visual learners who want clean trend cues
⚠️ Disclaimer
This tool is designed for educational and analytical purposes. Trading carries risk; always combine technical tools with sound risk management and personal judgment. Lucifer (the author) is not responsible for trading decisions based on this tool.
Stop Loss Only - Full WidthThis minimalist Pine Script indicator is designed to visually plot stop loss levels directly on the chart, extending fully across the screen for maximum clarity. It is ideal for traders focused on disciplined risk management without the clutter of entry signals or profit targets.
🔧 Core Features:
Stop Loss Only Focus: Displays only the stop loss level—no entries or take profits.
Full Width Lines: Uses extend=both to draw horizontal stop loss lines that span the entire chart width.
Auto Detection of Entry Conditions (for simulation/demo purposes):
Long Entry: Triggered when the current close is greater than the previous close.
Short Entry: Triggered when the current close is less than the previous close.
Adjustable Padding: Customizable stop loss buffer (padding) in percent from the entry price.
The default is 0.5% below for long trades, 0.5% above for short trades.
Dynamic Line Update: The stop loss line updates on new qualifying signals and removes the old one for a clean look.
🖥️ Visuals:
Red Line for Long Trade Stop Loss.
Orange Line for Short Trade Stop Loss.
Clean, unobtrusive design suitable for use with other indicators or price action strategies.🔮 BULL and BEAR CHRONICLES
by Lucifer
Version: 1.0
Script Type: Overlay
Tags: bullish, bearish, trend detection, price action, market cycles, Lucifer, visual signals
📖 Introduction
BULL and BEAR CHRONICLES by Lucifer is not just another indicator—it’s a visual narrative of market power struggles between buyers and sellers. This script aims to chronicle key turning points and trend biases, helping traders align with the dominant market force: the bull or the bear.
⚔️ Core Concept
Markets move in cycles, but often leave subtle clues before shifting direction. This tool is designed to visually capture these transitions, whether temporary momentum shifts or full trend reversals.
🧠 How It Works
Depending on your implementation (please confirm or share your Pine Script logic), here's a placeholder version:
🟢 Bull Signal: Detected when price action confirms upward momentum or breaks above key levels.
🔴 Bear Signal: Triggered on downward pressure or breakdowns below support zones.
💡 Visual Cues: May include colored backgrounds, labels, or markers to chronicle bullish and bearish phases.
(Note: Please provide the script logic or signals you'd like to describe specifically if you'd like this tailored.)
🧰 Customization Options
Modify sensitivity to price swings
Integrate with EMAs, MACD, or Volume for layered signals
Optional: Add alert conditions for significant trend transitions
🧾 Usage Tips
Use on higher timeframes (4H, Daily) for clearer market structure analysis
Combine with support/resistance or breakout strategies
Ideal for swing traders and trend followers
⚠️ Disclaimer
This script is for educational and informational purposes only. Always use proper risk management and do your own research before trading. Lucifer (the author) is not responsible for financial decisions made based on this indicator.
Frahm FactorIntended Usage of the Frahm Factor Indicator
The Frahm Factor is designed to give you a rapid, at-a-glance assessment of how volatile the market is right now—and how large the average candle has been—over the most recent 24-hour window. Here’s how to put it to work:
Gauge Volatility Regimes
Volatility Score (1–10)
A low score (1–3, green) signals calm seas—tight ranges, low risk of big moves.
A mid score (4–6, yellow) warns you that volatility is picking up.
A high score (7–10, red) tells you to prepare for disorderly swings or breakout opportunities.
How to trade off it
In low-volatility periods, you might favor mean-reversion or range-bound strategies.
As the score climbs into the red zone, consider widening stops, scaling back position size, or switching to breakout momentum plays.
Monitor Average Candle Size
Avg Candle (ticks) cell shows you the mean true-range of each bar over that 24h window in ticks.
When candles are small, you know the market is consolidating and liquidity may be thin.
When candles are large, momentum and volume are driving strong directional bias.
The optional dynamic color ramp (green→yellow→red) immediately flags when average bar size is unusually small or large versus its own 24h history.
Customize & Stay Flexible
Timeframes: Works on any intraday chart—from 1-minute scalping to 4-hour swing setups—because it always looks back exactly 24 hours.
Toggles:
Show or hide the Volatility and Avg-Candle cells to keep your screen uncluttered.
Turn on the dynamic color ramp only when you want that extra visual cue.
Alerts: Built-in alerts fire automatically at meaningful thresholds (Volatility ≥ 8 or ≤ 3), so you’ll never miss regime shifts, even if you step away.
Real-World Applications
Risk Management: Automatically adjust your stop-loss distances or position sizing based on the current volatility band.
Strategy Selection: Flip between range-trading and momentum strategies as the volatility regime changes.
Session Analysis: Pinpoint when during the day volatility typically ramps—perfect for doorway sessions like London opening or the US midday news spikes.
Bottom line: the Frahm Factor gives you one compact dashboard to see the pulse of the market—so you can make choices with conviction, dial your risk in real time, and never be caught off guard by sudden volatility shifts.
Logic Behind the Frahm Factor Indicator
24-Hour Rolling Window
On every intraday bar, we append that bar’s True Range (TR) and timestamp to two arrays.
We then prune any entries older than 24 hours, so the arrays always reflect exactly the last day of data.
Volatility Score (1–10)
We count how many of those 24 h TR values are less than or equal to the current bar’s TR.
Dividing by the total array size gives a percentile (0–1), which we scale and round into a 1–10 score.
Average Candle Size (ticks)
We sum all TR values in the same 24 h window, divide by array length to get the mean TR, then convert that price range into ticks.
Optionally, a green→yellow→red ramp highlights when average bar size is unusually small, medium or large versus its own 24 h history.
Color & Alerts
The Volatility cell flips green (1–3), yellow (4–6) or red (7–10) so you see regime shifts at a glance.
Built-in alertcondition calls fire when the score crosses your high (≥ 8) or low (≤ 3) thresholds.
Modularity
Everything—table location, which cells to show, dynamic coloring—is controlled by simple toggles, so you can strip it back or layer on extra visual cues as needed.
That’s the full recipe: a true 24 h look-back, a percentile-ranked volatility gauge, and a mean-bar-size meter, all wrapped into one compact dashboard.
Range Box (Manual Bar Index)Here’s a clear and public-facing description of your **Range Box with Manual Bar Index** tool for TradingView, written for traders of all experience levels:
---
### 📦 Range Box (with Manual Bar Selection)
**Description:**
The **Range Box with Manual Bar Index** is a visual tool designed for traders who want to **analyze historical price action** with precision. Rather than relying on live, real-time data only, this version allows you to **manually select any past bar** on your chart to display detailed range metrics for that specific candle.
---
### 🔍 Features:
* **Manual Bar Selection:** Input the bar index (distance from the most recent candle) to inspect.
* **Range Metrics Displayed:**
* **Range:** High - Low of the selected bar
* **Average Range:** Calculated over a customizable lookback period
* **ATR Multiples:** Shows 1.5× and 2× ATR values for volatility comparison
* **Customizable Positioning:** Text box can be offset on the X (bars) and Y (price) axis for visibility
* **Color-Coded Alerts:** Highlights if the range exceeds normal behavior based on ATR multipliers
---
### 🛠 Use Cases:
* Identify **unusual volatility** in prior bars
* Study historical **breakout ranges** or compression candles
* Train your eye to spot **institutional-sized bars** versus average price action
* Prep screenshots for analysis, reports, or educational posts
---
### 📌 How to Use:
1. Add the script to your chart
2. Set the **"Bar Index"** to the number of bars back you want to analyze (e.g., `0` = current, `1` = one bar ago)
3. The script will draw a **box around the candle**, and display key range info nearby
---
Would you like a copy-and-paste version of this for TradingView's Public Library description or script header?
dōjōwap 🥋 2.0current session vwap
pdwap
pwwap
pmwap
twap
all in one
not financial advice
say no to drugs
Flat Market Detector//@version=5
indicator("Flat Market Detector", overlay=true)
len = input.int(100, "Length")
src = close
corr = ta.correlation(src, ta.linreg(src, len, 0), len)
flatThres = input.float(0.4, "Flat Threshold", minval=0, maxval=1)
isFlat = math.abs(corr) < flatThres
bgcolor(isFlat ? color.new(color.gray,85) : na, title="Flat Zone")
plotshape(isFlat, style=shape.labelup, location=location.top, color=color.silver, text="ФЛЕТ", title="Flat")
alertcondition(isFlat, "Flat Detected", "Flat: trend trading disabled!")
Custom Market Time ZonesThis Indicator helps you wait for a trend to form after 30 minutes of NY market open.
After 1pm creates another zone indicating low probability
Breakout Zones with Candle Color and Background Breakout Zones with Candle Color and Background
Version: 1.0
Script Type: Overlay
Tags: support and resistance, breakout zones, candle coloring, trend detection, visual indicator, price action
📘 Overview
This indicator highlights key breakout zones using dynamic support and resistance levels, adding clear background shading and candle coloring to help traders visually track breakout and consolidation behavior.
Whether you're trading ranges, breakouts, or just want clearer price context, this tool simplifies decision-making by showing exactly where price is in relation to recent market structure.
🔍 Features
📏 Auto Support & Resistance
Based on a user-defined lookback period to dynamically track key S/R levels.
🧱 Customizable Zone Padding
Adds a buffer above and below the calculated S/R levels to define a breakout "zone."
🌈 Visual Highlights
Green Background: Bullish breakout above resistance
Red Background: Bearish breakdown below support
Yellow Candles: Price is inside the defined S/R range (indecision or buildup)
📈 Clean Chart Levels
Plots resistance and support lines for clear visual references
🧠 How to Use It
Identify Consolidation: Yellow candles signal the price is inside the zone—watch for potential buildup.
Breakout Alerts: When the background turns green or red, a breakout or breakdown is underway.
Confirm with Volume or Trend Tools: Use this with volume spikes, moving averages, or MACD for confirmation.
🛠️ Settings
Lookback Bars: Number of bars to calculate support and resistance.
Zone Padding% %: Adds buffer to make breakout zones more realistic.
⚠️ Disclaimer
This tool is for educational and analytical purposes. Breakouts may lead to false signals without proper confirmation. Always use risk management and do your own research before trading.
LUCY Multi-Timeframe Bias Checker//@version=5
indicator("LUCY Multi-Timeframe Bias Checker", overlay=true)
// === INPUTS === //
emaShort = input.int(8, title="Short EMA")
emaLong = input.int(34, title="Long EMA")
// === CURRENT TIMEFRAME === //
emaShort_curr = ta.ema(close, emaShort)
emaLong_curr = ta.ema(close, emaLong)
bias_curr = emaShort_curr > emaLong_curr ? "Bullish" : "Bearish"
// === HIGHER TIMEFRAMES === //
emaShort_5m = request.security(syminfo.tickerid, "5", ta.ema(close, emaShort))
emaLong_5m = request.security(syminfo.tickerid, "5", ta.ema(close, emaLong))
bias_5m = emaShort_5m > emaLong_5m ? "Bullish" : "Bearish"
emaShort_15m = request.security(syminfo.tickerid, "15", ta.ema(close, emaShort))
emaLong_15m = request.security(syminfo.tickerid, "15", ta.ema(close, emaLong))
bias_15m = emaShort_15m > emaLong_15m ? "Bullish" : "Bearish"
// === PANEL DISPLAY === //
var table biasTable = table.new(position.top_right, 2, 4, border_width=1)
if bar_index % 5 == 0
table.cell(biasTable, 0, 0, "Timeframe", bgcolor=color.black, text_color=color.white)
table.cell(biasTable, 1, 0, "Bias", bgcolor=color.black, text_color=color.white)
table.cell(biasTable, 0, 1, "1-Min", bgcolor=color.gray)
table.cell(biasTable, 1, 1, bias_curr, bgcolor=bias_curr == "Bullish" ? color.green : color.red, text_color=color.white)
table.cell(biasTable, 0, 2, "5-Min", bgcolor=color.gray)
table.cell(biasTable, 1, 2, bias_5m, bgcolor=bias_5m == "Bullish" ? color.green : color.red, text_color=color.white)
table.cell(biasTable, 0, 3, "15-Min", bgcolor=color.gray)
table.cell(biasTable, 1, 3, bias_15m, bgcolor=bias_15m == "Bullish" ? color.green : color.red, text_color=color.white)