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.
Equal Highs/Lows Multi-Pivot [Julio]Equal Highs/Lows Multi-Pivot
Description
A sophisticated multi-timeframe pivot analysis tool that detects and highlights equal highs and equal lows across four different pivot lengths simultaneously. This indicator identifies price levels where the market creates identical extremes, a powerful signal of institutional support/resistance and potential reversal or breakout zones.
How It Works
Four Independent Pivot Streams
Pivot 1 (Intraday - 2 bars): Ultra-fast level detection for scalpers
Pivot 2 (Session - 4 bars): Short-term swing levels
Pivot 3 (Daily - 6 bars): Medium-term structural levels
Pivot 4 (Weekly - 9 bars): Long-term institutional levels
Equal High (EQH) Detection
Compares consecutive swing highs and draws a line when two highs are nearly identical within a defined threshold. The indicator uses ATR-based confluence to determine "equality," filtering out noise while catching true market structure.
Equal Low (EQL) Detection
Same logic applied to swing lows, identifying support zones where price repeatedly fails to break below previous lows.
Key Features
Four Simultaneous Timeframes: Analyze intraday, session, daily, and weekly structures all on one chart
ATR-Based Confluence Threshold: Automatically adjusts sensitivity based on current volatility (no fake signals)
Color-Coded Levels: Each pivot length has distinct colors for instant visual identification
Highs: Red, Orange, Yellow, Fuchsia
Lows: Green, Blue, Aqua, Purple
Confirmation Mode: Optional setting to wait for full pivot confirmation before marking levels
Customizable Alert Zones: Toggle individual pivot lengths on/off to reduce clutter
Smart Label Positioning: Labels auto-center between the two equal pivots for clarity
Ideal For
Swing traders tracking support/resistance across multiple timeframes
Scalpers identifying micro-structure for quick entries and exits
Market structure analysts studying institutional price action patterns
Multi-timeframe traders needing confluence from intraday to weekly levels
Anyone trading 1-minute to 4-hour charts
Trading Applications
Identify strong support/resistance zones: Equal levels = confirmed institutional levels
Confirm trend reversals: Multiple equal lows = strong accumulation zone; multiple equal highs = distribution
Plan entries with precision: Enter near equal levels for higher probability setups
Detect liquidity concentration: Where price repeatedly tests the same level
Multi-timeframe confluence: Look for equal levels across multiple pivot lengths for ultra-strong zones
How to Use
Identify the equal levels: Color-coded lines instantly show where price creates matching extremes
Check for confluence: Strong setups occur where multiple pivot lengths align
Wait for price action: Watch for breakouts through equal levels or reversals at these zones
Enter with structure: Use equal levels as entry/exit triggers combined with your trading methodology
Manage with confidence: These levels mark institutional decision points
Customization Options
Adjust pivot lengths to match your preferred timeframe structure
Set ATR threshold sensitivity (lower = stricter equality, higher = more signals)
Toggle confirmation mode for additional filter
Enable/disable individual pivot streams to reduce visual clutter
Customize colors to match your chart theme
Default Settings Optimized For
NASDAQ futures and liquid forex pairs
Intraday and swing trading (1-minute to 4-hour charts)
Smart Money / ICT trading methodologies
Volatility-adjusted confluence detection
21-50-100 EMA Crossover indicatorSimple EMA crossover indicator visualizing 21-50-100 EMA crossovers.
Asia & London Session Boxes (NY Time) + 4H SwingsAsia & London Session Boxes + 4H Swings
Description
A multi-timeframe session analysis tool designed for forex and futures traders operating on NY time. This indicator visualizes major trading sessions with automatic high/low range boxes while simultaneously tracking 4-hour swing levels, giving you a complete picture of institutional trading activity and key price levels.
How It Works
Session Boxes (NY Time Zone)
Asia Session (20:00 – 00:00 NY): Blue-shaded box marking the complete range from open to close
London Session (02:00 – 06:00 NY): Yellow-shaded box capturing the high-volatility London open
Each session box automatically records the highest high and lowest low during that timeframe, providing instant reference for session extremes and potential supply/demand zones.
4-Hour Swing Levels
Detects swing highs and lows on a 30-minute timeframe for ultra-responsive level identification
Red lines: Swing highs (resistance levels)
Green lines: Swing lows (support levels)
Lines extend to the right for continuous monitoring
Auto-removes touched levels: When price breaches a swing, it automatically deletes that level to keep your chart clean and focused on active levels
Key Features
Session-Based Trading Analysis: Identify which session created important price levels and ranges
Multi-Timeframe Architecture: Analyzes 30-minute swings while tracking 4-hour patterns on your current chart
Smart Level Cleanup: Touched swings automatically remove themselves, eliminating clutter
NY Time Conversion: All times automatically adjust to your NY timezone for consistency
Institutional Perspective: View exactly where institutions are trading during major session hours
Zero Lag Detection: Real-time identification of swing extremes
Ideal For
Forex traders (especially EUR/USD, GBP/USD) targeting session breakouts
Scalpers and swing traders needing precise support/resistance levels
Market structure traders analyzing institutional price action
Session traders looking to trade Asia/London opens
1-minute to 4-hour timeframe charts
Trading Applications
Trade Asia session breakouts into London
Identify liquidity zones from previous sessions
Detect swing extremes for entry/exit planning
Confirm trend direction using multi-session structure
Find support/resistance on intraday pullbacks
Default Settings Optimized For
NASDAQ futures and forex pairs
Scalping and short-term swing trading
NY timezone trading (automatically converts UTC-4)
30-minute swing detection for precise level identification
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.
RT-Custom Clouds|RSI|HMA|GPIntroduction
The RT-Custom Clouds|RSI|HMA|GP indicator is a multipurpose toolkit that combines custom Ichimoku clouds, custom RSI-based overlays, RSI Top/Bottom signals, Hull Moving Averages and automated Fibonacci Golden Pocket zones into a single indicator. It is designed to give traders flexible ways to view trend, momentum, and key zones on the chart.
This publication walks through each major component of the RT-Custom Clouds|RSI|HMA|GP indicator and how traders commonly use them.
Custom Ichimoku Clouds
The top section of RT Custom Clouds focuses on Ichimoku-style clouds. Traders can choose between different cloud variants and control whether they want the full Ichimoku toolkit or only the cloud itself on the chart.
A single toggle controls the cloud display: Cloud Only (All Versions) - When enabled, only the selected cloud is displayed. Core Ichimoku lines are hidden so traders who prefer a clean cloud view can keep their charts simple. Traders can select between three cloud styles: Josh Olszewicz Cloud (Preferred) - Uses a doubled parameter set inspired by the well-known Ichimoku variant popularized by Josh Olszewicz.
Standard Cloud - Uses the classic Ichimoku settings familiar from most charting platforms.
Custom Cloud - Allows full control over the main Ichimoku inputs:
Custom Conversion Line Length
Custom Base Line Length
Custom Leading Span Length
Custom Displacement
These options let traders move between a standard Ichimoku view, a doubled parameter variant, or a fully customized configuration tuned to their own style.
Custom RSI X's and RSI Bot Signals
The RT-Custom Clouds|RSI|HMA|GP indicator also includes an RSI X overlay that plots RSI information directly onto price candles instead of keeping it in a separate lower pane. This makes it easier to see momentum shifts and extended conditions without constantly looking down at another indicator. RSI Colors
Instead of drawing RSI as a line, the tool places colored X markers on candles to reflect RSI behavior. These markers use an adapted version of the Rainbow Trends color system. To keep candle colors and RSI markers visually distinct, the original Rainbow Trends color code is inverted for RSI. This inversion helps traders quickly distinguish between the underlying trend colors and the RSI-driven overlays: RSI Settings
The RSI section includes a focused set of options to tune how the X markers behave and how the RSI Bot interprets momentum:
RSI "X" Marker Sensitivity - Adjusts how sensitive the X markers are to RSI changes. Higher or lower values will change how often markers appear.
RSI Length - Controls how many candles are used when calculating RSI. The default value is similar to traditional 14-period RSI, but can be adjusted.
RSI Markers On/Off - Toggles the colored X markers on or off.
RSI Top/Bottom Signals On/Off - Toggles the RSI Bot signals that mark potential tops and bottoms.
RSI Overbought On/Off - Enables or disables overbought style X markers.
RSI Oversold On/Off - Enables or disables oversold style X markers.
RSI Bot - Tops And Bottoms
Over time, traders using this tool wanted a way to summarize longer stretches of RSI activity into clear signals. The RSI Top/Bottom Bot does this by watching runs of RSI X markers and waiting for those runs to pause.
Conceptually, the RSI Bot: Monitors when a strong sequence of RSI X markers is printing in one direction.
Waits for a candle where no RSI X marker appears after that run.
Marks that candle as a potential RSI Top or RSI Bottom, since the prior RSI pressure has paused and a reversal may start. These signals can be tied to TradingView alerts using standard alert conditions so traders can monitor major shifts in RSI behavior without watching every bar. Alerts can be set for either RSI Top signals or RSI Bottom signals. Hull Moving Average (HMA)
The RT-Custom Clouds|RSI|HMA|GP indicator also includes a Hull Moving Average component inspired by early users of Rainbow Trends tools who relied on tuned HMAs for trend context. The HMA implementation follows common definitions of the Hull Moving Average and can be configured with user-defined lengths. Many traders using this tool treat the HMA as a secondary trend filter or confirmation layer alongside other Rainbow Trends indicators. For example: Watching whether price is trading above or below a longer HMA to frame bullish or bearish bias.
Studying how price interacts with the HMA during extended trends or range rotations.
HMA Cross Alerts And Divergences
The tool can also draw and alert on HMA cross events and divergence style patterns: HMA Cross Alerts - Alerts can be configured when price or multiple HMAs cross, allowing traders to automate notifications for potential trend shifts.
HMA Divergences - An optional divergence mode looks for conditions similar to RSI divergence style setups, but applied to the HMA logic. These are intended as context layers around trend behavior, not as automatic entry and exit rules.
HMA Settings
The HMA module of this indicator can be tuned to meet each trader's preference.
Plot HMA - On/Off - Toggles the HMA Line on/off.
HMA Alerts - On/Off - Toggles HMA Alerts on/off.
Plot HMA Alerts - On/Off - Toggles HMA Alerts on/off.
Plot Divergences - On/Off - Toggles Divergences on/off so the trader can choose which specific ones they want to display.
HMA Period - Adjusts the period of candles the HMA is calculated off of.
HMA Source - Changes the base calculation of the HMA.
Pivot Lookbacks - Adjusts the candle lookback range for the HMA Divergences.
Max/Min of Lookback Range - Adjusts the min & max lookback range for the HMA Divergences. Fibonacci Golden Pockets
The RT-Custom Clouds|RSI|HMA|GP indicator also includes an automated Fibonacci Golden Pocket module. Instead of manually drawing Fibonacci retracements and marking the Golden Pocket region for each swing, the tool scans the chart and plots these zones for the trader.
The Golden Pocket module can be configured using:
Golden Pocket On/Off - Toggles automatic plotting of golden pocket zones.
Golden Pocket Colors - Controls line and fill appearance so zones can be made more or less prominent.
Lookback Period - Defines how far back the algorithm studies price action when searching for swings and drawing golden pocket zones.
Invert Fibs - Inverts the Golden Pocket measurement.
Extend Lines - Allows for the Fib lines to be plotted further across the chart.
Display Prices/Levels - Toggles plotting of the prices and Fib levels on and off. Some traders prefer to work with both traditional and inverted golden pockets at the same time. This can be done by adding RT Custom Clouds to the chart twice, running one instance with standard golden pocket settings and the second instance with inverted settings.
How Traders Commonly Use The RT-Custom Clouds|RSI|HMA|GP Indicator
Because the RT-Custom Clouds|RSI|HMA|GP indicator offers several tools into a single script, traders often use it as a multipurpose context layer rather than a one-dimensional indicator. Common patterns include: Using custom Ichimoku clouds to frame overall trend and support or resistance zones.
Overlaying RSI X markers and RSI Top/Bottom signals onto price to highlight momentum shifts and exhaustion areas.
Adding HMA and HMA cross alerts as a secondary trend confirmation tool.
Letting the Golden Pocket module continuously plot Fibonacci based zones to study how price reacts around them over time.
In all cases, RT Custom Clouds is designed to provide structured context that can be combined with other Rainbow Trends tools, price action, and volume analysis.
Important Note
The RT-Custom Clouds|RSI|HMA|GP indicator is intended to provide additional context around trend structure, momentum, and potential support or resistance zones. It is not a standalone signal generator and should always be used together with your own analysis, testing, and risk management. Historical examples or past interactions with clouds, RSI markers, HMAs, or golden pockets do not guarantee future results.
🐋 Tight lines and happy trading!
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).
Covered Call Extrinsic Monitor This script monitors the amount of extrinsic value left in your covered calls. This helps you avoid being assigned and forced to sell your shares, as options holders normally don't exercise their right to buy until the extrinsic value has been more or less depleted.
This also increases your chances to roll for a credit, as you want to minimize what you pay to buy them back before selling out in time.
Select your options contract in the chart.
Go to indicator options, enter your underlying, strike and level of extrinsic value in %.
You can set the alarm to get notified when you enter the danger zone.
Daily Oversold Swing ScreenerThat script is a **Pine Script Indicator** designed to identify potential **swing trade entry points** on a daily timeframe by looking for stocks that are **oversold** but still in a **healthy long-term uptrend**.
It screens for a high-probability reversal setup by combining four specific technical conditions.
Here is a detailed breakdown of the script's purpose and logic:
---
## 📝 Script Description: Daily Oversold Swing Screener
This Pine Script indicator serves as a **momentum and trend confirmation tool** for active traders seeking short-to-intermediate-term long entries. It uses data calculated on the **Daily** timeframe to generate signals, regardless of the chart resolution you are currently viewing.
The indicator is designed to filter out stocks that are in a strong downtrend ("falling knives") and only signal pullbacks within an established uptrend, which significantly increases the probability of a successful swing trade bounce.
### 🔑 Key Conditions for a Signal:
The indicator generates a buy signal when **all four** of the following conditions are met on the Daily timeframe:
#### 1. Oversold Momentum
* **Condition:** `rsiD < rsiOS` (Daily RSI is below the oversold level, typically **30**).
* **Purpose:** Confirms that the selling pressure has been extreme and the stock is temporarily out of favor, setting up a potential bounce.
#### 2. Momentum Turning Up
* **Condition:** `rsiD > rsiPrev` (Current Daily RSI value is greater than the previous day's Daily RSI value).
* **Purpose:** This is the most crucial filter. It confirms that the momentum has **just started to shift upward**, indicating that the low may be in and the stock is turning away from the oversold region.
#### 3. Established Uptrend (No Falling Knives)
* **Condition:** `sma50 > sma200 and closeD > sma50` (50-day SMA is above the 200-day SMA, AND the current daily close is above the 50-day SMA).
* **Purpose:** This is a **long-term trend filter**. It ensures that the current oversold condition is just a **pullback** within a larger, structurally bullish market (50 > 200), and that the price is still holding above the short-term trend line (Close > 50 SMA). This effectively screens out weak stocks in continuous downtrends.
#### 4. Price at Support (Bollinger Bands)
* **Condition:** `closeD <= lowerBB` (Daily Close is less than or equal to the lower Bollinger Band).
* **Purpose:** Provides a secondary measure of extreme price deviation. When the price touches or breaches the lower band, it suggests a significant move away from the mean (basis), often signaling strong statistical support where price is likely to revert.
### 📌 Summary of Signal
The final signal (`signal`) is triggered only when the market is confirmed to be **in a healthy long-term trend (Condition 3)**, the price is at an **extreme support level (Condition 4)**, the momentum is **oversold (Condition 1)**, and most importantly, the **momentum has begun to reverse (Condition 2)**.
CYCLE RESEARCH PRO - FIXEDCYCLE RESEARCH PRO – Fixed & Cleaned (2025 Edition)
The only public T+21 / T+35 / T+147 cycle tracker that actually works.
Features:
• Exact days since the legendary GME sneeze (28 Jan 2021)
• Highlights active T+21, T+35, and T+147 windows (± user-defined tolerance)
• Live countdown to next cycle date for all three
• FTD Proxy detector (extreme volume + true-range spike)
• Clean wide dashboard – no clutter
• Background glows when any cycle window is active
• Built-in alerts including the infamous “T+21 + FTD” combo
• 100 % non-repainting – uses only confirmed bars
• Zero errors, zero warnings, Pine v6 native
Made famous in the meme-stock wars.
Now cleaned, fixed, and ready for the next run.
Works on GME, AMC, BBBY, any stock or crypto.
Use it. Share it. Profit.
Not financial advice. Just math & cycles.
– Published with love for the apes, degens, and cycle chads everywhere
US Market Breadth Rhythm OscillatorThis tool is a market-breadth oscillator built on the core concepts of Fosback’s Relative Breadth , enhanced with proprietary calculations, cyclic smoothing, and adaptive rhythm-based bands. Instead of reacting to price, the oscillator measures the internal “calmness” or “loudness” of the U.S. stock market by analyzing the relative imbalance between advancing and declining issues.
High oscillator readings indicate a calm, quiet internal market—a state where daily breadth fluctuations are small and orderly. These calm conditions frequently appear near market tops.
Low oscillator readings reflect a loud, volatile internal market—a period with strong breadth imbalances in either direction. Such “noisy” conditions are typically associated with market lows.
Usage and interpretation
The oscillator also features dynamic cyclic bands that breathe with market rhythm. These shifting upper and lower bands help highlight potential turning points:
A drop down through the upper band may suggest a developing market top.
A rise up through the lower band may signal a positive shift in market dynamics that often precedes an upswing.
Overall, this tool helps visually identify calm/top conditions, loud/bottom conditions, and possible shifts in market trend by combining enhanced Fosback breadth analysis with adaptive cyclic calculations.
It can be used to visualize potential market extremes and market exhaustions on US main indices. So pick a main US stock market index as price chart and add the market breadth rhythm based on the selected market internals.
However, it is not meant as swing trading system on its own. It is an oscillator which allows to identify extreme market internals which are often in alignment with major changes in trend of the price index.
Examples:
The top key image shows the indicator on a 2h Dow Jones Index price chart during the upswing phase from April to December 2025. The following image showcases the indicator for a longer period from 2022 to 2025 on a daily chart of the Dow Jones Index:
Parameter:
Select the market breadth sources that should be used for the calculation. You can choose between the following breadth sources:
Dow Jones
Nasdaq
New York Stock Exchange
Composite
The Composite selection will create all 3 series and create a merged composite US Breadth Rhythm indicator as result.
The arrows on the price chart visualize directly on the price chart when the indicator crosses below or above the dynamic bands.
Recommended usage:
Open an Dow Jones, Nasdaq, Russel 2000 or New York Stock Exchange Index. Use 1 Day, 4h or 2h timeframe. Add the indicator and choose the market breadth for oscillator readings.
Note:
This oscillator is calculated entirely from market breadth metrics, not from the chart’s price. You can select NASDAQ, Dow Jones, or NYSE breadth (advancers/decliners) as the internal data source.
SSL ST Indicator - MTF SSL FilterPDF Title: SSL ST Indicator – Client Summary
Overview:
The SSL ST Indicator combines SSL (EMA-based support/resistance lines), HMA (Hull Moving Average), and optional multi-timeframe (MTF) SSL confirmation to provide precise trend-following signals, dynamic background zones, and visual entry/exit cues.
Key Features:
* Trend detection with SSL & Baseline EMA
* Optional HMA for trend strength
* Multi-Timeframe SSL filter for higher timeframe confirmation
* Dynamic background zones (green = bullish, red = bearish)
* Entry/exit labels & shapes
* Alert conditions for automated notifications
Visual Elements:
* Blue Line: SSL line
* Gray Line: Baseline EMA
* Orange Line: HMA line
* Green Background: Bullish Trend
* Red Background: Bearish Trend
* Green Triangle: Buy Signal
* Red Triangle: Sell Signal
* Yellow Cross: Exit Signal
Signal Logic:
* Buy: SSL crosses under baseline (filtered by MTF SSL if enabled)
* Sell: SSL crosses over baseline (filtered by MTF SSL if enabled)
* Exit: SSL crosses opposite trend or optional HMA slope changes
Usage Instructions:
1. Add the indicator to your chart.
2. Configure EMA/HMA lengths and optional MTF timeframe.
3. Enable background zones and labels for easy trend visualization.
4. Monitor triangles and crosses for trade signals.
5. Set alerts for automatic notifications.
Advantages:
* Fully aligned with candlesticks (no misalignment when scrolling)
* Multi-timeframe confirmation reduces false signals
* Visual trend zones improve market interpretation
* Alerts help automate monitoring and decision-making
Disclaimer
This strategy is provided strictly for educational and informational purposes only. It does not guarantee any profit, nor does it protect against losses of any kind. Financial markets are inherently unpredictable, and any market movement can only be assumed or estimated with a probability that is never guaranteed and can often be no better than a 50/50 chance.
By using this strategy, you acknowledge that all trading decisions are made solely at your own risk. I am not liable for any profits, losses, or financial consequences incurred by anyone using or relying on this strategy. Always perform your own research, manage your risk responsibly, and consult with a qualified financial advisor before trading.
Cycle Spectrum AnalyzerCycle Spectrum Indicator — Short Description
This indicator computes a visual Fourier cycle spectrum from the input price data to reveal the market’s dominant cyclical behaviour. The price series is first detrended using a Hodrick–Prescott filter, after which a specialized Fourier analysis variant extracts the cycle components.
The resulting spectrum displays peaks that represent the dominant cycles present in the data, where each peak’s cycle length and amplitude indicate the strength and duration of the underlying rhythm. The most significant peaks are ranked, highlighting the top cycles currently driving market movement. Each detected cycle also includes a phase value, describing the cycle’s position at the most recent bar (e.g., topping, bottoming, rising, falling).
The indicator can be used to:
Identify the top 3 dominant cycles with their length and phase.
Analyze the current market state by interpreting these phases.
Feed the dominant cycle lengths—often half the primary cycle—into other technical indicators for improved parameter tuning.
Project cycles forward to estimate upcoming turning points and anticipate potential trend shifts.
Additional Explanation of the included visual example image
Left Area – The Theoretical “Perfect Cycle”
The left part of the illustration presents a theoretical, perfectly smooth sine-wave cycle. This serves as a reference model to explain the core cycle parameters:
Cycle Length – The full wavelength of one complete oscillation (from trough to trough or peak to peak).
Phase – The current position within that cycle, expressed both numerically and as an easy-to-read text label such as Bottom_Departure, Uptrend_Neutral, Approaching Top, or Top_Departure.
The diagram highlights visually how a cycle progresses through bottoming, rising, peaking, and declining phases, matching the phase descriptions used in the indicator’s output. This helps translate raw phase angles into intuitive market-state labels (e.g., recovery, boom, topping, recession).
Right Area – The Price Series Used for Analysis
On the right, the actual price chart (e.g., Dow Jones Industrial Average) is displayed. This is the dataset from which the Fourier cycle spectrum is computed.
At the bottom of this chart section, a purple bar indicates the amount of historical data included in the cycle analysis. Because Fourier-based methods depend strongly on sample size, this visual cue shows how far back the indicator collected and processed data before generating the spectrum.
Bottom Area – The Cycle Spectrum Output Pane
The lower pane contains the Cycle Spectrum Analyzer output:
It displays the cycle spectrum at the most recent bar, where each green peak corresponds to a detected cycle.
Peak height = amplitude (strength) of the cycle
Peak position (horizontal) = dominant cycle length
The largest peaks represent the strongest cycles currently present in the detrended price series.
Next to the spectrum, a ranked table lists the Top 3 dominant cycles, showing:
Rank (1 = strongest)
Cycle Length (in bars)
Phase Description (interpreting where that cycle is right now)
This concise summary allows users to quickly understand:
Which cycles are strongest,
How long they are,
And whether they are currently bottoming, topping, rising, or falling.
How the Indicator Works & How It Can Be Adjusted
Calculation Only at the Last Bar
The indicator performs its full Fourier-based cycle decomposition exclusively on the most recent bar. This ensures that the spectrum always reflects the current market state without repeatedly recalculating historical spectra. The result is an efficient, real-time snapshot of the dominant cycles influencing the price at the latest point in time.
Works on Any Symbol and Any Timeframe
Because the analysis operates directly on the provided price series, the indicator is compatible with all markets and all timeframes—stocks, indices, forex, crypto, futures, and intraday charts alike.
The detected cycle lengths always refer to the selected chart’s bar interval (e.g., 240-bar cycle on a 1h chart ≈ 240 hours; same cycle on a daily chart ≈ 240 days).
Adjustable Historical Lookback (Default: 1100 Bars)
The accuracy of cycle detection depends on the amount of historical data used. The indicator provides a parameter allowing you to specify how many past bars should be included in the Fourier calculation.
Standard value: 1100 bars
Increasing the lookback allows detection of longer cycles, but may dilute short-term characteristics.
Decreasing it focuses on shorter and medium-term cycles, increasing responsiveness but reducing visibility of long-duration rhythms.
By tuning this lookback parameter and choosing an appropriate timeframe, traders can adapt the cycle spectrum to match their analytical style—short-term, medium-term, or long-term cycle interpretation.
Scan daily IndiaSetup scan for daily to enter for swing trades.
There is lot to improve here. Just a test script
SPY EMA + VWAP Day Trading Strategy (Market Hours Only)//@version=5
indicator("SPY EMA + VWAP Day Trading Strategy (Market Hours Only)", overlay=true)
// === Market Hours Filter (EST / New York Time) ===
nySession = input.session("0930-1600", "Market Session (NY Time)")
inSession = time(timeframe.period, "America/New_York") >= time(nySession, "America/New_York")
// EMAs
ema9 = ta.ema(close, 9)
ema21 = ta.ema(close, 21)
// VWAP
vwap = ta.vwap(close)
// Plot EMAs & VWAP
plot(ema9, "EMA 9", color=color.green, linewidth=2)
plot(ema21, "EMA 21", color=color.orange, linewidth=2)
plot(vwap, "VWAP", color=color.blue, linewidth=2)
// ----------- Signals -----------
long_raw = close > ema9 and ema9 > ema21 and close > vwap and ta.crossover(ema9, ema21)
short_raw = close < ema9 and ema9 < ema21 and close < vwap and ta.crossunder(ema9, ema21)
// Apply Market Hours Filter
long_signal = long_raw and inSession
short_signal = short_raw and inSession
// Plot Signals
plotshape(long_signal,
title="BUY",
style=shape.labelup,
location=location.belowbar,
color=color.green,
size=size.small,
text="BUY")
plotshape(short_signal,
title="SELL",
style=shape.labeldown,
location=location.abovebar,
color=color.red,
size=size.small,
text="SELL")
// Alerts
alertcondition(long_signal, title="BUY Alert", message="BUY Signal (Market Hours Only)")
alertcondition(short_signal, title="SELL Alert", message="SELL Signal (Market Hours Only)")
Ultimate AIO Scalper & Trend PRO [THF] V2.0This is a comprehensive "All-In-One" trading suite designed to identify high-probability setups by combining **Trend Following**, **Price Action (FVG)**, and **Ichimoku Cloud** systems.
The indicator is designed to be "Ready-to-Trade" out of the box, with all major confluence filters active by default. It helps traders avoid false signals by ensuring that momentum, trend, and support/resistance levels are in alignment.
### 🛠️ Key Features & Components:
**1. Trend & Scalp Engine:**
* **Scalp Signals:** Fast EMA crossovers (7/21) for quick entries.
* **Trend Filter:** Signals are filtered by a long-term SMA (200) to ensure you are trading with the dominant trend.
* **Golden/Death Cross:** Automatically highlights major trend shifts (SMA 50 crossing SMA 200).
**2. Price Action (Fair Value Gaps):**
* **FVG Detection:** Highlights unmitigated Bullish and Bearish imbalance zones. These act as high-probability targets or re-entry zones.
* **Dashboard:** A built-in panel tracks the number of active vs. mitigated gaps.
* **Mitigation Lines:** Automatically draws lines when price tests an FVG level.
**3. Ichimoku Cloud Overlay:**
* Displays the full Ichimoku system (Tenkan, Kijun, and Kumo Cloud) to identify dynamic support/resistance and trend strength.
* **Usage:** Perfect for confirming breakout signals when price is above/below the Cloud.
**4. Momentum & Volume:**
* **Volume Coloring:** Bars are colored based on relative volume strength.
* **RSI & MACD:** Integrated buy/sell signals to spot overbought/oversold conditions instantly.
### 🎯 How to Trade (Confluence Strategy):
The power of this script lies in **Confluence** (multiple indicators agreeing):
* **Buy Setup:**
1. Price is above the **Ichimoku Cloud** and **SMA 200**.
2. Wait for a **"SCALP BUY"** signal or **"Trend BUY"** label.
3. Confirm that price is reacting to a **Bullish FVG** (Green Box).
4. **RSI/MACD** should show bullish momentum.
* **Sell Setup:**
1. Price is below the **Ichimoku Cloud** and **SMA 200**.
2. Wait for a **"SCALP SELL"** signal.
3. Confirm rejection from a **Bearish FVG** (Red Box).
---
**CREDITS & ATTRIBUTION:**
* **Fair Value Gap Logic:** This script utilizes the open-source FVG calculation method originally developed by **LuxAlgo**. We have integrated this logic with our custom trend system to provide a complete trading view.
* **Trend Logic:** Custom compilation of Moving Average crossovers and Ichimoku standard calculations.
*Disclaimer: This tool is for educational purposes only. Always manage your risk.*
Universal Valuation 4.0 - QuantSyUniversal Valuation 4.0 - Market Extremes Detector
A professional-grade indicator designed to identify extreme market conditions and potential reversal zones with high precision.
📊 WHAT IT DOES:
Measures market valuation extremes to help investors identify optimal entry and exit points. The indicator displays a score that signals when markets are significantly overbought or oversold.
📈 HOW TO USE:
- Values above +1.5: Overbought territory (purple background)
- Values below -1.5: Oversold territory (aqua background)
- Values near 0: Neutral market conditions
🎯 VISUAL FEATURES:
- Clean oscillator display with dynamic color coding
- Real-time readings table for quick assessment
- Background highlighting for extreme zones
- Neon pink/blue gradient for easy interpretation
Perfect for swing traders and investors looking to identify accumulation and distribution zones.
**⚠️ Disclaimer**
Educational tool only - does not constitute investment advice. The developer assumes no liability for any trading profits or losses incurred through the use/misuse of this indicator.
This indicator does not include any features related to interest, leverage, or gambling. Users are fully responsible for making sure their assets and trading practices align with Islamic guidelines.
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
---






















