Combined OP Lines and Daily High/Low
This Pine Script v6 indicator for TradingView ("Combined OP Lines and Daily High/Low") overlays the chart and visualizes in UTC+02:00 (manually adjust for DST):
OP Lines: At 0:00 (new day) and 6:00 AM, draws black horizontal lines at the opening price (extend right), vertical black markers, and labels ("OP 0:00"/"OP 6:00"). Old elements are deleted.
Previous Day High/Low: Blue thick horizontal lines (extend right) with labels ("Daily High/Low: "), based on request.security (daily TF, high/low ).
Useful for day trading: Marks intraday sessions and prior-day extremes as support/resistance. Purely visual, dynamically updated, efficient (resource management). Limitations: Fixed timezone, no alerts, colors could be optimized.
Индикаторы и стратегии
Anchored VWAP Polyline [CHE] Anchored VWAP Polyline — Anchored VWAP drawn as a polyline from a user-defined bar count with last-bar updates and optional labels
Summary
This indicator renders an anchored Volume-Weighted Average Price as a continuous polyline starting from a user-selected anchor point a specified number of bars back. It accumulates price multiplied by volume only from the anchor forward and resets cleanly when the anchor moves. Drawing is object-based (polyline and labels) and updated on the most recent bar only, which reduces flicker and avoids excessive redraws. Optional labels mark the anchor and, conditionally, a delta label when the current close is below the historical close at the anchor offset.
Motivation: Why this design?
Anchored VWAP is often used to track fair value after a specific event such as a swing, breakout, or session start. Traditional plot-based lines can repaint during live updates or incur overhead when frequently redrawn. This implementation focuses on explicit state management, last-bar rendering, and object recycling so the line stays stable while remaining responsive when the anchor changes. The design emphasizes deterministic updates and simple session gating from the anchor.
What’s different vs. standard approaches?
Baseline: Classic VWAP lines plotted from session open or full history.
Architecture differences:
Anchor defined by a fixed bar offset rather than session or day boundaries.
Object-centric drawing via `polyline` with an array of `chart.point` objects.
Last-bar update pattern with deletion and replacement of the polyline to apply all points cleanly.
Conditional labels: an anchor marker and an optional delta label only when the current close is below the historical close at the offset.
Practical effect: You get a visually continuous anchored VWAP that resets when the anchor shifts and remains clean on chart refreshes. The labels act as lightweight diagnostics without clutter.
How it works (technical)
The anchor index is computed as the latest bar index minus the user-defined bar count.
A session flag turns true from the anchor forward; prior bars are excluded.
Two persistent accumulators track the running sum of price multiplied by volume and the running sum of volume; they reset when the session flag turns from false to true.
The anchored VWAP is the running sum divided by the running volume whenever both are valid and the volume is not zero.
Points are appended to an array only when the anchored VWAP is valid. On the most recent bar, any existing polyline is deleted and replaced with a new one built from the point array.
Labels are refreshed on the most recent bar:
A yellow warning label appears when there are not enough bars to compute the reference values.
The anchor label marks the anchor bar.
The delta label appears only when the current close is below the close at the anchor offset; otherwise it is suppressed.
No higher-timeframe requests are used; repaint is limited to normal live-bar behavior.
Parameter Guide
Bars back — Sets the anchor offset in bars; default two hundred thirty-three; minimum one. Larger values extend the anchored period and increase stability but respond more slowly to regime changes.
Labels — Toggles all labels; default enabled. Disable to keep the chart clean when using multiple instances.
Reading & Interpretation
The polyline represents the anchored VWAP from the chosen anchor to the current bar. Price above the line suggests strength relative to the anchored baseline; price below suggests weakness.
The anchor label shows where the accumulation starts.
The delta label appears only when today’s close is below the historical close at the offset; it provides a quick context for negative drift relative to that reference.
A yellow message at the current bar indicates the chart does not have enough history to compute the reference comparison yet.
Practical Workflows & Combinations
Trend following: Anchor after a breakout bar or a swing confirmation. Use the anchored VWAP as dynamic support or resistance; look for clean retests and holds for continuation.
Mean reversion: Anchor at a local extreme and watch for approaches back toward the line; require structure confirmation to avoid early entries.
Session or event studies: Re-set the anchor around earnings, macro releases, or session opens by adjusting the bar offset.
Combinations: Pair with structure tools such as swing highs and lows, or with volatility measures to filter chop. The labels can be disabled when combining multiple instances to maintain chart clarity.
Behavior, Constraints & Performance
Repaint and confirmation: The line is updated on the most recent bar only; historical values do not rely on future bars. Normal live-bar movement applies until the bar closes.
No higher timeframe: There is no `security` call; repaint paths related to higher-timeframe lookahead do not apply here.
Resources: Uses one polyline object that is rebuilt on the most recent bar, plus two labels when conditions are met. `max_bars_back` is two thousand. Arrays store points from the anchor forward; extremely long anchors or very long charts increase memory usage.
Known limits: With very thin volume, the VWAP can be unavailable for some bars. Very large anchors reduce responsiveness. Labels use ATR for vertical placement; extreme gaps can place them close to extremes.
Sensible Defaults & Quick Tuning
Starting point: Bars back two hundred thirty-three with Labels enabled works well on many assets and timeframes.
Too noisy around the line: Increase Bars back to extend the accumulation window.
Too sluggish after regime changes: Decrease Bars back to focus on a shorter anchored period.
Chart clutter with multiple instances: Disable Labels while keeping the polyline visible.
What this indicator is—and isn’t
This is a visualization of an anchored VWAP with optional diagnostics. It is not a full trading system and does not include entries, exits, or position management. Use it alongside clear market structure, risk controls, and a plan for trade management. It does not predict future prices.
Inputs with defaults
Bars back: two hundred thirty-three bars, minimum one.
Labels: enabled or disabled toggle, default enabled.
Pine version: v6
Overlay: true
Primary outputs: one polyline, optional labels (anchor, conditional delta, and a warning when insufficient bars).
Metrics and functions: volume, ATR for label offset, object drawing via polyline and chart points, last-bar update pattern.
Special techniques: session gating from the anchor, persistent state, object recycling, explicit guards against unavailable values and zero volume.
Compatibility and assets: Designed for standard candlestick or bar charts across liquid assets and common timeframes.
Diagnostics: Yellow warning label when history is insufficient.
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
Sessions, Killzones & Macros🌟 A Very Special Thanks
To ChatGPT and Copilot for helping me put this together 🙏💻✨
🚀 Session Script Release by AnandaDivine
KitBashed with love & light ✨
⚠️ Disclaimer:
I take no credit for the original scripts used in this compilation, nor any responsibility for how it's used. Modify and explore at your own discretion!
💡 Inspired by Legends:
📊 Sessions on the Chart – by Aurocks_AIF
🧠 ICT KillZones Macros – by TFlab
💧 Watermark FX – by AGFXTRADING
🎯 Features Included:
🕒 Sessions:
🕒 Asia
🕒 London
🕒 New York
🔫 KillZones:
🧬 CBDR (for those who use it)
🕒 Asia
🕒 London
🕒 New York
🧩 Macros:
🕰️ London 1 & 2
🌅 NY AM1, AM2, AM3
🍽️ NY Lunch
🌆 NY PM
🕛 NY Last Hour
💦 Watermark – Clean and minimal branding
🎨 Color Palette:
Optimized for light theme users – crisp, clean, and easy on the eyes.
🔮 Future Features (if requested):
🧱 Dark theme support
🕯️ Candle coloring based on session zones
🧘 Philosophy:
I kept it fast & light – no clutter, no bloat.
Feel free to customize or extend it however you like.
If you add something cool, please share it with me! 🙌
🧪 I tried adding day-of-week and separators, but it looked messy on higher timeframes. Maybe someone else can crack that cleanly.
EMA Cross + Latest CRT + RSIWith the Help of this you can find stong crossover and weak crossover of bullish and Bearish
SMA均线(抵扣价)&布林带SMA Moving Averages (Discount Price) & Bollinger B
脚本包含7条sma均线,支持自定义长度
均线包含抵扣价功能(使用方法可以youtube搜“抵扣价”)
增加布林带,支持自定义参数
The script includes 7 SMA moving averages with customizable lengths, and adds Bollinger Bands with customizable parameters.
Fury by Tetrad Fury by Tetrad
What it is:
A rules-based Bollinger+RSI strategy that fades extremes: it looks for price stretching beyond Bollinger Bands while RSI confirms exhaustion, enters countertrend, then exits at predefined profit multipliers or optional stoploss. “Ultra Glow” visuals are purely cosmetic.
How it works — logic at a glance
Framework: Classic Bollinger Bands (SMA basis; configurable length & multiplier) + RSI (configurable length).
Long entries:
Price closes below the lower band and RSI < Long RSI threshold (default 28.3) → open LONG (subject to your “Market Direction” setting).
Short entries:
Price closes above the upper band and RSI > Short RSI threshold (default 88.4) → open SHORT.
Profit exits (price targets):
Uses simple multipliers of the strategy’s average entry price:
Long exit = `entry × Long Exit Multiplier` (default 1.14).
Short exit = `entry × Short Exit Multiplier` (default 0.915).
Risk controls:
Optional pricebased stoploss (disabled by default) via:
Long stop = `entry × Long Stop Factor` (default 0.73).
Short stop = `entry × Short Stop Factor` (default 1.05).
Directional filter:
“Market Direction” input lets you constrain entries to Market Neutral, Long Only, or Short Only.
Visuals:
“Ultra Glow” draws thin layered bands around upper/basis/lower; these do not affect signals.
> Note: Inputs exist for a timebased stop tracker in code, but this version exits via targets and (optional) price stop only.
Why it’s different / original
Explicit extreme + momentum pairing: Entries require simultaneous band breach and RSI exhaustion, aiming to avoid entries on gardenvariety volatility pokes.
Deterministic exits: Multiplier-based targets keep results auditable and reproducible across datasets and assets.
Minimal, unobtrusive visuals: Thin, layered glow preserves chart readability while communicating regime around the Bollinger structure.
Inputs you can tune
Bollinger: Length (default 205), Multiplier (default 2.2).
RSI: Length (default 23), Long/Short thresholds (28.3 / 88.4).
Targets: Long Exit Mult (1.14), Short Exit Mult (0.915).
Stops (optional): Enable/disable; Long/Short Stop Factors (0.73 / 1.05).
Market Direction: Market Neutral / Long Only / Short Only.
Visuals: Ultra Glow on/off, light bar tint, trade labels on/off.
How to use it
1. Timeframe & assets: Works on any symbol/timeframe; start with liquid majors and 60m–1D to establish baseline behavior, then adapt.
2. Calibrate thresholds:
Narrow/meanreverting markets often tolerate tighter RSI thresholds.
Fast/volatile markets may need wider RSI thresholds and stronger stop factors.
3. Pick realistic targets: The default multipliers are illustrative; tune them to reflect typical mean reversion distance for your instrument/timeframe (e.g., ATRinformed profiling).
4. Risk: If enabling stops, size positions so risk per trade ≤ 1–2% of equity (max 5–10% is a commonly cited upper bound).
5. Mode: Use Long Only or Short Only when your discretionary bias or higher timeframe model favors one side; otherwise Market Neutral.
Recommended publication properties (for backtests that don’t mislead)
When you publish, set your strategy’s Properties to realistic values and keep them consistent with this description:
Initial capital: 10,000 (typical retail baseline).
Commission: ≥ 0.05% (adjust for your venue).
Slippage: ≥ 2–3 ticks (or a conservative pertrade value).
Position sizing: Avoid risking > 5–10% equity per trade; fixedfractional sizing ≤ 10% or fixedcash sizing is recommended.
Dataset / sample size: Prefer symbols/timeframes yielding 100+ trades over the tested period for statistical relevance. If you deviate, say why.
> If you choose different defaults (e.g., capital, commission, slippage, sizing), explain and justify them here, and use the same settings in your publication.
Interpreting results & limitations
This is a countertrend approach; it can struggle in strong trends where band breaches compound.
Parameter sensitivity is real: thresholds and multipliers materially change trade frequency and expectancy.
No predictive claims: Past performance is not indicative of future results. The future is unknowable; treat outputs as decision support, not guarantees.
Suggested validation workflow
Try different assets. (TSLA, AAPL, BTC, SOL, XRP)
Run a walkforward across multiple years and market regimes.
Test several timeframes and multiple instruments. (30m Suggested)
Compare different commission/slippage assumptions.
Inspect distribution of returns, max drawdown, win/loss expectancy, and exposure.
Confirm behavior during trend vs. range segments.
Alerts & automation
This release focuses on chart execution and visualization. If you plan to automate, create alerts at your entry/exit conditions and ensure your broker/venue fills reflect your slippage/fees assumptions.
Disclaimer
This script is provided for educational and research purposes. It is not investment advice. Trading involves risk, including the possible loss of principal. © Tetrad Protocol.
Volume Rate of Change (VROC)# Volume Rate of Change (VROC)
**What it is:** VROC measures the rate of change in trading volume over a specified period, typically expressed as a percentage. Formula: `((Current Volume - Volume n periods ago) / Volume n periods ago) × 100`
## **Obvious Uses**
**1. Confirming Price Trends**
- Rising VROC with rising prices = strong bullish trend
- Rising VROC with falling prices = strong bearish trend
- Validates that price movements have conviction behind them
**2. Spotting Divergences**
- Price makes new highs but VROC doesn't = weakening momentum
- Price makes new lows but VROC doesn't = potential reversal
**3. Identifying Breakouts**
- Sudden VROC spikes often accompany legitimate breakouts from consolidation patterns
- Helps distinguish real breakouts from false ones
**4. Overbought/Oversold Conditions**
- Extreme VROC readings (very high or very low) suggest exhaustion
- Mean reversion opportunities when volume extremes occur
---
## **Non-Obvious Uses**
**1. Smart Money vs. Dumb Money Detection**
- Declining VROC during price rallies may indicate retail FOMO while institutions distribute
- Rising VROC during selloffs with price stability suggests institutional accumulation
**2. News Impact Measurement**
- Compare VROC before/after earnings or announcements
- Low VROC on "significant" news = market doesn't care (fade the move)
- High VROC = genuine market reaction (respect the move)
**3. Market Regime Changes**
- Persistent shifts in average VROC levels can signal transitions between bull/bear markets
- Declining baseline VROC over months = waning market participation/topping process
**4. Intraday Liquidity Profiling**
- VROC patterns across trading sessions identify best execution times
- Avoid trading when VROC is abnormally low (wider spreads, poor fills)
**5. Sector Rotation Analysis**
- Compare VROC across sector ETFs to identify where capital is flowing
- Rising VROC in defensive sectors + falling VROC in cyclicals = risk-off rotation
**6. Options Expiration Effects**
- VROC typically drops significantly post-options expiration
- Helps avoid false signals from mechanically-driven volume changes
**7. Algorithmic Activity Detection**
- Unusual VROC patterns (regular spikes at specific times) may indicate algo programs
- Can front-run or avoid periods of heavy algorithmic interference
**8. Liquidity Crisis Early Warning**
- Sharp, sustained VROC decline across multiple assets = liquidity withdrawal
- Can precede market stress events before price volatility emerges
**9. Cryptocurrency Wash Trading Detection**
- Comparing VROC across exchanges for same asset
- Discrepancies suggest artificial volume on certain platforms
**10. Pair Trading Optimization**
- Use relative VROC between correlated pairs
- Enter when VROC divergence is extreme, exit when it normalizes
The key to advanced VROC usage is context: combining it with price action, market structure, and other indicators rather than using it in isolation.
Order Flow RSI — Price / CVD / OIOrder Flow RSI blends three powerful market perspectives — Price , Cumulative Volume Delta (CVD) , and Open Interest (OI) — into one unified RSI-style oscillator.
It reveals momentum and imbalance across these data streams and highlights situations where participation, liquidity, and positioning disagree — moments that often precede reversals.
What it does
The indicator converts:
Price → RSI (classic momentum),
CVD → RSI (buy/sell pressure balance),
OI → RSI (position expansion/contraction)
…then plots all three RSIs together on the same 0–100 scale.
A fourth Consensus RSI (average of any two or all three) can optionally be shown to simplify the view.
Core logic
CVD engine – based on TradingView’s native volume-delta request.
Modes: Continuous (default, smooth line), Anchored (resets each session), Rolling window.
Open Interest – pulled automatically from the symbol’s “_OI” feed; aligns to chart timeframe for real-time flow.
RSI calculation – standard RSI applied to each data stream, optionally smoothed (SMA / EMA / RMA / WMA / VWMA).
Signals – optional background highlights when:
All three RSIs are overbought (red) or oversold (green), or
Any pair show opposite extremes (e.g., price overbought + OI oversold).
Consensus RSI – arithmetic mean of the selected RSIs, summarizing overall market tone.
Inputs overview
CVD settings: anchor period, lower-TF delta, mode, rolling length
RSI lengths: separate for price, CVD, OI
Smoothing: type + period applied to all RSIs at once
Consensus: choose which RSIs to average
Signals: enable/disable each combination; optional alerts
Levels: adjustable OB/MID/OS (default 70 / 50 / 30)
Visuals: fill between active RSIs, background highlights, level lines, colors in Style tab
How to read it
All 3 overbought (red): broad exhaustion → possible correction
All 3 oversold (green): broad depletion → possible bounce
Opposite pairs: divergence between price and participation
Price↑ but OI↓ (red) → weak rally, fading participation
Price↓ but CVD↑ (green) → hidden accumulation
Combine with structure and volume profile for confirmation.
Notes
Works best on assets with full CVD + OI data (futures, BTC, etc.).
Use Continuous CVD for smooth RSI, Anchored for session analysis.
Smoothing 2–5 EMA is a good starting point to reduce noise.
All styling (colors, line types, thickness) is adjustable in the Style tab.
Limitations & caveats
CVD requires accurate tick/volume/delta data from your data feed. Performance may differ across instruments.
OI availability varies by exchange / symbol. Where OI is absent, pairwise OI signals are not evaluated.
This indicator is a tool — it generates signals of interest, not guaranteed profitable trades. Backtest and combine with your risk rules.
Smoothing introduces lag; longer smoothing reduces noise but delays signals.
Order Flow RSI bridges traditional momentum analysis and order-flow context — giving a multi-dimensional view of when markets are truly stretched or quietly reloading.
Sometimes it works, sometimes it doesn't.
ATR-BHEEM-NOCHANGE-CANDLESCandles remain normal — removed barcolor(barCol)
ATR trailing stop line still shows trend direction (green/red)
Optional buy/sell labels added only when trend flips
Clean and ready for intraday 1-min charts
Real Relative Strength - RSRWAn advanced relative strength indicator that measures a security's true performance against a benchmark (default: SPY) by normalizing for volatility. Unlike traditional RS calculations that simply compare percentage changes, this indicator accounts for each security's typical volatility patterns to identify genuine institutional activity.
Key Innovation
Traditional relative strength has a critical flaw: it ignores volatility. A 1% move means different things for different stocks. This indicator solves this by:
ATR Normalization: Measures moves in terms of Average True Range, not raw percentages
Expected vs. Actual: Calculates what the security should have done given market movement, then measures deviation
Rolling Average Smoothing: Filters out single-candle spikes (like large orders) and rewards consistent strength patterns
Core Formula
Power Index = Benchmark Move / Benchmark ATR
RRS = (Security Move - Power Index × Security ATR) / Security ATR
Final RRS = SMA(RRS, smoothing_length)
Inputs
Compare With: Benchmark security (default: SPY)
Length: Lookback period (default: 12)
Smoothing Length: Moving average for noise reduction (default: 3)
Visual Display
Green line: Relative strength (outperforming benchmark)
Red line: Relative weakness (underperforming benchmark)
Gray baseline: Zero line (neutral performance)
Interpretation
Positive RRS: Outperforming beyond what volatility would predict → institutional buying
Negative RRS: Underperforming beyond normal expectations → distribution
Near Zero: Moving as expected with the market
Use Cases
Identifying stocks with sustained institutional interest
Finding breakout candidates with genuine strength
Monitoring portfolio positions for relative weakness
Understanding true price action independent of market noise
License
Mozilla Public License 2.0
© WorkPiece 12.28.21 OMXS30 | Modified with rolling average smoothing
1W Overlay (triss)Overlay of the Weekly candle, simple one color with a line inside the candle to show direction.
Sessions Candle Colors1. Candle Display Mode
Choose how your candles are rendered:
Normal – Standard bullish/bearish candles with theme-based colors.
Normal – Single – Candles displayed in a single neutral tone.
Session – Candles colored by active trading sessions.
Session – Single – Session-based candles in a single tone.
None – Disables custom candles (useful if you prefer chart elements only).
2. Theme: Normal Candles
Includes a curated set of themes for standard candles.
Default: Light – BW
Available Themes:
Dark – Prime
Dark – Violet
Dark – Ice
Dark – Bronze
Dark – BW
Light – BW
Light – ICT (Inner Circle Trader)
Light – S&F (Set and Forget)
3. Theme: Session Candles
Custom palettes for session-based modes:
Light – AnandaDivine
Light – WealthFRX
Note: “Light” and “Dark” indicate which chart background the theme is optimized for.
4. Hide Gaps
Enables a custom gapless mode by forcing each candle’s open to match the previous close.
This option helps maintain visual continuity on charts with irregular price feeds.
Tip: For best results, disable TradingView’s built-in candles under chart settings before enabling this indicator.
Cumulative Volume Delta Z Score [BackQuant] editmore GUI inputs, cosmetic inputs, uses ATR dynamic levels, concise for low compute overhead
Fish OrbThis indicator marks and tracks the first 15-minute range of the New York session open (default 9:30–9:45 AM ET) — a critical volatility period for futures like NQ (Nasdaq).
It helps you visually anchor intraday price action to that initial opening range.
Core Functionality
1. Opening Range Calculation
It measures the High, Low, and Midpoint of the first 15 minutes after the NY market opens (default 09:30–09:45 ET).
You can change the window or timezone in the inputs.
2. Visual Overlays
During the 15-minute window:
A teal shaded box highlights the open range period.
Live white lines mark the current High and Low.
A red line marks the midpoint (mid-range).
These update in real-time as each bar forms.
3. Post-Window Behavior
When the 15-minute window ends:
The High, Low, and Midpoint are locked in.
The indicator draws persistent horizontal lines for those values.
4. Historical Days
You can keep today + a set number of previous days (configurable via “Previous Days to Keep”).
Older days automatically delete to keep charts clean.
5. Line Extension Control
Each day’s lines extend to the right after they form.
You can toggle “Stop Lines at Next NY Open”:
ON: Yesterday’s lines stop exactly at the next NY session open (09:30 ET).
OFF: Lines extend indefinitely across the chart.
TT ToniTrading Adjustable Price Fee Band [%]Simple but perfectly functional indicator with Trading fee bands.
Crypto Trading is with fees and very small trades often don't make sense due to the fees we need to pay. With this band you can visualize your fees before entering a trade and take smarter decisions for tight daytrading and scalping.
You type in the fee for just one trade, the Taker Fee for a Market Order. The bands show the fees in % times 2, so what you will pay for opening and closing the trade in reality. The band therefore shows the real break-even point, with included payed fees.
It additionally helps taking trading decisions or not with very small trades (Scalping).
You can smooth the bands if you want and you can addtionally show the true datapoints if you prefer smoothend bands. I recommend no bigger smoothing than 2, if you don't want to show the datapoints. Additionally you can fill the band, and of course adjust transperency, colour and all the general TradingView stuff.
Fee Overview in the current market for the indicator input field:
BingX with 10% fee reduction code = 0,045 %
BingX: Normal = 0,050 %
Bitget, ByBit, BitUnix, Blofin, Phemex: Normal = 0,060 %
Bitget, ByBit, BitUnix, Blofin, Phemex: with 20% fee reduction code = 0,048 %
Have fun Trading, Happy Profits!
Greetings
ToniTrading
Session High/LowWhat it does:
Plots the High and Low of three sessions—Asia (19:00–02:00), London (02:00–08:00), New York (09:30–16:00)—all in UTC-4. After a session closes, it draws a horizontal line starting at the bar where the level first formed, extends it live to the current bar, and shows a label at the line’s end. If price sweeps the level (by wick or close, configurable), the line stops at that bar.
Settings: show/hide sessions, sweep on close toggle, how many past sessions to keep, line style/width, colors per session, and custom label text.
Works on any timeframe. Note: session times are fixed to UTC-4 (adjust if your market uses DST).
Cluster Search This indicator highlights areas of unusually high trading volume compared to the recent average, helping to identify moments when strong activity enters the market.
XAUUSD 5-Min ORB + FVG (09:30–10:30, 1/day, 5% risk, ORB SL)5 min orb stratgey thta buys when it breaks above the range and sells when it breaks below
Candle Body Break (M/W/D/4H/1H)v5# Candle Body Break (M/W/D/4H/1H) Multi-Timeframe Indicator
This indicator identifies and plots **Candle Body Breaks** across five key timeframes: Monthly (M), Weekly (W), Daily (D), 4-Hour (4H), and 1-Hour (1H).
## Core Logic: Candle Body Break
The core concept is a break in the swing high/low defined by the body of the previous counter-trend candle(s). It focuses purely on **closing price breaks** of remembered highs/lows established by full candle bodies (close > open or close < open).
1. **Remembering the Swing:**
* After a bullish break (upward trend), the indicator waits for the first **bearish (close < open) candle** to appear. This bearish candle's high (`rememberedHigh`) and low (`rememberedLow`) are saved as the **breakout level**.
* Subsequent bearish candles that make a new low update this saved level, continuously adjusting the level to the most significant recent resistance/support established by the body's range.
2. **Executing the Break:**
* **Bull Break (Long signal):** Occurs when a **bullish candle's closing price** exceeds the last remembered bearish high (`rememberedHigh`).
* **Bear Break (Short signal):** Occurs when a **bearish candle's closing price** falls below the last remembered bullish low (`rememberedLow_Bull`).
Once a break occurs, the memory is cleared, and the indicator waits for the next counter-trend candle to establish a new level.
## Features
* **Multi-Timeframe Analysis:** Displays break lines and labels for M, W, D, 4H, and 1H timeframes on any chart.
* **Timeframe Filtering:** Break lines are only shown for timeframes **equal to or higher** than the current chart timeframe (e.g., on a 4H chart, only 4H, D, W, and M breaks are displayed).
* **Candidate Lines (Dotted Green):** Plots the current potential breakout level (the remembered high/low) that must be broken to trigger the next signal.
* **Direction Table:** A table in the top right corner summarizes the latest break direction (⇧ Up / ⇩ Down) for all five timeframes. This can be optionally limited to the 4H chart only.
* **1H Alert:** Triggers an alert when a 1-Hour break is detected.
## Input Settings Translation (for Mod Compliance)
| English Input Text | Original Japanese Text |
| :--- | :--- |
| **Show Monthly Break Lines** | 月足ブレイクを描画する |
| **Show Weekly Break Lines** | 週足ブレイクを描画する |
| **Show Daily Break Lines** | 日足ブレイクを描画する |
| **Show 4-Hour Break Lines** | 4時間足ブレイクを描画する |
| **Show 1-Hour Break Lines** | 1時間足ブレイクを描画する |
| **Show Monthly Candidate Lines** | 月足ブレイク候補ラインを描画する |
| **Show Weekly Candidate Lines** | 週足ブレイク候補ラインを描画する |
| **Show Daily Candidate Lines** | 日足ブレイク候補ラインを描画する |
| **Show 4-Hour Candidate Lines** | 4時間足ブレイク候補ラインを描画する |
| **Show 1-Hour Candidate Lines** | 1時間足ブレイク候補ラインを描画する |
| **Show Only Current TF Candidate Lines** | チャート時間足の候補ラインのみ表示 |
| **Show Table Only on 4H Chart** | テーブルを4Hチャートのみ表示 |
*Please note: The default alert message "1-Hour Break Detected" is also in English.*
※日本語訳
ろうそく足実体ブレイク(M/W/D/4H/1H)マルチタイムフレーム・インジケーター(日本語訳)
このインジケーターは、月足(M)、週足(W)、日足(D)、4時間足(4H)、1時間足(1H)の5つの主要な時間足におけるろうそく足実体ブレイクを検出し、プロットします。
コアロジック:ろうそく足実体ブレイク
このロジックの中核は、直近の**逆行ろうそく足(カウンター・トレンド・キャンドル)**の実体によって定義されたスイングの高値/安値のブレイクです。終値が実体のレンジ外で確定することを純粋に追跡します。
スイングの記憶(Remembering the Swing):
強気のブレイク(上昇トレンド)の後、インジケーターは最初に現れる弱気(終値<始値)のろうそく足を待ちます。この弱気ろうそく足の高値(rememberedHigh)と安値(rememberedLow)が、ブレイクアウトレベルとして保存されます。
その後、安値を更新する弱気ろうそく足が続いた場合、この保存されたレベルが更新され、実体のレンジによって確立された最新の重要なレジスタンス/サポートにレベルが継続的に調整されます。
ブレイクの実行(Executing the Break):
ブルブレイク(買いシグナル): 最後に記憶された弱気ろうそく足の高値(rememberedHigh)を、強気ろうそく足の終値が上回ったときに発生します。
ベアブレイク(売りシグナル): 最後に記憶された強気ろうそく足の安値(rememberedLow_Bull)を、弱気ろうそく足の終値が下回ったときに発生します。
一度ブレイクが発生すると、記憶されたレベルはクリアされ、インジケーターは次の逆行ろうそく足が出現し、新しいレベルを確立するのを待ちます。
機能
マルチタイムフレーム分析: 現在のチャートの時間足に関わらず、M、W、D、4H、1Hのブレイクラインとラベルを表示します。
時間足フィルタリング: ブレイクラインは、現在のチャート時間足と同じか、それよりも上位の時間足のもののみが表示されます(例:4時間足チャートでは、4H、D、W、Mのブレイクのみが表示されます)。
候補ライン(緑の点線): 次のシグナルをトリガーするためにブレイクされる必要がある、現在の潜在的なブレイクアウトレベル(記憶された高値/安値)をプロットします。
方向テーブル: 右上隅のテーブルに、5つの全時間足の最新のブレイク方向(⇧ 上昇 / ⇩ 下降)をまとめて表示します。これは、オプションで4時間足チャートのみに表示するように制限できます。
1時間足アラート: 1時間足のブレイクが検出されたときにアラートをトリガーします。
入力設定の翻訳
コード内の入力設定(UIテキスト)の日本語訳は以下の通りです。
英語の入力テキスト 日本語訳
Show Monthly Break Lines 月足ブレイクを描画する
Show Weekly Break Lines 週足ブレイクを描画する
Show Daily Break Lines 日足ブレイクを描画する
Show 4-Hour Break Lines 4時間足ブレイクを描画する
Show 1-Hour Break Lines 1時間足ブレイクを描画する
Show Monthly Candidate Lines 月足ブレイク候補ラインを描画する
Show Weekly Candidate Lines 週足ブレイク候補ラインを描画する
Show Daily Candidate Lines 日足ブレイク候補ラインを描画する
Show 4-Hour Candidate Lines 4時間足ブレイク候補ラインを描画する
Show 1-Hour Candidate Lines 1時間足ブレイク候補ラインを描画する
Show Only Current TF Candidate Lines チャート時間足の候補ラインのみ表示
Show Table Only on 4H Chart テーブルを4Hチャートのみ表示
Alert Message: 1-Hour Break Detected アラートメッセージ: 1時間足ブレイク発生