MA Divergence中文介绍:
均线背离指标是一款用于分析价格与均线(如EMA或SMA)之间的背离情况的技术分析工具。该指标结合了标准差、波动性分析和背离信号的检测,旨在帮助交易者识别市场中的潜在反转信号。
主要功能:
背离检测: 该指标根据价格与指定均线(EMA或SMA)之间的乖离(百分比差异),绘制背离柱状图,便于快速识别背离信号。
标准差与阈值: 根据过去一段时间内的历史数据,自动计算标准差并设置动态阈值,用以判断价格背离的异常程度。当背离信号超出设定的阈值时,柱状图将标记为蓝色,突出显示潜在的反转信号。
警报功能: 为用户提供警报设置,当背离信号突破上阈值或下阈值时,能够及时提醒交易者,帮助做出决策。
适用对象:
短期交易者: 用于快速捕捉反转信号,帮助制定更具针对性的交易策略。
中长期交易者: 通过背离与均线的结合,帮助识别趋势的潜在转折点。
技术分析爱好者: 提供了一种新的背离分析视角,帮助用户理解市场行为。
英文介绍:
The Moving Average Divergence (MA Divergence) Indicator is a technical analysis tool designed to analyze the divergence between price and a moving average (such as EMA or SMA). The indicator combines standard deviation, volatility analysis, and divergence signal detection to help traders identify potential reversal signals in the market.
Key Features:
Divergence Detection: The indicator plots divergence histograms based on the percentage difference between price and the selected moving average (EMA or SMA), making it easy to spot divergence signals at a glance.
Standard Deviation & Thresholds: The indicator automatically calculates the standard deviation based on historical data over a specified period and sets dynamic thresholds to assess the abnormality of price divergence. When the divergence signal exceeds the set thresholds, the histogram is highlighted in blue, emphasizing potential reversal signals.
Alert Functionality: The indicator includes alert conditions, allowing users to receive notifications when the divergence breaks above or below a defined threshold, helping traders take timely actions.
Target Audience:
Short-term traders: Designed for quick identification of reversal signals to formulate more targeted trading strategies.
Mid-to-long-term traders: Helps to identify potential trend reversal points by combining divergence with moving averages.
Technical analysis enthusiasts: Provides a new perspective on divergence analysis, helping users better understand market behavior.
总结:
无论是短期的交易决策,还是长期的市场趋势判断,“均线背离”指标都能为交易者提供强大的支持。通过标准差、波动性分析、警报提醒等功能,帮助用户实时捕捉市场中的背离信号,并快速做出反应。
Indicateurs et stratégies
Trader Marks Trailing SL + TP (BE @ 60%)This script provides a unique stop-loss and take-profit management tool designed for swing traders.
It introduces a two-stage stop-loss logic that is not available in standard TradingView tools:
Break-Even Protection: Once a defined profit threshold (e.g. 66%) is reached, the stop-loss automatically moves to break-even.
ATR-Based Trailing Stop: After a chosen delay (e.g. 12 hours), the script activates a dynamic trailing stop that follows market volatility using the ATR.
Flexible Ratchet Mechanism: The stop-loss can be locked at new profit levels and will never move backwards.
This combination allows traders to secure profits while still giving the trade room to develop. The indicator is especially useful for swing trading on 4H and daily timeframes but can be applied to other styles as well.
How to use:
Enter your entry price, stop-loss, and take-profit levels.
Choose your trailing mode: Exact S/L+ (simple) or Advanced (Delay + BE + Ratchet).
Adjust parameters such as ATR length or activation delay to match your strategy.
The script helps you balance risk and reward by ensuring that once the trade moves in your favor, you cannot lose the initial risk, while still benefiting from extended market moves.
SSMT & PSP- Made this one public so that people can search for it and get it without link
- Same code used in the private one
- Credits to VX, Fruits and Solidarity for allowing me to make this <3
CAD DataThis indicator provides all of the data required to use the Context Analysis Dashboard (CAD) for live trading.
Continuation Index [DCAUT]█ Continuation Index
📊 OVERVIEW
Continuation Index (CI) is an advanced trend analysis indicator developed by John F. Ehlers. This indicator provides early warning signals for trend onset, continuation, and exhaustion, with values oscillating between -1 and +1 to offer clear trend state identification for traders.
Based on the article TASC 2025.09 "Trend Onset And Trend Exhaustion - The Continuation Index" by John F. Ehlers.
💡 CORE VALUE
Unlike traditional trend indicators, the Continuation Index provides:
- Advanced dual-filter architecture (Ultimate Smoother + Laguerre Filter)
- Inverse Fisher Transform for enhanced signal-to-noise ratio
- Adaptive gamma parameter allowing market-specific tuning
- Binary state output (+1/-1) eliminating interpretation ambiguity
🎯 CONCEPTS
Signal Interpretation
CI > 0.5 : Strong bullish trend continuation - consider holding/adding long positions
CI = +1 : Maximum bullish signal - strong uptrend in progress
CI < -0.5 : Strong bearish trend continuation - consider holding/adding short positions
CI = -1 : Maximum bearish signal - strong downtrend in progress
CI near 0 : Neutral zone - trend uncertain, wait for clear signals
Brief pullbacks from extreme states : Potential reentry opportunities in trend direction
Primary Applications
Trend Onset Detection : Early warning signals for trend initiation
Trend Exhaustion Signals : Identify potential trend reversals
Position Management : Clear binary states for entry/exit decisions
Market Timing : Adaptive filtering reduces false signals
📋 PARAMETER SETUP
Source : Data source for calculation (default: close)
Length : The calculation length for the filters (default: 40, min: 1)
Gamma : Controls the phase response of the Laguerre filter. Smaller values increase responsiveness (default: 0.8, range: 0.0-1.0)
Laguerre Order : The order of the Laguerre filter, which directly affects its lag (default: 8, range: 1-10)
📊 COLOR CODING
Green : CI > 0.5 - Bullish trend continuation
Red : CI < -0.5 - Bearish trend continuation
Gray : Neutral zone - Trend unclear
Shadow Corp 90min Boxes90-min cycle boxes, marks 90min session highs and lows with color coded boxes.
G. Santostasi Bitcoin Power Law Monte Carlo IndicatorOverview:
The "G. Santostasi Bitcoin Power Law Monte Carlo" is a sophisticated TradingView indicator inspired by the Bitcoin Power Law Theory developed by physicist Giovanni Santostasi.
This theory posits that Bitcoin's price follows a power-law relationship with time, measured in days since the Bitcoin Genesis Block (January 3, 2009). The indicator leverages this framework to analyze Bitcoin's price dynamics through a normalized metric called "Daily Slopes," which captures local deviations from the long-term power-law trend. By fitting these Daily Slopes to a t-location scale distribution on a moving window, the indicator computes key parameters (mu, sigma, and nu) and plots them along with deviation bands. This allows traders to identify local minima and maxima in price action relative to the global power-law slope of approximately 5.9.Additionally, the indicator incorporates Monte Carlo simulations to project potential future price paths up to 100 days ahead, generating up to 500 randomized trajectories based on the statistical properties of the Daily Slopes. This tool is particularly useful for understanding Bitcoin's inherent diminishing returns, assessing market stability, and forecasting short-term scenarios while emphasizing the asset's long-term predictability as a self-organizing network akin to natural systems.
The indicator does not predict exponential growth but instead highlights Bitcoin's scale-invariant behavior, where returns diminish predictably over time—a feature, not a bug, of its design. It has been observed that the core metric (mu) remains stable across Bitcoin's entire history, reinforcing the power law as Bitcoin's "DNA."
Core Concept: Daily Slopes:
At the heart of the indicator is the "Daily Slopes" metric, which normalizes daily logarithmic returns to account for the diminishing nature predicted by the power-law model. This normalization reveals a stable "local slope" (n) that oscillates around a fixed global value, providing insight into Bitcoin's consistent behavior over time.
Definition and Calculation:
Daily logarithmic returns are calculated as log(P2/P1)\log(P_2 / P_1)\log(P_2 / P_1), where P2P_2P_2 is the current day's closing price and P1P_1P_1 is the previous day's closing price.
According to the power-law model, if Bitcoin's price ( P(t) ) follows P(t)=c⋅tnP(t) = c \cdot t^nP(t) = c \cdot t^n
(where ( t ) is days since the Genesis Block, ( c ) is a constant, and n≈5.9n \approx 5.9n \approx 5.9
is the global slope from log-log regression), then the expected daily log return is n⋅log((t+1)/t)n \cdot \log((t+1)/t)n \cdot \log((t+1)/t)
.
The Daily Slope is thus the normalized value:
Daily Slope=log(P2/P1)log((t+1)/t)\text{Daily Slope} = \frac{\log(P_2 / P_1)}{\log((t+1)/t)}\text{Daily Slope} = \frac{\log(P_2 / P_1)}{\log((t+1)/t)}
This normalization "stabilizes" the returns by dividing out the theoretical decay factor log((t+1)/t)\log((t+1)/t)\log((t+1)/t)
, which diminishes as ( t ) increases (reflecting slower growth in mature systems).
Result: The Daily Slope represents a "local n" that should remain stable, oscillating around the global slope of ~5.9 without long-term drift. Empirical data shows this stability holds over Bitcoin's 16-year history, with oscillations but no systematic change—indicating Bitcoin has statistically "done the same thing" since inception.
Interpretation:
Positive deviations (Daily Slope > 5.9) signal bullish momentum or potential local maxima.
Negative deviations (Daily Slope < 5.9) indicate bearish pressure or local minima.
The metric adjusts for absolute volatility, which appears to decrease over time due to diminishing returns. However, when normalized via Daily Slopes, relative volatility has been constant for the last 8 years, underscoring Bitcoin's resilience to macroeconomic factors.
Distribution Fitting and Parameter Estimation:
To quantify the behavior of Daily Slopes, the indicator fits them to a t-location scale distribution (Student's t-distribution with location and scale parameters) over a user-configurable moving window (e.g., 365 days for annual analysis).
This distribution is chosen as the best empirical fit for the heavy-tailed, outlier-prone nature of Bitcoin's normalized returns, outperforming alternatives like Gaussian or Laplacian.t-Location Scale Distribution:
The distribution is parameterized by:μ (mu): Location parameter, representing the mean or "average slope." This is the most critical metric, stable around 5.9 across Bitcoin's history. It tracks the central tendency of Daily Slopes and signals overall market regime (e.g., rising mu indicates strengthening momentum).
σ (sigma): Scale parameter, akin to standard deviation, measuring the spread or volatility of slopes. It has shown slight increases in certain contexts (e.g., hash rate applications) but remains stable for price data.
ν (nu): Degrees of freedom, controlling the "tailedness" (lower ν means heavier tails, capturing extreme events like bubbles or crashes).
Fitting is performed on a rolling basis, updating μ, σ, and ν dynamically.
Plotting:
Local μ: Plotted as a central line, showing the moving average slope.
Deviation Bands: μ + σ (upper band) and μ - σ (lower band), highlighting 1-standard-deviation ranges.
These bands help identify overbought/oversold conditions by measuring deviations from the global mean of 5.9.
For example:
Crossing above μ + σ may signal a local maximum (potential sell opportunity).
Dipping below μ - σ could indicate a local minimum (buy signal).
Additional visualizations include raw Daily Slopes (oscillating series) and smoothed averages for clarity.
Stability and Insights:μ has remained remarkably stable over 16 years, oscillating without drift, validating the power law's predictive power.
Parameters may show minor trends in rolling windows (e.g., slight σ increases), but no monotonic drift is observed in price data. This stability extends to related metrics like addresses and hash rate, where Daily Slopes can be derived similarly (e.g., via log(A2/A1) / log((t+1)/t) for addresses, yielding equivalent slopes around 5.9).
Monte Carlo Simulations for Future Projections
The indicator enables short-term forecasting (up to 100 days) by reversing the normalization process and simulating paths using the fitted distribution.
Projection Mechanism:
Recover expected daily returns: Multiply the sampled Daily Slope (drawn from the t-location scale distribution with current μ, σ, ν) by log((t+1)/t)\log((t+1)/t)\log((t+1)/t)
.
Generate randomized samples to create up to 500 Monte Carlo paths, incorporating the distribution's properties to model uncertainty (e.g., heavy tails for rare events).
Simulations can use the full historical dataset for broader spreads or recent windows (e.g., last 8 years) for tighter, regime-specific forecasts.
Output: Fan chart of projected prices, showing median path (based on μ), confidence intervals (e.g., ±σ bands), and extreme scenarios.
Applications and Limitations:
Useful for risk assessment, e.g., probability of reaching $200K in 2025 is low (1-2% per recent simulations).
Assumes parameters evolve minimally; if drift is detected, simulations can adjust dynamically.
Not for long-term predictions (beyond 100 days), as the power law excels in multi-year trends rather than short-term noise.
Empirical validation: Simulations align with historical backtests, where deviations (bubbles/crashes) revert to the power-law trend.
Usage Notes Inputs:
Customize moving window size, number of Monte Carlo paths (default: 500), projection horizon (up to 100 days), and global slope (default: 5.9).
Visuals: Overlay on BTCUSD log-log chart for context; bands and simulations appear in separate panels.
Caveats: This is not financial advice. The power law describes emergent behavior from network effects, not guarantees. Cycles and bubbles are secondary deviations, not core to the model.
Extensions: The concept applies beyond price (e.g., to addresses or hash rate), revealing interconnected power laws in Bitcoin's ecosystem.
This indicator transforms Santostasi's theoretical insights into a practical tool, empowering users to navigate Bitcoin's dynamics with statistical rigor.
ShadowCorp ICT Extended Macros (Original by toodegrees)Based on “ICT Algorithmic Macro Tracker° (Open-Source) by toodegrees” (MPL-2.0), this version simply extends the original macro logic: it keeps the same left/right verticals and dynamic horizontal cap. In short, it’s just an extended macro compared to TooDegree’s
1H Color-Change Open Levels (non-repainting)objective way of getting levels. better than anything else out there
ShadowCorp Time Cycle'sThis indicator marks key intraday windows — 7:00–8:30, 8:30–10:00 (NYO), 10:00–11:30, 11:30–13:00, 13:00–14:30, 14:30–16:00, and 18:00–19:00 — and draws a true **price-range box** for each window.
Each box builds **in real time** from that window’s running **high/low**, then **persists on the chart** after the window ends for historical study. It’s **timezone-aware** (configurable) and gives you **per-window color** controls. Use it to visualize session volatility, ranges, and liquidity sweeps across the day on any intraday chart.
Multi-Timeframe mybullandbearThis Multi-Timeframe RSI + Ultimate MA System combines RSI and customizable moving averages (SMA, EMA, WMA, HullMA, VWMA, RMA, TEMA) to generate powerful buy/sell signals across 5m, 15m, 1h, and 4h timeframes. Visualize signals with clear chart labels (BUY/SELL) and a multi-timeframe table showing RSI status, MA trends, and signal strength. Ideal for traders seeking trend confirmation and reversal signals.
Enable/disable RSI, MA cross, or combined signals, and adjust MA types/lengths. Use aligned signals across timeframes for stronger entries. Best with backtesting for your asset.
Double Moving Average█ OVERVIEW
The Double Moving Average (DMA) smooths one moving average with a second moving average.
Includes moving average type, higher timeframe, offset, alerts, and style settings for all of the indicator's visual components. This indicator includes an optional line and label to indicate the latest value of the DMA that repaints.
█ CONCEPTS
Shorter term moving averages, especially in choppy markets, can rapidly increase and decrease their slope. Which could lead some traders into assuming that the series trend may continue at that steeper slope. By smoothing a moving average with another one, the magnitude of rapid choppy movements is mitigated.
█ FEATURES
DMA Customization
Most inputs have a tooltip that can be read by interacting with the information icon to guide users.
For both moving averages in the DMA, users can set the lookback length and moving average type independently. Available moving average types include:
Simple Moving Average
Exponential Moving Average
Hull Moving Average
Weighted Moving Average
Volume Weighted Moving Average
A bar offset setting is included for shifting the indicator's placement. Using different lookback combinations for both averages alongside an offset can create equivalent values of other types of moving averages not included in this indicator. For example, if the default lookback settings are offset by 1 bar, this duplicates a 4 period centered moving average.
Colors for the DMA's plot can toggle between a single "base" color, or using increasing and decreasing colors. Changing the plot's style, line style, and width is also supported.
Latest Value Line and Label
The latest value of the DMA plot is replaced by default with a feature called the Latest Value Line and Label: a stylized line and label to help indicate the part of the indicator that can repaint from the parts that don't repaint. Data used to draw this feature is calculated separately from the indicator's confirmed historical calculations.
A label is included to display the latest value of the DMA which includes complete style settings. The style of both the line and label are completely customizable; every style feature that can be included has a corresponding input you can set.
Toggling off the Latest Value Line and Label feature will cause all the respective style inputs to deactivate so that they're no longer in focus or editable until the feature is toggled on again.
Higher Timeframes
Users can plot the DMA from higher timeframes on their chart.
As new bars print, the non-repainting DMA historical plot uses the last confirmed higher timeframe value. The repainting Latest Value Line and Label will update with the most recent higher timeframe value only for the latest bar. If the Latest Value Line feature is toggled off, the last confirmed higher timeframe DMA value is plotted up to the latest bar.
The built-in Moving Average Simple (SMA) indicator includes several of the features in this indicator, like an option for using higher timeframe. However, by default, it plots no values except on bars with higher timeframe close updates. Disabling "Wait for timeframe closes" to get values between updates causes repainting in both replay mode and realtime bars.
Since the calculations that repaint are separate and optional in the DMA indicator, historical plotted values will not repaint in replay mode or on realtime bars while using higher timeframes.
Alerts
There are two DMA value options when creating an alert:
DMA Latest Value: Use the latest updating DMA Value. The same value as the Latest Value Line.
DMA Last Confirmed Value: Use the last historical closed DMA value.
The default alert option is DMA Latest because most users expect alerts when the price crosses the latest updating DMA value. The Last Confirmed Value alert option uses the DMA value from the latest confirmed historical bar.
When creating an alert you should see a "Caution!" warning saying, "This is due to calculations being based on an indicator or strategy that can get repainted." This warning is intentional because the DMA indicator's Latest Value Line and Label feature is supposed to repaint in order to display the latest value.
█ FOR Pine Script™ CODERS
StyleLibrary is used to create user-friendly plot, line, and label style enum type inputs. The library's functions then take those user inputs and convert them into the appropriate values/built-in constants to customize styles for plot, line, and label functions.
Titles for #region blocks are included after #endregion statements for clarity when multiple #endregion statements occur.
This indicator utilizes the new active parameter for style inputs of togglable features.
Previous Day Close LinesWhat does the script do?
--Draws a line on the current session from previous day close.
--Leaves previous day close lines behind, notice the reaction around them.
Amritsingh Pinbar Candle GhostTrade Criteria//@version=5
indicator("Custom Candle with Asymmetric Wicks", overlay=true)
// === User Inputs ===
// Body percent thresholds (as % of full candle)
bodyMin = input.float(72.0, "Minimum Body %", minval=0.0, maxval=100.0)
bodyMax = input.float(85.0, "Maximum Body %", minval=0.0, maxval=100.0)
// Wick ratio threshold (e.g., 2.0 means one wick must be at least 2x the other)
wickRatio = input.float(2.0, "Min Wick Asymmetry Ratio", minval=1.0, step=0.1)
// === Candle Calculations ===
bodySize = math.abs(close - open)
candleRange = high - low
// Avoid divide-by-zero
validCandle = candleRange > 0
// Body as % of full candle
bodyPercent = validCandle ? (bodySize / candleRange) * 100 : 0
// Wick sizes
upperWick = high - math.max(close, open)
lowerWick = math.min(close, open) - low
// Ensure both wicks are present (non-zero)
bothWicksPresent = (upperWick > 0) and (lowerWick > 0)
// Wick asymmetry condition (either wick must be ≥ wickRatio × the other)
wickAsymmetry = (upperWick >= lowerWick * wickRatio) or (lowerWick >= upperWick * wickRatio)
// Final condition: all must be true
signal = validCandle and bothWicksPresent and wickAsymmetry and (bodyPercent >= bodyMin and bodyPercent <= bodyMax)
// === Plotting ===
plotshape(signal, title="Candle Signal", location=location.belowbar, style=shape.labelup, color=color.orange, size=size.small, text="⚡")
barcolor(signal ? color.orange : na)
BR Cross Swing - MACD HistRawThis strategy looks at the MACD Relationship through the same logic but mainly focuses on breaking things down and the application on raw values.
1H Open Level System-Lomeli indicatorsThis level system is a objective way of getting precise levels! Used by some of the trading goats
AI Trading Alerts v6 — SL/TP + Confidence + Panel (Fixed)Overview
This Pine Script is designed to identify high-probability trading opportunities in Forex, commodities, and crypto markets. It combines EMA trend filters, RSI, and Stochastic RSI, with automatic stop-loss (SL) & take-profit (TP) suggestions, and provides a confidence panel to quickly assess the trade setup strength.
It also includes TradingView alert conditions so you can set up notifications for Long/Short setups and EMA crosses.
⚙️ Features
EMA Trend Filter
Uses EMA 50, 100, 200 for trend confirmation.
Bull trend = EMA50 > EMA100 > EMA200
Bear trend = EMA50 < EMA100 < EMA200
RSI Filter
Bullish trades require RSI > 50
Bearish trades require RSI < 50
Stochastic RSI Filter
Prevents entries during overbought/oversold extremes.
Bullish entry only if %K and %D < 80
Bearish entry only if %K and %D > 20
EMA Proximity Check
Price must be near EMA50 (within ATR × adjustable multiplier).
Signals
Continuation Signals:
Long if all bullish conditions align.
Short if all bearish conditions align.
Cross Events:
Long Cross when price crosses above EMA50 in bull trend.
Short Cross when price crosses below EMA50 in bear trend.
Automatic SL/TP Suggestions
SL size adjusts depending on asset:
Gold/Silver (XAU/XAG): 5 pts
Bitcoin/Ethereum: 100 pts
FX pairs (default): 20 pts
TP = SL × Risk:Reward ratio (default 1:2).
Confidence Score (0–4)
Based on conditions met (trend, RSI, Stoch, EMA proximity).
Labels:
Strongest (4/4)
Strong (3/4)
Medium (2/4)
Low (1/4)
Visual Panel on Chart
Shows ✅/❌ for each condition (trend, RSI, Stoch, EMA proximity, signal now).
Confidence row with color-coded strength.
Alerts
Long Setup
Short Setup
Long Cross
Short Cross
🖥️ How to Use
1. Add the Script
Open TradingView → Pine Editor.
Paste the full script.
Click Add to chart.
Save as "AI Trading Alerts v6 — SL/TP + Confidence + Panel".
2. Configure Inputs
EMA Lengths: Default 50/100/200 (works well for swing trading).
RSI Length: 14 (standard).
Stochastic Length/K/D: Default 14/3/3.
Risk:Reward Ratio: Default 2.0 (can change to 1.5, 3.0, etc.).
EMA Proximity Threshold: Default 0.20 × ATR (adjust to be stricter/looser).
3. Read the Panel
Top-right of chart, you’ll see ✅ or ❌ for:
Trend → Are EMAs aligned?
RSI → Above 50 (bull) or below 50 (bear)?
Stoch OK → Not extreme?
Near EMA50 → Close enough to EMA50?
Above/Below OK → Price position vs. EMA50 matches trend?
Signal Now → Entry triggered?
Confidence row:
🟢 Green = Strongest
🟩 Light green = Strong
🟧 Orange = Medium
🟨 Yellow = Low
⬜ Gray = None
4. Alerts Setup
Go to TradingView Alerts (⏰ icon).
Choose the script under “Condition”.
Select alert type:
Long Setup
Short Setup
Long Cross
Short Cross
Set notification method (popup, sound, email, mobile).
Click Create.
Now TradingView will notify you automatically when signals appear.
5. Example Workflow
Wait for Confidence = Strong/Strongest.
Check if market session supports volatility (e.g., XAU in London/NY).
Review SL/TP suggestions:
Long → Entry: current price, SL: close - risk_pts, TP: close + risk_pts × RR.
Short → Entry: current price, SL: close + risk_pts, TP: close - risk_pts × RR.
Adjust based on your own price action analysis.
📊 Best Practices
Use on H1 + D1 combo → align higher timeframe bias with intraday entries.
Risk only 1–2% of account per trade (position sizing required).
Filter with market sessions (Asia, Europe, US).
Strongest signals work best with trending pairs (e.g., XAUUSD, USDJPY, BTCUSD).
MA Pack + Cross Signals (Short vs Long)Overview
A flexible moving average pack that lets you switch between short-term trend detection and long-term trend confirmation .
Short-term mode: plots 5, 10, 20, and 50 MAs with early crossovers (10/50, 20/50).
Long-term mode: plots 50, 100, 200 MAs with Golden Cross and Death Cross signals.
Choice of SMA or EMA .
Alerts included for all crossovers.
Why Use It
Catch early trend shifts in short-term mode.
Confirm institutional trend levels in long-term mode.
Visual signals (triangles + labels) make spotting setups easy.
Alert-ready for automated trade monitoring.
Usage
Add to chart.
In settings, choose Short-term or Long-term .
Watch for markers:
Green triangles = bullish cross
Red triangles = bearish cross
Green label = Golden Cross
Red label = Death Cross
Optional: enable alerts for notifications.
Morning Peak FadeMorning Peak Fade is an intraday analysis tool that identifies and measures the probability of early session rallies turning into sharp pullbacks.
📊 Core Idea
• Many stocks surge after the open, reaching an intraday peak before fading lower.
• This script anchors at the first significant morning high and tracks the drawdowns that follow within a customizable time window.
• It provides:
• Probability of a fade after the peak
• Average and maximum drawdown statistics
• Event-day hit rate (how often such setups occur)
🎯 Use Cases
• Spot potential “fade setups” where early enthusiasm exhausts quickly.
• Quantify how often chasing the morning high turns into a losing trade.
• Backtest opening range failure or fade strategies with hard data.
⚙️ Features
• Customizable thresholds for the initial surge (relative to prior close).
• Marks the peak (max) and subsequent low (min) used in calculations.
• Draws a reference line at the surge threshold to visualize when the fade triggers.
• Outputs summary stats directly on the chart.
Premarket Power MovePremarket Power Move is an intraday research tool that tracks what happens after strong premarket or opening gaps.
📊 Core Idea
• When a stock opens +X% above the prior close, it often attracts momentum traders.
• This script measures whether the stock continues to follow through higher or instead fades back down within the first trading hour.
• It calculates:
• The probability of a post-gap rally vs. a drawdown
• Average and maximum retracements after the surge
• Event-day hit rate (how many days actually triggered the condition)
🎯 Use Cases
• Identify “gap-and-go” opportunities where strong premarket strength leads to further gains.
• Spot potential fade setups where early enthusiasm quickly reverses.
• Backtest your intraday strategies with objective statistics instead of gut feeling.
⚙️ Features
• Customizable thresholds for premarket/open surge (%) and follow-through window (minutes).
• Marks the chart with reference lines:
• Prior close
• Surge threshold (e.g. +6%)
• Intraday high/low used for probability calculations.
• Outputs summary statistics (probabilities, averages, counts) directly on the chart.
🔔 Note
This is not a buy/sell signal generator. It is a probability and behavior analysis tool that helps traders understand how often strong premarket gaps continue vs. fade.
Seasonality con números RAMÓN SEGOVIAMonthly Bands – Colored Monthly Stripes for Statistical Analysis
Short Description
This indicator paints vertical background stripes by calendar month on your chart, making it easy to run statistical/seasonality analysis, compare monthly performance, and visually identify recurring patterns across assets and timeframes.
How It Works
Detects each new month and applies a background band spanning from the first to the last candle of that month.
Alternates colors automatically so consecutive months are easy to distinguish, or use a single uniform color for a clean look.
Optional: add dotted lines at the start/end of each month for precise separation.
Inputs / Settings
Color mode: alternating (odd/even months) or single.
Colors & opacity of the bands.
Border style: none / solid / dotted.
Highlight specific months: e.g., “Jan, Apr, Oct” with a different color.
Labels option: show month & year abbreviations at the top/bottom of the chart.
Drawing zone: full background vs. price-only area (to avoid covering lower indicators).
Typical Use Cases
Seasonality studies: identify historically bullish/bearish months.
Visual backtesting: segment the chart by months to evaluate strategy performance.
Context tracking: quickly locate reports, monthly closes, or economic cycles.
Compatibility
Works on all timeframes, including intraday (each band covers the full calendar month).
Lightweight and visual-only; doesn’t interfere with price or indicators.
Pro Tips
Combine with monthly returns (%) or candle counters to quantify each stripe.
Use labels when preparing clean presentations or trade journal screenshots.
Notes
This is a visual tool only, not a buy/sell signal generator.
Default settings are optimized for clarity and minimal clutter.
Long-short energy ratio /多空能量比值This indicator calculates the relative strength of bulls and bears by measuring the average candle body movement within a user-defined window (default: 50 bars).
Bull Energy = average percentage change of all bullish candles in the lookback period
Bear Energy = average percentage change of all bearish candles in the lookback period
Energy Ratio = Bull Energy ÷ Bear Energy
The ratio is plotted as a curve around the baseline of 1:
Ratio > 1 → Bull side shows stronger momentum
Ratio < 1 → Bear side shows stronger momentum
Ratio ≈ 1 → Balanced market conditions
This tool helps visualize short-term shifts in buying and selling pressure, offering a simple mean-reversion perspective or a confirmation of trend strength depending on the context.