6 Custom HTF Candle Overlays (manny_mailbox2)This indicator displays up to 6 custom Higher Time Frame (HTF) candles overlaid on your chart, each representing a different time session that you define.
Core Functionality
Session-Based HTF Candles
Instead of using fixed timeframes (like 15min, 1H, 4H), this lets you create custom "candles" based on specific time ranges. For example:
HTF 1: 00:00-15:00 (default - basically a day session)
HTF 2: 07:00-11:00 (morning session)
HTF 3: 11:00-15:00 (afternoon session)
And so on...
What Each HTF Candle Shows
Each session candle displays the complete OHLC data for that time period:
Body box: Shows open and close (colored based on bull/bear)
Upper wick: High to close/open (whichever is higher)
Lower wick/tail: Low to close/open (whichever is lower)
Optional opening price line: Horizontal line at the session open
Additional Features
Body Midpoint: Shows the 50% level of the candle body
Wick Midpoints: Shows the 50% level of upper/lower wicks (only displays if the wick is "significant" - at least 1/6 of total candle range)
Extend option: Can extend the wick midpoint lines forward by X bars
Fully customizable colors: Separate colors for bull/bear bodies, borders, wicks, and midpoints for each HTF
Why Use This?
This is perfect for traders who want to:
Track specific market sessions (London, NY, Asia, etc.)
See consolidation periods or accumulation zones as single candles
Identify session highs/lows and key levels
Combine with your CISD indicator to see how price interacts with session structure
The 250-day lookback keeps your chart clean while giving you substantial history to analyze.
Phân tích Xu hướng
CISD & Projections BossThis is a CISD (Change in State of Delivery) indicator with Fibonacci-style projections. Here's what it does:
Core Functionality
1. Pivot Detection
Uses Williams Fractal logic to identify swing highs and lows based on your specified pivot strength
Can use either candle bodies or wicks for calculations
2. CISD Detection
The indicator identifies "Change in State of Delivery" moments - institutional trading concept where:
For bullish CISD (CISD+): Finds a swing low, then looks backward to identify the preceding series of bearish candles. When price breaks above this bearish series, it marks a CISD+ (change from bearish to bullish delivery)
For bearish CISD (CISD-): Finds a swing high, then looks backward to identify the preceding series of bullish candles. When price breaks below this bullish series, it marks a CISD- (change from bullish to bearish delivery)
The CISD line is drawn from the start of the series to the breakout point at the series extreme (high for bullish, low for bearish).
3. Range Projections
Once a CISD is confirmed, the indicator:
Calculates the range of the broken series (high - low)
Projects multiples of that range as potential targets
Default levels are 1x, 1.5x, 2x, 2.5x, 3x, and 4x the series range
Bullish projections extend upward from the CISD+ line
Bearish projections extend downward from the CISD- line
Visual Elements
CISD lines (thick lines in blue for bullish, red for bearish)
Projection levels (thinner horizontal lines extending from the breakout point)
Labels showing the multiplier for each projection level
Optional pivot shapes to mark swing points
This is essentially tracking institutional "order flow changes" and projecting measured moves based on the size of the broken delivery pattern - very much in line with ICT (Inner Circle Trader) concepts.
ATR Pro Trend System This is the same core principle used by Turtle Traders in the 80s, the major CTA funds, and almost all successful retail system traders for the last 15 years – only more attractively packaged and equipped with the best volatility filter. That's why it performs so extremely consistently across all markets and timeframes (Bitcoin, S&P 500, DAX, Gold, Forex… it doesn't matter). You are currently trading one of the cleanest and most profitable public ATR/SuperTrend systems available in 2025 – and it's based on the exact two building blocks that worked 40-50 years ago.
Turtle Unit CalculatorTurtle Unit Calculator
This Pine Script indicator calculates the exact quantity of an asset you should buy (your Unit Size) to ensure you risk a fixed amount of capital (e.g., 1%) per trade.
HTF Bias & Session DashboardHTF Bias Dashboard is a lightweight tool that summarizes higher-timeframe direction and session context on any chart. It is designed for traders who want a quick directional overview directly on their chart.
Included components
• D1 and H4 Bias
Bias is calculated using a configurable EMA.
– If price is above the higher-timeframe EMA → bullish bias
– If price is below the higher-timeframe EMA → bearish bias
This provides a simple directional filter that helps avoid trades against the broader trend.
• Session Information
The dashboard detects the current UTC session and displays expected volatility conditions:
– Asia: low volatility / accumulation
– London: expansion
– New York: continuation or reversal conditions
This helps with timing decisions and understanding market behavior during different periods.
• Symbol and Info Row
Displays the active symbol along with a small info label for context.
How to use
This dashboard is intended for directional context only.
A common approach is:
– Trade in the direction of both D1 and H4 when they agree
– Be more cautious when the two biases diverge
– Consider session phase before making timing decisions
It works on any market and any timeframe.
Notes
• This tool does not include signals or alerts.
• It is meant for context only, not for generating entries or exits.
• This script is original, open-source, and provided for educational and research purposes.
Feedback and suggestions are welcome.
OK A+ Setup Scanner + Score PanelOK A+ Setup Scanner (0–8 Score with Real-Time Panel)
Designed to help swing traders quickly identify leader stocks forming high-probability breakout structures inspired by Oliver Kell’s super-performance methodology. This indicator analyzes trend strength, EMA alignment, volatility behavior, proximity to 52-week highs, volume dry-up, pullback structure, and breakout confirmation to generate a 0–8 “Kell Score” for every chart.
Score 5+ = A+ setup candidate
Score 7–8 = high-quality super-performance structure
Background highlights A+ bars, and a real-time scoring panel displays:
Current Kell Score
Setup quality grade
Trend/EMA alignment pass/fail
Leadership (near highs) pass/fail
Structure (pullback + volume) pass/fail
Auto Channel DetectorChannel Detector — Indicator Description:
The Channel Detector is a powerful TradingView indicator designed to automatically identify market channels and display them directly on the chart. Using structural swing points and trend-based logic, the tool recognizes parallel price movement and draws the upper and lower boundaries of each channel with precision. A midpoint line is plotted through the center of the channel to help visualize equilibrium and potential reaction zones.
This indicator highlights trending and consolidating behavior by mapping the most relevant channels as price develops. Whether the market is rising, falling, or ranging, the Channel Detector provides a clear visual structure that traders can use to interpret price action, anticipate breakouts, and refine trade entries.
Fully customizable, it allows users to adjust line styles, colors, and visibility options to match any trading style or chart layout. The result is a clean and intuitive tool that brings structure, context, and clarity to market movement.
Grok/Claude Turtle Soup Alert SystemReplaces previous Turtle Soup Strategy/Indicator as Tradingview will not let me update it.
# 🥣 Turtle Soup Strategy (Enhanced)
## A Mean-Reversion Strategy Based on Failed Breakouts
---
## Historical Origins
### The Original Turtle Traders (1983-1988)
The Turtle Trading system is one of the most famous experiments in trading history. In 1983, legendary commodities trader **Richard Dennis** made a bet with his partner **William Eckhardt** about whether great traders were born or made. Dennis believed trading could be taught; Eckhardt believed it was innate.
To settle the debate, Dennis recruited 23 ordinary people through newspaper ads—including a professional blackjack player, a fantasy game designer, and an accountant—and taught them his trading system in just two weeks. He called them "Turtles" after turtle farms he had visited in Singapore, saying *"We are going to grow traders just like they grow turtles in Singapore."*
The results were extraordinary. Over the next five years, the Turtles reportedly earned over **$175 million in profits**. The experiment proved Dennis right: trading could indeed be taught.
#### The Original Turtle Rules:
- **Entry:** Buy when price breaks above the 20-day high (System 1) or 55-day high (System 2)
- **Exit:** Sell when price breaks below the 10-day low (System 1) or 20-day low (System 2)
- **Stop Loss:** 2x ATR (Average True Range) from entry
- **Position Sizing:** Based on volatility (ATR)
- **Philosophy:** Pure trend-following—catch big moves by riding breakouts
The Turtle system was a **trend-following** strategy that assumed breakouts would lead to sustained trends. It worked brilliantly in trending markets but suffered during choppy, range-bound conditions.
---
### The Turtle Soup Strategy (1990s)
In the 1990s, renowned trader **Linda Bradford Raschke** (along with Larry Connors) observed something interesting: many of the breakouts that the Turtle system traded actually *failed*. Price would spike above the 20-day high, trigger Turtle buy orders, then immediately reverse—trapping the breakout traders.
Raschke realized these failed breakouts were predictable and tradeable. She developed the **Turtle Soup** strategy, which does the *exact opposite* of the original Turtle system:
> *"Instead of buying the breakout, we wait for it to fail—then fade it."*
The name "Turtle Soup" is a clever play on words: the strategy essentially "eats" the Turtles by trading against them when their breakouts fail.
#### Original Turtle Soup Rules:
- **Setup:** Price makes a new 20-day high (or low)
- **Qualifier:** The previous 20-day high must be at least 3-4 days old (not a fresh breakout)
- **Entry Trigger:** Price reverses back inside the channel (failed breakout)
- **Entry:** Go SHORT (against the failed breakout above), or LONG (against the failed breakdown below)
- **Philosophy:** Mean-reversion—fade false breakouts and profit from trapped traders
#### Turtle Soup Plus One Variant:
Raschke also developed a more conservative variant called "Turtle Soup Plus One" which waits for the *next bar* after the breakout to confirm the failure before entering. This reduces false signals but may miss some opportunities.
---
## Our Enhanced Turtle Soup Strategy
We have taken the classic Turtle Soup concept and enhanced it with modern technical indicators and filters to improve signal quality and adapt to today's markets.
### Core Logic Preserved
The fundamental strategy remains true to Raschke's original concept:
| Turtle (Original) | Turtle Soup (Our Strategy) |
|-------------------|---------------------------|
| BUY breakout above 20-day high | SHORT when that breakout FAILS |
| SELL breakout below 20-day low | LONG when that breakdown FAILS |
| Trend-following | Mean-reversion |
| "The trend is your friend" | "Failed breakouts trap traders" |
---
### Enhancements & Improvements
#### 1. RSI Exhaustion Filter
**Addition:** RSI must confirm exhaustion before entry
- **For SHORT entries:** RSI > 60 (buyers exhausted)
- **For LONG entries:** RSI < 40 (sellers exhausted)
**Why:** The original Turtle Soup had no momentum filter. Adding RSI ensures we only fade breakouts when the market is showing signs of exhaustion, significantly reducing false signals. This enhancement was inspired by later traders who found RSI extremes (originally 90/10, softened to 60/40) dramatically improved win rates.
#### 2. ADX Trending Filter
**Addition:** ADX must be > 20 for trades to execute
**Why:** While the original Turtle Soup was designed for ranging markets, we found that requiring *some* trend strength (ADX > 20) actually improves results. This ensures we're trading in markets with enough directional movement to create meaningful failed breakouts, rather than random noise in dead markets.
#### 3. Heikin Ashi Smoothing
**Addition:** Optional Heikin Ashi calculations for breakout detection
**Why:** Heikin Ashi candles smooth out price noise and make trend reversals more visible. When enabled, the strategy uses HA values to detect breakouts and failures, reducing whipsaws from erratic price spikes.
#### 4. Dynamic Donchian Channels with Regime Detection
**Addition:** Color-coded channels based on market regime
- 🟢 **Green:** Bullish regime (uptrend + DI+ > DI- + OBV bullish)
- 🔴 **Red:** Bearish regime (downtrend + DI- > DI+ + OBV bearish)
- 🟡 **Yellow:** Neutral regime
**Why:** Visual regime detection helps traders understand the broader market context. The original Turtle Soup had no regime awareness—our enhancement lets traders see at a glance whether conditions favor the strategy.
#### 5. Volume Spike Detection (Optional)
**Addition:** Optional filter requiring volume surge on the breakout bar
**Why:** Failed breakouts are more significant when they occur on high volume. A volume spike on the breakout bar (default 1.2x average) indicates more traders got trapped, creating stronger reversal potential.
#### 6. ATR-Based Stops and Targets
**Addition:** Configurable ATR-based stop losses and profit targets
- **Stop Loss:** 1.5x ATR (default)
- **Profit Target:** 2.0x ATR (default)
**Why:** The original Turtle Soup used fixed stop placement. ATR-based stops adapt to current volatility, providing tighter stops in calm markets and wider stops in volatile conditions.
#### 7. Signal Cooldown
**Addition:** Minimum bars between trades (default 5)
**Why:** Prevents overtrading during choppy conditions where multiple failed breakouts might occur in quick succession.
#### 8. Real-Time Info Panel
**Addition:** Comprehensive dashboard showing:
- Current regime (Bullish/Bearish/Neutral)
- RSI value and zone
- ADX value and trending status
- Breakout status
- Bars since last high/low
- Current setup status
- Position status
**Why:** Gives traders instant visibility into all strategy conditions without needing to check multiple indicators.
---
## Entry Rules Summary
### SHORT Entry (Fading Failed Breakout Above)
1. ✅ Price breaks ABOVE the 20-period Donchian high
2. ✅ Previous 20-period high was at least 1 bar ago
3. ✅ Price closes back BELOW the Donchian high (failed breakout)
4. ✅ RSI > 60 (exhausted buyers)
5. ✅ ADX > 20 (trending market)
6. ✅ Cooldown period met
→ **Enter SHORT**, betting the breakout will fail
### LONG Entry (Fading Failed Breakdown Below)
1. ✅ Price breaks BELOW the 20-period Donchian low
2. ✅ Previous 20-period low was at least 1 bar ago
3. ✅ Price closes back ABOVE the Donchian low (failed breakdown)
4. ✅ RSI < 40 (exhausted sellers)
5. ✅ ADX > 20 (trending market)
6. ✅ Cooldown period met
→ **Enter LONG**, betting the breakdown will fail
---
## Exit Rules
1. **ATR Stop Loss:** Position closed if price moves 1.5x ATR against entry
2. **ATR Profit Target:** Position closed if price moves 2.0x ATR in favor
3. **Channel Exit:** Position closed if price breaks the exit channel in the opposite direction
4. **Mid-Channel Exit:** Position closed if price returns to channel midpoint
---
## Best Market Conditions
The Turtle Soup strategy performs best when:
- ✅ Markets are prone to false breakouts
- ✅ Volatility is moderate (not too low, not extreme)
- ✅ Price is oscillating within a broader range
- ✅ There are clear support/resistance levels
The strategy may struggle when:
- ❌ Strong trends persist (breakouts follow through)
- ❌ Volatility is extremely low (no meaningful breakouts)
- ❌ Markets are in news-driven directional moves
---
## Default Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| Lookback Period | 20 | Donchian channel period |
| Min Bars Since Extreme | 1 | Bars since last high/low |
| RSI Length | 14 | RSI calculation period |
| RSI Short Level | 60 | RSI must be above this for shorts |
| RSI Long Level | 40 | RSI must be below this for longs |
| ADX Length | 14 | ADX calculation period |
| ADX Threshold | 20 | Minimum ADX for trades |
| ATR Period | 20 | ATR calculation period |
| ATR Stop Multiplier | 1.5 | Stop loss distance in ATR |
| ATR Target Multiplier | 2.0 | Profit target distance in ATR |
| Cooldown Period | 5 | Minimum bars between trades |
| Volume Multiplier | 1.2 | Volume spike threshold |
---
## Philosophy
> *"The Turtle system made millions by following breakouts. The Turtle Soup strategy makes money when those breakouts fail. In trading, there's always someone on the other side of the trade—this strategy profits by being the smart money that fades the trapped breakout traders."*
The beauty of the Turtle Soup strategy is its elegant simplicity: it exploits a known, repeatable pattern (failed breakouts) while using modern filters (RSI, ADX) to improve timing and reduce false signals.
---
## Credits
- **Original Turtle System:** Richard Dennis & William Eckhardt (1983)
- **Turtle Soup Strategy:** Linda Bradford Raschke & Larry Connors (1990s)
- **RSI Enhancement:** Various traders who discovered RSI extremes improve reversal detection
- **This Implementation:** Enhanced with Heikin Ashi smoothing, regime detection, ADX filtering, and comprehensive visualization
---
*"We're not following the turtles—we're making soup out of them."* 🥣
VWAP + Scaled VIX OverlayVWAP-VIX Fusion Overlay helps traders interpret volatility in real time by placing VIX and VWAP where they belong: side-by-side with price action.
It turns the invisible (fear, volatility pressure, momentum shifts) into something clearly visible — making entries, exits, and trend evaluation easier and more accurate.
[CT] ATR Ratio MTFThis indicator is an enhanced, multi-timeframe version of the original “ATR ratio” by RafaelZioni. Huge thanks to RafaelZioni for the core concept and base logic. The script still combines an ATR-based ratio (Z-score style reading of where price sits within its recent ATR envelope) with an ATR Supertrend, but expands it into a more flexible trade-decision and visual context tool.
The ATR ratio is normalized so you can quickly see when price is pressing into extended bullish or bearish territory, while the Supertrend defines directional bias and a dynamic support-resistance trail. You can choose any higher timeframe in the settings, allowing you to run the ATR ratio and Supertrend from a larger anchor timeframe while trading on a lower chart.
Upgrades include a full Pine Script v6 rewrite, multi-timeframe support for both the ATR ratio and Supertrend, user-controlled colors for the Supertrend in bull and bear modes, and optional bar coloring so price bars automatically reflect Supertrend direction. Entry, pyramiding and take-profit logic from the original script are preserved, giving you a familiar framework with more control over timeframe, visuals and trend bias.
This indicator is designed to give you a clean directional framework that blends volatility, trend, and timing into one view. The ATR ratio side of the script shows you where price sits inside a recent ATR-based envelope. When the ATR ratio pushes up and sustains above the bullish threshold, it signals that price is trading in an extended, momentum-driven zone relative to recent volatility. When it drops and holds below the bearish threshold, it shows the opposite: sellers have pushed price down into an extended bearish zone. The optional background coloring simply makes these bullish and bearish environments easier to see at a glance.
On top of that, the Supertrend and bar colors tell you what side of the market to favor. The Supertrend is calculated from ATR on whatever timeframe you choose in the settings. If you set the MTF input to a higher timeframe, the Supertrend and ATR ratio become your higher time frame bias while you trade on a lower chart. When price is above the MTF Supertrend, the line uses your bullish color and, if bar coloring is enabled, candles adopt your bullish bar color. That is your “long only” environment: you generally look for buys when price is above the Supertrend and the ATR ratio is either turning up from neutral or already in a bullish zone. When price is below the MTF Supertrend, the line uses your bearish color and candles can shift to your bearish bar color; that is where you focus on shorts, especially when the ATR ratio is rolling over or holding in the bearish zone.
The built-in long and short conditions are meant as signal prompts, not rigid rules. Long signals fire when the ATR ratio crosses up through a positive level while the Supertrend is bullish. Short signals fire when the ATR ratio crosses down through a negative level while the Supertrend is bearish. The script tracks how many longs or shorts have been taken in sequence (pyramiding) and will only allow a new signal up to the limit you set, so you can control how aggressively you stack positions in a trend. The take-profit logic then watches the percentage move from your last entry and flags “TP” when that move has reached your take-profit percent, helping you standardize exits instead of eyeballing them bar by bar.
In practice you typically start by choosing your anchor timeframe for the MTF setting, for example a 1-hour or 4-hour Supertrend and ATR ratio while watching a 5-minute or 15-minute chart. You then use the Supertrend direction and bar colors as your bias filter, only taking signals in the direction of the trend, and you use the ATR ratio behavior to judge whether you are entering into strength, fading an extreme, or trading inside a neutral consolidation. Over time this gives you a consistent way to answer three questions on every chart: which side am I allowed to trade, how extended is price within its recent volatility, and where are my structured entries and exits based on that framework.
Custom Time Candles – Buy Sell Signalls -by Sadegh joveini )this indicator shows custom time frame from 1 to 1000 min time frames . you can set heiken ashi candles . Also can see the Buy & sell signals you can change time frames and access Higher time frame to get better signals from asset
Dr. Barbara Star: Dual Strategies Combined [Merged] - geminiDr. Barbara Star: Dual Strategy Suite (Merged)
Overview
This script integrates two distinct but complementary trading methodologies developed by Dr. Barbara Star: "Capture Direction & Momentum" and "Profit with Dual Oscillators & Bands." While both strategies utilize price channels to filter noise, they approach entry and exit timing from different angles—one focusing on momentum shifts (Stochastic/EMA) and the other on cyclical price deviations (DPO/Bollinger Bands).
This tool allows the user to run either strategy independently or combine them to find high-confluence setups where momentum and cyclical structure align.
Strategy A: Capture Direction & Momentum
Source: Capture Direction And Momentum
1. Purpose & Theory
The goal of this method is to filter out the "noise" of choppy markets and identify the specific point where price direction aligns with momentum strength. It moves away from trying to catch exact tops or bottoms and instead focuses on catching the "meat" of the trend (continuation).
2. Implementation
Structure (The Channel): A 13-period SMA of the Highs and Lows creates a "No Trade Zone". When price is inside this channel, the market is considered directionless.
Direction (5 EMA): A fast 5-period EMA acts as a directional trigger. When it breaks outside the SMA channel, it signals acceleration.
Momentum (Modified Stochastic): A Slow Stochastic (14,2) is used, but with a crucial modification: the overbought/oversold levels are shifted to 40 and 60 (instead of 20/80).
3. How to Use It
The "Trend Zones" (Background Colors):
Green Background (Bullish): The 5 EMA is above the channel AND the Stochastic is > 60. This is the "Go" zone.
Red Background (Bearish): The 5 EMA is below the channel AND the Stochastic is < 40.
Yellow Background: The "No Trade Zone." The price is consolidating, or the indicators disagree.
The Continuation Signal (Marked by "U" or "D"):
Why it matters: This is the most powerful setup in the system. It detects when price pulls back (retracement) but momentum remains strong.
The Signal: If the 5 EMA dips back into the SMA channel (weakness) but the Stochastic stays above 60 (strength), a blue "U" (Up) marker appears. This indicates the pullback is likely a buying opportunity, not a reversal. Conversely, a yellow "D" appears in downtrends if Stoch stays below 40.
Exits (Marked by "X"):
Signals to take profit when the 5 EMA closes back inside the channel and the Stochastic crosses back into the neutral 40–60 zone.
Strategy B: Dual Oscillators & Bands
Source: Profit With Dual Oscillators & Bands
1. Purpose & Theory
This strategy uses "Dual Bollinger Bands" to define the volatility structure of the trend and "Dual Detrended Price Oscillators" (DPO) to time the entries based on cycle shifts.
2. Implementation
Structure (Dual Bands):
Inner Bands (1 SD): These define the "Trend Channel." Strong trends tend to ride between the 1 SD and 3 SD bands.
Outer Bands (3 SD): These represent extremes (containing 99.5% of price action). Hits here often signal exhaustion.
Timing (Dual DPOs):
Long Oscillator (DPO 20): Identifies the broader trend direction (Positive = Bullish).
Short Oscillator (DPO 9): Identifies shorter-term timing and potential divergences.
3. How to Use It
Identifying the Trend State:
Strong Uptrend: Price holds above the Upper Inner Band (1 SD).
Strong Downtrend: Price holds below the Lower Inner Band (1 SD).
Transition/Neutral: Price is stuck between the Upper and Lower Inner bands.
Entry Signals (Triangles on Chart & Circles in Pane):
Aggressive Entry: When the fast DPO 9 crosses zero. This signals early momentum shifts.
Conservative Entry: Wait for the slow DPO 20 to cross zero, confirming the broader trend has shifted.
Visuals: The script plots triangles on the main chart when these cross. In the lower pane, a Blue Circle indicates a bullish cross and a Yellow Circle indicates a bearish cross.
Continuation Setup:
Similar to Strategy A, look for moments where the DPO 9 dips below zero (pullback) while the DPO 20 remains above zero (trend intact). This is often a reload opportunity.
Combined Mode: The "Power Couple"
When selecting "Both" in the settings, the indicator merges these tools for maximum confirmation:
Visual filtering: The lower pane automatically scales the DPO lines to fit inside the 0–100 Stochastic range (centering the DPO zero line at 50). This allows you to read both momentum and cycles in a single glance.
Confluence Trading:
Look for the Background to turn Green (Strategy A Trend) coincident with a Blue Triangle/Circle (Strategy B Momentum Cross).
Use the Inner Bollinger Bands (Strategy B) as your trailing stop-loss while riding the SMA Channel (Strategy A) trend.
Reference Settings
Strategy A: SMA Channel (13), EMA (5), Stochastic (14, 2, 40/60 levels).
Strategy B: Bollinger Bands (20 SMA, 1.0 & 3.0 deviations), DPO (9 & 20).
Sources: of the methodologies
1-Stocks & Commodities V. 32:7 (10-16): Profit With Dual Oscillators & Bands by Barbara Star, PhD
2-Stocks & Commodities V. 43:12 (8–12): Capture Direction And Momentum by Barbara Star, PhD
Bitcoin Power-Law Bands + Quantile OscillatorDescription
This indicator visualizes a set of statistically derived Power-Law bands for the Bitcoin price.
The model is based on a log–log regression of the Bitcoin price over time and a weighted quantile regression that captures the distributional structure of the price across several long-term quantiles.
It provides a historical context for where the price currently lies relative to these mathematically estimated zones.
This indicator does not perform any new model fitting; it only displays the pre-computed band structure derived from the full historical dataset.
How the model works
This indicator is based on a statistical Power-Law model of the Bitcoin price.
A long-term trend was estimated using a log–log OLS regression, and the deviations from this trend were analyzed through a rolling multi-year volatility measure.
The inverse of this volatility served as the weight for several quantile regression fits, producing robust long-term bands at multiple distribution levels (0.1%, 15%, 50%, 85%, 95%, 99.9%).
These quantile curves represent the historical valuation zones of the Bitcoin price.
All final regression coefficients are fixed and embedded into the Pine script, which reconstructs the bands directly on the chart.
The extension of the bands into the future is based solely on the mathematical form of each curve and does not use any future market data.
What the indicator displays
• Six Power-Law quantile bands (0.1%, 15%, 50%, 85%, 95%, 99.9%) displayed as stacked colored zones
• Future-offset projection curves (mathematical extrapolation of the fitted Power-Laws, not based on future prices)
• Quantile Oscillator: A normalized representation of where the current price lies relative to the quantile structure.
How to use it
This indicator is not a timing tool.
It provides a structural, long-term statistical context for the Bitcoin price, showing:
• how extreme a current valuation is relative to long-term history
• where the price sits within the Power-Law quantile spectrum
• long-term distribution zones derived from the quantile regressions
• a volatility-weighted representation of historical deviations
It may be useful for long-term cycle studies or valuation comparisons, but there is no guarantee that this historical relationship will persist.
Important notes
• This indicator does not repaint.
• All projections are non-predictive mathematical extrapolations.
• This script is designed only for the symbol: INDEX:BTCUSD
• It does not provide trading signals, recommendations, or financial advice.
Why closed-source?
The underlying regression model, weighting logic, and quantile estimations were produced externally using Python and constitute the core intellectual component of the study. The Pine version contains only the pre-calculated parameters and the visualization logic.
Ultimate Swing Setup Ultimate Swing Setup is designed to educate traders by scoring each bar on a 0-100 scale, helping you identify high-quality long entry opportunities. It simplifies complex market conditions into clear signals—Strong Buy, Buy, Hold, or Avoid—so you can learn to recognise strong setups and make better-informed trading decisions. The indicator highlights only the most promising moments, providing a visual strength band and an easy-to-understand dashboard with live scores and nearby support/resistance levels to guide your learning.
Disclaimer: This script is for educational purposes only and does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results. Users should exercise caution and conduct their own research before making any trading decisions.
Liquidity Mix- Supply and DemandLiquidity Mix highlights developing and confirmed supply/demand zones and optional trade guides with entries, stops, targets, and risk/reward math. Benefits: see high-probability reaction areas early, size positions automatically from your risk input, track reward multiples, and receive optional alerts when price tags zones or entries—all in one overlay.
Engulfing CandlesEngulfing Candles highlights two tiers of engulfing structures on the chart:
Strong Engulfing – aggressive, high-conviction outside bars where the real body completely dominates the previous candle.
Regular Engulfing – clean outside bars that still show control, but with looser body conditions.
Both are plotted as dots directly on the price so you can quickly spot liquidity sweeps and potential reversal/continuation zones.
1. Strong Engulfing (Body + Outside Bar)
Concept:
A Strong Engulfing candle is a strict outside bar that both sweeps liquidity and shows decisive control in the body (current body fully covers the previous body).
Strong Bullish Engulfing
Plotted as a solid red dot above the bar.
2. Regular Engulfing (Outside Bar Only)
Concept:
Regular Engulfing marks strict outside bars that still show control, but without requiring the current body to completely engulf the prior body. They are weaker than Strong but still useful context for structure and liquidity sweeps.
Regular Bullish Engulfing
Plotted as a faded red dot above the bar.
3. Inputs & Customization
Strong Engulfing group
Show Strong Bullish Engulfing
Show Strong Bearish Engulfing
Max Upper Wick: Body (Bullish)
Controls how long the upper wick can be relative to the body for strong bullish signals.
Max Lower Wick: Body (Bearish)
Controls how long the lower wick can be relative to the body for strong bearish signals.
Regular Engulfing group
Show Regular Bullish Engulfing
Show Regular Bearish Engulfing
Require Previous Candle Opposite Color
When enabled, regular engulfing requires a color flip (e.g., red → green for bullish engulfing).
Institutional Edge Pro v1.0 - 9.3/10 ConfidenceEducational 5-layer confirmation system combining institutional order flow concepts, trend analysis, and risk management principles. Features Order Block detection, adaptive stop losses (EMA 9x21), and probability scoring. For educational purposes only.
## ⚡ KEY FEATURES
### 🔍 5-Layer Confirmation System
- **Layer 0:** Market Regime Detection (30% weight) - ADX, Choppiness Index, Volatility, Volume
- **Layer 1:** Golden/Death Cross Trend Filter (20% weight) - EMA 50/200 with gradient confirmation
- **Layer 1.5:** Fast Death Cross Stop Loss - EMA 9/21 dynamic exits
- **Layer 2:** Smart Order Block Detection (20% weight) - Institutional footprint tracking
- **Layer 3:** Probabilistic Confirmations (20% weight) - RSI, MACD, Volume, Structure, Volatility
- **Layer 4:** Dynamic Risk Management (10% weight) - ATR-based adaptive stops
### 📊 Visual Dashboard
- **Regime Score:** 0-100 market health indicator
- **Trend Status:** Real-time BULL/BEAR/NONE classification
- **Trend Quality:** Freshness metric (degrades over time)
- **Order Block Status:** Active OB tracking with validation
- **Probability Scores:** Live Long/Short setup probabilities
Wyckoff + VSA Ultimate - Complete Market Analysis
**Wyckoff + VSA Ultimate** combines three proven methodologies into one powerful indicator:
🔷 **Wyckoff Method** - Identifies market accumulation and distribution phases
🔷 **Volume Spread Analysis** - Confirms moves with volume and price spread
🔷 **Random Walk Index** - Validates trend strength and direction
**MAIN SIGNALS:**
📊 **Wyckoff Signals** (Green = Bullish, Red = Bearish)
• SC (Selling Climax) - Major buying opportunity
• BC (Buying Climax) - Major selling opportunity
• AR (Automatic Rally) - Confirms accumulation
• DAR (Automatic Reaction) - Confirms distribution
• ST (Secondary Test) - Final test before move
📊 **VSA Patterns**
• Upthrust bars (weakness after rally)
• Reverse upthrust (strength after decline)
• No demand/supply bars
• Stopping volume
• Effort failures
**KEY FEATURES:**
✅ Multiple signal confirmation reduces false signals
✅ Real-time info table shows phase, volume, trends
✅ Dynamic stop loss levels calculated automatically
✅ Accumulation/Distribution boxes on chart
✅ Customizable filters for your trading style
✅ 12 alert conditions for all major signals
**HOW TO USE:**
For Swing Trading (4H/Daily):
1. Enable "Require VSA Confirmation"
2. Wait for SC or BC signals
3. Use displayed stop levels
4. Target next opposite phase
For Day Trading (15m/1H):
1. Enable "Require Trend Confirmation"
2. Trade only trend-aligned signals
3. Increase volume threshold to 1.5
4. Use tighter risk management
**BEST FOR:**
✅ Stocks (high volume)
✅ Forex majors
✅ Crypto (BTC, ETH)
✅ Index futures
**SETTINGS:**
Customize everything:
• RSI & Pivot parameters
• Volume & Spread analysis
• Trend periods (RWI)
• Signal filters
• Visual display options
**ALERTS:**
Pre-configured alerts for:
• All Wyckoff signals
• VSA reversals
• Strong buy/sell combinations
**Credits:** Integrates Wyckoff (faytterro) and VSA (theehoganator) methods.
**Disclaimer:** Educational purposes only. Use proper risk management. Past performance doesn't guarantee future results.
---
Pine Script™ v6
---
2-Wick OB Hold + Retest (NY) — @TheTraderGuyZzzThis indicator implements a mechanical version of a “2‑wick order block hold and retest” setup on the NY session, designed for systematic testing rather than discretionary execution.
## What it does
- Automatically detects bullish and bearish order blocks after an impulsive move, then looks for two consecutive wick‑holds at the distal level with a clean confirmation candle closing away from the zone.
- Tracks whether the retest is “immediate” (price stays inside the OB and fills quickly) or “non‑immediate” (price closes away first, then later gives a one‑wick retest), and triggers a single limit‑style entry at the distal.
- Uses fixed, user‑defined stop and target in points (default 20×20) and enforces a maximum number of trades per NY session to keep results realistic.
## How to use it
- Apply on a 1‑minute Heikin‑Ashi chart for the instrument you trade, with the default NY session time filter.
- Connect your own risk management or use it as a signal‑only tool alongside separate execution logic; the script does not place real orders.
- The built‑in stats table shows live performance of all closed trades: win rate, average winning/losing points, average trade duration in minutes, trade count, and cumulative net points, so you can quickly see whether the setup has an edge on your market and timeframe.
PyraTime Harmonic Matrix [Quad Horizon]Concept and Architecture
The PyraTime Harmonic Matrix is the quantitative engine of the PyraTime ecosystem. It is a multi-dimensional time projection tool that applies Digital Root Mathematics across a variable scalar grid.
While standard time analysis focuses on linear cycles, the Harmonic Matrix calculates Non-Linear Digital Roots (174, 285, 396...) and projects them through a proprietary "Event Horizon" logic. This allows the system to identify deep-structure market turning points that exist far beyond the current price action.
Technical Features
The Quad-Horizon Engine This script features a variable "Horizon Depth" setting, allowing traders to loop the harmonic sequence into the future to identify macro-scale pivots:
Standard Horizon: Projects the base Digital Root sequence (1x).
Double Horizon: Projects the sequence a second time (+999 intervals).
Triple/Quad Horizon: Extends the calculation up to 4x the standard length, identifying "Grand Cycle" completions on higher timeframes.
The Apex Sequence (963) The script mathematically identifies the completion of the Digital Root sum (The 963 Interval).
Visual Logic: These vectors are rendered in Gold with a lightning symbol (⚡), indicating a Cycle Termination point.
Event Horizon Dashboard To manage the complexity of multi-timeframe analysis, the script includes a live Head-Up Display (HUD).
Function: It scans all enabled timeframes (from 1m to Weekly) and calculates the exact time remaining to the single nearest future harmonic event.
Confluence Strategy (The Ecosystem) The Harmonic Matrix provides the "Time" (X-Axis). For a complete structural analysis, it is designed to be overlayed with our specific momentum and exhaustion tools:
Momentum Trigger: Use the Harmonic Sniper Trigger to identify entry signals when price hits a Matrix line:
Exhaustion Filter: Use the Sequential Exhaustion 9/13 to confirm trend fatigue at Matrix intervals:
Disclaimer This tool is for quantitative time analysis. It projects mathematical intervals and does not predict price direction. Past performance is not indicative of future results.
Bottom Up - Slope Trend DetectorSlope Trend Detector by Bottom Up
This indicator is a simple slope trend detector which highlights clearly current market bias.
It uses an EWMA to get a smoother moving average on which to identify the trend by monitoring the slope. EWMA reduces noise and gives a more reliable trend reading.
It isn't subject to repaint and sends an alert whenever the trend changes.
It shows two moving averages simultaneously, a faster one and a slower one, whose periods can be customized by the user, to have a clear reading of the current market condition, allowing to distinguish retracements from long-term structural changes.
Add to chart. Turn on alerts. Happy trading!
Bottom Up - The Ecosystem Designed for Traders
bottomup.finance
The ApexThis is a proprietary technical indicator developed by The Apex Trading Firm. It utilizes a custom trend following logic based on trends and momentum filtering. This script is strictly for internal use by authorized firm personnel only. Unauthorized distribution is prohibited.
Ichimoku Horizon MTFIchimoku Horizon MTF — Multi-TimeFrame Ichimoku with auto-map
Overview
Ichimoku Horizon MTF plots classic Ichimoku on your current chart timeframe and projects up to three higher timeframes (TF1 / TF2 / TF3) onto the same chart. The goal is to keep one clean chart while still seeing higher-timeframe Ichimoku context (for example Daily / Weekly / Monthly).
On the screen, you typically see:
– the full Ichimoku set for your chart timeframe (Tenkan, Kijun, Kumo, Chikou),
– the same structure projected from TF1–TF3, each with its own colour family,
– an optional Kumo Midline (extra line, not part of original Ichimoku, used as a visual helper),
– and an optional TF banner showing which higher timeframes are currently mapped.
And optionally: A Kumo Midline (midpoint between SSA and SSB)
Kumo Midline (non-original Ichimoku addition)
The Kumo Midline is a personal addition.
It is not part of the original Ichimoku.
It is provided for informational and visual purposes only, as a helper to read the centre of the cloud.
It is calculated as the simple average of the two cloud boundaries:
Midline= SSA + SSB / 2
You can turn it ON/OFF globally, and also separately for each timeframe (Chart / TF1 / TF2 / TF3). The same logic (including the optional Midline) is applied to TF1 / TF2 / TF3 and projected onto your main chart.
Auto-map & timeframe presets
You control how TF1 / TF2 / TF3 are selected using two mechanisms:
Auto-map TF from chart (ON/OFF)
When ON, the script automatically chooses a profile based on your chart timeframe
(Scalp / Intraday / Swing / Long Term / Investment / Macro).
TF1 / TF2 / TF3 are always higher than the chart timeframe, with a consistent progression.
Preset Time Frame (when Auto-map = OFF)
When OFF, you choose a fixed preset, for example:
Scalp S — 1m / 5m / 15m
Intraday L — 1H / 4H / 1D
Swing — 1D / 1W / 1M
Investment — 1M / 3M / 6M
Macro — 3M / 6M / 12M
If you choose Custom, you manually set TF1 / TF2 / TF3 using the three “Timeframe selection” inputs in the TF1 / TF2 / TF3 sections.
This allows you to switch quickly between scalp / intraday / swing / macro profiles without editing any code.
TF banner (legend) & display options
The indicator includes an optional TF banner (a small panel) that acts as a timeframe legend:
Shows the active profile name (Scalp, Intraday M, Intraday XL, Swing, Long Term, Macro, Custom). Displays the three mapped timeframes (TF1 / TF2 / TF3) in short form (5m, 1H, 4H, 1D, 1W, 1M, etc.). Shows “TK / KJ” with small coloured squares for Tenkan and Kijun for each TF, matching the line colours on the chart.
You can control:
Show / hide the banner.
Position: Top / Bottom, Left / Center / Right.
Text colour, background, text size.
Each block (Chart, TF1, TF2, TF3) also has its own toggles for:
Tenkan
Kijun
Chikō
SSA
SSB
Kumo fill
Kumo Midline
This lets you keep only what you really need (for example: just HTF Kijun + HTF Kumo).
Colour design
Special care has been taken with the colour design:
Each timeframe uses its own colour family
(for example: warm colours for the chart timeframe, green for TF1, blue for TF2, neutral/grey for TF3), so the chart stays readable even when all TFs are displayed at once.Kumo fills are semi-transparent to provide context without hiding price action. Defaults are tuned for light charts, and every colour can be customised if you prefer another palette.
Built-in alerts
The script includes a small set of ready-to-use alerts, controlled by:
A global “Enable alerts” switch
A built-in cooldown to avoid alert spam
Available conditions (on the chart timeframe):
TK > KJ (UP) – Tenkan crosses above Kijun (filtered by a bullish HTF bias).
TK < KJ (DOWN) – Tenkan crosses below Kijun (filtered by a bearish HTF bias).
Kumo Breakout (UP) – Close breaks above the cloud (with bullish HTF filter).
Kumo Breakout (DOWN) – Close breaks below the cloud (with bearish HTF filter).
All TF Bullish – Chart + TF1 + TF2 + TF3 all have Tenkan > Kijun (full bullish alignment).
All TF Bearish – Chart + TF1 + TF2 + TF3 all have Tenkan < Kijun (full bearish alignment).
HTF Confirms (BULL) – Bullish TK cross on the chart timeframe, with HTF support and price above the cloud.
HTF Confirms (BEAR) – Bearish TK cross on the chart timeframe, with HTF confirmation and price below the cloud.
To use them:
Add an alert on the indicator,
Choose one of these conditions,
Use “Once per bar close” for cleaner signals.
No-repaint logic
Higher-timeframe data is fetched using request.security() with:
barmerge.gaps_off
barmerge.lookahead_off
This means:
No artificial lookahead,
No repainting,
Apart from the normal forward shift of the Ichimoku cloud, which is how standard Ichimoku works by design.
If the chart get “stuck on the left”
stuck on the left side, or misaligned. If you see the TF banner or right-side labels not updating correctly: Clear the TradingView app cache (or restart the app / browser)
Reload the chart. This usually forces TradingView to redraw all tables and labels correctly and fixes the display issue.
Disclaimer
This script is provided for educational and informational purposes only.
It does not constitute financial or investment advice and should not be used as a standalone signal provider.
Always do your own analysis and use proper risk management before taking any trade.
Thanks for using Ichimoku Horizon MTF.






















