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.
Clean Industry DataClean Industry Data – Overview
Clean Industry Data is a utility tool designed to give traders an instant, structured view of key fundamental and volatility metrics directly on the chart. The script displays a compact, customizable information panel containing:
Industry & Sector
Market Cap and Free-Float Market Cap
Free-Float Percentage
Average Daily Rupee Volume
Relative Volume (R.Vol) based on daily volume
% from 10 / 21 / 50 EMAs (calculated on daily closes)
ADR (14-day) with threshold-based indicators
ATR (current timeframe) with colour-coded risk cues
All volume-based statistics are anchored to daily data, ensuring the values remain consistent across all timeframes. The display table supports flexible positioning, custom background/text colours, and adjustable text size.
This script is ideal for traders who want a quick, accurate snapshot of a stock’s liquidity, volatility, and broader classification — without digging through multiple menus or external sources.
Trade-Pilot v3.0Trade Pilot — Smart Trade Mapping for Real Decisions ✨
Trade Pilot is designed to give traders a clear, self-explanatory view of each opportunity on the chart.
It interprets market-maker behavior and translates it into fully mapped trade setups that anyone can read instantly.
Instead of raw alerts, Trade-Pilot presents complete trade frameworks:
entry ➝ stop zone ➝ logical targets — all aligned visually in a clean, structured flow.
Key Advantages
🎯 Fully Framed Trades
Each signal comes with a defined entry area, balanced stop zone, and actionable target path.
📊 Multiple Trade Styles in One Tool
Provides short-term, medium-term, long-range, and investment-grade setups — each rendered with its own visual clarity.
🧭 Market-Maker Logic, Simplified
Instead of revealing mechanics, the indicator expresses complex behavior through intuitive chart structures.
📐 Clear Risk-to-Reward Mapping
The layout makes position sizing and expectation management straightforward and visual.
🧹 Auto-Managed Visuals
Labels, zones, and structures update and clean themselves as trades progress or complete — no clutter, no noise.
🔍 High-Quality Signal Presentation
Every setup is shown consistently, helping traders stay disciplined and focused.
Why Traders Use It
Trade-Pilot is built for traders who value clarity, consistency, and decision-ready insights.
It shows you the trade — not the calculations.
It gives structure — not confusion.
It enhances your chart — instead of overwhelming it.
If your trading style depends on understanding the full picture at a glance, Trade-Pilot will feel like a natural extension of your workflow.
⚠️ Disclaimer:
This indicator is for educational and informational purposes only. It is not investment advice. Past performance is not indicative of future results. Always conduct your own analysis and trade responsibly.
Free trial : t.me ( just send your TV username )
Sector Rotation - Risk Preference Indicator# Sector Rotation - Risk Preference Indicator
## Overview
This indicator measures market risk appetite by comparing the relative strength between **Aggressive** and **Defensive** sectors. It provides a clean, single-line visualization to help traders identify market sentiment shifts and potential trend reversals.
## How It Works
The indicator calculates a **Bullish/Bearish Ratio** by dividing the average price of aggressive sector ETFs by defensive sector ETFs, then normalizing to a baseline of 100.
**Formula:**
- Ratio = (Aggressive Sectors Average / Defensive Sectors Average) × 100
**Interpretation:**
- **Ratio > 100**: Risk-on sentiment (Aggressive sectors outperforming Defensive)
- **Ratio < 100**: Risk-off sentiment (Defensive sectors outperforming Aggressive)
- **Ratio ≈ 100**: Neutral (Both sector groups performing equally)
## Default Sectors
**Defensive Sectors** (Safe havens during uncertainty):
- XLP - Consumer Staples Select Sector SPDR Fund
- XLU - Utilities Select Sector SPDR Fund
- XLV - Health Care Select Sector SPDR Fund
**Aggressive Sectors** (Growth-oriented, higher risk):
- XLK - Technology Select Sector SPDR Fund
- XBI - SPDR S&P Biotech ETF
- XRT - SPDR S&P Retail ETF
## Features
✅ **Fully Customizable Sectors** - Choose any ETFs/tickers for each sector group
✅ **Smoothing Control** - Adjustable SMA period to reduce noise (default: 2)
✅ **Clean Visualization** - Single blue line for easy interpretation
✅ **Multi-timeframe Support** - Works on any timeframe
✅ **Lightweight** - Minimal calculations for fast performance
## Settings
### Defensive Sectors Group
- **Defensive Sector 1**: First defensive ETF ticker (default: XLP)
- **Defensive Sector 2**: Second defensive ETF ticker (default: XLU)
- **Defensive Sector 3**: Third defensive ETF ticker (default: XLV)
### Aggressive Sectors Group
- **Aggressive Sector 1**: First aggressive ETF ticker (default: XLK)
- **Aggressive Sector 2**: Second aggressive ETF ticker (default: XBI)
- **Aggressive Sector 3**: Third aggressive ETF ticker (default: XRT)
### Display Settings
- **Smoothing Length**: SMA period for ratio smoothing (default: 2, range: 1-50)
- Lower values = More responsive but noisier
- Higher values = Smoother but more lagging
## Use Cases
### 1. Market Regime Identification
- **Rising Ratio (trending up)** → Bull market / Risk-on environment
- Aggressive sectors leading, investors chasing growth
- Favorable for long positions in tech, growth stocks
- **Falling Ratio (trending down)** → Bear market / Risk-off environment
- Defensive sectors leading, investors seeking safety
- Consider defensive positioning or short opportunities
### 2. Divergence Analysis
- **Bullish Divergence**: Price makes new lows but ratio rises
- Suggests underlying strength returning
- Potential market bottom forming
- **Bearish Divergence**: Price makes new highs but ratio falls
- Suggests weakening momentum
- Potential market top forming
### 3. Trend Confirmation
- **Strong uptrend + Rising ratio** → Confirmed bullish trend
- **Strong downtrend + Falling ratio** → Confirmed bearish trend
- **Uptrend + Falling ratio** → Weakening trend, watch for reversal
- **Downtrend + Rising ratio** → Potential trend exhaustion
## Best Practices
⚠️ **Timeframe Selection**
- Recommended: Daily, 4H, 1H for cleaner signals
- Lower timeframes (15m, 5m) may produce noisy signals
⚠️ **Complementary Analysis**
- Use alongside price action and volume analysis
- Combine with support/resistance levels
- Not designed as a standalone trading system
⚠️ **Market Conditions**
- Most effective in trending markets
- Less reliable during ranging/consolidation periods
- Works best in liquid, well-traded sectors
⚠️ **Customization Tips**
- Can substitute with international sectors (EWU, EWZ, etc.)
- Can use crypto sectors (DeFi vs Layer1, etc.)
- Adjust smoothing based on trading style (day trading = 2-5, swing = 10-20)
## Display Options
### Default View (overlay=false)
- Shows in separate pane below chart
- Dedicated scale for ratio values
### Alternative View
- Can be moved to main chart pane (drag indicator)
I typically overlay this indicator on the SPY daily chart to observe divergences. I don’t focus on specific values but rather on the direction of the trend.
The author is not responsible for any trading losses incurred using this indicator.
## Support & Feedback
For questions, feature requests, or bug reports:
- Comment below
- Send a private message
- Check for updates regularly
If you find this indicator useful, please:
- ⭐ Leave a like/favorite
- 💬 Share your experience in comments
- 📊 Share charts showing interesting patterns
Sequential Exhaustion 9/13 [Crypto Filter] - PyraTimeConcept: The Exhaustion Meter
This indicator is a customized version of the Sequential count, a powerful tool used by institutional traders to measure buyer and seller exhaustion. It looks for a sequence of 9 (Setup) or 13 (Countdown) consecutive candles that satisfy specific price criteria.
The purpose is simple: To tell you when a trend has run out of fuel.
Key Differentiators (The Value)
Due to the high volatility of the crypto market, standard Sequential indicators print too many false signals ("13s") during a strong trend. This custom version solves that problem with two core filters:
1. Trend Filter (EMA 200): If enabled, the indicator will automatically hide all Sell signals when the price is above the 200 EMA, protecting the user from shorting an uptrend (and vice-versa).
2. Color Confirmation: It will not print a signal unless the closing candle color matches the direction (e.g., no Red 13 sell signals on Green Candles). This drastically cleans up the chart.
Understanding the Numbers
The numbers appearing above and below the candles are your exhaustion meter.
* The "9" (Setup): Indicates a short-term trend is nearing exhaustion.
* The "13" (Countdown): Indicates the trend is statistically complete and a reversal is highly probable.
The Actionable Strategy (The PyraTime Rule)
This indicator is designed to be your Exit Tool. Use it to determine when to take profit from an existing trade.
* Example: You enter Long at the GPM Time Line. When the PyraTD prints a Red 9 or Red 13, you take profit immediately.
Final Note
Use the integrated visibility settings to turn off signals (e.g., hide 9s or Sells) to customize the view to your preferred trading style.
Disclaimer: This tool measures mathematical exhaustion and is part of the PyraTime system. It is not financial advice.
MTF Trading Helper & Multi AlertsHi dear fellows, I´m using this indicator for my trading, so every then and when I will publish updates on this one.
This indicator should help to identify the right trading setup. I´m using it to trade index futures and stocks.
MTF Trading Helper & Multi Alerts
Overview
This indicator provides a clear visual representation of trend direction across three timeframes. It helps traders identify trend alignment, potential reversals, and optimal entry/exit points by analyzing the relationship between different smoothed timeframes.
You can set up multiple alerts (as one alert in Tradingview)
How It Works
The indicator displays three colored circles representing the smoothed candle direction on three different timeframes:
Bottom plot represents the overall trend direction, the plot in the middle shows intermediate momentum, and the one on top captures short-term price action.
When a color change occurs, the circle appears in a darker shade to highlight the transition.
🟢 Green = Bullish - 🔴 Red = Bearish
This change can also trigger multiple alerts.
Timeframe Settings - important
Choose between two trading setups, either for:
Intraday 1-minute candles or 1h for swing trading. Set up your chart accordingly to that timeframe.
Intraday | 1Min chart candles
Swing | 1 hour chart candles
Plots
TF3 represents the overall trend direction (bottom), TF2 shows intermediate momentum (middle), and TF1 captures short-term price action (top).
Interpretation & Strategy Alerts
1. Trend Bullish (TF3 turns Green)
The higher timeframe has shifted bullish - a potential new uptrend is forming.
Example: You're watching ES-mini on the Intraday setting. TF3 turns green after being red for several days. This signals the broader trend may be shifting bullish - consider looking for long opportunities.
2. Trend Bearish (TF3 turns Red)
The higher timeframe has shifted bearish - consider protecting profits or exiting long positions.
Example: You hold a long position in Es-mini. TF3 turns red, indicating the macro trend is weakening. This is your signal to take profits or tighten stop-losses.
3. Possible Accumulation (TF3 Red + TF2 turns Green)
While the overall trend is still bearish, the medium timeframe shows buying pressure. Smart money may be accumulating - watch closely for a potential trend reversal.
Example: Es-mini has been in a downtrend (TF3 red). Suddenly TF2 turns green while TF3 remains red. This could indicate institutional buying before a reversal. Don't buy yet, but add it to your watchlist and wait for confirmation.
4. Trend Continuation (TF3 Green + TF2 turns Green)
The medium timeframe realigns with the bullish macro trend - a potential buying opportunity as momentum returns to the uptrend.
Example: Es-mini is in an uptrend (TF3 green). After a pullback, TF2 was red but now turns green again. The pullback appears to be over - this is a trend continuation signal and a potential entry point.
5. Buy the Dip (TF3 + TF2 Green + TF1 turns Green)
All timeframes are now aligned bullish. The short-term pullback is complete and price is resuming the uptrend - optimal entry for short-term trades.
Example: Es-mini is trending up (TF3 + TF2 green). A small dip caused TF1 to turn red briefly. When TF1 turns green again, all three timeframes are aligned - this is your "Buy the Dip" signal with strong confirmation.
6. Sell the Dip (TF3 + TF2 Green + TF1 turns Red)
Short-term weakness within an uptrend. This can be used to take partial profits, wait for a better entry, or trail stops tighter.
Example: You're long on ES-mini with TF3 and TF2 green. TF1 turns red, indicating short-term selling pressure. Consider taking partial profits here and wait for TF1 to turn green again (Buy the Dip) to add back to your position.
How to Use
Choose your scenario: Select "Intraday" 1min-chart for day trading or "Swing" 1h-chart for swingtrading
Enable alerts: Turn on the strategy alerts you want to receive in the settings
Wait for signals: Let the indicator notify you when conditions align
Confirm with price action: Always use additional confirmation before entering trades
Best Practices
✅ Use TF3 as your trend filter - only take longs when TF3 turns green and hold them :)
✅ Use TF2 for timing - wait for TF2 to align with TF3 for swings.
✅ Use TF2 for early entries (accumulation phase) when TF3 is still red. Watch out!
✅ Use TF1 for entries when TF3 and TF2 are green. Only buy if TF1 is red. Keep it short and sweet.
✅ Combine with support/resistance levels for better entries
✅ Use proper risk management - no indicator is 100% accurate
Disclaimer
This indicator is for educational purposes only. Past performance does not guarantee future results. Always do your own research and use proper risk management. Never risk more than you can afford to lose.
Viprasol Elite Advanced Pattern Scanner# 🚀 Viprasol Elite Advanced Pattern Scanner
## Overview
The **Viprasol Elite Advanced Pattern Scanner** is a sophisticated technical analysis tool designed to identify high-probability double bottom (DISCOUNT) and double top (PREMIUM) patterns with unprecedented accuracy. Unlike basic pattern detectors, this elite scanner employs an AI-powered quality scoring system to filter out false signals and highlight only the most reliable trading opportunities.
## 🎯 Key Features
### Advanced Pattern Detection
- **DISCOUNT Patterns** (Double Bottoms): Identifies bullish reversal zones where price may bounce
- **PREMIUM Patterns** (Double Tops): Detects bearish reversal zones where price may decline
- Multi-point validation system (5-point structure)
- Symmetry analysis with customizable tolerance
### 🤖 AI Quality Scoring System
Each pattern receives a quality score (0-100) based on:
- **Symmetry Analysis** (32% weight): How closely the two bottoms/tops match
- **Trend Context** (22% weight): Strength of the preceding trend using ADX
- **Volume Profile** (22% weight): Volume confirmation at key points
- **Pattern Depth** (16% weight): Significance of the pattern's price range
- **Structure Quality** (16% weight): Overall pattern formation quality
Quality Grades:
- ⭐ **ELITE** (88-100): Highest probability setups
- ✨ **VERY STRONG** (77-87): Strong trade opportunities
- ✓ **STRONG** (67-76): Valid patterns with good potential
- ○ **VALID** (65-66): Acceptable patterns meeting minimum criteria
### 🎯 Intelligent Target System
Three target modes per pattern direction:
- **Conservative**: 0.618 Fibonacci extension (safer, closer targets)
- **Balanced**: 1.0 extension (moderate risk/reward)
- **Aggressive**: 1.618 extension (higher risk/reward)
Targets automatically adjust based on pattern quality score.
### 🔧 Advanced Filtering Options
- **Volatility Filter (ATR)**: Excludes patterns during extreme volatility
- **Momentum Filter (ADX)**: Ensures sufficient trend strength
- **Liquidity Filter (Volume)**: Confirms adequate trading volume
### 📊 Pattern Lifecycle Management
- Real-time neckline tracking with extension multiplier
- Pattern invalidation after extended wait period
- Breakout/breakdown confirmation
- Reversal detection (pattern failure scenarios)
- Target achievement tracking
### 🌈 Premium Visual System
- Color-coded quality levels
- Cyber-themed color scheme (Neon Green/Hot Pink/Purple/Cyan)
- Transparent fills for pattern zones
- Dynamic labels with pattern information
- Elite dashboard showing live pattern stats
## 📈 How To Use
### Basic Setup
1. Add indicator to your chart
2. Enable desired patterns (DISCOUNT and/or PREMIUM)
3. Adjust quality threshold (default: 65) - higher = fewer but better signals
4. Set your preferred target mode
### Trading DISCOUNT Patterns (Bullish)
1. Wait for pattern detection (labeled points 1-4)
2. Check quality score on dashboard
3. Entry on breakout above neckline (point 5)
4. Stop loss below the lowest bottom
5. Target shown automatically based on your mode
6. ⚠️ Watch for pattern failure (break below bottoms = SHORT signal)
### Trading PREMIUM Patterns (Bearish)
1. Wait for pattern detection (labeled points 1-4)
2. Check quality score on dashboard
3. Entry on breakdown below neckline (point 5)
4. Stop loss above the highest top
5. Target shown automatically based on your mode
6. ⚠️ Watch for pattern failure (break above tops = LONG signal)
## ⚙️ Input Settings Guide
### 🔍 Detection Engine
- **Left/Right Pivots**: Higher = fewer but cleaner patterns (default: 6/4)
- **Min Pattern Width**: Minimum bars between bottoms/tops (default: 12)
- **Symmetry Tolerance**: Max % difference allowed between levels (default: 1.8%)
- **Extension Multiplier**: How long to wait for breakout (default: 2.2x pattern width)
### ⭐ Quality AI
- **Min Quality Score**: Only show patterns above this score (default: 65)
- **Weight Distribution**: Customize what matters most (symmetry/trend/volume/depth/structure)
### 🔧 Filters
- **Volatility Filter**: Avoid choppy markets (recommended: ON)
- **Momentum Filter**: Ensure trend strength (recommended: ON)
- **Liquidity Filter**: Volume confirmation (recommended: ON)
### 💎 Target System
- Choose target aggression for each pattern type and direction
- Higher quality patterns get adjusted targets automatically
## 🎨 Visual Customization
- Adjust colors for DISCOUNT/PREMIUM patterns
- Set quality-based color coding
- Customize label sizes
- Toggle dashboard visibility and position
- Show/hide historical patterns
## 🚨 Alert System
Set up TradingView alerts for:
- 🚀 **LONG Signals**: DISCOUNT breakout, PREMIUM failure
- 📉 **SHORT Signals**: PREMIUM breakdown, DISCOUNT failure
- ✅ **Target Achievement**: When price hits your target
## 💡 Pro Tips
1. **Higher Timeframes = Better Signals**: Patterns on 4H, Daily, Weekly are more reliable
2. **Quality Over Quantity**: Focus on ELITE and VERY STRONG grades
3. **Combine with Trend**: DISCOUNT in uptrend, PREMIUM in downtrend = best results
4. **Watch Pattern Failures**: Failed patterns often provide strong counter-trend signals
5. **Adjust for Your Style**: Intraday traders use Conservative, swing traders use Aggressive
## 🔒 Pattern Invalidation
Patterns become invalid if:
- No breakout/breakdown within extension period
- Support/resistance levels are broken prematurely
- Pattern shown in faded colors = no longer active
## ⚠️ Risk Disclaimer
This indicator is a tool for technical analysis and does not guarantee profitable trades. Always:
- Use proper risk management
- Combine with other analysis methods
- Never risk more than you can afford to lose
- Past performance does not indicate future results
Harmonic Sniper Trigger [Fisher] - PyraTime**Concept: Precision Momentum**
The Harmonic Sniper Trigger is a custom-tuned implementation of the Fisher Transform, designed specifically to identify sharp market reversals with zero lag. Unlike standard moving averages that react slowly to price changes, the Fisher Transform uses Gaussian probability to convert price into a normal distribution, creating clear, sharp turning points.
This indicator serves as the *Trigger* component of the PyraTime system. While Time Cycles tell you *when* to look, this indicator tells you *what* to do.
Key Features
Visual Signal Markers : Prints clear "B" (Buy) and "S" (Sell) labels on the oscillator pane for instant recognition.
Trend Fills : Dynamic Green/Red shading between the signal lines makes it easy to identify trend direction at a glance.
Integrated Alerts: Fully compatible with TradingView alerts, allowing you to be notified the second momentum flips.
How to Use This Indicator
This tool is designed to filter out noise and identify the exact moment a trend reverses.
1. Wait for the Setup: Do not trade every signal. This indicator is most powerful when price is approaching a key support/resistance level or a specific Time Pivot.
2. The Trigger: When the Fisher line crosses the Signal line (changing from Red to Green or vice versa), it confirms that momentum has mathematically shifted.
3. The Execution: Use this crossover as your entry signal *only* if it aligns with your broader market thesis.
Best Practice:
Use this in conjunction with a Time-Cycle indicator (such as the GPM Architecture).
Scenario: Price hits a Vertical Time Line.
Action: Wait for this Fisher indicator to print a "B" or "S".
Result: You enter exactly at the pivot, minimizing drawdown.
Disclaimer: This tool is for technical analysis purposes only. Past performance does not guarantee future results.
Zig Zag & Trendlines with Dynamic Threshold ATRPercentage Zig Zag with Dynamic Threshold
This Pine Script indicator is an advanced Zig Zag tool that identifies and tracks price pivots based on a percentage move required for reversal, offering a clear visual representation of volatility-adjusted trends.
Core Functionality (The Reversal Threshold):
Unlike standard Zig Zag indicators that use a fixed price difference, this indicator calculates the required reversal size (%X) dynamically using the Average True Range (ATR).
It calculates the ATR as a percentage of the current price (ATR%).
The final threshold is this ATR% multiplied by a user-defined factor (default 3x).
This means the reversal threshold is wider during volatile periods and narrower during quiet periods, adapting automatically to market conditions. Users can optionally revert to a fixed percentage if desired.
Trend Extension Lines:
The indicator draws two unique, dynamic trend lines connecting the last two significant Highs and the last two significant Lows. Crucially, these lines do not wait for the entire Zig Zag leg to confirm:
If the price is actively forming a new up-leg, the High Extension Line connects the last confirmed High to the current extreme high of the active move.
The Low Extension Line functions similarly for the downtrend.
This feature allows the user to visualize dynamic support and resistance levels based on the current, active trend structure defined by the percentage threshold.
Order Blocks V5 by GaryIn financial markets, Order Blocks are a powerful Price Action concept representing large-scale buying/selling by institutional investors or major capital at specific price ranges. They often signal potential reversals or trend continuations. However, standard Order Block definitions are often overly broad, generating excessive noise in real-market conditions and leading to misjudgments.
Order Blocks V5 was developed to address this pain point. It integrates complementary technical tools and flexible analysis logic to help you screen high-quality, reliable trading opportunities.
Core Features & Functions:
1. Dual Structure Detection
Swing Order Blocks: Identifies large-scale Order Blocks formed on the primary trend structure based on your custom Swing Length (e.g., 50 bars). These blocks typically indicate significant market turning points.
Internal Order Blocks: Detects smaller-scale Order Blocks within trends using a shorter Internal Structure Length (e.g., 5 bars). This helps capture short-term pullback and reversal opportunities.
2. Complementary Technical Tools for Filtering
Built-in Bollinger Bands (For Reference): The indicator displays Bollinger Bands (customizable length and standard deviation) directly on the chart. While it doesn’t include automatic Bollinger Bands filtering logic, you can use this tool to assess market volatility and overbought/oversold conditions manually. For example, prioritize Internal Order Block signals when price touches or nears the upper/lower bands—adding a discretionary filter to reduce false signals.
Moving Averages for Trend Context: Integrated with 5-period, 10-period, 20-period, 40-period, and 60-period EMAs. Use these to judge the current trend direction:
Focus on bullish Order Block signals when EMAs are in a bullish alignment (uptrend).
Focus on bearish Order Block signals when EMAs are in a bearish alignment (downtrend).
This helps you trade with the trend and filter low-quality counter-trend signals.
3. "Touch & Reversal" Signals
The indicator not only marks Order Blocks but also intelligently monitors price interactions with them. A price retest of an Order Block is inherently noteworthy.
More importantly, when price touches an Order Block and then:
Breaks above the high of the touch bar (for bullish Order Blocks), or
Breaks below the low of the touch bar (for bearish Order Blocks),
The indicator instantly generates prominent labels like B-SOB (Buy - Swing Order Block) or S-IOB (Sell - Internal Order Block) on the chart—signaling a potential reversal confirmed by market action.
4. Highly Customizable
Tailor the indicator to your trading style and instruments with adjustable parameters:
Display colors and transparency for both Order Block types.
Detection lengths for swing and internal structures.
Option to remove Order Block boxes after price breaks.
Sensitivity of Touch & Reversal signals (e.g., max signals per block, minimum bars between touches).
Toggle visibility of Bollinger Bands and individual EMAs.
How to Use Order Blocks V5 to Enhance Your Trading?
1. Identify Trend Direction: Use the built-in EMA system (e.g., 20/40/60 EMA alignment) to determine if the market is in an uptrend, downtrend, or consolidation.
2. Locate Key Zones: Focus on green (bullish) and red (bearish) Order Block boxes automatically drawn on the chart—these are potential support/resistance areas.
3. Apply Discretionary Filtering:
Use Bollinger Bands to gauge volatility: Avoid signals in narrow-range (low-volatility) markets; prioritize signals when price approaches extreme bands.
Combine with trend direction from EMAs to filter 逆势 (counter-trend) signals.
4. Wait for Confirmation:
Conservative Strategy: Enter trades only after price retests an Order Block and triggers a Touch & Reversal signal (e.g., B-... or S-... labels).
Aggressive Strategy: Monitor price when it first touches an Order Block, combining with indicators like RSI or MACD to identify potential entry points.
5. Risk Management: Place stop-loss orders outside the Order Block box to filter false breaks.
Risk Disclaimer: No indicator guarantees 100% win rate. Use this tool as part of your trading system, combine it with other analysis methods, and strictly follow risk management rules.
Download, test it out, and share your feedback in the comments!
EMA Scalp PRO ema cros+heikin-ashi-vol-atr EMA Scalp PRO – indicator is a visual scalping helper designed mainly for crypto pairs on lower timeframes (10–30m). It is NOT an automated trading strategy but a trend and momentum signal tool that helps the user take more disciplined entries.
Core logic:
• Core signals when EMA 9 crosses EMA 21 (bullish or bearish crossover)
• Higher–timeframe trend filter with EMA 144 and optional EMA 200
• Momentum filter with RSI
• Liquidity/volume filter using Volume SMA with a dynamic multiplier
• Directional filter using Heikin Ashi trend (bull / bear)
• Consolidation detection with ATR, EMA distance and ADX, plus a separate breakout condition
• Cooldown bars after each signal to reduce overtrading and noise
The script plots:
• Long / Short signals with labels directly on the chart
• Exit signals when EMA 9 makes a reverse crossover against EMA 21
• An information table (mode, trend, market state, ATR ratio, RSI, volume, etc.) to quickly assess current market conditions
Important:
• This indicator is strictly for educational and informational purposes.
• It does NOT provide financial or investment advice.
• The user must apply their own risk management (position sizing, SL/TP) and always test the tool on historical data or in paper trading before using it in live markets.






















