Pine Script®指标
指标和策略
Cycle Spectrogram [LuxAlgo]The Cycle Spectrogram indicator is a spectral analysis tool that visualizes the power of various price cycles to identify dominant periodicities and market rhythms.
🔶 USAGE
The indicator provides a technical visualization of spectral density over time by decomposing price action into multiple cycle bands. This allows traders to identify whether the market is currently influenced by short-term noise or long-term structural cycles.
🔹 Spectrogram Interpretation
The spectrogram consists of 30 rows, each representing a specific cycle period. The vertical axis is logarithmically scaled between the "Minimum Period" and "Maximum Period" settings.
Color Intensity: Brighter or more saturated colors (depending on the selected theme) indicate higher spectral power or "energy" at that specific cycle length. Vertical Position: Higher rows represent longer cycle periods (slower cycles), while lower rows represent shorter periods (faster cycles).
🔹 Dominant Period Tracking
To help identify the most significant cycle at any given time, the script includes a Dominant Period Marker (red cross). This marker tracks the row with the highest energy, providing a real-time estimate of the current market cycle length in bars.
🔹 Dashboard Metrics
A real-time dashboard provides key analytical data:
Current DP: The period (in bars) of the most powerful cycle found in the current bar. Average DP: A 20-period moving average of the dominant period, useful for identifying stable, persistent cycles versus erratic shifts. Lowest Period: A reference for the minimum boundary of the spectral analysis.
🔶 DETAILS
A spectrogram is a visual representation of the spectrum of a signal as it varies with time. This script utilizes a series of Bandpass filters to isolate specific cycle lengths. Each filter is tuned to a period calculated using a logarithmic distribution, ensuring that the analysis covers a wide range of market periodicities without bias toward specific scales.
The "Power" of each cycle is calculated by squaring the output of the bandpass filter and applying a smoothing factor. This process helps filter out transient spikes and provides a cleaner "heat" signature for more reliable cycle identification.
🔶 SETTINGS
🔹 Aesthetics
Theme: Select from several high-contrast color maps, including Viridis, Inferno, Magma, Plasma, Cividis, and Turbo.
🔹 Settings
Minimum Period: The shortest cycle length (in bars) to include in the analysis. Maximum Period: The longest cycle length (in bars) to include in the analysis. Bandwidth: Controls the "focus" or resonance of each cycle band. Lower values result in narrower, more precise detection, while higher values allow for more overlap. Power Smoothing: Determines the amount of smoothing applied to the amplitude. Higher values reduce visual noise but may increase lag in detecting cycle shifts.
🔹 Dashboard
Dashboard: Toggles the visibility of the data table. Position: Moves the dashboard to different corners of the pane. Size: Adjusts the text and cell size of the dashboard.
Pine Script®指标
Trend Channel with Buy/Sell SignalsFree Telegram Trading Community t.me
📈 Trend Channel with Buy/Sell Signals
Short Title: TrendChannel Signals
How It Works
This indicator combines linear regression channel analysis with trend-confirmed pullback signals to help you trade with the trend, not against it.
The core philosophy is simple: Only take buy signals in uptrends and sell signals in downtrends. This prevents you from fighting the dominant market direction and increases the probability of successful trades.
🔑 Key Concept: Trading Pullbacks in Trend Direction
The indicator identifies the current trend direction by analyzing the slope of the regression channel:
Uptrend = Channel slopes upward (left side higher than right side)
Downtrend = Channel slopes downward (left side lower than right side)
The Smart Entry Logic:
BUY SIGNALS (Uptrend Only): When price breaks below the lower channel line and then moves back UP into the channel. This captures pullbacks in an uptrend.
SELL SIGNALS (Downtrend Only): When price breaks above the upper channel line and then moves back DOWN into the channel. This captures pullbacks in a downtrend.
📊 What It Displays
Linear Regression Channel - The core trend/regression line with upper and lower boundaries
Trend Direction Label - Clearly shows "UPTREND" or "DOWNTREND" at the start of each channel
Pearson's R Value - Shows the correlation strength (optional display)
Buy/Signal Alerts - Visual triangles at entry points with optional pop-up alerts
⚙️ Key Features
Trend-Filtered Signals - Ensures you only trade in the direction of the prevailing trend
Pullback Detection - Identifies when price retraces to the channel after a breakout
Customizable Deviation Bands - Use standard deviation or min/max pricing
Adjustable Length - Control the sensitivity of the regression calculation
Alert Conditions - Get notified when potential setups occur
🎯 Trading Strategy
For Long Positions (Uptrend):
Wait for "UPTREND" label to appear
Look for price to close below the lower channel line
Enter when price moves back above the lower line
Place stop loss below the recent swing low
For Short Positions (Downtrend):
Wait for "DOWNTREND" label to appear
Look for price to close above the upper channel line
Enter when price moves back below the upper line
Place stop loss above the recent swing high
📝 Best Practices
Use higher timeframes (1H, 4H, Daily) for trend confirmation
Combine with volume analysis for stronger signals
Consider Pearson's R value (>0.7 indicates strong trend)
Adjust channel length based on your trading style (shorter for scalping, longer for swing trading)
🔍 Keywords
Linear Regression Channel, Trend Following, Pullback Strategy, Mean Reversion, Channel Trading, Trend Confirmation, Buy/Sell Alerts, Technical Analysis, Price Action, Support and Resistance, TradingView Indicator, Algorithmic Trading, Swing Trading, Day Trading, Trend Analysis, Regression Bands, Statistical Arbitrage, Momentum Trading, Counter-trend Pullbacks, Smart Money Concepts
⚠️ Disclaimer
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always use proper risk management and test strategies thoroughly before trading with real money.
Settings Overview
Parameter Description
Length Number of bars for regression calculation (50-5000)
Deviation Type Choose between Standard Deviation or Min/Max pricing
Deviation Multiplier Adjust channel width (1.0-4.0 recommended)
Extend Lines Choose to extend channel lines left/right/both
Pearson's R Display Show/hide correlation strength on chart
Pine Script®指标
s-PV Gap Screener# TradingView Publication Description
## Title
s-PV Gap Screener - Price & Volume Breakouts + Gap Detection: only works with www.tradingview.com
## Short Description
Multi-signal screener combining trend-filtered price/volume breakouts with dual-threshold gap detection. 19 output columns for comprehensive technical filtering.
## Full Description
---
### 📊 Overview
**s-PV Gap Screener** is a comprehensive technical screener designed for TradingView's Pine Screener that combines two powerful signal types:
1. **Price & Volume Breakouts** - Detects when price and volume simultaneously break out, filtered by trend (200 SMA)
2. **Gap Detection** - Identifies significant overnight price gaps with dual customizable thresholds
**Inspiration:** This screener is inspired by the excellent (), expanding on that concept to add gap detection, short setups, and multi-signal confirmation.
---
### ✨ Key Features
**Price & Volume Breakout Detection:**
- ✅ Trend-filtered breakouts (SMA confirmation - avoid counter-trend signals)
- ✅ Both long AND short breakout detection
- ✅ Customizable lookback periods (10-500 bars)
- ✅ Strength calculation (% above/below breakout level)
- ✅ Volume confirmation (must exceed highest volume in period)
**Gap Detection:**
- ✅ Dual threshold system (default 5% and 10%)
- ✅ Independent tracking for moderate and major gaps
- ✅ Direction filtering (gap up, gap down, or both)
- ✅ Historical gap scanning (up to 500 bars)
**Composite Signals:**
- ✅ Combined Score (0-80 weighted system)
- ✅ "Any Signal" flag for quick filtering
- ✅ 19 total output columns
---
### 🎯 How It Works
#### Price & Volume Breakout Logic
**Long Breakout Triggers When:**
1. Close > Highest High in lookback period
2. Volume > Highest Volume in lookback period
3. Close > SMA (trend filter - ensures uptrend)
**Short Breakout Triggers When:**
1. Close < Lowest Low in lookback period
2. Volume > Highest Volume in lookback period
3. Close < SMA (trend filter - ensures downtrend)
The trend filter is crucial - it prevents false breakouts by ensuring the move aligns with the dominant trend direction. This is inspired by TradeDots' approach but adds the short side capability.
#### Gap Detection Logic
Calculates overnight gap: `(Open - Previous Close) / Previous Close * 100`
Tracks the most recent gap for each threshold independently, allowing you to monitor both moderate gaps (5%) and major gaps (10%) separately.
---
### 📈 Screener Output Columns (19 Total)
**Price & Volume Breakout (7 columns):**
- PV Breakout Flag (0/1)
- PV Days Ago
- PV Breakout Date (YYYYMMDD format) - tw doesnt allow for better formating
- PV Strength %
- PV Type (1=long, -1=short, 0=none)
- Volume Ratio (current/average)
- Price vs SMA % (distance from trend line)
**Gap Threshold 1 (5 columns):**
- Gap1 Flag, Days Ago, Date, Size %, Direction
**Gap Threshold 2 (5 columns):**
- Gap2 Flag, Days Ago, Date, Size %, Direction
**Composite (2 columns):**
- Any Signal (quick filter)
- Combined Score (weighted 0-80)
---
### ⚙️ Input Parameters
**Fully Customizable:**
- Price/Volume breakout periods (default 60 bars)
- Trend filter SMA length (default 200)
- Gap thresholds (default 5% and 10%)
- Historical lookback (default 100 bars)
- Direction filters (long only, short only, or both)
---
### 💡 Example Usage Scenarios
**1. Fresh Momentum Breakouts:**
```
PV Breakout Flag = 1
PV Days Ago <= 5
Volume Ratio >= 1.5
```
**2. Major Gaps Awaiting Confirmation:**
```
Gap2 Flag = 1
Gap2 Days Ago <= 20
PV Breakout Flag = 0
Price vs SMA % > 0
```
**3. High Conviction Multi-Signal:**
```
PV Breakout Flag = 1
Gap1 Flag = 1
Combined Score >= 60
Volume Ratio >= 2.0
```
**4. Long Setups in Strong Trends:**
```
PV Type = 1
Price vs SMA % >= 5
PV Strength % >= 3
```
---
### 🎓 How to Use
**Step 1:** Add indicator to a **DAILY chart**
**Step 2:** Configure settings (or use defaults)
**Step 3:** Open Pine Screener: www.tradingview.com
**Step 4:** Add "s-PV Gap Screener" to your screener columns
**Step 5:** Apply filters and sort by Combined Score
**Detailed documentation:** See published script comments or README
---
### 📅 Date Format
Dates display as **YYYYMMDD** (e.g., 20260212 = February 12, 2026)
- Sortable chronologically
- ISO 8601 standard
- Easy to filter by date ranges
---
### ⚠️ Important Notes
**DAILY TIMEFRAME ONLY:** This screener is designed for daily bars. Other timeframes may produce unexpected results.
**500-Bar Limit:** Pine Screener loads last 500 bars (~2 years on daily). This is a TradingView platform limitation.
**Combined Score Weights:**
- PV Breakout: +30 points
- Gap Threshold 1: +20 points
- Gap Threshold 2: +30 points
- Maximum: 80 points
---
### 🔄 Differences from TradeDots Strategy
This screener **expands** on the TradeDots concept:
✅ **Added:** Gap detection (dual thresholds)
✅ **Added:** Short breakout detection
✅ **Added:** Combined scoring system
✅ **Added:** Multiple output columns for detailed filtering
✅ **Modified:** Designed specifically for Pine Screener (not a strategy)
✅ **Kept:** Core PV breakout logic with trend filter
**Credit:** Original PV breakout concept from ()
---
### 🎯 Best For
- Swing traders looking for momentum setups
- Traders who combine multiple technical signals
- Screening large watchlists for breakout opportunities
- Finding gap plays with volume confirmation
- Multi-timeframe position traders
---
### 📊 Tips for Best Results
1. **Start Broad:** Filter by `Any Signal = 1`, sort by Combined Score
2. **Volume Confirmation:** Add `Volume Ratio >= 1.5` for stronger signals
3. **Trend Alignment:** Filter by `Price vs SMA % > 0` for longs (or `< 0` for shorts)
4. **Fresh Signals:** Use `PV Days Ago <= 10` for recent breakouts
5. **Save Presets:** Create filter combinations for different strategies
---
### 🔧 Customization
All parameters are configurable via inputs:
- Adjust periods to match your trading timeframe
- Modify gap thresholds for your volatility preference
- Enable/disable specific signal types
- Change trend filter SMA length (50, 100, 200, etc.)
---
### 📚 Additional Resources
**Full Documentation:** See README.md in published script or at:
github.com /indicators/pine-screeners/PVscreener/
**Pine Screener Guide:** www.tradingview.com
**Original Inspiration:** ()
---
### ⚖️ Disclaimer
This indicator is for informational and educational purposes only. It does not constitute financial advice. Always do your own research and use proper risk management. Past performance does not guarantee future results.
---
### 🙏 Credits
- **Inspired by:** TradeDots' Price and Volume Breakout Buy Strategy
- **Original concept:** Price + Volume confirmation with trend filter
- **Enhancements:** Gap detection, short setups, multi-signal scoring
---
**Version:** 2.0
**Type:** Screener Indicator
**Timeframe:** Daily (1D)
**Outputs:** 19 columns
**License:** Mozilla Public License 2.0
---
### 📝 Release Notes
**v2.0 (February 2026)**
- Optimized for Pine Screener usage
- 19 output columns for comprehensive filtering
- Dual gap threshold system
- Combined scoring mechanism
- Full input customization
**v1.0**
- Initial release with PV breakout detection
- Gap detection added
- Trend filtering implemented
---
### 🏷️ Tags
`screener` `breakout` `volume` `gap` `momentum` `trend` `technical-analysis` `multi-signal` `price-action` `volatility`
---
Pine Script®指标
Ye Min Naing EMA + Wave TrendAll in One indicator Base on EMA 9
Chart Overlay (price panel)
- EMA 9 (blue) - primary signal line
- EMA 21 (orange) - trend reference
- EMA 50 (gray) - major trend
- VWAP (purple)
- BUY/SELL labels on the chart
Oscillator (separate pane)
- Wave Trend Main Line (green) - ema(ci, 21) where ci = (hlc3 - ema(hlc3, 10)) / (0.015 * d)
- Signal Line (red) - SMA(main, 4) (verified from data)
- Histogram (columns) - main minus signal
- Dots at local min/max of main line
- Diamonds at histogram zero-crosses in OB/OS zones
- Reference lines at 0, +60, -60
Signal Logic
- BUY: Close crosses above EMA 9 + alternating state (must follow a SELL)
- SELL: Close crosses below EMA 9 + alternating state (must follow a BUY)
- Configurable confirmation bars (default: 1)
- Uses force_overlay=true so everything works in a single indicator
Pine Script®指标
4EMA+RSI+BuySell+Diverg+NWE+BB Megart4 EMA
RSI 70/30 and 80/20 Signals
Nadaraya-Watson Signals
Buyer/Seller Change Signal
Ballinger Bands Concentrate show
Pine Script®指标
Volume Footprint SR Zones//@version=5
indicator("Volume Footprint S&R Zones", overlay=true, max_boxes_count=500)
// Input Settings
int lookback = input.int(20, "Lookback Periods", minval=1)
color bullColor = input.color(color.new(color.green, 80), "Support Zone Color")
color bearColor = input.color(color.new(color.red, 80), "Resistance Zone Color")
// Function to find the High Volume Level (POC approximation)
get_poc() =>
float max_vol = 0.0
float poc_level = 0.0
// Dividing the bar into 10 segments to find the highest volume concentration
for i = 0 to 9
float level_price = low + (high - low) * (i / 10.0)
if volume > max_vol
max_vol := volume
poc_level := level_price
poc_level
// Logic for 30-Minute Timeframe
is_30m = timeframe.isintraday and timeframe.multiplier == 30
var box zoneBoxes = array.new_box()
if is_30m
float poc = get_poc()
bool is_bull = close > open
// Create a new zone box based on the POC of the 30m candle
color zone_col = is_bull ? bullColor : bearColor
// Define the zone (approx 2 ticks wide for visibility)
float zone_top = poc + (syminfo.mintick * 5)
float zone_bottom = poc - (syminfo.mintick * 5)
new_box = box.new(left=bar_index, top=zone_top, right=bar_index + 10, bottom=zone_bottom,
bgcolor=zone_col, border_color=color.new(zone_col, 50))
array.push(zoneBoxes, new_box)
// Clean up old boxes to maintain performance
if array.size(zoneBoxes) > lookback
box.delete(array.shift(zoneBoxes))
Pine Script®指标
Bitcoin (BTC) Electrical Cost [R2D2]Bitcoin Electrical Cost Ribbon
Description
"Bitcoin bottoms don't happen when people feel good. They happen when selling becomes impossible."
This script replicates the famous "Bitcoin Production Cost" and "Energy Value" models popularized by Charles Edwards (Capriole Investments) and frequently cited by analysts like Black Swan. It provides a structural valuation of Bitcoin based on the thermodynamics of Proof-of-Work: Energy.
This indicator visualizes the Miner Profitability Ribbon, helping you identify generational bottoms where Bitcoin's price touches its raw electrical production cost.
How It Works
Bitcoin is an industrial network. To produce one coin requires a tangible amount of electricity (Joules). This script calculates that cost using Mining Difficulty as a proxy for the network's total energy expenditure.
The Red Floor (Electrical Cost):
This is the estimated raw electricity bill to mine 1 BTC.
The Logic : When price drops below this line, the average miner is operating at a cash-flow loss. They are forced to shut down rigs or sell reserves to pay bills. This creates "Miner Capitulation."
The Signal: Historically, Bitcoin price only touches this red line during the deepest phase of a Bear Market (e.g., 2018 bottom, 2022 bottom). It acts as a hard "fundamental floor" because selling below this price destroys the miners themselves.
The Ribbon (Profitability Zone):
The area between the Red Floor and the Grey Ceiling represents the miner's operational margin (CapEx + OpEx).
When price is above the ribbon, miners are profitable and expanding.
When price is inside the ribbon, margins are compressing.
Settings & Calibration
Difficulty Source: The script attempts to pull QUANDL:BCHAIN/DIFF automatically. If you are on a free plan without access to this data, the script features a smart "Fallback Model" that mathematically estimates the difficulty curve so the indicator always works.
Electrical Multiplier: Default is set to 465. This is calibrated for the 2026 era (Difficulty ~125T ≈ $58k Cost). You can adjust this slightly as global energy prices or hardware efficiency changes.
Smoothing: Includes a built-in Moving Average (SMA 21) to remove the "staircase" effect of difficulty adjustments, giving you the clean, wave-like aesthetic seen in professional macro charts.
How to Trade This Indicator
The "All-In" Signal: Watch for the price to aggressively drop into the Red Ribbon. A daily or weekly close on or slightly below the Red Electrical Cost line has historically marked the absolute bottom of the cycle.
Trend Confirmation: During a Bull Market, this ribbon should slope upwards. If the ribbon flattens or curls down, it indicates hashrate is leaving the network (miner stress).
Disclaimer
This tool is for educational purposes and analyzes on-chain network fundamentals. It is not financial advice. Mining costs are estimates based on global averages; individual miner costs vary wildly based on electricity rates and hardware efficiency.
Pine Script®指标
Commodity Channel Index Pullback (CCI/P) v1Commodity Channel Index Pullback (CCI/P) v1
CCI/P v1 is a pullback-style oscillator built around two Commodity Channel Index calculations:
CCI #1 (Primary): identifies momentum extremes using an adjustable Absolute Level (± level).
CCI #2 (Secondary) or MA of CCI #2: acts as a simple regime filter based on whether it’s above or below 0.
What you’ll see
CCI #1 plotted as the primary line.
Fixed reference levels at ±100 and ±200, with subtle gray background zones.
Dynamic “plot zones” when CCI #1 exceeds ±Absolute Level:
Overbought plot (red)
Oversold plot (green)
Optional CCI #2 / MA2 area (plotted behind everything), colored:
Above 0: #089981
Below 0: #b2b5be
Optional candle coloring based on CCI #2 / MA2 regime (toggle in settings).
Triangle logic
Triangles flag “pullback + regime alignment” conditions:
Green triangle: CCI #1 < -Absolute Level AND CCI #2/MA2 > 0
Red triangle: CCI #1 > +Absolute Level AND CCI #2/MA2 < 0
Alerts
Alert conditions are included for:
Green / Red triangle setups (fires on the first bar the condition becomes true)
CCI #1 crossing above/below ±Absolute Level (and returning inside)
CCI #2/MA2 crossing above/below 0 (based on Plot Mode)
How I use it
This is a pullback framework, so I treat CCI #2/MA2 as the “environment” and CCI #1 as the “stretch”:
Pick your regime filter
Use MA of CCI #2 if you want a steadier filter (fewer flips).
Use CCI #2 if you want it more responsive.
Let CCI #1 reach an extreme
I’m generally looking for CCI #1 to push beyond the Absolute Level threshold, then watch for the pullback condition to align with the regime.
Use the triangle as a “checklist complete” marker
The triangle is not a guarantee—just a structured moment where stretch + regime align.
I still validate with structure/levels/volatility context (e.g., key highs/lows, prior range boundaries, session context).
Risk is external
Stops/targets aren’t built in—position sizing and exits depend on your instrument and volatility.
If you automate alerts, consider triggering alerts on bar close for more stable signals.
Notes
This script does not use higher-timeframe security() calls. Values may update during the currently-forming bar until it closes (standard TradingView behavior).
Disclaimer
This indicator is for educational/informational purposes only and is not financial advice. Always test on your market and timeframe and manage risk appropriately.
Changelog / v1 Notes
v1 (initial public release): Dual-CCI pullback framework with optional CCI #2 or MA(CCI #2) regime area, dynamic OB/OS plot zones, triangle conditions, candle-color toggle, and a full alert set (triangles + CCI #1 threshold crosses + CCI #2/MA2 zero crosses).
Pine Script®指标
[CodaPro] Volume Breakout LevelsVolume Breakout Levels — Auto S&R with Volume-Confirmed Breaks
OVERVIEW
Volume Breakout Levels automatically detects support and resistance from pivot highs and lows, then signals when price breaks through with VOLUME CONFIRMATION. Unlike basic S&R indicators, this uses volume separation engine to split each candle into estimated bull and bear volume — ensuring breaks are backed by real directional conviction, not just price crossing a line.
HOW IT WORKS
1. LEVEL DETECTION
Support and resistance are detected using pivot highs and pivot lows with configurable left/right bar confirmation. Levels hold until a new pivot replaces them. Simple, proven, reliable.
2. VOLUME SEPARATION
Each candle's volume is split into bull and bear components based on the body-to-range ratio. A strong bullish candle assigns more volume to buyers. A strong bearish candle assigns more to sellers.
3. BREAK CONFIRMATION
A break is only confirmed when three conditions are met simultaneously:
- Price closes beyond the level (not just a wick)
- Volume exceeds the average by the spike multiplier (default 1.5x)
- Directional volume matches the break (bull volume dominant on upside breaks, bear volume dominant on downside breaks)
This triple filter eliminates the majority of false breaks.
4. WICK BREAK DETECTION
When price breaks a level with volume but the candle shows a long wick in the opposite direction, the break is flagged as a "WICK" break instead of a confirmed break. This signals hesitation — the level was broken but buyers/sellers showed resistance. Use these as caution signals.
FEATURES
- Automatic support and resistance from pivot detection
- Volume spike confirmation on all breaks
- Bull/bear volume separation for directional validation
- Wick break detection (flags hesitation)
- Break candle highlighting
- 4 alert conditions (confirmed breaks + wick breaks)
- Clean, minimal visuals — two lines, occasional labels
- Works on any instrument, any timeframe
- Non-repainting (all signals confirmed on bar close)
SETTINGS
- Left/Right Bars: Controls pivot sensitivity. Higher values detect stronger, more significant levels.
- Volume Average Length: Lookback for calculating normal volume.
- Volume Spike Multiplier: How much above average volume must be for a confirmed break. 1.5x default. Increase for stricter filtering.
- Show Wick Breaks: Toggle wick hesitation signals.
- Color Break Candles: Highlights confirmed break candles on chart.
ABOUT THE BUILD
This indicator was engineered using ARiS, the AI coding engine behind CodaPro.ai. Strategy logic and volume separation methodology by Aris.
Created by Aris | CodaPro Engine
DISCLAIMER
This tool was created using the CodaPro Pine Script architecture engine — designed to produce robust trading overlays, educational visuals, and automation-ready alerts. It is provided strictly for educational purposes and does not constitute financial advice. Always backtest and demo before applying to real capital.
Pine Script®指标
HTF MTF Analysis & Manipulation=======================
HTF MTF ANALYSIS & MANIPULATION
=======================
SMT
- Shows correlations between multiple instruments (e.g., Pair 2, Pair 3).
- Auto-matching of pairs to highlight synchronized movements.
- Does not include SMT with DXY.
HTF Projection (High Time Frame)
- Projects higher timeframe levels directly onto the current chart.
- Supports multiple HTFs (e.g., 1H, 4H, Daily, Weekly) with customizable number of candles.
- Displays midlines and key candlestick levels for HTFs.
- Complete visual customization: body, border, and spike colors for bull and bear.
- Options for labels above/below candles and PSP display.
- Manages offsets for candlestick distance and visual sizing.
Multi-Timeframe and Separators
- Displays levels and period separators on multiple timeframes: for example, on a 1M chart,
you can see 15M and 4H references.
- Ideal for strategies that combine MTF, HTF, and LTF.
HTF MTF Manipulation Detection
-Identifies manipulation zones MTF HTF
-Triggers the manipulation signal when a candlestick clears the previous high or low
and closes back within the range.
-Highlights manipulation-related CISD zones or HTF/SMT.
Fair Value Gap (FVG)
-Automatically detects FVGs on the chart and in HTF/SMT projections.
-Displays colored boxes with upper, lower, and center lines.
-Options to extend FVGs until they are filled.
-Separate colors for bullish and bearish FVGs.
-Configurable maximum limit of displayable FVGs.
Change in State of Delivery (CISD)
-Identifies changes in the market's delivery state.
-Dashed lines for unconfirmed CISDs.
-Solid lines for validated CISDs (when the price violates the level).
-Customizable colors and separate management for bullish and bearish CISDs.
Bias Management
- Set market bias: Neutral, Long, or Short.
- The bias filters the displayed patterns (e.g., Long primarily shows buying opportunities).
- Affects the detection of FVG, CISD, and manipulations.
Mode Configuration
Mode 1: Spaced timeframes for long-term trading
-1m → 1m, 15m, 4h, D
-3m → 3m, 30m, 4h, D, W
-5m → 5m, 1h, D, M
-15m → 15m, 4h, W, M
-30m → 30m, 4h, W, M
-1h → 1h, D, M
-4h → 4h, W, M
-D → D, M
-W → W, M
Mode 2: Close timeframes for intraday trading
-1m → 1m, 15m, 30m, 1h, 4h
-3m → 3m, 30m, 1h, 4h, D
-5m → 5m, 1h, 4h, D, W
-15m → 15m, 1h, 4h, D, W
-30m → 30m, 1h, 4h, D, W
-1h → 1h, 4h, D, W, M
-4h → 4h, D, W, M
-D → D, W, M
-W → W, M
Manual: Manually configure all HTF and SMT timeframes.
Display Options
-HTF + SMT: Displays both HTF projections and SMT pairs.
-only SMT: Displays only SMT pairs.
-only HTF: Displays only HTF projections.
SMT Auto-Correlation
Automatically supports:
-Futures: ES ↔ NQ ↔ YM
-CFD: NAS100 ↔ US500 ↔ US30
-Metals: XAUUSD ↔ XAGUSD ↔ XAUEUR
-Forex: EURUSD ↔ GBPUSD
For unsupported instruments, manual configuration via Pair 2 and Pair 3.
Does not support Inverse SMT.
Customization
-Contrast Mode: Automatic colors based on the chart theme.
-Custom Colors: Manual selection of each element.
-Font: Default or Monospace.
-Label Size: Tiny, Small, Normal, Large, Auto.
-Configurable opacity for borders and backgrounds.
Distance Parameters
-Distance from last candle: 1-200 bar
-Distance between projections: 1-1000 bar (HTF) / -100 to +100 (SMT)
-Candle size: 2-10 (HTF) / 1-2 (SMT)
-Space between candles: 1-50 (HTF) / 2-10 (SMT)
IMPORTANT: The SMT timeframe must be >= the chart timeframe.
FVG
CISD Dinamic
If you like my work support me
Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument. The author takes no responsibility for any losses or damages resulting from the use of this script. Trading involves risk, and you are solely responsible for your trading decisions
Pine Script®指标
Donchian Breakout AI Adaptive Trend
DESCRIPTION:
A self-adapting trend-following indicator that uses K-Means machine learning to analyze 27 Donchian Channel parameter combinations in real-time, identifying which breakout settings perform best in the current market regime.
━━━━━━━━━━━━━━━━━━━
🔍 HOW IT WORKS
The core logic is based on the Donchian Channel breakout — the original trend-following system used by the legendary Turtle Traders. Price breaking above the highest high signals a long, breaking below the lowest low signals a short.
The AI layer runs 27 parameter combinations simultaneously in the background:
• Entry lookback: 10, 20, 30 bars
• Exit lookback: 5, 10, 15 bars
• ATR filter: 1.0x, 1.5x, 2.0x
Each combination is tracked for real-time performance. K-Means clustering (an unsupervised machine learning algorithm) groups these into Best, Average, and Worst performing clusters — and the dashboard tells you what's working best right now.
━━━━━━━━━━━━━━━━━━━
★ HOW TO READ SIGNALS
Signals use a visual agreement system between the base strategy and the AI:
★ Bright + Large label = AI-confirmed signal (confidence ≥ threshold)
○ Dim + Small label = Signal fired but AI confidence is low
The number on each label is the AI confidence score (0-10). Higher = stronger agreement from the AI. You decide: trade all signals, or only the bright AI-confirmed ones.
Entry: Price breaks above the Donchian high (long) or below the Donchian low (short)
Exit: Price breaks the exit channel in the opposite direction, OR the ATR trailing stop is hit (orange step-line on chart)
Trend Filter: EMA(50) prevents counter-trend entries — longs only when price is above the EMA, shorts only when below. The EMA is plotted on chart (green = bullish, red = bearish).
━━━━━━━━━━━━━━━━━━━
📊 HOW TO READ THE DASHBOARD
Signal — Current position state:
★ LONG / ★ SHORT = AI-confirmed trade active
○ LONG / ○ SHORT = Trade active but AI confidence is low (⚠ CAUTION)
— WAITING = No trade, scanning for next breakout
Confidence — Only shown during active trades. A 5-factor composite score:
STRONG (8-10) / HIGH (6-7) / MODERATE (4-5) / LOW (2-3) / WEAK (0-1)
Visual bar: ■■■■■■■□□□ shows the score at a glance
Shows "—" when waiting (no signal to score)
Regime — Current volatility environment based on 20-bar annualized volatility:
LOW VOL = Quiet, fewer breakouts expected
NORMAL = Healthy trending conditions
HIGH VOL = Elevated volatility, wider moves
⚠ EXTREME = Crash/mania conditions
AI Next Entry — The entry lookback (in bars) that the best-performing cluster recommends for the next trade. Example: "20-bar breakout" means the AI thinks 20-bar Donchian highs/lows are optimal right now.
AI Next Exit — The exit lookback the best cluster recommends. Shorter = tighter exits (locks profit faster). Longer = gives trades more room to run.
AI Next Filter — The ATR filter multiplier the best cluster recommends. Higher = only trades strong breakouts. Lower = catches more breakouts including weaker ones.
Best WR — Win rate of the best-performing cluster's simulated trades. Trend-following typically runs 35-50% win rate with large winners compensating for small losses.
Clusters — Distribution of the 27 parameter combos across Best ● Average ● Worst groups. When most combos cluster into "Best," conditions are broadly favorable.
Trend(50) — EMA trend filter direction:
▲ BULLISH / longs only = Price above EMA, only long breakouts allowed
▼ BEARISH / shorts only = Price below EMA, only short breakdowns allowed
━━━━━━━━━━━━━━━━━━━
⚙️ KEY FEATURES
• Non-repainting — All signals use previous-bar confirmed data. Trailing stop updates on bar close only. No signal will appear mid-bar then vanish.
• ATR trailing stop — Locks in profits during extended trends, plotted as orange step-line on chart
• Trend filter — EMA(50) blocks counter-trend entries, preventing long signals during crashes
• ATR breakout filter — Removes weak/noisy breakouts that don't move enough
• Bright/dim visual system — Instantly see which signals the AI agrees with
• 7 alert conditions — Including AI-confirmed entries for selective trading
• Rich tooltips — Hover any signal label for full breakdown (breakout level, confidence, ATR, AI optimal params, cluster win rate)
━━━━━━━━━━━━━━━━━━━
📐 RECOMMENDED SETTINGS
Crypto (BTC, ETH) — 4H or Daily, default settings
Forex — 4H, ATR filter 1.0x for tighter moves
Commodities (Gold, Oil) — Daily, ATR trail 2.5x
Indices (SPY, NAS100) — Daily, trend MA 100
AI Confidence Threshold: Default 5. Raise to 6-7 for fewer but higher-conviction signals. Lower to 3-4 to see more signals.
━━━━━━━━━━━━━━━━━━━
🎓 THE AI EXPLAINED
The "AI" is K-Means clustering — a real unsupervised machine learning algorithm. Here's exactly what it does:
1. Simulates 27 Donchian strategies with different parameters every bar
2. Tracks each one's performance using an EMA-smoothed return metric
3. K-Means groups them into 3 clusters based on performance similarity
4. The best cluster's average parameters become the "AI Next" recommendation
5. Confidence is a 5-factor composite: cluster spread, win rate, breakout strength, trend alignment, and volatility expansion
This means the indicator constantly adapts. In choppy markets, longer lookbacks with stricter filters dominate the best cluster. In trending markets, shorter aggressive breakouts take over. You see this shift in real-time on the dashboard.
━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
This indicator is a tool for analysis, not financial advice. Past performance does not guarantee future results. Always use proper risk management and position sizing.
━━━━━━━━━━━━━━━━━━━
Happy trading.
Pine Script®指标
Stochastic Momentum Index - SMI | TR🎯 Overview
Stochastic Momentum Index - SMI | TR is a refined momentum oscillator that measures the position of the closing price relative to the midpoint of the recent high-low range. Developed by Tiagorocha1989, this enhanced version of William Blau's Stochastic Momentum Index offers dual-mode operation with moving average customization and comprehensive visual features, helping traders identify momentum shifts, overbought and oversold conditions, and potential reversal points with greater precision than traditional stochastic oscillators.
🔧 How It Works
The Stochastic Momentum Index (SMI) is an evolution of the traditional stochastic oscillator. While standard stochastic measures where price closes within the recent high-low range, the SMI measures where price closes relative to the midpoint of that range, providing a more balanced view of momentum.
Core Calculation Logic:
The indicator calculates the SMI using the standard stochastic formula:
Stochastic = (Current Close - Lowest Low) / (Highest High - Lowest Low) × 100
Where the highest high and lowest low are determined over the specified Length SMI period
The resulting oscillator oscillates between 0 and 100, with:
Readings above 50 indicating price is closing in the upper half of the recent range (bullish momentum)
Readings below 50 indicating price is closing in the lower half of the recent range (bearish momentum)
Readings above 80 suggesting overbought conditions
Readings below 20 suggesting oversold conditions
The indicator compares SMI to a reference line that can be either:
The traditional 50 level (centerline)
A user-defined moving average of the SMI itself (SMI MA mode)
✨ Key Features
🔹 Dual Operating Modes
50 Level Mode: Classic SMI implementation where signals occur when the SMI crosses above or below the 50 centerline, indicating momentum shifts
SMI MA Mode: Enhanced version where signals occur when SMI crosses its own moving average, providing smoother, filtered entries
🔹 Flexible Moving Average Selection
Choose from six MA types for the SMI MA mode:
EMA (Exponential Moving Average) for responsive signals
SMA (Simple Moving Average) for smoother readings
RMA (Rolling Moving Average) for weighted recent data
WMA (Weighted Moving Average) for customizable weighting
VWMA (Volume-Weighted Moving Average) incorporating volume
HMA (Hull Moving Average) for reduced lag
🔹 Customizable SMI Parameters
Length SMI: Lookback period for SMI calculation (default 101)
Source SMI: Price source for calculations (default Close)
🔹 Extended Lookback Period
The default length of 101 makes this version particularly suitable for longer-term trend identification and filtering out short-term market noise.
🔹 Customizable Color Themes
Eight distinct color schemes to match your charting preferences:
Classic – Green for bullish, Red for bearish
Modern – White for bullish, Purple for bearish
Robust – Amber for bullish, Maroon for bearish
Accented – Violet for bullish, Pink for bearish
Monochrome – Light gray for bullish, Dark gray for bearish
Moderate – Green for bullish, Red for bearish
Aqua – Blue for bullish, Orange for bearish
Cosmic – Pink for bullish, Purple for bearish
🔹 Comprehensive Visual Feedback
Colored SMI Line: Changes color based on position relative to the reference line
Signal Line: Yellow line showing 50 or MA reference
Gradient Fill Zones: Clear visualization of overbought (above 80) and oversold (below 20) conditions
Dynamic Zone Fills: Semi-transparent fills showing when SMI is above or below the reference line
Color-Coded Candles: Bars reflect current SMI bias (above or below reference)
Signal Markers: Triangle up/down symbols at crossover points
Live Value Display: Current SMI value shown in a floating label
Trend Table: Bullish/Bearish status displayed on the chart
🔹 Ready-to-Use Alerts
Built-in alert conditions trigger LONG signals on bullish crossovers and SHORT signals on bearish crossunders across both operating modes.
⚙️ Settings Summary
Color Choice: Select from eight visual themes (Default: Classic)
Length SMI: Lookback period for SMI calculation (Default: 101)
Source SMI: Price source for calculations (Default: Close)
Entry/Exit Signal: Choose between 50 level or SMI MA mode (Default: 50)
Length MA: Moving average period for SMI MA mode (Default: 365)
SMI MA Type: Moving average method for signal line (Default: EMA)
📈 Practical Applications
🔹 Overbought/Oversold Detection
Traditional SMI usage identifies extreme conditions:
Readings above 80 suggest overbought conditions and potential reversal down
Readings below 20 suggest oversold conditions and potential reversal up
The indicator provides gradient fills in these zones for visual clarity
The long default period (101) makes these signals more significant and less frequent
🔹 Centerline Crossovers
In 50 Level mode, crossovers provide momentum signals:
Crossover above 50 → Bullish momentum strengthening
Crossunder below 50 → Bearish momentum strengthening
These signals often confirm trend direction changes
🔹 Signal Line Crossovers
In SMI MA mode, crossovers between SMI and its moving average provide filtered signals that reduce whipsaws in ranging markets while maintaining sensitivity in trends.
🔹 Divergence Trading
SMI is excellent for spotting divergences:
Bullish Divergence: Price makes lower low, SMI makes higher low → Potential upside reversal
Bearish Divergence: Price makes higher high, SMI makes lower high → Potential downside reversal
Divergences are most significant when occurring at extreme levels (above 80 or below 20)
🔹 Trend Confirmation
The position of SMI relative to 50 confirms trend direction:
SMI consistently above 50 confirms uptrend
SMI consistently below 50 confirms downtrend
The extended 101-period length ensures these signals reflect meaningful trends
🔹 Momentum Reversal Signals
Watch for SMI turning up from oversold levels or turning down from overbought levels:
Turn up from below 20 → Potential bullish reversal
Turn down from above 80 → Potential bearish reversal
🔹 Multiple Timeframe Analysis
Compare SMI readings across different timeframes:
Higher timeframe SMI confirms primary trend direction
Lower timeframe SMI identifies entry timing and short-term momentum
🎯 Ideal For
✅ Long-Term Traders seeking to identify major trend shifts with reduced noise
✅ Swing Traders wanting to capture medium to long-term momentum shifts
✅ Divergence Traders looking for reliable reversal signals
✅ Position Traders needing confirmation of trend strength and direction
✅ System Developers needing robust, smoothed momentum signals
✅ Trend Followers wanting to avoid false signals in choppy markets
📌 Key Takeaways
Extended Lookback Period: The default length of 101 makes this indicator particularly effective for filtering out short-term noise and identifying significant trend movements
Midpoint Focus: By measuring price relative to the midpoint of the range (rather than just the range extremes), SMI provides a more balanced view of momentum than traditional stochastic
Dual-Mode Flexibility: Choose between classic 50-level crossovers for traditional signals or MA-smoothed signals for filtered entries
Comprehensive Visualization: Color themes, gradient fills for overbought/oversold zones, candles, and labels provide immediate market awareness
Divergence Capability: Excellent for spotting both regular and hidden divergences that signal trend reversals or continuations
Alert-Ready: Built-in alerts for both LONG and SHORT signals across both operating modes
⚠️ Important Notes
The long default length (101) makes this SMI variant much smoother than traditional stochastic settings (typically 14). This reduces false signals but also makes the indicator slower to react to short-term price changes. The 365-day MA default in SMI MA mode is designed for longer-term trend context on daily charts. Readings above 80 and below 20 are significant but may persist during strong trends; consider combining with trend filters. Divergences are most reliable when they occur at extreme readings. Always combine with proper risk management and additional confirmation for best results.
Disclaimer: This indicator is provided for educational and informational purposes only. Past performance is not indicative of future results. Always conduct thorough testing and align with your risk management strategy before live deployment.
Pine Script®指标
MA Cross with LabelsThis indicator is a clean, visual-first trend tracker designed to identify momentum shifts using a standard Moving Average crossover. Unlike traditional crossover indicators that clutter the chart with lines or simple icons, this script uses high-visibility labels to call out "BULL" and "BEAR" signals directly at the source of the price action.
Pine Script®指标
Pine Script®指标
VuMan-Oscillator-Matrix-Pro w/RSIThis Oscillator was built from 3 different indicators
The Base Indicator is Oscillator Matrix by R2D2_4Life
The 2nd Part is the Money Flow Index from VuManChu B Divergences
and the 3rd is the stock Tradingview RSI indicator
Thanks to R2D2_4life and VuManChu we can have the best of both worlds
Try this indicator at your own risk I am not a programmer the code is opensource
and free to use by anyone
enjoy!!
The best way to use this indicator is to use it with divergences on the wave trend money flow index and rsi.
wave trend divergences are plotted with red and green triangles on the top for bearish and bottom for bullish the rsi divergences are also plotted by default on the top portion of the indicator if you are familiar with the Oscillator Matrix or VuManChu CipherB indicators the concept is the same the MFI and Hyper Wave trend settings can be customized in the settings
Happy Trading
Pine Script®指标
AlphaSignal Suite PRO# AlphaSignal Suite PRO
## Overview
AlphaSignal Suite PRO is a comprehensive, multi-factor confluence indicator designed to identify high-probability reversal zones by combining six distinct analytical approaches into a unified scoring system. It features an automatic optimization engine that detects your chart timeframe and asset type, then adjusts all parameters for optimal signal quality — no manual tuning required.
## Key Features
- **Auto-Optimization Engine** - Automatically detects your timeframe (Scalp / Intraday / Swing / Position) and asset type (Crypto / Forex / Stocks / Index) to apply optimized parameter profiles
- **Conservative Signal Design** - Requires strong multi-factor confluence (minimum 3 of 6 factors) to reduce noise and false signals
- **Super Signals** - High-confluence setups (4-5+ score) are highlighted as "SUPER BUY/SELL" for potential reversal zones at market highs and lows
- **Non-repainting** - All higher timeframe data uses confirmed bar values with proper lookahead handling
- **Full Manual Override** - Auto-optimization can be disabled; every parameter remains fully adjustable
## How It Works
The indicator evaluates six independent signal sources and scores each setup from 0 to 6:
1. **Trend Analysis** - Dual EMA system with higher timeframe EMA confirmation for directional bias. EMAs auto-scale per timeframe (e.g., 21/100 for scalping, 50/200 for swing trading)
2. **Momentum (RSI)** - RSI crossovers at conservative overbought/oversold levels. Levels auto-adjust per timeframe and asset (e.g., 80/20 for scalp, 75/25 for intraday, wider for crypto)
3. **Bollinger Band Bounces** - Price must pierce the band AND close clearly back inside — not just touch the edge
4. **Volume Spikes** - Significant volume events only (1.7-2.0x average), confirming institutional participation
5. **Smart Money Absorption** - Detects strong rejection candles (wick > body, wick > 0.3x ATR) near range extremes with low volume — a footprint of institutional accumulation
6. **Liquidity Grabs** - Identifies false breakouts beyond swing highs/lows where price sweeps stops and reclaims — a classic reversal trigger
## Signal Types
**Regular Signal (BUY/SELL)** — Triggers when 3+ factors align. Shown as green/red triangles on the chart.
**Super Signal (SUPER BUY/SELL)** — Triggers when 4-5+ factors align. Shown as yellow/pink diamonds. These are high-confidence reversal zone candidates where trend, momentum, volume, and smart money all confirm simultaneously.
## Auto-Optimization Profiles
The engine applies different parameter sets depending on context:
**By Timeframe:**
- Scalp (1-5min): Faster EMAs, tighter RSI, higher confluence required (4+)
- Intraday (15-60min): Balanced settings, moderate confluence (3+)
- Swing (4H-Daily): Standard settings, moderate confluence (3+)
- Position (Weekly+): Slower EMAs, relaxed RSI, moderate confluence (3+)
**By Asset Type:**
- Crypto: Wider Bollinger Bands, more extreme RSI levels, higher volume thresholds (compensates for high volatility)
- Forex: Tighter ranges, lower volume thresholds
- Stocks: Standard settings with emphasis on volume confirmation
- Index/Futures: Slightly faster response parameters
You can disable auto-optimization and set all parameters manually, or use a hybrid (auto-timeframe with manual asset selection, or vice versa).
## Dashboard
The real-time dashboard (bottom right) displays:
- Active profile (e.g., "Swing | Crypto") and mode (Full Auto / Manual)
- LTF and HTF trend direction
- Smart money activity status
- Current signal strength with Super Signal indicator
- Active key parameters (EMA and RSI values in use)
## Alerts
Four alert conditions are available:
- PRO BUY / PRO SELL — for regular signals
- SUPER BUY / SUPER SELL — for high-confluence reversal signals
## How to Use
1. **Add to chart** — The indicator auto-detects your timeframe and asset type immediately
2. **Watch for Super Signals** — Yellow/pink diamonds mark the highest-probability reversal zones
3. **Use regular signals for trend entries** — Green/red triangles show standard confluence setups
4. **Fine-tune if needed** — Disable auto-optimization and adjust any parameter manually
5. **Set alerts** — Enable SUPER BUY/SELL alerts for notifications on the best setups
## Important Disclaimer
This indicator is provided for educational and informational purposes only. Past performance does not guarantee future results. No indicator can predict market movements with certainty. Always implement proper risk management including position sizing, stop-loss orders, and risk-reward assessment before every trade. Use this tool as one component of a comprehensive trading strategy, not as a standalone decision-making system. The author assumes no responsibility for trading losses. Trade at your own risk.
Pine Script®指标
Demand Supply and FVG Analyzer by ZeeshanThis indicator combines three core concepts of price behavior to help traders identify high‑probability zones and market imbalances:
1. Demand & Supply Zones
The script automatically detects potential demand and supply areas based on structural pivots and price reactions. These zones help highlight where buyers or sellers previously showed strength, allowing traders to anticipate future reactions.
2. Fair Value Gaps (FVG)
The indicator marks bullish and bearish FVGs created by displacement candles. These gaps often act as magnets for price and can signal continuation or retracement opportunities.
3. Volume‑Based Weakness Signals
The script includes optional signals such as:
Low Demand
Low Supply
Weak Breakouts
These appear when price movement is not supported by meaningful volume, helping traders filter out false moves.
How to Use
Look for alignment between demand/supply zones and FVGs.
Use volume‑based weakness signals to confirm or reject breakout attempts.
Combine with your own market structure analysis for best results.
Notes
This tool is designed for educational and analytical purposes.
It does not repaint historical signals.
All settings are customizable to fit different trading styles.
Pine Script®指标
Pine Script®指标
EV & PZ with Alerts [Taolue Remix] 日本語解説
■ 概要
このインジケーターは、個別株(NVDA, TSLA, AAPLなど)の過去の決算発表時の価格変動(ボラティリティ)を分析し、次回の決算や重要イベントで想定される「価格の到達範囲(期待値ゾーン)」をチャート上に可視化します。
「Taolue Remix」版では、デイトレーダー向けに**リアルタイムのアラート機能**と**価格スケールへの追従機能**が強化されています。
■ 主な機能
1. 過去ボラティリティの自動算出
過去の指定回数(デフォルト: 4回)の決算発表時の変動率(%)を自動で取得・平均化します。
2. 予測ゾーンの描画
現在の価格を基準に、統計的に予測される「上値目処(Upper Target)」と「下値目処(Lower Target)」を点線とゾーンで表示します。
チャートのズームやスクロールに追従し、常に正しい位置に表示されます。
3. アラート機能(要設定)
当日の始値(Open)を基準に、想定ボラティリティ幅に到達した瞬間にアラートを鳴らすことができます。
「急騰(Upper Hit)」や「急落(Lower Hit)」の初動検知に役立ちます。
■ 使い方
1. 適用: 日足チャート(1D)に適用することを推奨します。
2. 設定:
- 「参照する過去の決算回数」: 直近何回分の決算データから平均値を出すか設定します。
- 「決算翌日の動きを計測」: 引け後(After Market)に決算がある銘柄(NVDAなど)はONにしてください。
3. 活用法:
決算前のポジション構築や、決算直後の乱高下が「想定内」か「異常値(サプライズ)」かを判断する際の基準として使用します。
⚠️ 免責事項
本インジケーターは過去のデータに基づく統計的な目安を表示するものであり、将来の価格変動を保証するものではありません。投資判断は自己責任で行ってください。本ツールを使用したことによる損害について、作者は一切の責任を負いません。
-------------------------------------------------------------
English Description
■ Overview
This indicator analyzes historical price volatility during earnings announcements for individual stocks (e.g., NVDA, TSLA, AAPL) and visualizes the expected "Price Zones" for upcoming earnings or major events.
The "Taolue Remix" edition is enhanced for day traders with **real-time alert capabilities** and **optimized chart scaling**.
■ Key Features
1. Auto-Calculation of Historical Volatility
Automatically retrieves and averages the percentage moves of the past N earnings releases (Default: 4).
2. Projection Zones Visualization
Projects potential "Upper Targets" and "Lower Targets" based on the current price and historical average volatility.
The drawing objects (lines and zones) automatically adjust to chart zooming and scrolling.
3. Alert Functionality
You can set alerts to trigger when the price hits the calculated volatility limits relative to the daily Open.
Useful for detecting the initial momentum of a breakout or breakdown.
■ How to Use
1. Apply: Recommended for use on the Daily timeframe (1D).
2. Settings:
- "Lookback": Number of past earnings to average.
- "Check Next Day": Enable this for stocks that report earnings After Market Close (e.g., NVDA).
3. Strategy:
Use this tool to gauge whether a post-earnings move is within the "expected range" or is a significant "surprise" outlier.
⚠️ Disclaimer
This tool is for informational purposes only and is based on historical statistical data. It does not guarantee future price movements. Trading involves risk, and you should trade at your own risk. The author is not responsible for any losses incurred from the use of this tool.
Pine Script®指标
FAILED 9 BACK TEST This indicator, FAILED 9 , is a high-precision volatility expansion strategy designed for the SPY, QQQ, and IWM indices. It focuses on institutional liquidity sweeps occurring during the NYSE pre-market and the high-volume opening hour.
Strategy Overview
The core logic identifies a "liquidity trap" formed between 8:00 AM and 9:00 AM EST. By tracking the 50% midline of this range, the strategy enters trades when price action sweeps the initial range boundaries and then reverts to the mean.
How to Trade It
The Sweep: Wait for a green (bullish) or red (bearish) triangle to appear before 9:30 AM, indicating a range break.
The Entry: Look for a retracement to the Yellow Midline. The script will label this "Entry" automatically.
The Target: The primary goal is the opposite side of the 8:00 AM range (High or Low).
The Cut-Off: If the target is not reached by 10:30 AM, the trade is closed.
Pine Script®指标
Engulfing candle indicatorSimple engulfing candle indicator, gold dot above/below bearish/bullish engulfing candles
Pine Script®指标
Rolling VWAP + SMA V2This indicator plots a time-based Rolling VWAP and a Simple Moving Average (SMA) on the chart and changes their colour based on price position:
🟢 Green when price closes above both the Rolling VWAP and the SMA
🔴 Red when price closes below both the Rolling VWAP and the SMA
⚪ Gray when price is between them
It acts as a clean trend and value alignment filter, highlighting when price is fully positioned on one side of both volume-weighted value and average trend.
Pine Script®指标






















