Average Directional Index with middle line 25I interpret the ADX as indicating weakness in the current price when the value is below 25, and strength when it is above 25.
This line at 25 is drawn in the ADX chart. Its color and value can be customized in the Trading View box.
震盪指標
Divergence Scanner
Scanner and Indication (Divergence Scanner & Signal)An advanced experimental indicator designed to detect instances of Divergence between price action and key oscillator metrics (e.g., RSI or MACD).The primary function of this script is for Screener use. It plots a numerical value (a value greater than zero) on the chart when a confirmed bullish or bearish divergence signal appears."
50 & 200 SMA + RSI Average Strategy (Long Only, Single Trade)It works better in trending markets. It delivers its best performance in the 4-hour to 1-day timeframes.
LiquidityPulse RSI Candle Strength MomentumLiquidity-Pulse RSI Candle Strength Momentum is a multifunctional and original candle-analysis tool designed to highlight the potential internal strength of each candle using a combination of body size and volume.
To view the candle-strength scores clearly: right-click on the chart, go to Settings, and in the Symbol tab untick Body, Borders and Wicks.
Candle Strength Scores
The indicator calculates the average body size and average volume over a user-defined lookback period. Each candle is then compared to these averages, and the indicator combines relative body expansion and relative volume expansion with a square-root calculation to create a (normalised) candle-strength score from 1 to 10.
10 – exceptionally strong compared to the lookback average (large body size and volume)
1 – very weak compared to the lookback average (small body size and volume)
Bullish and bearish candles are evaluated independently, producing separate bull-strength and bear-strength scores.
Optional ATR and volume floors can be enabled to restrict strength scoring to candles that exceed a minimum volatility or participation threshold. This helps users who prefer to filter out low-impact candles during quiet market periods. This option can be enabled or adjusted in the settings but is turned off by default.
Candle Colours
This tool also shows candles coloured based on the candle-strength scores (10 colours in each theme), which makes it easier to visualise the scores and see whether the candle score was high or not. There are several options in the 'colour theme' dropdown menu in the settings. Users can also customise all colours manually.
RSI Candle Strength Arrows
The Relative Strength Index is a long-established momentum tool that calculates the ratio of average upward moves to average downward moves over a defined period, allowing traders to identify potential overbought and oversold market conditions where momentum may be stretched. As well as this, strong early momentum and participation are often associated with more sustained moves.
This indicator combines this methodology and provides optional arrows that appear only when candle strength and RSI conditions align:
– A candle meets or exceeds a chosen strength threshold
– RSI has recently reached an overbought or oversold level
– The candle direction matches the expected momentum shift
For example, if price has reached an oversold RSI level and a strong bullish candle forms (high candle-strength number), an upside arrow may plot.
Users can customise the RSI oversold and overbought thresholds, the minimum candle-strength threshold, and how many bars back the RSI condition must have occurred in the settings.
These arrows are not buy or sell signals but instead highlight rare moments where strong candle behaviour aligns with meaningful RSI extremes. This is useful to users because it allows the candle-strength logic to be applied only when momentum is genuinely stretched, filtering out noise and focusing attention on the most statistically significant market moves.
This indicator brings together a quantitative candle-strength model and a momentum-based RSI filter to give users a clearer view of how individual candles behave relative to their recent environment, while also highlighting when those movements occur during meaningful shifts in market momentum. By combining both forms of analysis, the tool helps traders distinguish ordinary price changes from potentially significant structural behaviour.
How traders can use this indicator
– Stronger candle scores in the trend direction can confirm continuation pressure.
– Powerful opposing candles appearing at RSI extremes may signal potential reversals or exhaustion points.
– If breakouts occur with high candle scores, price may be more likely to follow through.
– Weak candles with low scores help traders avoid false signals or low-quality setups.
– Candle-strength scoring helps users quickly interpret both volume and candle-body behaviour without manual analysis.
Open source, if anyone has any ideas on how to make the script better or have any questions please let me know :)
Disclaimer
This indicator is provided for educational and analytical purposes only and should not be interpreted as financial advice or a recommendation to buy or sell any asset. The candle-strength values displayed by this tool are not literal or definitive measures of market strength; they are derived from a custom mathematical model designed to highlight relative differences in candle behaviour. These values should be viewed as a simplified representation of candle dynamics, not as an objective or universal measure of strength.
Users should be aware that this calculation does not replace the importance of analysing real traded volume, order flow, liquidity conditions, or broader market context. As with any technical tool, results should be considered alongside other forms of analysis, and past performance does not guarantee future outcomes. Use at your own discretion and risk.
RSI + Psy + ADXRSI + Psychological Line + ADX (with RCI-replacement logic)
This custom TradingView indicator combines three major technical analysis tools—RSI, Psychological Line (Psy), and ADX—to help traders identify trend strength, market momentum, and overbought/oversold conditions with improved clarity.
1. Multi-Period RSI
The indicator calculates three RSI values:
Short-term RSI (9)
Mid-term RSI (26)
Long-term RSI (52)
These help users observe short-, mid-, and long-term momentum simultaneously.
Threshold lines are drawn at 70, 50, and 30 for standard RSI overbought/oversold analysis.
2. Psychological Line (Psy) with Dynamic Column Display
The Psy indicator counts how many closes within the selected period (default: 12) were higher than the previous close.
Values above 75 indicate overbought markets.
Values below 25 indicate oversold markets.
When Psy crosses these thresholds, it is displayed as a column chart centered at 50, visually expanding upward (overbought) or downward (oversold).
3. ADX Trend Strength with Color Coding
ADX is calculated from DI+ and DI− values (using true range and directional movement).
The ADX line changes color based on trend strength:
Blue: Weak trend (below 20)
Yellow: Moderate trend (20–30)
Red: Strong trend (above 30)
This helps traders easily recognize when the market transitions from low-volatility to strong-trend conditions.
Adaptive MACD PROAdaptive MACD PRO
Highlights structural momentum changes using dynamic normalization of MACD and Signal.
Phase Momentum Core
Adds directional confirmation based on short-term phase behavior.
Visual Output
• MACD & Signal lines with trend-based coloring
• Adaptive histogram reflecting momentum strength
• Fixed-position Buy/Sell dots at predefined levels
• AutoCalib dots on MACD_z threshold crossings
• Optional HUD panel displaying calibration levels and MACD_z
Features
• Selectable MA types (EMA, SMA, KAMA)
• Z-score normalization
• ATR-based volatility weighting
• Higher timeframe alignment
• Auto-calibration with SAFE / AGGRESSIVE modes
• Unified long/short triggers
• Full bar-coloring control
• Works on all assets and timeframes
The full source code is visible and may be modified or extended.
This script is intended for technical analysis and research only.
This indicator is published as a free, open-source script with full visible code.
RSI Forecast Colorful [DiFlip]RSI Forecast Colorful
Introducing one of the most complete RSI indicators available — a highly customizable analytical tool that integrates advanced prediction capabilities. RSI Forecast Colorful is an evolution of the classic RSI, designed to anticipate potential future RSI movements using linear regression. Instead of simply reacting to historical data, this indicator provides a statistical projection of the RSI’s future behavior, offering a forward-looking view of market conditions.
⯁ Real-Time RSI Forecasting
For the first time, a public RSI indicator integrates linear regression (least squares method) to forecast the RSI’s future behavior. This innovative approach allows traders to anticipate market movements based on historical trends. By applying Linear Regression to the RSI, the indicator displays a projected trendline n periods ahead, helping traders make more informed buy or sell decisions.
⯁ Highly Customizable
The indicator is fully adaptable to any trading style. Dozens of parameters can be optimized to match your system. All 28 long and short entry conditions are selectable and configurable, allowing the construction of quantitative, statistical, and automated trading models. Full control over signals ensures precise alignment with your strategy.
⯁ Innovative and Science-Based
This is the first public RSI indicator to apply least-squares predictive modeling to RSI calculations. Technically, it incorporates machine-learning logic into a classic indicator. Using Linear Regression embeds strong statistical foundations into RSI forecasting, making this tool especially valuable for traders seeking quantitative and analytical advantages.
⯁ Scientific Foundation: Linear Regression
Linear regression is a fundamental statistical method that models the relationship between a dependent variable y and one or more independent variables x. The general formula for simple linear regression is:
y = β₀ + β₁x + ε
where:
y = predicted variable (e.g., future RSI value)
x = explanatory variable (e.g., bar index or time)
β₀ = intercept (value of y when x = 0)
β₁ = slope (rate of change of y relative to x)
ε = random error term
The goal is to estimate β₀ and β₁ by minimizing the sum of squared errors. This is achieved using the least squares method, ensuring the best linear fit to historical data. Once the coefficients are calculated, the model extends the regression line forward, generating the RSI projection based on recent trends.
⯁ Least Squares Estimation
To minimize the error between predicted and observed values, we use the formulas:
β₁ = Σ((xᵢ - x̄)(yᵢ - ȳ)) / Σ((xᵢ - x̄)²)
β₀ = ȳ - β₁x̄
Σ denotes summation; x̄ and ȳ are the means of x and y; and i ranges from 1 to n (number of observations). These equations produce the best linear unbiased estimator under the Gauss–Markov assumptions — constant variance (homoscedasticity) and a linear relationship between variables.
⯁ Linear Regression in Machine Learning
Linear regression is a foundational component of supervised learning. Its simplicity and precision in numerical prediction make it essential in AI, predictive algorithms, and time-series forecasting. Applying regression to RSI is akin to embedding artificial intelligence inside a classic indicator, adding a new analytical dimension.
⯁ Visual Interpretation
Imagine a time series of RSI values like this:
Time →
RSI →
The regression line smooths these historical values and projects itself n periods forward, creating a predictive trajectory. This projected RSI line can cross the actual RSI, generating sophisticated entry and exit signals. In summary, the RSI Forecast Colorful indicator provides both the current RSI and the forecasted RSI, allowing comparison between past and future trend behavior.
⯁ Summary of Scientific Concepts Used
Linear Regression: Models relationships between variables using a straight line.
Least Squares: Minimizes squared prediction errors for optimal fit.
Time-Series Forecasting: Predicts future values from historical patterns.
Supervised Learning: Predictive modeling based on known output values.
Statistical Smoothing: Reduces noise to highlight underlying trends.
⯁ Why This Indicator Is Revolutionary
Scientifically grounded: Built on statistical and mathematical theory.
First of its kind: The first public RSI with least-squares predictive modeling.
Intelligent: Incorporates machine-learning logic into RSI interpretation.
Forward-looking: Generates predictive, not just reactive, signals.
Customizable: Exceptionally flexible for any strategic framework.
⯁ Conclusion
By combining RSI and linear regression, the RSI Forecast Colorful allows traders to predict market momentum rather than simply follow it. It's not just another indicator: it's a scientific advancement in technical analysis technology. Offering 28 configurable entry conditions and advanced signals, this open-source indicator paves the way for innovative quantitative systems.
⯁ Example of simple linear regression with one independent variable
This example demonstrates how a basic linear regression works when there is only one independent variable influencing the dependent variable. This type of model is used to identify a direct relationship between two variables.
⯁ In linear regression, observations (red) are considered the result of random deviations (green) from an underlying relationship (blue) between a dependent variable (y) and an independent variable (x)
This concept illustrates that sampled data points rarely align perfectly with the true trend line. Instead, each observed point represents the combination of the true underlying relationship and a random error component.
⯁ Visualizing heteroscedasticity in a scatterplot with 100 random fitted values using Matlab
Heteroscedasticity occurs when the variance of the errors is not constant across the range of fitted values. This visualization highlights how the spread of data can change unpredictably, which is an important factor in evaluating the validity of regression models.
⯁ The datasets in Anscombe’s quartet were designed to have nearly the same linear regression line (as well as nearly identical means, standard deviations, and correlations) but look very different when plotted
This classic example shows that summary statistics alone can be misleading. Even with identical numerical metrics, the datasets display completely different patterns, emphasizing the importance of visual inspection when interpreting a model.
⯁ Result of fitting a set of data points with a quadratic function
This example illustrates how a second-degree polynomial model can better fit certain datasets that do not follow a linear trend. The resulting curve reflects the true shape of the data more accurately than a straight line.
⯁ What Is RSI?
The RSI (Relative Strength Index) is a technical indicator developed by J. Welles Wilder. It measures the velocity and magnitude of recent price movements to identify overbought and oversold conditions. The RSI ranges from 0 to 100 and is commonly used to identify potential reversals and evaluate trend strength.
⯁ How RSI Works
RSI is calculated from average gains and losses over a set period (commonly 14 bars) and plotted on a 0–100 scale. It consists of three key zones:
Overbought: RSI above 70 may signal an overbought market.
Oversold: RSI below 30 may signal an oversold market.
Neutral Zone: RSI between 30 and 70, indicating no extreme condition.
These zones help identify potential price reversals and confirm trend strength.
⯁ Entry Conditions
All conditions below are fully customizable and allow detailed control over entry signal creation.
📈 BUY
🧲 Signal Validity: Signal remains valid for X bars.
🧲 Signal Logic: Configurable using AND or OR.
🧲 RSI > Upper
🧲 RSI < Upper
🧲 RSI > Lower
🧲 RSI < Lower
🧲 RSI > Middle
🧲 RSI < Middle
🧲 RSI > MA
🧲 RSI < MA
🧲 MA > Upper
🧲 MA < Upper
🧲 MA > Lower
🧲 MA < Lower
🧲 RSI (Crossover) Upper
🧲 RSI (Crossunder) Upper
🧲 RSI (Crossover) Lower
🧲 RSI (Crossunder) Lower
🧲 RSI (Crossover) Middle
🧲 RSI (Crossunder) Middle
🧲 RSI (Crossover) MA
🧲 RSI (Crossunder) MA
🧲 MA (Crossover)Upper
🧲 MA (Crossunder)Upper
🧲 MA (Crossover) Lower
🧲 MA (Crossunder) Lower
🧲 RSI Bullish Divergence
🧲 RSI Bearish Divergence
🔮 RSI (Crossover) Forecast MA
🔮 RSI (Crossunder) Forecast MA
📉 SELL
🧲 Signal Validity: Signal remains valid for X bars.
🧲 Signal Logic: Configurable using AND or OR.
🧲 RSI > Upper
🧲 RSI < Upper
🧲 RSI > Lower
🧲 RSI < Lower
🧲 RSI > Middle
🧲 RSI < Middle
🧲 RSI > MA
🧲 RSI < MA
🧲 MA > Upper
🧲 MA < Upper
🧲 MA > Lower
🧲 MA < Lower
🧲 RSI (Crossover) Upper
🧲 RSI (Crossunder) Upper
🧲 RSI (Crossover) Lower
🧲 RSI (Crossunder) Lower
🧲 RSI (Crossover) Middle
🧲 RSI (Crossunder) Middle
🧲 RSI (Crossover) MA
🧲 RSI (Crossunder) MA
🧲 MA (Crossover)Upper
🧲 MA (Crossunder)Upper
🧲 MA (Crossover) Lower
🧲 MA (Crossunder) Lower
🧲 RSI Bullish Divergence
🧲 RSI Bearish Divergence
🔮 RSI (Crossover) Forecast MA
🔮 RSI (Crossunder) Forecast MA
🤖 Automation
All BUY and SELL conditions can be automated using TradingView alerts. Every configurable condition can trigger alerts suitable for fully automated or semi-automated strategies.
⯁ Unique Features
Linear Regression Forecast
Signal Validity: Keep signals active for X bars
Signal Logic: AND/OR configuration
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Chart Labels: BUY/SELL markers above price
Automation & Alerts: BUY/SELL
Background Colors: bgcolor
Fill Colors: fill
Linear Regression Forecast
Signal Validity: Keep signals active for X bars
Signal Logic: AND/OR configuration
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Chart Labels: BUY/SELL markers above price
Automation & Alerts: BUY/SELL
Background Colors: bgcolor
Fill Colors: fill
WaveTrend Oscillator [WT] — LazyBear Modified by PickMyTradeThis strategy is built upon the well-known “WaveTrend Oscillator ” indicator originally published by LazyBear. The WaveTrend is widely used across markets for spotting momentum reversals, especially when the oscillator crosses the signal line within overbought and oversold zones.
The PickMyTrade team has converted this classic indicator into a fully automated, risk-managed trading strategy designed to maintain consistent performance with controlled drawdown. It includes additional trend and momentum filters, along with a complete capital protection framework aimed at meeting the strict requirements of prop firm evaluations.
This version focuses heavily on profit factor stability, drawdown reduction, and risk management, making it suitable for traders who must operate within strict rules.
What Makes This Version Different?
LazyBear’s original WaveTrend indicator provides excellent reversal detection, but this strategy expands it significantly by adding:
1. Risk-Management System Designed for Prop Firm Rules
Maximum equity drawdown limit
Daily loss limit
Automatic “stop trading” mode when limits are reached
Optional position size reduction as drawdown increases
These protections help keep the account within typical challenge requirements such as 5–10% max drawdown.
2. ATR-Based Stop Loss and Risk-to-Reward Targeting
Adaptive volatility-based stop losses
Configurable R:R take-profit targets
Position sizing based on percent of equity or fixed contracts
Ensures consistent risk exposure across all market types.
3. Improved WaveTrend Logic
While the original WT uses simple crossovers, this strategy adds several filters:
Histogram momentum direction (WT1 – WT2)
RSI momentum confirmation
ADX trend-strength filter
Optional overbought/oversold only mode (classic WT behavior)
These help reduce false reversals and improve the signal quality in choppy environments.
4. Multi-Market & Multi-Timeframe Compatibility
The strategy performs reliably on:
Stocks
Crypto
Forex
Indices
Futures
It works on both short-term charts (15m) and higher timeframes (1H, 4H).
Higher timeframes tend to show lower drawdown and higher profit factors.
5. No Repainting
All logic is based strictly on closed candles.
The strategy does not repaint past signals.
How It Works
WaveTrend Core Logic
WT1 = EMA-smoothed channel deviation
WT2 = smoothed signal of WT1
Main signals come from crossovers of WT1 and WT2
Optimal conditions occur below oversold or above overbought zones
Entry Conditions
Long Entry
WT1 crosses above WT2
Histogram momentum positive
RSI supports upward momentum
ADX confirms trend strength (optional)
Optional: WT1 below oversold threshold
Short Entry
WT1 crosses below WT2
Histogram momentum negative
RSI supports downward momentum
ADX confirms trend strength (optional)
Optional: WT1 above overbought threshold
Exit Conditions
Opposite WaveTrend signal
ATR stop loss hit
Take profit target hit
Optional: trend strength on ADX weakens
Optional: momentum reversal detected
Risk-Management System
Developed specifically with prop-firm challenge rules in mind.
Equity Protection
Max equity drawdown limit (e.g., 10–15%)
Daily loss limit (e.g., 3–5%)
Full suspension of trading once limits are hit
Sizing Controls
Position size shrinks automatically as drawdown increases
Minimum size multiplier to maintain controlled exposure
Prevents overleveraging during account recovery cycles
Stop Loss & Take Profit
ATR-based dynamic stop loss
Configurable percentage stop loss
Configurable take profit with desired R:R ratio
Credits
Original Indicator: LazyBear
Original Script: “WaveTrend Oscillator ”
All indicator logic belongs to the original creator.
Strategy Conversion & Risk-Management Enhancements: PickMyTrade Team
About PickMyTrade
PickMyTrade specializes in converting TradingView strategies into fully automated trading systems with live execution across multiple brokers.
Supported connections include:
Rithmic
TradeStation
Interactive Brokers
TradeLocker
ProjectX
Tradovate (futures)
For automation and execution services:
pickmytrade.io
pickmytrade.trade
Disclaimer
This strategy is for educational and informational purposes only.
It does not guarantee profits and is not financial advice.
Trading involves significant risk.
Always test in simulation before trading live.
Past results do not guarantee future performance.
Slippage, commissions, and execution delay will impact results.
Delta Force Index - DFI [TCMaster]This indicator provides a proxy measurement of hidden buying and selling pressure inside each candle by combining tick volume with candle direction. It calculates a simulated delta volume (buy vs. sell imbalance), applies customizable scaling factors, and displays three components:
Delta Columns (green/red): Show estimated hidden buy or sell pressure per candle.
Delta Moving Average (orange line): Smooths delta values to highlight underlying momentum.
Cumulative Delta (blue line): Tracks the long-term accumulation of hidden order flow.
How to use:
Rising green columns with a positive Delta MA and upward Cumulative Delta suggest strong hidden buying pressure.
Falling red columns with a negative Delta MA and downward Cumulative Delta suggest strong hidden selling pressure.
Scaling parameters allow you to adjust the visual balance between columns and lines for different timeframes.
Note: This tool uses tick volume and candle direction as a proxy for order flow. It does not display actual bid/ask data or Level II market depth. For professional order flow analysis, footprint charts or DOM data are required.
Smart ATR ProSmart ATR Pro - Adaptive Volatility & Smart Money Indicator
Advanced oscillator combining Adaptive ATR filtering with Smart Money detection. Features:
🎯 Smart Signals
BUY/SELL alerts with star rating system (1-5 stars)
STRONG signals for high-probability entries
ATR color status (Green/Yellow/Red) for volatility conditions
📊 Multi-Timeframe Analysis
MFI with overbought/oversold zones
Cumulative Delta volume analysis
Smart Money Power histogram
Price-action divergences detection
⚡ Adaptive Technology
Auto-adjusts ATR ranges based on market conditions
Smart Money strength calculation (0-6 points)
Volume spike detection
🎨 Professional UI
Centered table with adjustable opacity
Color-coded indicators for quick reading
Clean oscillator display with multiple plots
Perfect for swing traders and day traders seeking confirmed entries with volatility filtering and smart money confirmation.
*Settings: ATR Period 14, MFI Period 12, 100-bar analysis*
1M XAU Cumulative Delta Volume with OB Breakouts
### Overview
This is a **session-based CVD strategy** built around the **00:00–07:00 CEST range**. It finds the high/low of that session, turns them into **adaptive ATR-based support (yellow)** and **resistance (purple)** zones, and trades only **CVD-confirmed reversals** off those levels.
---
### How it Works
* For each day, the script:
* Builds a 00:00–07:00 CEST **profile high/low**.
* Creates a **support zone** around the session low and a **resistance zone** around the session high.
* Using lower timeframe data, it reconstructs **Cumulative Volume Delta (CVD)** and a **recent delta** filter.
* It arms “pending” states when price **enters a zone from the correct side**, then confirms:
* **BUY (long):** price reclaims above support and recent CVD is strongly positive.
* **SELL (short):** price rejects below resistance and recent CVD is strongly negative.
Only these two CVD signals (`buySignal` / `sellSignal`) open trades.
---
### Strategy Logic
* **Entries**
* `buySignal` → open **long** (if flat).
* `sellSignal` → open **short** (if flat).
* No pyramiding; one position at a time.
* **Exits (only TP & SL)**
* Long: TP at `avg_price * (0.5 + TP%)`, SL at `avg_price * (1 – SL%)`.
* Short: TP at `avg_price * (0.5 – TP%)`, SL at `avg_price * (1 + SL%)`.
* No opposite-signal exits.
---
### Extras
* **Reversal markers** on yellow/purple zones and **breakout/retest markers** are plotted for context and alerts but **do not trigger entries**.
* Zone width and “thickening” are ATR-based so important touches and near-touches are easy to see.
* Only suited for **1m intraday scalping** (e.g. XAU/USD), but can be tested on other markets/timeframes.
RSI Strategy [PrimeAutomation]⯁ OVERVIEW
The RSI Strategy is a momentum-driven trading system built around the behavior of the Relative Strength Index (RSI).
Instead of using traditional overbought/oversold zones, this strategy focuses on RSI breakouts with volatility-based trailing stops, adaptive profit-targets, and optional early-exit logic.
It is designed to capture strong continuation moves after momentum shifts while protecting trades using ATR-based dynamic risk management.
⯁ CONCEPTS
RSI Breakout Momentum: Entries happen when RSI breaks above/below custom thresholds, signaling a shift in momentum rather than mean reversion.
Volatility-Adjusted Risk: ATR defines both stop-loss and profit-target distances, scaling positions based on market volatility.
Dynamic Trailing Stop: The strategy maintains an adaptive trailing level that tightens as price moves in the trade’s favor.
Single-Position System: Only one trade at a time (no pyramiding), maximizing clarity and simplifying execution.
⯁ KEY FEATURES
RSI Signal Engine
• Long when RSI crosses above Upper threshold
• Short when RSI crosses below Lower threshold
These levels are configurable and optimized for trend-momentum detection.
ATR-Based Stop-Loss
A custom ATR multiplier defines the initial stop.
• Long stop = price – ATR × multiplier
• Short stop = price + ATR × multiplier
Stops adjust continuously using a trailing model.
ATR-Based Take Profit (Optional)
Profit targets scale with volatility.
• Long TP = entry + ATR × TP-multiplier
• Short TP = entry – ATR × TP-multiplier
Users can disable TP and rely solely on trailing stops.
Real-Time Trailing Logic
The stop updates bar-by-bar:
• In a long trade → stop moves upward only
• In a short trade → stop moves downward only
This keeps the stop tight as trends develop.
Early Exit Module (Optional)
After X bars in a trade, opposite RSI signals trigger exit.
This reduces holding time during weak follow-through phases.
Full Visual Layer
• RSI plotted with threshold fills
• Entry/TP/Stop visual lines
• Color-coded zones for clarity
⯁ HOW TO USE
Look for RSI Breakouts:
Focus on RSI crossing above the upper boundary (long) or below the lower boundary (short). These moments identify fresh momentum surges.
Use ATR Levels to Manage Risk:
Because stops and targets scale with volatility, the strategy adapts well to both quiet and explosive market phases.
Monitor Trailing Stops for Trend Continuation:
The trailing stop is the primary driver of exits—often outperforming fixed targets by catching larger runs.
Use on Liquid Markets & Mid-Higher Timeframes:
The system performs best where RSI and ATR signals are clean—crypto majors, FX, and indices.
⯁ CONCLUSION
The RSI Strategy is a modern RSI breakout system enhanced with volatility-adaptive risk management and flexible exit logic. It is designed for traders who prefer momentum confirmation over mean reversion, offering a disciplined framework with robust protections and dynamic trend-following capability.
Its blend of ATR-based stops, optional profit targets, and RSI-driven entries makes it a reliable strategy across a wide range of market conditions.
Global Macro IndexGlobal Macro Index
The Global Macro Index is a comprehensive economic sentiment indicator that aggregates 23 real-time macroeconomic data points from the world's largest economies (US, EU, China, Japan, Taiwan). It provides a single normalized score that reflects the overall health and momentum of the global economy, helping traders identify macro trends that drive asset prices.
⚠️ Important: Timeframe Settings
This indicator is designed exclusively for the 1W (weekly) timeframe. The indicator is hardcoded to pull weekly data and will not function correctly on other timeframes.
What It Measures
The indicator tracks normalized Trend Power Index (TPI) values across multiple economic categories:
United States (7 components)
Business Confidence Index (BCOI) - Business sentiment and outlook
Composite Leading Indicator (CLI) - Forward-looking economic indicators
Consumer Confidence Index (CCI) - Consumer sentiment and spending intentions
Terms of Trade (TOT) - Import/export price relationships
Manufacturing Composite - Combines business confidence, production, and new orders
Comprehensive Economic Composite - Broad aggregation including employment, business activity, and regional indicators
Business Inventory (BI) - Stock levels and supply chain health
European Union (10 components)
Sentiment Survey (SS) - Overall economic sentiment
Business Confidence Index - EU business outlook
Economic Sentiment Indicator (ESI) - Combined confidence metrics
Manufacturing Production (MPRYY) - Industrial output year-over-year
New Orders - Germany, France, Netherlands, Spain manufacturing orders
Composite Leading Indicators - Germany, France forward-looking metrics
Business Climate Index (BCLI) - France business conditions
Asia (6 components)
New Orders - China, Japan, Taiwan manufacturing demand
Composite Leading Indicators - China, Japan economic momentum
The Formula
The indicator calculates a weighted average of normalized TPI scores:
Global Macro Index = (1/23) × Σ
Each of the 23 economic indicators is:
Converted to a Trend Power Index (TPI) using 4-day Bitcoin normalization
Weighted equally (1/23 ≈ 4.35% each)
Summed and smoothed with a 1-period SMA
The result is a single oscillator that ranges typically between -1 and +1, with extreme readings beyond ±0.6.
Z-Score Signal System
The indicator includes an optional Z-Score overlay that identifies extreme macro conditions:
Calculation:
Z-Score = (Current Value - 50-period Mean) / Standard Deviation
Smoothed with 35-period Hull Moving Average
Inverted for intuitive interpretation
Signals:
Green background (Z-Score ≥ 2) = Extremely positive macro conditions, potential overbought
Red background (Z-Score ≤ -2) = Extremely negative macro conditions, potential oversold
These extreme readings occur approximately 5% of the time statistically
How to Use It
Interpreting the Main Plot (Red Line):
Above 0 = Positive macro momentum, risk-on environment
Below 0 = Negative macro momentum, risk-off environment
Above +0.6 = Strong expansion, bullish for equities and crypto
Below -0.6 = Severe contraction, bearish conditions
Trend direction = More important than absolute level
Z-Score Signals:
Z ≥ 2 (Green) = Macro sentiment extremely positive, consider taking profits or preparing for pullback
Z ≤ -2 (Red) = Macro sentiment extremely negative, potential buying opportunity for contrarians
Works best as a regime filter, not precise timing tool
Best Practices:
Use as a macro regime filter for other strategies
Combines well with liquidity indicators and price action
Leading indicator for risk assets (equities, Bitcoin, emerging markets)
Lagging indicator - confirms macro trends rather than predicting reversals
Watch for divergences: price making new highs while macro weakens (bearish) or vice versa (bullish)
Settings
Show Zscore Signals: Toggle green/red background shading for extreme readings
Overlay Zscore Signals: Display Z-Score signals on the price chart as well as the indicator panel
Reference Lines
0 (gray) = Neutral macro conditions
+0.6 (green) = Strong positive threshold
-0.6 (red) = Strong negative threshold
Data Sources
Real-time economic data from TradingView's ECONOMICS database, including:
OECD leading indicators
Manufacturing PMIs and new orders
Consumer and business confidence surveys
Trade and inventory metrics
Regional economic sentiment indices
Notes
This is a macro trend indicator, not a day-trading tool. Economic data updates weekly and reflects the aggregate health of global growth. Best used on weekly timeframes to identify favorable or unfavorable macro regimes for risk asset allocation.
The indicator distills complex global economic data into a single actionable score, answering: "Is the global economy expanding or contracting right now?"
RSI UpDown [DivineTrade]This indicator displays the RSI values across multiple timeframes in real time. It provides a compact panel showing RSI readings for 1W, 1D, 4H, 1H, 15M, 5M and 1M, updating continuously as new price data arrives. Each value is color-coded based on market conditions: strong overbought levels, moderate overbought zones, neutral ranges and oversold areas. This allows traders to quickly assess multi-timeframe momentum and identify alignment or divergence across different market horizons.
Moving Average Difference//@version=5
indicator("Moving Average Difference", overlay=false)
fastLength = input.int(9, "Fast MA Length")
slowLength = input.int(21, "Slow MA Length")
fastMA = ta.sma(close, fastLength)
slowMA = ta.sma(close, slowLength)
difference = fastMA - slowMA
plot(difference, color = difference >= 0 ? color.green : color.red, linewidth=2)
hline(0, "Zero Line", color=color.white)
Debt-Cycle vs Bitcoin-CycleDebt-Cycle vs Bitcoin-Cycle Indicator
The Debt-Cycle vs Bitcoin-Cycle indicator is a macro-economic analysis tool that compares traditional financial market cycles (debt/credit cycles) against Bitcoin market cycles. It uses Z-score normalization to track the relative positioning of global financial conditions versus cryptocurrency market sentiment, helping identify potential turning points and divergences between traditional finance and digital assets.
Key Features
Dual-Cycle Analysis: Simultaneously tracks traditional financial cycles and Bitcoin-specific cycles
Z-Score Normalization: Standardizes diverse data sources for meaningful comparison
Multi-Asset Coverage: Analyzes currencies, commodities, bonds, monetary aggregates, and on-chain metrics
Divergence Detection: Identifies when Bitcoin cycles move independently from traditional finance
21-Day Timeframe: Optimized for Long-term cycle analysis
What It Measures
Finance-Cycle (White Line)
Tracks traditional financial market health through:
Currencies: USD strength (DXY), global currency weights (USDWCU, EURWCU)
Commodities: Oil, gold, natural gas, agricultural products, and Bitcoin price
Corporate Bonds: Investment-grade spreads, high-yield spreads, credit conditions
Monetary Aggregates: M2 money supply, foreign exchange reserves (weighted by currency)
Treasury Bonds: Yield curve (2Y/10Y, 3M/10Y), term premiums, long-term rates
Bitcoin-Cycle (Orange Line)
Tracks Bitcoin market positioning through:
On-Chain Metrics:
MVRV Ratio (Market Value to Realized Value)
NUPL (Net Unrealized Profit/Loss)
Profit/Loss Address Distribution
Technical Indicators:
Bitcoin price Z-score
Moving average deviation
Relative Strength:
ETH/BTC ratio (altcoin strength indicator)
Visual Elements
White Line: Finance-Cycle indicator (positive = expansionary conditions, negative = contractionary)
Orange Line: Bitcoin-Cycle indicator (positive = bullish positioning, negative = bearish)
Zero Line: Neutral reference point
Interpretation
Cycle Alignment
Both positive: Risk-on environment, favorable for crypto
Both negative: Risk-off environment, caution warranted
Divergence: Potential opportunities or warning signals
Divergence Signals
Finance positive, Bitcoin negative: Bitcoin may be undervalued relative to macro conditions
Finance negative, Bitcoin positive: Bitcoin may be overextended or decoupling from traditional finance
Important Limitations
This indicator uses some technical and macro data but still has significant gaps:
⚠️ Limited monetary data - missing:
Funding rates (repo, overnight markets)
Comprehensive bond spread analysis
Collateral velocity and quality metrics
Central bank balance sheet details
⚠️ Basic economic coverage - missing:
GDP growth rates
Inflation expectations
Employment data
Manufacturing indices
Consumer confidence
⚠️ Simplified on-chain analysis - missing:
Exchange flow data
Whale wallet movements
Mining difficulty adjustments
Hash rate trends
Network fee dynamics
⚠️ No sentiment data - missing:
Fear & Greed Index
Options positioning
Futures open interest
Social media sentiment
The indicator provides a high-level cycle comparison but should be combined with comprehensive fundamental analysis, detailed on-chain research, and proper risk management.
Settings
Offset: Adjust the horizontal positioning of the indicators (default: 0)
Timeframe: Fixed at 21 days for optimal cycle detection
Use Cases
Macro-crypto correlation analysis: Understand when Bitcoin moves with or against traditional markets
Cycle timing: Identify potential tops and bottoms in both cycles
Risk assessment: Gauge overall market conditions across asset classes
Divergence trading: Spot opportunities when cycles diverge significantly
Portfolio allocation: Balance traditional and crypto assets based on cycle positioning
Technical Notes
Uses Z-score normalization with varying lookback periods (40-60 bars)
Applies HMA (Hull Moving Average) smoothing to reduce noise
Asymmetric multipliers for upside/downside movements in certain metrics
Requires access to FRED economic data, Glassnode, CoinMetrics, and IntoTheBlock feeds
21-day timeframe optimized for cycle analysis
Strategy Applications
This indicator is particularly useful for:
Cross-asset allocation - Decide between traditional finance and crypto exposure
Cycle positioning - Identify where we are in credit/debt cycles vs. Bitcoin cycles
Regime changes - Detect shifts in market leadership and correlation patterns
Risk management - Reduce exposure when both cycles turn negative
Disclaimer: This indicator is a cycle analysis tool and should not be used as the sole basis for investment decisions. It has limited coverage of monetary conditions, economic fundamentals, and on-chain metrics. The indicator provides directional insight but cannot predict exact timing or magnitude of market moves. Always conduct thorough research, consider multiple data sources, and maintain proper risk management in all investment decisions.
Smart RSI Composite [DotGain]Summary
Do you want to know the "True Direction" of the market without getting distracted by noise on a single timeframe?
The Smart RSI Composite simplifies market analysis by aggregating momentum data from 10 different timeframes (5m to 12M) into a single, easy-to-read Histogram.
Instead of looking at 10 separate charts or dots, this indicator calculates the Average RSI of the entire market structure. It answers one simple question: "Is the market predominantly Bullish or Bearish right now?"
⚙️ Core Components and Logic
This indicator works like a consensus mechanism for momentum:
Data Aggregation: It pulls RSI values from 10 customizable slots (Default: 5m, 15m, 1h, 4h, 1D, 1W, 1M, 3M, 6M, 12M). All slots are enabled by default.
Smart Averaging: It calculates the arithmetic mean of all active timeframes. If the 5m chart is bearish but the Monthly chart is bullish, this indicator balances them out to show you the net result.
Histogram Visualization: The result is plotted as a histogram centered around the 50-line (Neutral).
🚦 How to Read the Histogram
The histogram bars indicate the aggregate strength of the trend based on the Average RSI:
🟩 DARK GREEN (Strong Bullish)
Condition: Average RSI > 60.
Meaning: The market is in a strong uptrend across most timeframes. Momentum is firmly on the buyers' side.
🟢 LIGHT GREEN (Weak Bullish)
Condition: Average RSI between 50 and 60.
Meaning: Slight bullish bias. The bulls are in control, but momentum is not yet extreme.
🔴 LIGHT RED (Weak Bearish)
Condition: Average RSI between 40 and 50.
Meaning: Slight bearish bias. The bears are taking control.
🟥 DARK RED (Strong Bearish)
Condition: Average RSI < 40.
Meaning: The market is in a strong downtrend across most timeframes. Momentum is firmly on the sellers' side.
Visual Elements
Center Line (50): This acts as the Zero-Line. Above 50 is bullish, below 50 is bearish.
Zone Lines (30/70): Dashed lines indicate the traditional Overbought/Oversold levels applied to the aggregate average.
Key Benefit
The Smart RSI Composite acts as a powerful Macro Trend Filter .
Pro Tip: Never go long if the Histogram is Dark Red, and avoid shorting when it is Dark Green. Use this tool to align your trades with the overall market momentum.
Have fun :)
Disclaimer
This "Smart RSI Composite" indicator is provided for informational and educational purposes only. It does not, and should not be construed as, financial, investment, or trading advice.
The signals generated by this tool (both "Buy" and "Sell" indications) are the result of a specific set of algorithmic conditions. They are not a direct recommendation to buy or sell any asset. All trading and investing in financial markets involves substantial risk of loss. You can lose all of your invested capital.
Past performance is not indicative of future results. The signals generated may produce false or losing trades. The creator (© DotGain) assumes no liability for any financial losses or damages you may incur as a result of using this indicator.
You are solely responsible for your own trading and investment decisions. Always conduct your own research (DYOR) and consider your personal risk tolerance before making any trades.
Smart RSI MTF Matrix [DotGain]Summary
Are you tired of trading trend signals, only to miss the bigger picture because you are focused on a single timeframe?
The Smart RSI MTF Matrix is the ultimate "Cockpit View" for momentum traders. Unlike chart overlays that can sometimes clutter your price action, this indicator organizes RSI conditions across 10 different timeframes simultaneously into a clean, separate Heatmap pane.
It monitors everything from the 5-minute chart all the way up to the 12-Month view , giving you a complete X-ray vision of the market's momentum structure instantly.
⚙️ Core Components and Logic
The Smart RSI MTF Matrix relies on a sophisticated hierarchy to deliver clear, actionable context:
Multi-Timeframe Engine: The script runs 10 independent RSI calculations in the background, organized in rows from bottom (Short Term) to top (Long Term).
Classic RSI Thresholds:
Overbought (> 70): Indicates price may be extended to the upside.
Oversold (< 30): Indicates price may be extended to the downside.
Smart Visibility System (The "Secret Sauce"): Not all signals are equal. A 5-minute signal is "noise" compared to a Yearly signal. This indicator automatically applies Transparency to differentiate importance. The visibility increases by 10% for each higher timeframe slot (Row).
🚦 How to Read the Matrix
The indicator plots dots in 10 stacked rows. The position and opacity tell you the direction and significance:
🟥 RED DOTS (Overbought Condition)
Trigger: RSI is above 70 on that specific timeframe.
Meaning: Potential bearish reversal or pullback.
🟩 GREEN DOTS (Oversold Condition)
Trigger: RSI is below 30 on that specific timeframe.
Meaning: Potential bullish reversal or bounce.
⚪ GRAY DOTS (Neutral)
Trigger: RSI is between 30 and 70.
Meaning: No extreme momentum present.
👻 TRANSPARENCY (Signal Strength)
The visibility of the dot tells you exactly which Timeframe (Row) is triggered. The higher the row, the more solid the color:
Faint (10-30% Visibility): Rows 1-3 (5m, 15m, 1h). Used for scalping entries.
Medium (40-60% Visibility): Rows 4-6 (4h, 1D, 1W). Used for swing trading context.
Solid (70-100% Visibility): Rows 7-10 (1M, 3M, 6M, 12M). Used for identifying major macro cycles.
Visual Elements
Structure: Row 1 (Bottom) represents the 5-minute timeframe. Row 10 (Top) represents the 12-Month timeframe.
Vertical Alignment: If you see a vertical column of Red or Green dots, it indicates Multi-Timeframe Confluence —a highly probable reversal point.
Key Benefit
The goal of the Smart RSI MTF Matrix is to keep your main chart clean while providing maximum information. You can instantly see if a short-term pullback (Faint Green Dot) is happening within a long-term uptrend (Solid Gray/Red Dot), allowing for precision entries.
Have fun :)
Disclaimer
This "Smart RSI MTF Matrix" indicator is provided for informational and educational purposes only. It does not, and should not be construed as, financial, investment, or trading advice.
The signals generated by this tool (both "Buy" and "Sell" indications) are the result of a specific set of algorithmic conditions. They are not a direct recommendation to buy or sell any asset. All trading and investing in financial markets involves substantial risk of loss. You can lose all of your invested capital.
Past performance is not indicative of future results. The signals generated may produce false or losing trades. The creator (© DotGain) assumes no liability for any financial losses or damages you may incur as a result of using this indicator.
You are solely responsible for your own trading and investment decisions. Always conduct your own research (DYOR) and consider your personal risk tolerance before making any trades.
[CT] Kurutoga MTF HistogramWhat is Kurutoga MTF Histogram?
The Kurutoga MTF Histogram is a multi-time-frame momentum and mean-deviation tool.
It measures how far the current close is trading away from a rolling midpoint of price and then displays that deviation as a color-coded histogram.
Instead of looking only at one lookback, this version plots three Kurutoga “leads” at the same time:
Kurutoga Lead (x1) – base length
Kurutoga Lead 2x – slower, 2 × base length
Kurutoga Lead 4x – slowest, 4 × base length
Each lead is calculated both on the chart’s timeframe (LTF) and on a Higher Time Frame (HTF) of your choice, so you can see short-term deviation inside a higher-time-frame structure.
4-color Kurutoga scheme
Each Kurutoga lead uses a 4-color MACD-style scheme:
For a given lead:
Up Light – divergence ≥ 0 and rising compared to the previous bar
Up Dark – divergence ≥ 0 and falling (positive but losing momentum)
Down Light – divergence < 0 and falling (bearish momentum increasing)
Down Dark – divergence < 0 and rising (negative but contracting)
By default the same four teal / red hues are shared across x1, x2, and x4. The only difference between the leads is transparency:
x1 = strongest (least transparent)
x2 = medium opacity
x4 = faintest
This lets you see all three layers at once without the chart becoming a solid block of color.
The HTF areas use the same palette but with an extra transparency offset applied, so they appear as soft background bands rather than competing with the histograms.
Inputs and how to use them
1. Base Length
Defines the lookback for the main Kurutoga Lead.
The script automatically creates:
len1 = baseLength
len2 = baseLength × 2
len3 = baseLength × 4
Smaller base lengths → faster, more reactive histograms.
Larger base lengths → smoother, trend-focused behavior.
2. Higher Time Frame
This is the HTF used for the area plots and HTF midpoints.
Examples:
5-minute chart with HTF = 30 or 60 minutes
15-minute chart with HTF = 4H or 1D
The idea is to trade on the lower timeframe while seeing how far price is stretched relative to a higher-time-frame range midpoint.
3. Show / Hide toggles
Under “Show / Hide” you can independently turn on/off:
Kurutoga Lead (x1)
Kurutoga Lead 2x
Kurutoga Lead 4x
HTF Lead, HTF Lead 2x, HTF Lead 4x
This lets you:
Run only a single Kurutoga if you want a clean panel, or
Stack multiple leads for a “multi-speed” view of extension and mean reversion.
4. Color Scheme (4-color Kurutoga)
Up Light / Up Dark / Down Light / Down Dark – base hues used for every lead.
Lead opacity (x1, 2x, 4x) – sets how strong or faint each lead appears.
x1 is usually your primary “trading speed.”
x2 and x4 can be faded so they act as context.
Extra transparency for HTF areas – additional opacity applied on top of each lead’s opacity when drawing HTF areas. This keeps the HTF layer subtle.
You can fine-tune the exact teal/red values here to match your personal palette.
Practical reading & trade ideas
Trend alignment
When all three Kurutoga leads (x1, 2x, 4x) are above zero, price is trading above its rolling mid-range on multiple speeds → bullish environment.
When all three are below zero, you have a multi-speed bearish environment.
Mixed readings (e.g., x1 above zero, x4 below zero) can signal transition or mean-reversion areas.
Momentum vs exhaustion
Up Light / Down Light (light colors) show momentum expanding in that direction.
Up Dark / Down Dark (dark colors) show momentum contracting – price still on that side of zero, but the push is weakening.
After a run of Up Light bars, a shift to Up Dark may hint at a stall or pullback.
After a run of Down Light bars, a shift to Down Dark may hint at short covering / bounce potential.
Multi-time-frame confluence
Use the HTF areas as a backdrop:
If LTF Kurutoga leads are above zero while the HTF area is also positive (and ideally expanding), that’s strong bullish alignment.
If LTF leads are trying to flip up while HTF divergence is still deeply negative, you may be looking at a counter-trend bounce rather than a true trend change.
Example setups
Trend-following entries:
Look for x2 & x4 leads on the same side of zero as the HTF area, then use x1 color shifts (from Down Dark → Up Light or vice versa) to fine-tune entries in the direction of that higher-time-frame bias.
Mean-reversion fades:
Watch for extreme Kurutoga values where x1/x2 are strongly extended beyond zero while color flips from Light to Dark (momentum stalling) against an opposing HTF backdrop .
Notes
The indicator is non-directional by itself – it measures distance from a rolling midpoint rather than trend structure or order flow. It works best when combined with your existing price action/trend tools (moving averages, HLBO, structure zones, etc.).
Because HTF values are brought down via request.security, choose HTF settings that make sense for your product and session (for example, don’t use very high HTFs on thin intraday markets).
Use the Kurutoga MTF Histogram as a visual scanner for extension, momentum regime, and multi-speed alignment, then layer your own entry/exit rules on top.
Predictive Analysis Engine — Adaptive MACD Forecasting with R² SProfessional and Rule-Compliant Description (Ready for Publishing)
This description explains every component of the script in detail, highlights its originality, and provides traders with clear usage instructions — exactly what TradingView expects.
Predictive Analysis Engine (PAE)
This script is a predictive analysis model that combines trend filtering, linear forecasting, stability analysis (R²), and outlier filtering using ATR to produce an advanced, leading-style version of MACD rather than a traditional lagging one.
The indicator does not rely on random elements; it is built on four core components that work together:
1. Stability Measurement Using R²
The coefficient of determination (R²) is calculated based on the correlation between price and time, then normalized to a 0–1 scale.
A higher R² indicates more stable price movement, allowing the script to increase forecast accuracy.
Here, R² acts as a primary component of the Confidence Filter.
2. Forecasted Price Using Linear Regression
Instead of relying solely on the current price, the script uses:
Linear Regression
Weighted blending between the forecasted price and actual price
This enables the script to build a Leading MACD based on an “advanced” price that anticipates probable movement.
3. Advanced MACD With Adaptive Smoothing
MACD is applied to the blended (real + forecasted) price using:
Fast EMA
Slow EMA
MACD base
Optional TEMA for reducing signal lag
Adjustable histogram smoothing
This process makes MACD more responsive with significantly less lag, reacting faster to predicted movements.
4. Predictive MACD (Projected MACD)
Linear Regression is applied again — but this time to:
MACD
Signal
Histogram
to generate projected versions of each line (proj_macd, proj_signal), while proj_hist is used to produce early signals before the actual crossover occurs.
5. Volatility Filtering Using ATR & Volatility Ratio
ATR is used to evaluate:
Strength of movement
Overextension levels
Signal quality
ATR is combined with R² to compute:
Confidence = R² × Volatility Ratio
This suppresses weak signals and boosts high-quality, reliable ones.
6. Predictive Signals + Safety Filters
A signal is triggered when:
proj_hist crosses the 0 level
Confidence exceeds the required threshold
The real histogram is not excessively stretched (extra safety)
The script includes:
BUY / SELL
BUY_STRONG / SELL_STRONG
based on the smoothed histogram trend.
7. Coloring, Background & Visual Enhancements
The script colors:
The histogram
Chart background
Signal lines
to clearly highlight momentum direction and confidence conditions.
8. Built-In Alerts
The script provides ready-to-use alerts:
BUY Alert
SELL Alert
Both based on the predictive MACD model.
How to Use the Script
Add it to any timeframe and any market.
BUY/SELL signals are generated from the projected histogram crossover.
Higher Confidence = stronger signal.
Background colors help visualize trend transitions instantly.
Recommended to combine with support/resistance or price action.
Indicator Objective
This script is designed to deliver early insight into momentum shifts using a blend of:
Linear forecasting
Trend stability via R²
Signal quality filtering via ATR
A fast and adaptive advanced MACD






















