Breakout buy and sell//@version=6
indicator("突破 + 反轉指標(嚴格版)", overlay=true)
// 均線計算
ma5 = ta.sma(close, 5)
ma20 = ta.sma(close, 20)
ma_cross_up = ta.crossover(ma5, ma20)
ma_cross_down = ta.crossunder(ma5, ma20)
// 成交量判斷(嚴格:放量 1.5 倍以上)
vol = volume
vol_avg = ta.sma(vol, 20)
vol_increase = vol > vol_avg * 1.5
// 價格突破(嚴格:創 20 根新高/新低)
price_breakout_up = close > ta.highest(close, 20)
price_breakout_down = close < ta.lowest(close, 20)
// KDJ 隨機指標(抓反轉)
k = ta.stoch(close, high, low, 14)
d = ta.sma(k, 3)
kd_cross_up = ta.crossover(k, d)
kd_cross_down = ta.crossunder(k, d)
// 時間過濾(美股正規交易時段)
isRegularSession = (hour >= 14 and hour < 21) or (hour == 21 and minute == 0)
// 冷卻時間(避免連續訊號)
var int lastEntryBar = na
var int lastExitBar = na
entryCooldown = na(lastEntryBar) or (bar_index - lastEntryBar > 5)
exitCooldown = na(lastExitBar) or (bar_index - lastExitBar > 5)
// 嚴格進場條件
entryBreakout = ma_cross_up and vol_increase and price_breakout_up
entryReversal = kd_cross_up
entrySignal = (entryBreakout or entryReversal) and isRegularSession and entryCooldown
// 嚴格出場條件
exitBreakdown = ma_cross_down and vol_increase and price_breakout_down
exitReversal = kd_cross_down
exitSignal = (exitBreakdown or exitReversal) and isRegularSession and exitCooldown
// 更新冷卻時間
if entrySignal
lastEntryBar := bar_index
if exitSignal
lastExitBar := bar_index
// 顯示訊號
plotshape(entrySignal, location=location.belowbar, color=color.green, style=shape.labelup, title="進場訊號", text="買入")
plotshape(exitSignal, location=location.abovebar, color=color.red, style=shape.labeldown, title="出場訊號", text="賣出")
// 均線顯示
plot(ma5, color=color.orange, title="5MA")
plot(ma20, color=color.blue, title="20MA")
// 提醒條件(alertcondition)
alertcondition(entrySignal, title="買入訊號", message="出現買入訊號")
alertcondition(exitSignal, title="賣出訊號", message="出現賣出訊號")
Indicatori e strategie
PnL PortfolioThis script allows you to input the details for up to 20 active positions across various trading pairs or markets. Stop manually calculating your trades—get instant, real-time feedback on your performance.
Key Features:
Multi-Pair Tracking: Monitor up to 20 unique symbols simultaneously.
Required Inputs: Easily define the Symbol, Entry Price, and Position Quantity (size) for each trade in the indicator settings.
Real-Time PnL: Instantly calculates and displays two critical metrics based on the current market price:
% PnL (Percentage Profit/Loss)
Absolute Profit/Loss (in currency)
Color-Coded Feedback: The PnL columns are color-coded (green/teal for profit, red/maroon for loss) for immediate visual confirmation of your trade health.
Customizable Layout: Choose where the dashboard table appears on your chart (top-left, top-right, bottom-left, or bottom-right) to keep your trading view clean.
This is an essential overlay for any trader managing multiple active positions and needing a consolidated, easy-to-read overview.
Algo Trading Signals - Buy/Sell System# 📊 Algo Trading Signals - Dynamic Buy/Sell System
## 🎯 Overview
**Algo Trading Signals** is a sophisticated intraday trading indicator designed for algorithmic traders and active day traders. This system generates precise buy and sell signals based on a dynamic box breakout strategy with intelligent position management, add-on entries, and automatic target adjustment.
The indicator creates a reference price box during a specified time window (default: 9:15 AM - 9:45 AM IST) and generates high-probability signals when price breaks out of this range with confirmation.
---
## ✨ Key Features
### 📍 **Smart Signal Generation**
- **Primary Entry Signals**: Clear buy/sell signals on confirmed breakouts above/below the reference box
- **Confirmation Bars**: Reduces false signals by requiring multiple bar confirmation before entry
- **Cooldown System**: Prevents overtrading with configurable cooldown periods between trades
- **Add-On Positions**: Automatically identifies optimal pullback entries for scaling into positions
### 📦 **Dynamic Reference Box**
- Creates a high/low range during your chosen time window
- Automatically updates after each successful trade
- Visual box display with color-coded boundaries (red=resistance, green=support)
- Mid-level reference line for market structure analysis
### 🎯 **Intelligent Position Management**
- **Automatic Target Calculation**: Sets profit targets based on average move distance
- **Add-On System**: Up to 3 additional entries on optimal pullbacks
- **Position Tracking**: Monitors active trades and remaining add-on capacity
- **Auto Box Shift**: Adjusts reference box after target hits for continued trading
### 📊 **Visual Clarity**
- **Color-Coded Labels**:
- 🟢 Green for BUY signals
- 🔴 Red for SELL signals
- 🔵 Blue for ADD-ON buys
- 🟠 Orange for ADD-ON sells
- ✓ Yellow for Target hits
- **TP Level Lines**: Dotted lines showing current profit targets
- **Hover Tooltips**: Detailed information on entry prices, targets, and add-on numbers
### 📈 **Real-Time Statistics**
Live performance dashboard showing:
- Total buy and sell signals generated
- Number of add-on positions taken
- Take profit hits achieved
- Current trade status (LONG/SHORT/None)
- Cooldown timer status
### 🔔 **Comprehensive Alerts**
Built-in alert conditions for:
- Primary buy entry signals
- Primary sell entry signals
- Add-on buy positions
- Add-on sell positions
- Buy take profit hits
- Sell take profit hits
---
## 🛠️ Configuration Options
### **Time Settings**
- **Box Start Hour/Minute**: Define when to begin tracking the reference range
- **Box End Hour/Minute**: Define when to lock the reference box
- **Default**: 9:15 AM - 9:45 AM (IST) - Perfect for Indian market opening range
### **Trade Settings**
- **Target Points (TP)**: Average move distance for profit targets (default: 40 points)
- **Breakout Confirmation Bars**: Number of bars to confirm breakout (default: 2)
- **Cooldown After Trade**: Bars to wait after closing position (default: 3)
- **Add-On Distance Points**: Minimum pullback for add-on entry (default: 40 points)
- **Max Add-On Positions**: Maximum additional positions allowed (default: 3)
### **Display Options**
- Toggle buy/sell signal labels
- Show/hide trading box visualization
- Show/hide TP level lines
- Show/hide statistics table
---
## 💡 How It Works
### **Phase 1: Box Formation (9:15 AM - 9:45 AM)**
The indicator tracks the high and low prices during your specified time window to create a reference box representing the opening range.
### **Phase 2: Breakout Detection**
After the box is locked, the system monitors for:
- **Bullish Breakout**: Price closes above box high for confirmation bars
- **Bearish Breakout**: Price closes below box low for confirmation bars
### **Phase 3: Signal Generation**
When confirmation requirements are met:
- Entry signal is generated with clear visual label
- Target price is calculated (Entry ± Target Points)
- Position tracking activates
- Cooldown timer starts
### **Phase 4: Position Management**
During active trade:
- **Add-On Logic**: If price pulls back by specified distance but stays within favorable range, additional entry signal fires
- **Target Monitoring**: Continuously checks if price reaches TP level
- **Box Adjustment**: After TP hit, box automatically shifts to new range for next opportunity
### **Phase 5: Trade Exit & Reset**
On target hit:
- Position closes with TP marker
- Statistics update
- Box repositions for next setup
- Cooldown activates
- System ready for next signal
---
## 📌 Best Use Cases
### **Ideal For:**
- ✅ Intraday breakout trading strategies
- ✅ Algorithmic trading systems (via alerts/webhooks)
- ✅ Opening range breakout (ORB) strategies
- ✅ Index futures (Nifty, Bank Nifty, Sensex)
- ✅ High-liquidity stocks with clear ranges
- ✅ Automated trading bots
- ✅ Scalping and day trading
### **Markets:**
- Indian Stock Market (NSE/BSE)
- Futures & Options
- Forex pairs
- Cryptocurrency (adjust timing for 24/7 markets)
- Global indices
---
## ⚙️ Integration with Algo Trading
This indicator is **algo-ready** and can be integrated with automated trading systems:
1. **TradingView Alerts**: Set up alert conditions for each signal type
2. **Webhook Integration**: Connect alerts to trading platforms via webhooks
3. **API Automation**: Use with brokers supporting TradingView integration (Zerodha, Upstox, Interactive Brokers, etc.)
4. **Signal Data Access**: All signals are plotted for external data retrieval
---
## 📖 Quick Start Guide
1. **Add Indicator**: Apply to your chart (works best on 1-5 minute timeframes)
2. **Configure Time Window**: Set your desired box formation period
3. **Adjust Parameters**: Tune confirmation bars, targets, and add-on settings to your trading style
4. **Set Alerts**: Create alert conditions for automated notifications
5. **Backtest**: Review historical signals to validate strategy performance
6. **Go Live**: Enable alerts and start receiving real-time trading signals
---
## ⚠️ Risk Disclaimer
This indicator is a **tool for analysis** and does not guarantee profits. Trading involves substantial risk of loss. Always:
- Use proper position sizing
- Implement stop losses (not included in this indicator)
- Test thoroughly before live trading
- Understand market conditions
- Never risk more than you can afford to lose
- Consider your risk tolerance and trading experience
**Past performance does not indicate future results.**
## 🔄 Version History
**v1.0** - Initial Release
- Dynamic box formation system
- Confirmed breakout signals
- Add-on position management
- Visual signal labels and statistics
- Comprehensive alert system
- Auto-adjusting target boxes
---
## 📞 Support & Feedback
If you find this indicator helpful:
- ⭐ Please leave a like/favorite
- 💬 Share your feedback in comments
- 📊 Share your results and improvements
- 🤝 Suggest features for future updates
---
## 🏷️ Tags
`breakout` `daytrading` `signals` `algo` `automated` `intraday` `ORB` `opening-range` `buy-sell` `scalping` `futures` `nifty` `banknifty` `algorithmic` `box-strategy`
*Remember: The best indicator is combined with proper risk management and trading discipline.* Use it at your own rist, not as financial advie
Multi-Symbol and Multi-Timeframe Supertrend Screener [Pineify]Multi-Symbol and Multi-Timeframe Supertrend Screener
Advanced Supertrend screener for TradingView that monitors 6 symbols across 4 timeframes simultaneously. Features customizable ATR periods, visual alerts, and color-coded trend direction displays for efficient market scanning.
Key Features
The Supertrend Screener is a comprehensive multi-symbol market monitoring tool that displays Supertrend indicator signals across multiple assets and timeframes in a single, organized table view. This screener eliminates the need to manually check individual charts by providing real-time trend analysis for up to 6 symbols across 4 different timeframes simultaneously.
How It Works
The screener utilizes the proven Supertrend indicator methodology, which combines Average True Range (ATR) and price action to determine trend direction. The core calculation involves:
Computing the ATR using a customizable period (default: 10)
Applying a multiplication factor (default: 3.0) to create dynamic support/resistance levels
Determining trend direction based on price position relative to these levels
Displaying results through color-coded cells with customizable text labels
The indicator employs the request.security() function to fetch data from multiple symbols and timeframes, ensuring accurate cross-market analysis without chart switching.
Trading Ideas and Insights
This screener excels in several trading scenarios:
Market Overview: Quickly assess overall market sentiment across major cryptocurrencies or forex pairs
Trend Confirmation: Verify trend alignment across multiple timeframes before entering positions
Divergence Spotting: Identify when shorter timeframes diverge from longer-term trends
Opportunity Scanning: Locate assets showing consistent trend direction across all monitored timeframes
Risk Management: Monitor multiple positions simultaneously to spot potential trend reversals
The screener is particularly effective for swing traders and position traders who need to monitor multiple assets without constantly switching between charts.
How Multiple Indicators Work Together
While this screener focuses specifically on the Supertrend indicator, it incorporates several complementary technical analysis components:
ATR Foundation: Uses Average True Range to adapt to market volatility, making the indicator responsive to current market conditions
Multi-Timeframe Analysis: Combines signals from 1-minute, 5-minute, 10-minute, and 30-minute timeframes to provide comprehensive trend perspective
Price Action Integration: The Supertrend calculation inherently incorporates price action by using high, low, and close values
Volatility Adjustment: The ATR-based calculation ensures the indicator adapts to different volatility regimes across various assets
The synergy between these elements creates a robust screening system that accounts for both momentum and volatility , providing more reliable trend identification than single-timeframe analysis.
Unique Aspects
Several features distinguish this screener from standard Supertrend implementations:
Table-Based Display: Presents data in an organized, space-efficient format rather than overlay plots
Customizable Visual Elements: Full control over text labels, colors, and background styling
Multi-Asset Capability: Monitors 6 different symbols simultaneously without performance degradation
Efficient Resource Usage: Optimized code structure minimizes calculation overhead
Professional Presentation: Clean, institutional-grade visual design suitable for trading desks
How to Use
Symbol Configuration: Input your desired symbols in the Symbol section (default includes major crypto pairs)
Timeframe Setup: Configure four timeframes for analysis (default: 1m, 5m, 10m, 30m)
Supertrend Parameters: Adjust the Factor (sensitivity) and ATR Period according to your trading style
Visual Customization: Set custom text labels and colors for up/down trends
Market Analysis: Monitor the table for consistent signals across timeframes and symbols
Interpretation Guide:
- Green cells indicate uptrend (price above Supertrend line)
- Red cells indicate downtrend (price below Supertrend line)
- Look for alignment across multiple timeframes for stronger signal confidence
Customization
The screener offers extensive customization options:
Factor Setting: Adjust sensitivity (higher values = less sensitive, fewer signals)
ATR Period: Modify lookback period for volatility calculation
Text Labels: Customize up/down trend display text
Color Scheme: Full RGB color control for text and background elements
Symbol Selection: Monitor any TradingView-supported symbols
Timeframe Array: Choose any four timeframes for comprehensive analysis
Conclusion
The Supertrend Screener transforms traditional single-chart analysis into an efficient, multi-dimensional market monitoring system. By combining the reliability of the Supertrend indicator with multi-timeframe and multi-symbol capabilities, this tool empowers traders to make more informed decisions with greater market context.
Whether you're managing multiple positions, scanning for new opportunities, or confirming trend direction before entries, this screener provides the comprehensive overview needed for professional trading operations. The clean interface and customizable features make it suitable for traders of all experience levels while maintaining the analytical depth required for serious market analysis.
Perfect for day traders, swing traders, and anyone requiring efficient multi-market trend monitoring in a single view.
Chikou (Lagging line) vs Price26, IchimokuFor Ichimoku strategy in chart or/also in screens.
Checks if Lagging line actual value is above or below price 26 periods ago.
In superchart label is shown describing if over or below. Colour green/red.
/Håkan from Sweden
30 Day HighDisplay the 30 day high on the chart, based on the highest high (as opposed to the highest close).
Triple RSI Strategy @AshokTrendThe Triple RSI Strategy is a trading approach that uses three separate Relative Strength Index (RSI) indicators, typically set to different periods, to generate buy and sell signals with potentially higher accuracy. It aims to filter false signals and improve the probability of successful trades by confirming conditions across multiple timeframes or sensitivity levels.
How the Triple RSI Strategy Works:
Different RSI Periods: Usually set with short, medium, and long periods (e.g., 5, 14, and 30).
Buy Signal: When all three RSIs indicate oversold conditions (below a certain threshold like 30) and show upward momentum.
Sell Signal: When all three RSIs indicate overbought conditions (above a certain threshold like 70) and show downward momentum.
Confirmation: The strategy often confirms signals when the shorter RSI crosses its own previous value or an opposite threshold.
Benefits:
Reduces false signals by requiring multiple conditions.
Suitable for trending or ranging markets, depending on parameters.
Customizable for different assets and timeframes.
Concepts used-
SMC
Trendline Breakout,
Suitable for Long traders.
⦁ Disclaimer: The content in this Article is for educational purposes only and should not be considered financial advice. We are not SEBI-registered advisors. Options trading is highly volatile and carries significant risk. Consult a qualified financial advisor before making any investment decisions.. About Us: We provide educational content on trading strategies and market analysis.
Connect With Us: For business inquiries, email us at: customercare@eamzn.in
For our trading course,
contact us on WhatsApp:
Backtesting Services: We offer strategy backtesting on TradingView.
Contact us for details.
TLM HTF CandlesTLM HTF Candles
Higher timeframe candles displayed on your current chart, optimized for The Lab Model (TLM) trading methodology.
What It Does
Plots up to 6 HTF candles side-by-side on the right of your chart with automatic swing detection, expansion bias coloring, and a quick-reference info table. Watch multiple timeframes at once without switching charts.
Swing Detection - Solid lines for confirmed swings, dashed for potential swings. Detects when HTF levels get swept and rejected.
Expansion Bias - Candles colored green (bullish), red (bearish), or orange (conflicted) based on 3-candle patterns showing expected price expansion.
HTF Info Table - Compact dashboard showing time to close, active swings, and expansion direction for all timeframes. Toggle dark/light mode.
Equilibrium Lines - 50% midpoint from previous candle to current, great for mean reversion targets.
Based on "ICT HTF Candles" by @fadizeidan -
Heavily customized with swing analysis, expansion patterns, and info table for TLM trading concepts.
EMA Trend Buy sell strategyThis strategy is built to help investors get into a trend safely and smartly — without rushing and without getting in and out too often.
When to Buy:
First Signal – Small Step In (50% Buy)
When the short-term trend (EMA 18) turns positive and goes above the medium trend (EMA 33),
👉 we buy half of our planned position.
This is an early warning that a new upward trend might be starting.
Second Signal – Full Confidence (Buy other 50%)
If the medium-term trend (EMA 33) also crosses above the long-term (EMA 50),
👉 we buy the other half of the position.
Now we’re more confident that the trend is real.
When to Sell:
First Warning – Reduce Position (Sell 50%)
If EMA 33 falls below EMA 50,
👉 we sell half of the position to reduce risk.
Trend Reversal – Exit Completely (Sell the rest)
If EMA 18 also falls below EMA 33,
👉 we sell the remaining half and leave the trade fully.
Why This Strategy?
📉 We don’t jump in all at once.
→ We wait for confirmation before going full in.
⏳ We stay in the trade as long as the trend is healthy.
→ No overtrading or reacting to small moves.
📊 We get out slowly, not suddenly.
→ This helps protect profits and avoid emotional decisions.
Daily Pivot Points - Fixed Until Next Day(GeorgeFutures)We have a pivot point s1,s2,s3 and r1,r2,r3 base on calcul matematics
RSI VWAP v1 [JopAlgo]RSI VWAP v1 — the classic RSI, made a bit smarter and volume-aware
We know there’s nothing new under the sun and the original RSI already does a great job. But we’re always chasing small, practical improvements—so here’s our take on RSI. Same core idea, clearer visuals, and the option to make it volume-oriented via VWAP smoothing. Prefer the traditional feel? SMA and EMA are still here—pick and compare what fits your market and timeframe. We hope this version genuinely makes your decisions easier.
What you’ll see
The RSI line with 70 / 50 / 30 rails and subtle background.
A smoothing line you can choose: VWAP, SMA, or EMA (drawn over RSI).
Shading that shows RSI vs. its smoothing (above = green tone, below = red tone).
Optional OB/OS highlight (only the portion above 70 / below 30).
Optional divergence detection & alerts (off by default to keep things light).
What’s new, and why it helps
1) VWAP-based RSI smoothing
Instead of smoothing RSI with a plain MA, you can use VWAP computed on RSI. That brings participation (volume) into the picture, which often reads momentum quality better—especially in crypto or during news hours.
2) Adaptive blending for stability
Low-volume periods: gently blends VWAP → EMA so signals don’t get brittle when participation is thin.
Volume spikes (anti-auction): tempers overreactions by blending toward EMA when z-score of volume is extreme.
Reliability guard: if volume looks unreliable, the script can auto-fallback to EMA to keep readings consistent.
3) Clean, readable visuals
A quick glance tells you regime (50 line), trigger (RSI vs. its smoothing), and stretch (70/30). No clutter.
4) Divergence on demand
Regular bullish/bearish divergence detection and alerts are opt-in. If you use them, toggle on; if not, the indicator stays lightweight.
Read it fast (checklist)
Regime: RSI ≥ 50 = bullish bias; ≤ 50 = bearish bias.
Trigger: look for RSI crossing its smoothing in the direction of the regime.
Stretch: near 70/30, avoid chasing; prefer a retest/hold.
Volume context: if the panel falls back to EMA, treat the flow signal as less reliable for the moment.
Simple playbook
Trend-pullback (continuation)
RSI ≥ 50 and RSI crosses up its smoothing → long bias.
Best at real levels (see “Location first” below), not in the middle of nowhere.
Reclaim / reject at a level
Near 70, weak candles and RSI back under its smoothing → mean-revert toward the middle.
Mirror this near 30 for longs.
Divergence as a secondary check
Start with regime + trigger; use divergence only as extra confirmation, especially on 4H/D.
Location first, always
Your timing improves dramatically at objective references: Volume Profile v3.2 (VAH/VAL/POC/LVNs) and Anchored VWAP (session/weekly/event).
No level, no trade. RSI helps time, levels define edge.
Settings that actually matter
RSI Length (default 14)
Lower = faster, noisier; higher = smoother, fewer signals.
Smoothing Type
EMA: fastest trigger; good for intraday.
SMA: calmer bias; popular for swing.
VWAP: volume-weighted RSI baseline; great when participation matters.
VWAP Length & adaptive blend
Too jittery? lengthen VWAP or reduce max blend.
Too sluggish? shorten VWAP or allow a bit more blend.
Anti-auction Z-score thresholds
Higher values = intervenes less often; lower = tames spikes sooner.
Divergence toggle
Enable only if you actually want divergence markers/alerts.
Signal gating (ignore first bars)
Markets can be noisy right after sessions turn. Delay signals a few bars if you prefer clean reads.
Starter presets
Scalp (1–5m): RSI 9–12, EMA smoothing, short lengths.
Intraday (15m–1H): RSI 10–14, EMA or VWAP smoothing.
Swing (4H–1D): RSI 14–20, SMA or VWAP, modest blend.
Works even better with other tools
Volume Profile v3.2: take triggers at VAH/VAL/POC/LVNs; target HVNs or prior swing.
Anchored VWAP: clean reclaims/rejections plus RSI regime + trigger = higher-quality entries.
(Optional) CVDv1: if aggressor flow aligns with your RSI signal, conviction improves.
Common mistakes this version helps avoid
Taking every RSI cross without levels.
Chasing near 70/30 without a retest.
Over-trusting RSI during extreme volume spikes or illiquid patches (the blend/fallback guards against this).
Disclaimer
This indicator and write-up are for educational purposes only and not financial advice. Trading involves risk; results vary by market, instrument, and settings. Backtest first, act at defined levels, and manage risk. No guarantees or warranties are provided.
VWAP Deviation Scalper MTFVWAP Deviation Scalper MTF
A multi-timeframe VWAP scalping indicator that combines Fibonacci deviation zones with trend filtering for cleaner entry signals.
What it does:
Uses anchored VWAP with customizable Fibonacci extensions (default 1.618 and 2.618) to identify reversal zones
Filters trades using a weekly VWAP - only shows long signals above the weekly trend and shorts below it
Colors candles green/red on signal bars for instant visual confirmation
Highlights the channel between your main VWAP and weekly filter with subtle gradient fills
Default settings:
12-hour VWAP anchor (adjustable to any timeframe)
Weekly VWAP trend filter (can be toggled off)
Minimum deviation threshold to filter out weak signals
Clean visual design with optional Fib extensions
Best for:
Scalpers and day traders who want high-probability entries aligned with the higher timeframe trend. Works well on crypto and liquid markets on 5m-1h charts.
The indicator includes alerts for both long and short entries, plus optional exit signals. All colors and settings are fully customizable.
Squeeze Backtest by Shaqi v2.0Script to backtest price squeeze's. Works on long and short directions
Bitcoin Cycle History Visualization [SwissAlgo]BTC 4-Year Cycle Tops & Bottoms
Historical visualization of Bitcoin's market cycles from 2010 to present, with projections based on weighted averages of past performance.
-----------------------------------------------------------------
CALCULATION METHODOLOGY
Why Bottom-to-Bottom Cycle Measurement?
This indicator defines cycles as bottom-to-bottom periods. This is one of several valid approaches to Bitcoin cycle analysis:
- Focuses on market behavior (price bottoms) rather than supply schedule events (halving-to-halving)
- Bottoms may offer good reference points for some analytical purposes
- Tops tend to be extended periods that are harder to define precisely
- Aligns with how some traditional asset cycles are measured and the timing observed in the broader "risk-on" assets category
- Halving events are shown separately (yellow backgrounds) for reference
- Neither halving-based nor bottom-based measurement is inherently superior
Different analysts prefer different cycle definitions based on their analytical goals. This approach prioritizes observable market turning points.
Cycle Date Definitions
- Approximate monthly ranges used for each event (e.g., Nov 2022 bottom = Nov 1-30, 2022)
- Cycle 1: Jul 2010 bottom → Jun 2011 top → Nov 2011 bottom
- Cycle 2: Nov 2011 bottom → Dec 2013 top → Jan 2015 bottom
- Cycle 3: Jan 2015 bottom → Dec 2017 top → Dec 2018 bottom
- Cycle 4: Dec 2018 bottom → Nov 2021 top → Nov 2022 bottom
- Future cycles will be added as new top/bottom dates become firm
Duration Calculations
- Days = timestamp difference converted to days (milliseconds ÷ 86,400,000)
- Bottom → Top: days from cycle bottom to peak
- Top → Bottom: days from peak to next cycle bottom
- Bottom → Bottom: full cycle duration (sum of above)
Price Change Calculations
- % Change = ((New Price - Old Price) / Old Price) × 100
- Example: $200 → $19,700 = ((19,700 - 200) / 200) × 100 = 9,750% gain
- Approximate historical prices used (rounded to significant figures)
Weighted Average Formula
Recent cycles weighted more heavily to reflect the evolved market structure:
- Cycle 1 (2010-2011): EXCLUDED (too early-stage, tiny market cap)
- Cycle 2 (2011-2015): Weight = 1x
- Cycle 3 (2015-2018): Weight = 3x
- Cycle 4 (2018-2022): Weight = 5x
Formula: Weighted Avg = (C2×1 + C3×3 + C4×5) / (1+3+5)
Example for Bottom→Top days: (761×1 + 1065×3 + 1066×5) / 9 = 1,032 days
Projection Method
- Projected Top Date = Nov 2022 bottom + weighted avg Bottom→Top days
- Projected Bottom Date = Nov 2022 bottom + weighted avg Bottom→Bottom days
- Current days elapsed compared to weighted averages
- Warning symbol (⚠) shown when the current cycle exceeds the historical average
Technical Implementation
- Historical cycle dates are hardcoded (not algorithmically detected)
- Dates represent approximate monthly ranges for each event
- The indicator will be updated as the Cycle 5 top and bottom dates become confirmed
- Updates require manual code maintenance - not automatic
- Users should verify they're using the latest version for current cycle data
-----------------------------------------------------------------
FEATURES
- Background highlights for historical tops (red), bottoms (green), and halving events (yellow)
- Data table showing cycle durations and price changes
- Visual cycle boundary boxes with subtle coloring
- Projected timeframes displayed as dashed vertical lines
- Toggle on/off for each visual element
- Customizable background colors
-----------------------------------------------------------------
DISPLAY SETTINGS
- Show/hide cycle tops, bottoms, halvings, data table, and cycle boxes
- Customizable background colors for each event type
- Clean, institutional-grade visual design suitable for analysis
UPDATES & MAINTENANCE
This indicator is maintained as new cycle events occur. When Cycle 5's top and bottom are confirmed with sufficient time elapsed, the code and projections will be updated accordingly. Check for the latest version periodically.
OPEN SOURCE
Code available for review, modification, and improvement. Educational transparency is prioritized.
-----------------------------------------------------------------
IMPORTANT LIMITATIONS
⚠ EXTREMELY SMALL SAMPLE SIZE
Based on only 4 complete cycles (2011-2022). In statistical analysis, this is insufficient for reliable predictions.
⚠ CHANGED MARKET STRUCTURE
Bitcoin's market has fundamentally evolved since early cycles:
- 2010-2015: Tiny market cap, retail-only, unregulated
- 2024-2025: Institutional adoption, spot ETFs, regulatory frameworks, macro correlation
The environment that created past patterns no longer exists in the same form.
⚠ NO PREDICTIVE GUARANTEE
Historical patterns can and do break. Market cycles are not laws of physics. Past performance does not guarantee future results. The next cycle may not follow historical averages.
⚠ LENGTHENING CYCLE THEORY
Some analysts believe cycles are extending over time (diminishing returns, maturing market). If true, simple averaging underestimates future cycle lengths.
⚠ SELF-FULFILLING PROPHECY RISK
The halving narrative may be partially circular - it works because people believe it works. Sufficient changes in market structure or participant behavior can invalidate the pattern.
⚠ APPROXIMATE DATA
Historical prices rounded to significant figures. Exact bottom/top dates vary by exchange. Month-long ranges are used for simplicity.
EDUCATIONAL USE ONLY
This indicator is designed for historical analysis and understanding Bitcoin's past behavior. It is NOT:
- Trading advice or financial recommendations
- A guarantee or prediction of future price movements
- Suitable as a sole basis for investment decisions
- A replacement for fundamental or technical analysis
The projections show "what if the pattern continues exactly" - not "what will happen."
Always conduct independent research, understand the risks, and consult qualified financial advisors before making investment decisions. Only invest what you can afford to lose.
Realtime rVOL w/ Candle Highlight [Blk0ut]About This Script
Realtime rVOL Table + Candle Highlight (Presets, No Smoothing)
By Blk0ut
This tool visualizes real-time relative volume (rVOL) directly on your chart and in a compact table, helping traders identify where intraday participation deviates from the session’s baseline.
Unlike standard volume overlays, this script recalculates rVOL dynamically through the session and highlights candles when participation exceeds configurable thresholds — providing a clear picture of ignition zones, volume surges, and potential breakout conditions.
Core Features
-Realtime rVOL tracking: Displays the current bar’s relative volume ratio compared to a moving baseline of recent bars.
-Preset Profiles: Choose from four purpose-built profiles to quickly adjust the rVOL sensitivity to your trading horizon.
----------------------------------------------------------------------
*Opening Rush: 100-bar lookback, threshold 2.5*
*RTH 5m: 30-bar lookback, threshold 1.2*
*RTH 1hr: 50-bar lookback, threshold 1.5*
*RTH 1d+: 100-bar lookback, threshold 1.5*
----------------------------------------------------------------------
RTH-only filter: Option to limit the moving average baseline to regular market hours (09:30–16:00).
Candle highlighting: Optionally outlines candles when rVOL exceeds the active threshold to emphasize spikes visually in real time.
Table display: Compact dashboard showing current rVOL, raw volume, average baseline, and preset parameters.
How To Use
Select a preset that matches your timeframe or trading style.
Scalpers and open traders can use RTH 5m or Opening Rush.
Position or swing traders may prefer RTH 1hr or RTH 1d+.
Watch for rVOL readings above the threshold (and colored candle outlines). These often correspond to momentum ignition, news impact, or institutional activity.
Combine with VWAP, ORB, or intraday key levels for best confirmation.
Notes
The table automatically adapts to your chart corner choice.
Highlight thresholds can follow the preset or be set manually.
Color intensity tiers (High/Medium/Low) can be tuned in settings.
Designed for intraday and session-based traders who rely on live volume context rather than end-of-day stats.
ATR Volatility Dashboard v2 — includes % Range (Today) _gpVisualizes daily volatility in context. Shows ATR(14) as % of Daily Close, % of Current Price, and Today’s actual Range%. When % of Current ≈ % of Close → volatility has already played out.
🔹 ATR(14) (Last D) — the latest daily ATR value.
🔹 % of Daily Close — ATR as a percentage of the previous day’s close (historical volatility).
🔹 % of Current — ATR as a percentage of the current price (real-time volatility).
🔹 % of Range (v2) — today’s actual movement (High–Low) as a percentage of current price.
💡 How to interpret:
When % of Current ≈ % of Close → the daily ATR has already been reached → potential exhaustion zone.
When % of Range > % of Close → today’s volatility exceeds the average → watch for reversals or breakouts.
When % of Range < % of Close → volatility remains compressed → possible expansion setup ahead.
Daily ATR% Dashboard george_pirlog//@version=6
indicator("ATR(14) – Daily + % vs Daily Close & Current (Heat + Alerts)", overlay=true)
// ── Inputs
atrLen = input.int(14, "ATR Length")
tfATR = input.timeframe("D", "ATR Timeframe (for ATR & daily close)")
decATR = input.int(2, "Decimals (ATR)", minval=0, maxval=6)
decPct = input.int(2, "Decimals (%)", minval=0, maxval=6)
pos = input.string("Top Right", "Table Position", options= )
bgAlpha = input.int(75, "Table BG Transparency (0-100)", minval=0, maxval=100)
showLabel = input.bool(false, "Show floating label")
yOffsetATR = input.float(0.25, "Label Y offset (× ATR)", step=0.05)
// Praguri culoare / alerte
warnPct = input.float(2.0, "Warn Threshold % (yellow/orange)", step=0.1)
highPct = input.float(3.0, "High Threshold % (red)", step=0.1)
// ── Helpers
f_pos(p) =>
if p == "Top Left"
position.top_left
else if p == "Top Right"
position.top_right
else if p == "Bottom Left"
position.bottom_left
else
position.bottom_right
f_heatColor(pct) =>
if pct >= highPct
color.new(color.red, 0)
else if pct >= warnPct
color.new(color.orange, 0)
else
color.new(color.teal, 0)
// ── Serii daily
atrDaily = request.security(syminfo.tickerid, tfATR, ta.atr(atrLen))
closeD = request.security(syminfo.tickerid, tfATR, close)
// ── Ultima valoare & procente
atrLast = atrDaily
pctOfDailyClose = atrLast / closeD * 100
pctOfCurrent = atrLast / close * 100
// ── Tabel static (3×2)
var table box = table.new(f_pos(pos), 3, 2, border_width=1, frame_color=color.new(color.gray, 0), bgcolor=color.new(color.black, bgAlpha))
if barstate.islast
table.cell(box, 0, 0, "ATR14 (Last D)", text_color=color.white, text_size=size.small, bgcolor=color.new(color.black, bgAlpha))
table.cell(box, 1, 0, "% of Daily Close", text_color=color.white, text_size=size.small, bgcolor=color.new(color.black, bgAlpha))
table.cell(box, 2, 0, "% of Current", text_color=color.white, text_size=size.small, bgcolor=color.new(color.black, bgAlpha))
table.cell(box, 0, 1, str.tostring(atrLast, "0." + str.repeat("0", decATR)), text_color=color.white, bgcolor=color.new(color.black, bgAlpha))
table.cell(box, 1, 1, str.tostring(pctOfDailyClose, "0." + str.repeat("0", decPct)) + "%", text_color=f_heatColor(pctOfDailyClose), bgcolor=color.new(color.black, bgAlpha))
table.cell(box, 2, 1, str.tostring(pctOfCurrent, "0." + str.repeat("0", decPct)) + "%", text_color=f_heatColor(pctOfCurrent), bgcolor=color.new(color.black, bgAlpha))
// ── Etichetă opțională (apel pe o singură linie)
var label info = na
if showLabel and barstate.islast
label.delete(info)
txt = "ATR14 (Last D): " + str.tostring(atrLast, "0." + str.repeat("0", decATR)) +
" vs Daily Close: " + str.tostring(pctOfDailyClose, "0." + str.repeat("0", decPct)) + "%" +
" vs Current: " + str.tostring(pctOfCurrent, "0." + str.repeat("0", decPct)) + "%"
info := label.new(x=bar_index, y=close + atrLast * yOffsetATR, text=txt, xloc=xloc.bar_index, yloc=yloc.price, style=label.style_label_left, textcolor=color.white, color=color.new(color.black, 0), size=size.normal)
// ── Alerts (cross peste praguri)
dailyWarnUp = ta.crossover(pctOfDailyClose, warnPct)
dailyHighUp = ta.crossover(pctOfDailyClose, highPct)
currWarnUp = ta.crossover(pctOfCurrent, warnPct)
currHighUp = ta.crossover(pctOfCurrent, highPct)
alertcondition(dailyWarnUp, "Daily % crossed WARN", "ATR% vs Daily Close crossed above WARN threshold")
alertcondition(dailyHighUp, "Daily % crossed HIGH", "ATR% vs Daily Close crossed above HIGH threshold")
alertcondition(currWarnUp, "Current % crossed WARN", "ATR% vs Current Price crossed above WARN threshold")
alertcondition(currHighUp, "Current % crossed HIGH", "ATR% vs Current Price crossed above HIGH threshold")
Delta Volume Heatmap🔥 Delta Volume Heatmap
The Delta Volume Heatmap visualizes the real-time strength of per-bar delta volume — highlighting the imbalance between buying and selling pressure.
Each column’s color intensity reflects how strong the delta volume deviates from its moving average and standard deviation.
🟩 Green tones = Buy-dominant activity (bullish imbalance)
🟥 Red tones = Sell-dominant activity (bearish imbalance)
This tool helps traders quickly identify:
Abnormal volume spikes
Absorption or exhaustion zones
Potential reversal or continuation signals
MA Paketi This advanced MA & ATR Channel Indicator allows you to monitor both short-term and long-term trends on the same chart.
The script includes 9, 21, 50, 100, and 200-period moving averages (MAs) and also lets you add a custom MA of your choice.
Around the 200 MA, a ±6 ATR channel dynamically defines volatility-based support and resistance zones.
Key Features:
🔹 Five classic MAs (9, 21, 50, 100, 200)
🔹 User-defined custom MA (SMA, EMA, WMA, RMA, HMA options)
🔹 MA200-centered ±ATR channel (fully adjustable multiplier and period)
🔹 ATR-based dynamic volatility band
🔹 Alert conditions (notifies when price breaks above or below the channel)
🔹 Clean, colorful, and professional visual design
This indicator helps you analyze trend direction, momentum shifts, and volatility-driven reversal zones simultaneously.
Perfect for swing, scalp, and position traders alike.
BTC Cycle Halving Thirds NicoThe bold black vertical lines are the INDEX:BTCUSD halvings.
The background speak for itself.
Time to be bearish?
Triple Gaussian Smoothed Ribbon [BOSWaves]Triple Gaussian Smoothed Ribbon – Adaptive Gaussian Framework
Overview
The Triple Gaussian Smoothed Ribbon is a next-generation market visualization framework built on the principles of Gaussian filtering - a mathematical model from digital signal processing designed to remove noise while preserving the integrity of the underlying trend.
Unlike conventional moving averages that suffer from phase lag and overreaction to volatility spikes, Gaussian smoothing produces a symmetrical, low-lag curve that isolates meaningful directional shifts with exceptional clarity.
Developed under the Adaptive Gaussian Framework, this indicator extends the classical Gaussian model into a multi-stage smoothing and visualization system. By layering three progressive Gaussian filters and rendering their interactions as a gradient-based ribbon field, it translates market energy into a coherent, visually structured trend environment. Each ribbon layer represents a progressively smoothed component of price motion, producing a high-fidelity gradient field that evolves in sync with real-time trend strength and momentum.
The result is a uniquely fluid trend and reversal detection system - one that feels organic, adapts seamlessly across timeframes, and reveals hidden transitions in market structure long before traditional indicators confirm them.
Theoretical Foundation
The Gaussian filter, derived from the Gaussian function developed by Carl Friedrich Gauss in 1809, operates on the principle of weighted symmetry, assigning higher importance to central price data while tapering influence toward historical extremes following a bell-curve distribution. This symmetrical design minimizes phase distortion and smooths without introducing lag spikes — a stark contrast to exponential or linear filters that sacrifice temporal accuracy for responsiveness.
By cascading three Gaussian stages in sequence, the indicator creates a multi-frequency decomposition of price action:
The first stage captures immediate trend transitions.
The second absorbs mid-term volatility ripples.
The third stabilizes structural directionality.
The final composite ribbon reflects the market’s dominant frequency - a smoothed yet reactive trend spine - while an independent, heavier Gaussian smoothing serves as a reference layer to gauge whether the primary motion leads or lags relative to broader market structure.
This multi-layered Gaussian framework effectively replicates the behavior of a signal-processing filter bank: isolating meaningful cyclical movements, suppressing random noise, and revealing phase shifts with minimal delay.
How It Works
Triple Gaussian Core
Price data is passed through three successive Gaussian smoothing stages, each refining the trend further and removing higher-frequency distortions.
The result is a fluid, continuously adaptive baseline that responds naturally to directional changes without overshooting or flattening key inflection points.
Adaptive Ribbon Architecture
The indicator visualizes its internal dynamics through a five-layer gradient ribbon. Each layer represents a progressively delayed Gaussian curve, creating a color field that dynamically shifts between bullish and bearish tones.
Expanding ribbons indicate accelerating momentum and trend conviction.
Compressing ribbons reflect consolidation and volatility contraction.
The smooth color gradient provides a real-time depiction of energy buildup or dissipation within the trend, making it visually clear when the market is entering a state of expansion, transition, or exhaustion.
Momentum-Weighted Opacity
Ribbon transparency adjusts according to normalized momentum strength.
As trend force builds, colors intensify and layers become more opaque, signifying conviction.
When momentum wanes, ribbons fade - an early visual cue for potential reversals or pauses in trend continuation.
Candle Gradient Integration
Optional candle coloring ties the chart’s candles to the prevailing Gaussian gradient, allowing traders to view raw price action and smoothed wave dynamics as a unified system.
This integration produces a visually coherent chart environment that communicates directional intent instantly.
Signal Detection Logic
Directional cues emerge when the smoother, broader Gaussian curve crosses the faster-reacting Gaussian line, marking structural inflection points in the filtered trend.
Bullish shifts : short-term momentum transitions upward through the long-term baseline after a localized trough.
Bearish shifts : momentum declines through the baseline following a local peak.
To maintain integrity in choppy markets, the framework applies a trend-strength and separation filter, which blocks weak or overlapping conditions where movement lacks conviction.
Interpretation
The Triple Gaussian Smoothed Ribbon provides a layered, intuitive read on market structure:
Trend Continuation : Expanding ribbons with deep color intensity confirm directional strength.
Reversal Phases : Color gradients flip direction, indicating a phase shift or exhaustion point.
Compression Zones : Tight, pale ribbons reveal equilibrium phases often preceding breakouts.
Momentum Divergence : Fading color intensity despite continued price movement signals weakening conviction.
These transitions mirror the natural ebb and flow of market energy - captured through the Gaussian filter’s ability to represent smooth curvature without distortion.
Strategy Integration
Trend Following
Engage during strong directional expansions. When ribbons widen and color gradients intensify, the trend is accelerating with high confidence.
Reversal Identification
Monitor for full gradient inversion and fading momentum opacity. These conditions often precede transitional phases and early reversals.
Breakout Anticipation
Flat, compressed ribbons signal low volatility and energy buildup. A sudden gradient expansion with renewed opacity confirms breakout initiation.
Multi-Timeframe Alignment
Use higher timeframes to establish directional bias and lower timeframes for entry during compression-to-expansion transitions.
Technical Implementation Details
Triple Gaussian Stack : Sequential smoothing stages produce low-lag, high-purity signals.
Adaptive Ribbon Rendering : Five-layer Gaussian visualization for gradient-based trend depth.
Momentum Normalization : Opacity dynamically tied to trend strength and volatility context.
Consolidation Filter : Suppresses false signals in low-energy or range-bound conditions.
Integrated Candle Mode : Optional color synchronization with underlying gradient flow.
Alert System : Built-in notifications for bullish and bearish transitions.
This structure blends the precision of digital signal processing with the readability of visual market analysis, creating a clean but information-rich framework.
Optimal Application Parameters
Asset Recommendations
Cryptocurrency : Higher smoothing and sigma for stability under volatility.
Forex : Balanced parameters for cycle identification and reduced noise.
Equities : Moderate Gaussian length for responsive yet stable trend reads.
Indices & Futures : Longer smoothing periods for structural confirmation.
Timeframe Recommendations
Scalping (1 - 5m) : Use shorter smoothing for fast reactivity.
Intraday (15m - 1h) : Mid-length Gaussian chain for balance.
Swing (4h - 1D) : Prioritize clarity and opacity-driven trend phases.
Position (Daily - Weekly) : Longer smoothing to capture macro rhythm.
Performance Characteristics
Most Effective In :
Trending markets with recurring volatility cycles.
Transitional phases where early directional confirmation is crucial.
Less Effective In:
Ultra-low volume markets with erratic tick data.
Random, micro-chop conditions with no structural flow.
Integration Guidelines
Pair with volatility or volume expansion tools for enhanced breakout confirmation.
Use ribbon compression to anticipate volatility shifts.
Align entries with gradient expansion in the dominant color direction.
Scale position size relative to opacity strength and ribbon width.
Disclaimer
The Triple Gaussian Smoothed Ribbon – Adaptive Gaussian Framework is designed as a signal visualization and trend interpretation tool, not a standalone trading system. Its accuracy depends on appropriate parameter tuning, contextual confirmation, and disciplined risk management. It should be applied as part of a comprehensive technical or algorithmic trading strategy.
Delta Volume Heatmap Delta Volume Heatmap
The Delta Volume Heatmap visualizes the real-time strength of per-bar delta volume — highlighting the imbalance between buying and selling pressure.
Each column’s color intensity reflects how strong the delta volume deviates from its moving average and standard deviation.
🟩 Green tones = Buy-dominant activity (bullish imbalance)
🟥 Red tones = Sell-dominant activity (bearish imbalance)
This tool helps traders quickly identify:
Abnormal volume spikes
Absorption or exhaustion zones
Potential reversal or continuation signals