Balanced Delta Volume Profile (Zeiierman)█ Overview
Balanced Delta Volume Profile (Zeiierman) builds a vertical, price-by-price profile that blends total participation with balance quality. Instead of plotting raw volume alone, it weights each price bin by:
how balanced buyers vs. sellers were,
how compressed price was inside that bin,
how often price revisited it.
The result spotlights fair value and acceptance zones while still revealing momentum/imbalance areas—ideal for reading rotation vs. trend, continuation vs. exhaustion, and the prices that truly matter.
Highlights
Balanced score that fuses delta symmetry, price compression, and hit frequency.
Optional heat spectrum for instant read of participation density and balance strength.
POC-like auto highlight of the dominant price level within the lookback window.
Works across timeframes for session profiling, swing context, or regime shifts.
█ How It Works
⚪ Profile Construction
The script scans a fixed History Length and divides the full high–low span into Bin Count price bins. For every bar in the window, its volume is proportionally distributed across the bins it overlaps, so wide-range bars contribute across multiple bins, while narrow bars concentrate where they traded most. This yields per-bin totals for:
Total Volume (participation)
Positive / Negative Volume (up vs. down bar contribution)
Hit Count (how often price touched the bin)
Average Price Range (mean bar range inside the bin; a proxy for compression)
⚪ Delta & Direction
For each bin, delta symmetry is measured via the ratio of |pos − neg| to total volume. Bins with balanced two-sided flow score higher than one-sided, runaway bins. This curbs the tendency of raw volume profiles to over-reward impulsive bursts.
⚪ Balance Score
Each price bin gets a balance score that multiplies three normalized components:
Delta Balance: rewards bins where buy/sell pressure is symmetrical (configurable via Volume Momentum Weight).
Price Compression: rewards bins where average bar range is relatively small (configurable via Price Momentum Weight).
Durability: rewards bins revisited often (configurable via Hits Weight).
A Min Hits Filter removes flimsy, single-touch bins from dominating the score. The profile can display pure totals or Average Mode (Vol/Hit) to compare bins fairly when hit counts differ.
⚪ Display & Heat Spectrum
The final plotted bar length per bin is the display volume (total or average) weighted by the balance score and normalized to 100.
POC-like Highlight: The 100% bin is outlined (and labeled) when Highlight Max Volume Bin is ON.
Heat Spectrum (optional): A background gradient scales with normalized bar length and balance hue.
Balance Hue: Interpolates between Balance Low/High Colors so high-balance bins visually pop as “accepted value.”
█ How to Use
The profile is effectively a map of price acceptance:
High, bright bars = strong participation at balanced prices → fair value/rotation zones.
Thin, muted bars = poor acceptance → imbalance or transition areas.
POC-style level = most influential price in the lookback window.
⚪ Find Fair Value & Acceptance
Thick, high-balance bins mark value. Expect rotation: price often revisits or oscillates around these areas. They’re prime zones for mean-reversion fades, scale-ins, and risk-defined trades against the edges.
⚪ Identify Imbalance & Funnels
Low-balance, low-hit bins often act like air pockets—price can move through them quickly. These zones are helpful for continuation trades into thin areas or for timing breakout pulls back into acceptance.
⚪ POC Dynamics
When price leaves the POC and returns, watch for re-acceptance (price comes back into the POC or high-balance zone and stays there.) vs. rejection (trend continuation away from value). The auto-highlight makes this quick to judge.
█ Settings
History Length – Bars scanned for the profile. Longer = broader context, slower to adapt.
Bin Count – Vertical resolution of bins between the window’s min and max price.
Display Shift – Offsets the rendering rightward for clarity.
Average Mode (Vol/Hit) – ON uses average volume per visit; OFF uses total volume.
Volume Momentum Weight – Emphasizes two-way flow; higher values favor balanced bins over one-sided deltas.
Price Momentum Weight – Emphasizes compression; higher values favor narrow-range, coiling price action.
Hits Weight – Rewards bins revisited often; higher values favor durable acceptance.
Min Hits Filter – Minimum visits a bin needs to qualify for the balance score.
Show Heat Spectrum – Background gradient for quick read of density and balance.
Highlight Max Volume Bin – Outline + raw volume label for the dominant bin.
Max Volume Color – Color used for that highlight.
Balance Low/High Colors – Gradient endpoints for balance hue across the profile.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indikatoren und Strategien
Daily Range Zone This indicator shows the daily range (high to low) for each day.
Every day has its own unique color, making it easy to see each day’s price range at a glance.
Weis Wave Volume MTF 🎯 Indicator Name
Weis Wave Volume (Multi‑Timeframe) — adapted from the original “Weis Wave Volume by LazyBear.”
This version adds multi‑timeframe (MTF) readings, configurable colors, font size, and screen position for clear dashboard‑style display.
🧠 Concept Background — What is Weis Wave Volume (WWV)?
The Weis Wave Volume indicator originates from Wyckoff and David Weis’ techniques.
Its purpose is to link price movement “waves” with the amount of traded volume to reveal how strong or weak each wave is.
Instead of showing bars one by one, WWV accumulates the total volume while price keeps moving in the same direction.
When price direction changes (up → down or down → up), it:
Finishes the previous wave volume total.
Starts a new wave and begins accumulating again.
Those wave volumes help traders see:
Effort vs Result: Big volume with small price move ⇒ absorption; low volume with big move ⇒ weak participation.
Trend confirmation or exhaustion: High volume waves in trend direction strengthen it, while low‑volume waves hint exhaustion.
⚙️ How this Script Works
Trend & Wave Detection
Compares close with the previous bar to determine up or down movement (mov).
Detects trend reversals (when mov direction changes).
Builds “waves,” each representing a continuous run of bars in one direction.
Volume Accumulation
While price keeps the same direction, the script adds each bar’s volume to the running total (vol).
When direction flips, it resets that total and starts a new wave.
Multi‑Timeframe Computation
Calculates these wave volumes on three timeframes at once, chosen dynamically:
Active Chart Timeframe Displays WWV for:
1 min 1 min
5 min 5 min
15 min 15 min
Any other Chart TF
It uses request.security() to pull each timeframe’s latest WWV value and current wave direction.
Visual Output
Instead of plotting histogram bars, it shows a table with three numeric values:
WWV (1): 25.3 M | (15): 312 M | (240): 2.46 B
Each value is color‑coded:
user‑selected Uptrend Color when price wave = up
user‑selected Downtrend Color when wave = down
You can position this small table in any corner/center (top / bottom × left / center / right).
Font size is user‑adjustable (Tiny → Huge).
📈 How Traders Use It
Quickly gauge buying vs selling effort across multiple horizons.
Compare short‑term wave volume to higher‑timeframe waves to spot:
Alignment → all up and big volumes = strong trend
Divergence → small or opposite‑colored higher‑TF wave = potential reversal or pause
Combine with Wyckoff, VSA, or standard trend analysis to judge if a breakout or pullback has real participation.
🧩 Key Features of This Version
Feature Description
Multi‑Timeframe Panel Displays WWV values for 3 selected TFs at once
Dynamic TF Mapping Auto‑adjusts which TFs to use based on chart
Up/Down Color Coding Customizable colors for wave direction
Adjustable Font and Placement Set font size (Tiny→Huge) and screen corner/center
No Histograms Keeps chart clean; acts as a compact WWV dashboard
チャットGPTimport yfinance as yf
import pandas as pd
import requests
from bs4 import BeautifulSoup
# 株たんのスクリーニング結果URL(例:200日線以下)
url = "https://kabutan.jp/warning/?mode=3_1"
r = requests.get(url)
soup = BeautifulSoup(r.text, "html.parser")
# 銘柄コードと企業名を抽出
stocks =
for link in soup.select("td a "):
code = link .split('=')
name = link.text.strip()
if code.isdigit():
stocks.append({"code": code, "name": name})
results =
for stock in stocks : # ←テスト用に10銘柄まで
ticker = f"{stock }.T"
df = yf.download(ticker, period="1y", interval="1d")
# EMA200
df = df .ewm(span=200, adjust=False).mean()
below_ema200 = df .iloc < df .iloc
# 株たんの個別ページからPER・成長率を取得
stock_url = f"https://kabutan.jp/stock/?code={stock }"
res = requests.get(stock_url)
s = BeautifulSoup(res.text, "html.parser")
try:
per = s.find(text="PER").find_next("td").text
growth = s.find(text="売上高増減率").find_next("td").text
except:
per, growth = "N/A", "N/A"
results.append({
"銘柄コード": stock ,
"企業名": stock ,
"200EMA以下": below_ema200,
"PER": per,
"売上成長率": growth
})
# 結果をCSV出力
df_result = pd.DataFrame(results)
df_result.to_csv("割安EMA200以下銘柄.csv", index=False, encoding="utf-8-sig")
print(df_result)
Simple FloatFloat Display Indicator
A simple, clean indicator that displays the current float (shares outstanding float) for any stock directly in your indicator status line at the top left of the chart.
Features:
- Shows the float value with automatic K/M formatting for thousands and millions
- No chart clutter - value only appears in the status line, nothing plotted on the chart
- Works on any stock that has float data available
- Lightweight and efficient
Perfect for traders who want quick access to float information without switching between windows or cluttering their charts.
Note: Float data availability depends on TradingView's financial data for the specific ticker. Some tickers may not have this data available.
EMA21The indicator includes 5x the EMA, which can be freely selected. The default settings are 5 min, 10 min, 15 min, 1 h, and 4 h. If a candle crosses an EMA, the wick of the candle is longer than that of the EMA, and if the candle body is above the EMA, it indicates a buy or sell accordingly.
Run-Stacked Percentage MoveTracks cumulative percentage change from a dynamic baseline that resets when price direction flips.
The baseline resets to the previous bar's close whenever a non-zero return has the opposite sign from the last non-zero return. Zero-change bars are ignored for flip detection but continue displaying the running cumulative percentage.
Teal histogram bars indicate positive moves from the baseline, red bars indicate negative moves. Useful for comparing directional momentum persistence across different instruments - configure the symbol input to track any security.
Session Highs and LowsShows the current and previous session highs and lows for the New York, London and Asian sessions
Awesome SuperTrend Zone Dynamic Alerts// created by © OmegaTools, upgrade to v6 and alert condition added
//@version=6
Awesome SuperTrend Zone Alerts with dynamic alerts
Vwap Daily By SamsungTitle
Daily VWAP with Historical Lookback (Logic Fix)
Description
This script calculates and plots the daily Volume-Weighted Average Price (VWAP), an essential tool for intraday traders.
What makes this indicator special is its robust plotting logic. Unlike many simple VWAP scripts that struggle to show data for previous days, this version includes a crucial fix that allows you to reliably display historical VWAP lines for as many days back as you need. This allows for more comprehensive backtesting and analysis of how price has interacted with the VWAP on previous trading days.
This is an indispensable tool for traders who use VWAP as a dynamic level of support/resistance, a benchmark for trade execution quality, or a gauge of the day's trend.
Key Features
Historical VWAP Display: Easily plot VWAP for multiple past days on your chart. Simply set the number of lookback days in the settings.
Accurate Daily Calculation: The VWAP calculation correctly resets at the beginning of each new trading session (00:00 server time).
Fully Customizable: You have full control over the appearance of the VWAP line, including its color, width, and style (Solid or Stepped).
Robust Plotting Engine: This script solves the common Pine Script issue where conditionally plotted historical lines fail to render. It works reliably on all intraday timeframes.
Built-in Debug Mode: For advanced users or those curious about the inner workings, a comprehensive debug mode can be enabled to display raw VWAP values, cumulative volume, and timeframe warnings.
How to Use
Add the "Daily VWAP with Historical Lookback" indicator to your chart.
IMPORTANT: Make sure you are on an intraday timeframe (e.g., 1H, 30M, 15M, 5M, 1M). This indicator is designed for intraday analysis and will display a warning if used on a daily or higher timeframe.
Open the indicator's settings.
In the "VWAP Settings" tab, adjust the "Lookback Days to Display" to set how many previous days of VWAP you want to see. (e.g., 0 for today only, 1 for today and yesterday, 10 for the last 10 days).
Customize the line's appearance in the "Line Style" tab.
The "Logic Fix" Explained (For Developers)
A common challenge in Pine Script is conditionally plotting data for historical bars. Many scripts attempt this by dynamically changing the plot color to na (transparent) for bars that shouldn't be displayed. This method is often unreliable and can result in the entire plot failing to render.
This script employs a more robust and standard approach: manipulating the data series itself.
The Problem: plot(vwap, color = shouldPlot ? color.red : na) can be buggy.
The Solution: plot(shouldPlot ? vwap : na, color = color.red) is reliable.
Instead of changing the color, we create a new data series (plotVwap). This series contains the vwapValue only on the bars that meet our date criteria. On all other bars, its value is na (Not a Number). The plot() function is designed to handle na values by simply "lifting the pen," creating a clean break in the line. This ensures that the VWAP is drawn only for the selected days, with 100% reliability across all historical data.
Settings Explained
Lookback Days to Display: Sets the number of past days (from the last visible bar) for which to display the VWAP.
Line Color, Width, and Style: Standard cosmetic settings for the VWAP line.
Enable Debug Mode (Master Switch): Toggles all debugging features on or off. It is enabled by default to help new users.
Display Debug: Cumulative Volume: When enabled, it shows the daily cumulative volume in a gray area on a separate pane.
Display Debug: Raw VWAP Value: When enabled, it plots the raw, unfiltered VWAP calculation for all days on the chart, helping to verify the core logic.
This script is provided for educational and informational purposes. Trading involves significant risk. Always conduct your own research and analysis before making any trading decisions.
If you find this script useful, a 'Like' is always appreciated! Happy trading
MACD HTF Hardcoded (A/B Presets) + Regimes [CHE] MACD HTF Hardcoded (A/B Presets) + Regimes — Higher-timeframe MACD emulation with acceptance-based regime filter and on-chart diagnostics
Summary
This indicator emulates a higher-timeframe MACD directly on the current chart using two hardcoded preset families and a time-bucket mapping, avoiding cross-timeframe requests. It classifies four MACD regimes and applies an acceptance filter that requires several consecutive bars before a state is considered valid. A small dead-band around zero reduces noise near the axis. An on-chart table reports the active preset, the inferred time bucket, the resolved lengths, and the current regime.
Pine version: v6
Overlay: false
Primary outputs: MACD line, Signal line, Histogram columns, zero line, regime-change alert, info table
Motivation: Why this design?
Cross-timeframe indicators often rely on external timeframe requests, which can introduce repaint paths and added latency. This design provides a deterministic alternative: it maps the current chart’s timeframe to coarse higher-timeframe buckets and uses fixed EMA lengths that approximate those views. The dead-band suppresses flip-flops around zero, and the acceptance counter reduces whipsaw by requiring sustained agreement across bars before acknowledging a regime.
What’s different vs. standard approaches?
Baseline: Classical MACD with user-selected lengths on the same timeframe, or higher-timeframe MACD via cross-timeframe requests.
Architecture differences:
Hardcoded A and B length families with a bucket map derived from the chart timeframe.
No `request.security`; all calculations occur on the current series.
Regime classification from MACD and Histogram sign, gated by an acceptance count and a small zero dead-band.
Diagnostics table for transparency.
Practical effect: The MACD behaves like a slower, higher-timeframe variant without external requests. Regimes switch less often due to the dead-band and acceptance logic, which can improve stability in choppy sessions.
How it works (technical)
The script derives a coarse bucket from the chart timeframe using `timeframe.in_seconds` and maps it to preset-specific EMA lengths. EMAs of the source build MACD and Signal; their difference is the Histogram. Signs of MACD and Histogram define four regimes: strong bull, weak bull, strong bear, and weak bear. A small, user-defined band around zero treats values near the axis as neutral. An acceptance counter checks whether the same regime persisted for a given number of consecutive bars before it is emitted as the filtered regime. A single alert condition fires when the filtered regime changes. The histogram columns change shade based on position relative to zero and whether they are rising or falling. A persistent table object shows preset, bucket tag, resolved lengths, and the filtered regime. No cross-timeframe requests are used, so repaint risk is limited to normal live-bar movement; values stabilize on close.
Parameter Guide
Source — Input series for MACD — Default: Close — Using a smoother source increases stability but adds lag.
Preset — A or B length family — Default: “3,10,16” — Switch to “12,26,9” for the classic family mapped to buckets.
Table Position — Anchor for the info table — Default: Top right — Choose a corner that avoids covering price action.
Table Size — Table text size — Default: Normal — Use small on dense charts, large for presentations.
Dark Mode — Table theme — Default: Enabled — Match your chart background for readability.
Show Table — Toggle diagnostics table — Default: Enabled — Disable for a cleaner pane.
Zero dead-band (epsilon) — Noise gate around zero — Default: Zero — Increase slightly when you see frequent flips near zero.
Acceptance bars (n) — Bars required to confirm a regime — Default: Three — Raise to reduce whipsaw; lower to react faster.
Reading & Interpretation
Histogram columns: Above zero indicates bullish pressure; below zero indicates bearish pressure. Darker shade implies the histogram increased compared with the prior bar; lighter shade implies it decreased.
MACD vs. Signal lines: The spread corresponds to histogram height.
Regimes:
Strong bull: MACD above zero and Histogram above zero.
Weak bull: MACD above zero and Histogram below zero.
Strong bear: MACD below zero and Histogram below zero.
Weak bear: MACD below zero and Histogram above zero.
Table: Inspect active preset, bucket tag, resolved lengths, and the filtered regime number with its description.
Practical Workflows & Combinations
Trend following: Use strong bull to favor long exposure and strong bear to favor short exposure. Use weak states as pullback or transition context. Combine with structure tools such as swing highs and lows or a baseline moving average for confirmation.
Exits and risk: In strong trends, consider exiting partial size on a regime downgrade to a weak state. In choppy sessions, increase the acceptance bars to reduce churn.
Multi-asset / Multi-timeframe: Works on time-based charts across liquid futures, indices, currencies, and large-cap equities. Bucket mapping helps retain a consistent feel when moving from lower to higher timeframes.
Behavior, Constraints & Performance
Repaint/confirmation: No cross-timeframe requests; values can evolve intrabar and settle on close. Alerts follow your TradingView alert timing settings.
Resources: `max_bars_back` is set to five thousand. Very large resolved lengths require sufficient history to seed EMAs; expect a warm-up period on first load or after switching symbols.
Known limits: Dead-band and acceptance can delay recognition at sharp turns. Extremely thin markets or large gaps may still cause brief regime reversals.
Sensible Defaults & Quick Tuning
Start with preset “3,10,16”, dead-band near zero, and acceptance of three bars.
Too many flips near zero: increase the dead-band slightly or raise the acceptance bars.
Too sluggish in clean trends: reduce the acceptance bars by one.
Too sensitive on fast lower timeframes: switch to the “12,26,9” preset family or raise the acceptance bars.
Want less clutter: hide the table and keep the alert.
What this indicator is—and isn’t
This is a visualization and regime layer for MACD using higher-timeframe emulation and stability gates. It is not a complete trading system and does not generate position sizing or risk management. Use it with market structure, execution rules, and protective stops.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
5M Gap Finder — Persistent Boxes (Tiered) v65 M gap finder, using 3 different types of gaps: Tier Definition Tightness Frequency Use Case
Tier A (Strict) Gap ≥ 0.10%, body ≥ 70% of range Rare Institutional-strength displacement
Tier B (Standard) Gap ≥ 0.05%, body ≥ 60% of range Medium Baseline trading setup
Tier C (Loose) Gap ≥ 0.03%, no body condition Common Data collection and observation
Bitcoin: Price projection from previous cycles onto 2024 cycleAn indicator for displaying the BITFINEX:BTCUSD price movement pattern from previous cycles onto the 2024–2025 cycle.
Best checked on Bitfinex or the “Brave New Coin – Bitcoin Liquid Index” (though that one has gone offline).
Next time it should be done with embedded constants rather than by copying candles from previous cycles.
Publishing to share the idea.
Goldencross & Deathcross Highlights (50/200 SMA) - Fixed dailyThis indicator visualizes major long-term trend shifts in the market
by tracking the daily 50-day and 200-day Simple Moving Averages (SMAs)
— regardless of your current chart timeframe.
🟩 A green flash (Golden Cross) appears when the 50-day SMA crosses
above the 200-day SMA — signaling potential long-term bullish momentum.
🟥 A red flash (Death Cross) appears when the 50-day SMA crosses
below the 200-day SMA — suggesting potential long-term bearish pressure.
Unlike typical SMA overlays, this script:
• Pulls daily data directly (fixed to daily timeframe)
• Works cleanly on any chart timeframe (5m, 1h, 4h, etc.)
• Avoids clutter by hiding moving average lines
• Shows only short, subtle flashes and one clean marker per event
London Breakout Structure by Ale 2This indicator identifies market structure breakouts (CHOCH/BOS) within a specific London session window, highlighting potential breakout trades with automatic entry, stop loss (SL), and take profit (TP) levels.
It helps traders focus on high-probability breakouts when volatility increases after the Asian session, using price structure, ATR-based volatility filters, and a custom risk/reward setup.
🔹 Example of Strategy Application
Define your session (e.g. 04:00 to 05:00).
Wait for a CHOCH (Change of Character) inside this session.
If a bullish CHOCH occurs → go LONG at candle close.
If a bearish CHOCH occurs → go SHORT at candle close.
SL is set below/above the previous swing using ATR × multiplier.
TP is calculated automatically based on your R:R ratio.
📊 Example:
When price breaks above the last swing high within the session, a “BUY” label appears and the indicator draws Entry, SL, and TP levels automatically.
If the breakout fails and price closes below the opposite structure, a “SELL” signal will replace the bullish setup.
🔹 Details
The logic is based on structural shifts (CHOCH/BOS):
A CHOCH occurs when price breaks and closes beyond the most recent high/low.
The indicator dynamically detects these shifts in structure, validating them only inside your chosen time window (e.g. the London Open).
The ATR filter ensures setups are valid only when the range has enough volatility, avoiding false signals in low-volume hours.
You can also visualize:
The session area (purple background)
Entry, Stop Loss, and Take Profit levels
Direction labels (BUY/SELL)
ATR line for volatility context
🔹 Configuration
Start / End Hour: define your preferred trading window.
ATR Length & Multiplier: adjust for volatility.
Risk/Reward Ratio: set your desired R:R (default 1:2).
Minimum Range Filter: avoids signals with tight SLs.
Alerts: receive notifications when breakout conditions occur.
🔹 Recommendations
Works best on 15m or 5m charts during London session.
Designed for breakout and structure-based traders.
Works on Forex, Crypto, and Indices.
Ideal as a visual and educational tool for understanding BOS/CHOCH behavior.
8x Heikin Ashi Streak (1m) by Bitcoin Benito🧭 Indicator Description: “8x Heikin Ashi Streak (1m) by Bitcoin Benito”
**Purpose:**
The *8x Heikin Ashi Streak* indicator helps traders quickly identify strong short-term momentum on the **1-minute timeframe**. It automatically tracks Heikin Ashi candles and alerts you whenever **8 consecutive bullish or bearish candles** appear — a visual cue that a strong intraday trend or exhaustion point might be forming.
---
🔍 **How It Works**
* The indicator continuously counts Heikin Ashi candles in real-time.
* When it detects **8 bullish (green)** or **8 bearish (red)** candles in a row:
* A green ▲ marker appears **below** the 8th candle for bullish streaks.
* A red ▼ marker appears **above** the 8th candle for bearish streaks.
* You can set alerts to automatically notify you when these streaks occur.
This makes it ideal for **momentum traders**, **scalpers**, and **trend-reversal spotters** who want to:
* Catch strong intraday moves early.
* Identify potential overextension zones before pullbacks.
* Automate alert signals for short-term trading setups.
IMPORTANT: Only trade when most of the 8 candles are below/above the EMA 8 Line respectively. Add an EMA 8 indicator to see if this is the case
---
⚙️ **How to Use**
1. **Apply to a 1-minute chart** (this script is optimized for 1m timeframes).
2. When the indicator plots a green or red triangle:
* **Green triangle (8 bullish candles):** Trend momentum is strong upward.
* **Red triangle (8 bearish candles):** Downward momentum is dominant.
3. Optionally, combine with volume or EMA filters to confirm breakouts or exhaustion.
---
🔔 **Setting Up Alerts**
* Click the **Alert (🔔)** icon on TradingView.
* Under *Condition*, select:
* “8x Heikin Ashi Streak (1m)” → “8 Bullish Heikin Ashi (1m)”
* OR “8x Heikin Ashi Streak (1m)” → “8 Bearish Heikin Ashi (1m)”
* Choose **Once per bar close** to trigger the alert when the 8th candle completes.
* Add your custom message, e.g.
> “🚀 8 bullish Heikin Ashi candles in a row on 1-minute chart!”
> “🔻 8 bearish Heikin Ashi candles in a row on 1-minute chart!”
---
📊 **Best Practices**
* Works best on **liquid assets** (major forex pairs, indices, BTC/USD, etc.).
* Pair with **RSI**, **EMA**, or **Volume** indicators for stronger confirmation.
* Not a standalone buy/sell signal — treat it as a **momentum or exhaustion alert**.
* Can be adapted to other timeframes by changing chart resolution.
---
⚠️ **Disclaimer**
This indicator is for **educational and analytical purposes only**.
Trading carries risk — always test on demo accounts and use proper risk management.
No indicator guarantees profit; this is a tool for insight and timing, not financial advice.
Volume-Price Shift Box (Lite Version)Description
This indicator is a clean and intuitive visual tool designed to help traders quickly assess the current balance of bullish and bearish forces in the market.
It combines volume, price movement, VWAP, and OBV dynamics into a compact on-chart table that updates in real time.
This version focuses on the core logic and visualization of momentum and volume shifts, making it ideal for traders who want actionable insight without complex configuration.
How It Works
The script measures the combined strength of multiple market components:
VWAP trend indicates price bias relative to fair value.
OBV (On-Balance Volume) tracks volume flow to confirm or contradict price movement.
Volume ratio compares current volume to its recent average.
Momentum evaluates directional price movement over a configurable lookback period.
Accumulation / Distribution (A/D) Line estimates buying or selling pressure within each candle:
↑ — A/D is rising (buying pressure is increasing)
↑↑ — A/D is rising faster than before (acceleration of buying)
↓ — A/D is falling (selling pressure is increasing)
↓↓ — A/D is falling faster than before (acceleration of selling)
Each of these components contributes to an overall shift score.
Depending on this score, the box displays:
🟢 Bullish Shift — strong upward alignment
🔴 Bearish Shift — downward alignment
⚪ Neutral — mixed or indecisive conditions
Key Features
Compact on-chart information box with color-coded parameters
Combined volume-price relationship model
Configurable lookback and sensitivity controls
Real-time shift strength and trend duration tracking
Adjustable EMA/SMA smoothing for all averages
Lightweight design optimized for clarity
Inputs Overview
Box Position / Size – Place and scale the on-chart info box
Lookback Period – Number of bars used for calculations
VWAP Lookback – Period for VWAP distance smoothing
Shift Sensitivity – Adjusts reaction strength of bullish/bearish shifts
Neutral Zone Threshold – Defines when the market is considered neutral
EMA or SMA – Choose exponential or simple moving averages
Component Weights – Set the influence of VWAP, OBV, Volume, and Momentum on the shift score
Display Toggles – Enable or disable metrics shown in the box (Strength, Volume, VWAP, Duration, OBV)
How to Use
Apply the indicator to any symbol and timeframe.
Observe the box on the chart — it updates dynamically.
Look for transitions between Neutral → Bullish or Neutral → Bearish shifts.
Combine with your existing price action or confirmation tools (e.g., support/resistance, trendlines).
Use the “Strength” and “Duration” values to assess consistency and momentum quality.
(This indicator is not a buy/sell signal generator — it is designed as a contextual analysis and confirmation tool.)
How It Helps
Merges several key volume and price metrics into a single view
Highlights transitions in market control between buyers and sellers
Reduces clutter by presenting only relevant context data
Works on any market and timeframe, from scalping to swing trading
⚠️Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.
Best Time Slots — Auto-Adapt (v6, TF-safe) + Range AlertsTime & binning
Auto-adapt to timeframe
Makes all time windows scale to your chart’s bar size (so it “just works” on 1m, 15m, 4H, Daily).
• On = recommended. • Off = fixed default lengths.
Minimum Bin (minutes)
The size of each daily time slot we track (e.g., 5-min bins). The script uses the larger of this and your bar size.
• Higher = fewer, broader slots; smoother stats. • Lower = more, narrower slots; needs more history.
• Try: 5–15 on intraday, 60–240 on higher TFs.
Lookback windows (used when Auto-adapt = ON)
Target ER Window (minutes)
How far back we look to judge Efficiency Ratio (how “straight” the move was).
• Higher = stricter/smoother; fewer bars qualify as “movement”. • Lower = more sensitive.
• Try: 60–120 min intraday; 240–600 min for higher TFs.
Target ATR Window (minutes)
How far back we compute ATR (typical range).
• Higher = steadier ATR baseline. • Lower = reacts faster.
• Try: 30–120 min intraday; 240–600 min higher TFs.
Target Normalization Window (minutes)
How far back for the average ATR (the baseline we compare to).
• Higher = stricter “above average range” check. • Lower = easier to pass.
• Try: ~500–1500 min.
What counts as “movement”
ER Threshold (0–1)
Minimum efficiency a bar must have to count as movement.
• Higher = only very “clean, one-direction” bars count. • Lower = more bars count.
• Try: 0.55–0.65. (0.60 = balanced.)
ATR Floor vs SMA(ATR)
Requires range to be at least this many × average ATR.
• Higher (e.g., 1.2) = demand bigger-than-usual ranges. • Lower (e.g., 0.9) = allow smaller ranges.
• Try: 1.0 (above average).
How history is averaged
Recent Days Weight (per-day decay)
Gives more weight to recent days. Example: 0.97 ≈ each day old counts ~3% less.
• Higher (0.99) = slower fade (older days matter more). • Lower (0.95) = faster fade.
• Try: 0.97–0.99.
Laplace Prior Seen / Laplace Prior Hit
“Starter counts” so early stats aren’t crazy when you have little data.
• Higher priors = probabilities start closer to average; need more real data to move.
• Try: Seen=3, Hit=1 (defaults).
Min Samples (effective)
Don’t highlight a slot unless it has at least this many effective samples (after decay + priors).
• Higher = safer, but fewer highlights early.
• Try: 3–10.
When to highlight on the chart
Min Probability to Highlight
We shade/mark bars only if their slot’s historical movement probability is ≥ this.
• Higher = pickier, fewer highlights. • Lower = more highlights.
• Try: 0.45–0.60.
Show Markers on Good Bins
Draws a small square on bars that fall in a “good” slot (in addition to the soft background).
Limit to market hours (optional)
Restrict to Session + Session
Only learn/score inside this time window (e.g., “0930-1600”). Uses the chart/exchange timezone.
• Turn on if you only care about RTH.
Range (chop) alerts
Range START if ER ≤
Triggers range when efficiency drops below this level (price starts zig-zagging).
• Higher = easier to call “range”. • Lower = stricter.
Range START if ATR ≤ this × SMA(ATR)
Also triggers range when ATR shrinks below this fraction of its average (volatility contraction).
• Higher (e.g., 1.0) = stricter (must be at/under average). • Lower (e.g., 0.9) = easier to call range.
Alerts on bar close
If ON, alerts fire once per bar close (cleaner). If OFF, they can trigger intrabar (faster, noisier).
Quick “what happens if I change X?”
Want more highlighted times? ↓ Min Probability, ↓ ER Threshold, or ↓ ATR Floor (e.g., 0.9).
Want stricter highlights? ↑ Min Probability, ↑ ER Threshold, or ↑ ATR Floor (e.g., 1.2).
Want recent days to matter more? ↑ Recent Days Weight toward 0.99.
On 4H/Daily, widen Minimum Bin (e.g., 60–240) and maybe lower Min Probability a bit.
Breakout Bar CandidateShows the values of True Range, LS volatility and whether the volume is above or below average
Trend on TimeFrames indicatorThis indicator shows you If you are bullish or bearish on every important timeframe






















