WaveRider [Scalping-Algo]# 📊 TrendPulse Pro - Indicator Guide
## 🎯 What is it?
A clean all-in-one trend tool. Combines 4 smoothed MAs, candlestick patterns & session highlights. No clutter, just signals.
---
## 🔧 Features
### 📈 4 Smoothed Moving Averages
- **21 SMMA** (Cyan) → Fast trend, scalping
- **50 SMMA** (Green) → Swing entries
- **100 SMMA** (Gold) → Medium trend filter
- **200 SMMA** (Red) → Major trend direction
💡 *Price above all = strong bull. Below all = strong bear.*
---
### ⚡ 3 Line Strike Pattern
Rare but powerful reversal signal.
- 🟢 **Bull 3LS** → 3 red candles + 1 big green that closes above first candle
- 🔴 **Bear 3LS** → 3 green candles + 1 big red that closes below first candle
💡 *Best near support/resistance zones.*
---
### 💎 Engulfing Candles
Shows momentum shift.
- 🟢 **Bull Engulf** → Green candle swallows previous red
- 🔴 **Bear Engulf** → Red candle swallows previous green
💡 *Filter with trend direction for better win rate.*
---
### 🕐 Session Highlight
See your trading window clearly.
- Light shade = Pre-session (prep time)
- Darker shade = Active session (go time)
💡 *Default is CME hours. Adjust in settings.*
---
## 📝 Quick Setup
1. Add to chart
2. Pick your timeframe (works on any)
3. Toggle what you need ON/OFF
4. Set your session times
5. Trade with confidence
---
## 🎨 Color Guide
| Element | Default Color | Meaning |
|---------|---------------|---------|
| 21 MA | Cyan | Fast trend |
| 50 MA | Green | Swing trend |
| 100 MA | Gold | Filter |
| 200 MA | Red | Big picture |
| Fill Green | Light Green | Bullish bias |
| Fill Red | Light Red | Bearish bias |
---
## ⚠️ Tips
✅ Use MA stack for trend bias
✅ Wait for patterns AT key levels
✅ Combine with volume
✅ Respect the 200 MA
❌ Don't trade against all MAs
❌ Don't chase every signal
❌ Don't ignore session times
---
## 🚀 Best Practices
**For Scalping:**
- Focus on 21 & 50 MA
- Trade engulfing patterns
- Use 1-5 min charts
**For Swing:**
- Focus on 100 & 200 MA
- Trade 3 Line Strike
- Use 1H-4H charts
---
Made with ☕ by a trader, for traders.
*"Keep it simple. Let price do the talking."*
Forecasting
Range Breakout Statistics [Honestcowboy]⯁ Overview
The Range Breakout Statistics uses a very simple system to detect ranges/consolidating markets. The principle is simple, it looks for areas where the slope of a moving average is flat compared to past values. If the moving average is flat for X amount of bars that's a range and it will draw a box.
The statistics part of the script is a bit more complicated. The aim of this script is to expand analysis of trading signals in a different way than a regular backtest. It also highlights the polyline tool, one of my favorite drawing tools on the tradingview platform.
⯁ Statistics Methods
The script has 2 different modes of analyzing a trading signals strength/robustness. It will do that for 2 signals native to the script.
Upper breakout: first price breakout at top of box, before max bars (100 bars by default)
Lower breakout: first price breakout at bottom of box, before max bars
The analysis methods themselves are straightforward and it should be possible for tradingview community to expand this type of analysis to other trading signals. This script is a demo for this analysis, yet some might still find the native signals helpful in their trading, that's why the script includes alerts for the 2 native signals. I've also added a setting to disable any data gathering, which makes script run faster if you want to automate it.
For both of the analysis methods it uses the same data, just with different calculations and drawing methods. The data set is all past price action reactions to the signals saved in a matrix. Below a chart for explaining this visually.
⯁ Method 1: Averages Projection
The idea behind this is that just showing all price action that happened after signal does not give actionable insights. It's more a spaghetti jumble mess of price action lines. So instead the script averages the data out using 3 different approaches, all selectable in the settings menu.
Geometric Average: useful as it accurately reflects compound returns over time, smoothing out the impact of large gains or losses. Accounts for volatility drift.
Arithmetic Average: a standard average calculation, can be misleading in trading due to volatility drift. It is the most basic form of averaging so I included it.
Median: useful as any big volatility huge moves after a signal does not really impact the mean as it's just the middle value of all values.
These averages are the 2 lines you will find in the middle of the projection. Having a clear difference between a lower break average and upper break average price reaction can signal significance of the trading signal instead of pure chaos.
Outside of this I also included calculations for the maximum and minimum values in the dataset. This is useful for seeing price reactions range to the signal, showing extreme losses or wins are possible. For this range I also included 2 matrices of highs and lows data. This makes it possible to draw a band between the range based on closing price and the one using high/low data.
Below is a visualisation of how the averages data is shown on chart.
⯁ Method 2: Equity Simulation
This method will feel closer to home for traders as it more closely resembles a backtest. It does not include any commissions however and also is just a visualisation of price reaction to a signal. This method will simulate what would happen if you would buy at the breakout point and hold the trade for X amount of bars. With 0 being sell at same bar close. To test robustness I've given the option to visualise Equity simulation not just for 1 simulation but a bunch of simulations.
On default settings it will draw the simulations for 0 bars holding all the way to 10 bars holding. The idea behind it is to check how stable the effect is, to have further confirmation of the significance of the signal. If price simulation line moves up on average for 0 bars all the way to 10 bars holding time that means the signal is steady.
Below is a visualisation of the Equity Simulation.
⯁ Signal filtering
For the boxes themselves where breakouts come from I've included a simple filter based on the size of the box in ATR or %. This will filter out all the boxes that are larger top to bottom than the ATR or % value you setup.
⯁ Coloring of Script
The script includes 5 color themes. There are no color settings or other visual settings in the script, the script themes are simple and always have colors that work well together. Equity simulation uses a gradient based on lightness to color the different lines so it's easier to differentiate them while still upper breaks having a different color than lower breaks.
This script is not created to be used in conjunction with other scripts, it will force you into a background color that matches the theme. It's purpose is a research tool for systematic trading, to analyse signals in more depth.
Metaverse color theme:
⯁ Conclusion
I hope this script will help traders get a deeper understanding of how different assets react to their assets. It should be possible to convert this script into other signals if you know how to code on the platform. It is my intention to make more publications that include this type of analysis. It is especially useful when dealing with signals that do not happen often enough, so a regular backtest is not enough to test their significance.
Scalp Hunter [Scalping-Algo]═══════════════════════════════════════════════════════════════════════════════
🎯 SCALP HUNTER
Precision ATR Momentum System for Fast Timeframes
═══════════════════════════════════════════════════════════════════════════════
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Scalp Hunter is a high-accuracy scalping indicator designed specifically for
low timeframe trading (3M, 4M, 5M). It combines ATR-based trailing stops with
multiple confirmation filters to deliver clean, actionable signals.
✅ No Repaint
✅ No Delay
✅ Confirmed Signals Only
✅ Multi-Filter Validation
═══════════════════════════════════════════════════════════════════════════════
⚙️ HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator uses an ATR Trailing Stop as its core engine. When price crosses
the trail line, a potential signal is generated. But here's what makes it
accurate — signals must pass through 4 additional filters:
│
├─ 📊 PRICE ACTION FILTER
│ • Candle must close in signal direction
│ • Body size > 50% of full candle range
│ • Confirms strong momentum, not weak wicks
│
├─ 📈 VOLUME FILTER
│ • Volume must exceed 1.1x of 10-period average
│ • Filters out low-conviction moves
│ • Toggle on/off in settings
│
├─ 📉 EMA TREND FILTER
│ • Long signals: price must be above 21 EMA
│ • Short signals: price must be below 21 EMA
│ • Keeps you trading with the trend
│
└─ 🔥 MOMENTUM FILTER (RSI)
• RSI must confirm direction (>50 for longs, <50 for shorts)
• Avoids overbought/oversold extremes
• Fast 7-period RSI tuned for scalping
═══════════════════════════════════════════════════════════════════════════════
🎨 VISUAL GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 GREEN TRIANGLE (▲) = Long Entry Signal
🔴 RED TRIANGLE (▼) = Short Entry Signal
━━ GREEN LINE = Bullish Trail Stop (support)
━━ RED LINE = Bearish Trail Stop (resistance)
🟢 GREEN BARS = Bullish Trend Active
🔴 RED BARS = Bearish Trend Active
═══════════════════════════════════════════════════════════════════════════════
📖 HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 1: Add to Chart
• Apply indicator to 3M, 4M, or 5M chart
• Works on any liquid market (crypto, forex, stocks, futures)
STEP 2: Wait for Signal
• 🟢 Triangle appears below bar = LONG opportunity
• 🔴 Triangle appears above bar = SHORT opportunity
• Signal fires at bar OPEN (no repaint, you can act immediately)
STEP 3: Entry
• Enter at market or use limit order near signal bar close
• Trail stop line shows your initial stop level
STEP 4: Stop Loss
• Place stop just beyond the trail line
• Long: stop below green trail line
• Short: stop above red trail line
STEP 5: Take Profit
• Option A: Fixed R:R (1:1.5 or 1:2 recommended)
• Option B: Trail your stop using the indicator line
• Option C: Exit when opposite signal appears
═══════════════════════════════════════════════════════════════════════════════
⚡ RECOMMENDED SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For 3M / 4M / 5M (Default - Aggressive Scalping):
• ATR Sensitivity: 0.8
• ATR Length: 8
• RSI Length: 7
• EMA Length: 21
• All filters: ON
For 15M / 30M (Slower Scalps):
• ATR Sensitivity: 1.0
• ATR Length: 10
• RSI Length: 10
• EMA Length: 34
• All filters: ON
For Volatile Markets (Crypto/News Events):
• ATR Sensitivity: 1.2
• ATR Length: 12
• Volume Filter: ON (important!)
• Other filters: ON
═══════════════════════════════════════════════════════════════════════════════
🔔 ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Three alert conditions available:
📲 "Scalp Long" → Fires on long entry signal
📲 "Scalp Short" → Fires on short entry signal
📲 "Any Signal" → Fires on both
To set up:
1. Click "Alert" button (clock icon)
2. Select "Scalp Hunter "
3. Choose condition
4. Set notification method (popup, email, webhook, mobile)
═══════════════════════════════════════════════════════════════════════════════
⚠️ RISK DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Trading involves substantial risk. This indicator is a tool, not financial
advice. Past performance does not guarantee future results. Always:
• Use proper position sizing
• Set stop losses on every trade
• Never risk more than you can afford to lose
• Backtest before live trading
• Combine with your own analysis
═══════════════════════════════════════════════════════════════════════════════
💡 TIPS FOR BEST RESULTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Trade during high-volume sessions (London/NY open)
✦ Avoid signals during major news releases
✦ Confirm with higher timeframe trend
✦ Best results on liquid pairs/assets
✦ Keep all filters ON for highest accuracy
✦ Turn off filters only if you need more signals
═══════════════════════════════════════════════════════════════════════════════
📊 WHAT MAKES THIS DIFFERENT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Most ATR trailing indicators give too many signals. Scalp Hunter is different:
❌ Other indicators: Signal on every trail cross
✅ Scalp Hunter: Signal only when 5 conditions align
This means fewer trades, but higher probability setups.
═══════════════════════════════════════════════════════════════════════════════
Precision Trend Signal V5Strategy Logic OverviewThis indicator is a "Triple-Confirmation" trend-following system. It combines volume-weighted smoothing, immediate price action, and momentum filtering.1. Core ComponentsEMA 1 (The Trigger): Since the period is set to 1, this represents the raw price action. It acts as the fastest possible trigger to capture entries at the exact moment a trend shifts.SALMA (The Baseline): This is a double-smoothed moving average. It provides a stabilized support/resistance line that filters out market noise better than a standard SMA.Tillson T3 (The Trend Filter): Known for its low lag and extreme smoothness. We use this as a "Guardrail." We only take BUY signals when price is above the T3 and SELL signals when price is below it.RSI (The Momentum Filter): Ensures that we only enter a trade when there is sufficient strength ($> 50$ for Long, $< 50$ for Short).2. Signal Rules🚀 BUY SignalA green BUY label appears when:Crossover: EMA 1 crosses above the SALMA line.Trend: The current price is trading above the Tillson T3 line.Momentum: RSI is greater than 50.🔻 SELL SignalA red SELL label appears when:Crossunder: EMA 1 crosses below the SALMA line.Trend: The current price is trading below the Tillson T3 line.Momentum: RSI is less than 50.3. Execution & ManagementTake Profit (TP): Based on your preference, the suggested target is 2%.Alerts: The script includes alertcondition functions. You can set up TradingView alerts to send Webhooks to your quant infrastructure or bot, solving the "manual execution" problem you mentioned.
Macro Risk Sentiment - Intermarket Timing SignalOverview
This indicator builds a composite macro sentiment score by analyzing intermarket relationships between bonds, credit spreads, the US dollar, and volatility. The core premise is that these markets often signal shifts in risk appetite before equities react, providing a timing edge for managing exposure.
When macro conditions favor risk assets, the indicator signals RISK-ON (green). When conditions deteriorate, it signals RISK-OFF (red). This is not a predictive tool but rather a systematic way to assess the current macro environment.
The Problem It Solves
Markets do not move in isolation. Before major equity drawdowns, stress often appears first in credit markets, bonds, and volatility. By monitoring these leading indicators systematically, we can identify periods when holding equity exposure carries elevated risk.
The goal is not to catch every move but to avoid the worst drawdowns by stepping aside when multiple macro factors align negatively.
How It Works
Step 1: Data Collection
The indicator pulls daily data from four key markets:
Risk-On Inputs (positive for equities when rising):
- TLT (20+ Year Treasury Bonds): Rising bonds can signal improving liquidity or flight-to-safety ending
- JNK (High-Yield Corporate Bonds): Rising junk bonds indicate credit conditions improving and risk appetite increasing
Risk-Off Inputs (negative for equities when rising):
- DXY (US Dollar Index): Strong dollar tightens global financial conditions and signals risk-off flows
- VIX (Volatility Index): Elevated VIX indicates fear and hedging demand
Step 2: Z-Score Normalization
Each input trades at different absolute levels, so direct comparison is impossible. The indicator converts each to a z-score: how many standard deviations the current value is from its 252-day (1 year) average.
A z-score of +1 means "unusually high relative to recent history." A z-score of -1 means "unusually low." This puts all inputs on the same scale.
Step 3: Composite Calculation
The macro score combines the normalized inputs:
Macro Score = (TLT z-score + JNK z-score) - (DXY z-score + VIX z-score)
The result is clamped between -1.5 and +1.5 to prevent outliers from dominating, then smoothed with an EMA to reduce noise.
Step 4: Signal Generation
Seven different methods are available for determining when conditions shift:
1. EMA Cross: Classic crossover between smoothed macro and its signal line
2. Slope: Simple direction of the macro trend
3. Momentum: Rate of change exceeding a threshold
4. Session Delta: Comparing today's reading to yesterday's
5. Pivot: Market structure analysis (higher lows vs lower highs)
6. Acceleration: Second derivative (is momentum increasing?)
7. Multi-Confirm: Requires 4 or more methods to agree
Why These Specific Markets?
Bonds (TLT)
Treasury bonds often lead equities at turning points. When institutions rotate into bonds, it signals caution. When they rotate out, it signals risk appetite returning.
Credit (JNK)
High-yield bonds price credit risk faster than equities. Widening credit spreads (falling JNK) often precede equity weakness by days or weeks.
Dollar (DXY)
A strong dollar creates headwinds for multinational earnings, tightens global USD liquidity, and signals defensive positioning globally.
Volatility (VIX)
The options market prices fear before it manifests in price. Sustained elevated VIX readings indicate hedging demand and uncertainty.
Research Application: Weekly Put Selling
One application of this indicator is timing premium-selling strategies. I tested using the EMA Cross method to filter 7-day-to-expiration (7DTE) put sales on ES futures with 90% Profit Target and 600% Stop Loss, only selling puts when the indicator showed RISK-ON.
Results with Macro Filter (2020-2025):
- Trades: 200
- Win Rate: 96.0%
- Total P/L: +$33,636
- Max Drawdown: 2.91%
- Profit Factor: 3.51
Results without Filter (same period):
- Trades: 357
- Win Rate: 96.1%
- Total P/L: +$63,492
- Max Drawdown: 10.30%
- Profit Factor: 2.90
Key Insight:
The filtered approach made less total profit (fewer trades) but reduced maximum drawdown by 72% (from 10.30% to 2.91%). This significantly improves risk-adjusted returns and allows for potentially higher position sizing with confidence.
Note: These results are from external backtesting on actual options data, not the TradingView backtest engine. Past performance does not guarantee future results.
Features
Seven configurable signal methods for different trading styles
Adjustable weights for each data source
Z-score normalization puts all inputs on equal footing
Visual info table showing all metrics at a glance
Background coloring for quick regime identification
Alert conditions for signal changes
Secondary plot showing method-specific metrics
Settings Guide
Macro Settings
Z-Score Lookback (default 252): Period for calculating standard deviations. 252 equals approximately one trading year. Longer periods are more stable but slower to adapt.
Macro EMA (default 7): Smoothing for the raw composite score. Lower values give faster but noisier signals.
Signal EMA (default 8): Secondary smoothing for the signal line. Used primarily in EMA Cross method.
Signal Method
EMA Cross : Recommended starting point. Signals when smoothed macro crosses its signal line.
Slope : Simpler approach based purely on trend direction.
Momentum : Requires rate of change to exceed a threshold.
Session Delta : Compares today to yesterday (daily timeframe focus).
Pivot : Uses market structure (higher lows for bullish, lower highs for bearish).
Acceleration : Measures change in slope (second derivative).
Multi-Confirm : Conservative approach requiring 4+ methods to agree.
Data Sources
Each source can be enabled/disabled and weighted from 0 to 3
Default is equal weighting (1.0) for all four sources
Experiment with emphasizing sources most relevant to your trading (tested on SPX)
How to Use
Basic Interpretation:
Green background / RISK-ON: Macro conditions favor equity exposure
Red background / RISK-OFF: Macro conditions suggest caution
Arrow markers indicate regime changes
For Risk Management:
Use RISK-OFF signals to reduce position size or hedge
Use RISK-ON signals to resume normal exposure
Consider the indicator as one input among many, not a complete system
For Options Strategies:
Avoid selling premium during RISK-OFF periods
Resume premium selling when RISK-ON returns
This approach trades frequency for reduced tail risk
Alert Setup:
Set alerts on "Bullish Turn" and "Bearish Turn" conditions
Receive notifications when the macro regime changes
Research Ideas
This indicator is designed as a research framework. Consider testing:
Different signal methods for your specific strategy
Adding or removing data sources based on what you trade
Varying the z-score lookback for different market regimes
Combining with price-based filters (moving averages, support/resistance)
Using the multi-confirm method for higher-conviction signals only
Limitations
The indicator uses daily data, so intraday signals may lag
Overnight gaps from surprise news cannot be anticipated
False signals will occur, especially in choppy, range-bound markets
The z-score lookback creates a recency bias; what was "normal" a year ago may not be relevant today
Not all drawdowns are preceded by macro deterioration; some come from idiosyncratic events
Past intermarket relationships may not persist in the future
Disclaimer
This indicator is for educational and research purposes only. It does not constitute financial advice.
Past performance does not guarantee future results
The research results shared are from historical backtesting and may not reflect actual trading conditions
Always conduct your own research and due diligence
Consider your personal risk tolerance before making any trading decisions
Never risk more than you can afford to lose
Credits
Intermarket analysis concepts draw from established macro trading principles. The multi-signal approach is original work designed to give users flexibility in how they interpret the macro data.
4H Session High/Low4H Asia Session Anchor Range Description: This indicator identifies and plots the price range of the specific 4-hour candle starting at 04:00 (local time). By utilizing Multi-Timeframe (MTF) logic, the high and low boundaries (wick-to-wick) remain fixed and accurate even when scaling down to lower timeframes like the 1-minute or 5-minute charts. The levels extend horizontally to the right, providing clear institutional support and resistance zones based on the early morning volatility.
Daily Trend Scanner (Single Symbol)This indicator tracks the current selected symbol/ticker and looks at the Previous Day High/Low and Pre-Market High/Low.
Data is provided in a small table for visualization.
If the price is above the PDH and PMH the ticker will be displayed as bullish. If the price is below PDL and PML the ticker will be displayed as bearish. Otherwise it will show neutral.
The Pre-Market High and Low values can also be displayed in the table and toggled in the settings.
Adjust table position and text size in the settings.
This indicator is useful for visually tracking how a ticker may be trending for the current day.
World sessionsThe indicator highlights trading sessions of major global exchanges (Tokyo, Hong Kong, Frankfurt, London, New York, Chicago).
It highlights them with horizontal dashed lines from the start to the end of each session. At the session start, it draws a label with the exchange name above the bar, with adjustable height based on ATR.
With gratitude to God the Father, the Lord Jesus Christ - the Son of God, and the Holy Spirit.
// © icman — ic380.com
// Open Source: исходный код открыт (MPL-2.0)
Percentage Price LevelsPercentage Price Levels displays dynamic price levels based on percentage gains and losses from the current price. Instantly visualize where price would be at ±2%, ±4%, ±6%, ±8%, ±10%(and beyond) — perfect for setting profit targets, stop-losses, and understanding potential price movement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
• Draws horizontal lines at percentage-based price levels above and below current price
• Green lines = potential profit targets (positive %)
• Red lines = potential stop-loss zones (negative %)
• Yellow line = current price reference
• Summary table shows all levels in a clean, easy-to-read format
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ FEATURES
• Up to 8 positive and 8 negative percentage levels
• Fully customizable percentages (set your own values)
• Toggle each level on/off individually
• Adjustable font size (Tiny to Huge)
• Multiple line styles (Solid, Dashed, Dotted)
• Movable summary table (any corner)
• Base price options: Close, Open, High, Low, HL2, OHLC4
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
1. Add the indicator to your chart
2. Default shows ±2%, ±4%, ±6%, ±8%, ±10% levels
3. Open Settings to customize:
• Enable/disable specific levels
• Change percentage values
• Adjust colors and font size
• Move table position
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 USE CASES
• Day Trading — Quick intraday profit targets
• Swing Trading — Visualize multi-day price zones
• Risk Management — Set stop-losses based on % risk tolerance
• Options Trading — Find strike prices relative to spot
• Position Sizing — See exact dollar values at each level
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 DEFAULT SETTINGS
Positive: +2%, +4%, +6%, +8%, +10% (3 extra slots available)
Negative: -2%, -4%, -6%, -8%, -10% (3 extra slots available)
Font Size: Normal
Line Style: Dashed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
If you find this useful, please leave a like! Feedback and suggestions welcome in the comments.
Rolling DrawdownRolling Drawdown, trying to make an auto updating drawdown screener and scanner, work in progress, edit in future.
Rolling Period Drawdownwork in progress, will edit in future, trying to get an auto updating draw down indicator.
Multi Cycles Predictive System ML - GBM IntegratedMulti-Cycle Predictive System: The Gradient Boosting Machine (GBM) Revolution
Introduction: The Death of Static Analysis
The financial markets are not static; they are a living, breathing, and chaotic system. Yet, for decades, traders have relied on static indicators—using the same RSI settings, the same MACD parameters, and the same Moving Averages regardless of whether the market is trending, chopping, or crashing.
The Multi-Cycle Predictive System (MCPS) represents a paradigm shift. It is not just an indicator; it is an Adaptive Machine Learning Engine running directly on your chart.
By integrating a fully functional Gradient Boosting Machine (GBM), this script does not guess—it learns. It monitors 13 distinct algorithmic models, calculates their real-time accuracy against future price action, and dynamically reallocates influence to the "winning" models using gradient descent.
This is Survival of the Fittest applied to technical analysis.
1. The Core Engine: Gradient Boosting & Adaptive Learning
At the heart of the MCPS is a custom-coded Gradient Boosting Machine. While most "ML" scripts on TradingView simply average a few indicators, this system replicates the architecture of advanced data science models.
How the GBM Works:
Ensemble Prediction: The system aggregates signals from 13 different mathematical models.
Residual Calculation: It compares the ensemble's previous predictions against the actual price movement (Price Return) to calculate the error (Residual).
Gradient Descent: It calculates the gradient of the loss function. We utilize a Huber Loss Gradient, which is robust against outliers (market spikes), ensuring the model doesn't overreact to volatility.
Weight Optimization: Using a configurable learning rate, the system updates the weights of each sub-algorithm. Models that predicted correctly gain weight; models that failed lose influence.
Softmax Normalization: Finally, weights are passed through a Softmax function (with Temperature control) to convert them into probabilities that sum to 1.0.
The "Winner-Takes-All" Philosophy
A common failure in ensemble systems is "Signal Dilution"—where good signals are drowned out by bad ones.
The MCPS solves this with Aggressive Weight Concentration:
Top 3 Logic: The script identifies the top 3 performing algorithms based on historical accuracy.
The 90% Rule: It forces the system to allocate up to 90% of the total decision weight to these top 3 performers.
Result: If Ehlers and Schaff are reading the market correctly, but MACD is failing, MACD is effectively silenced. The system listens only to the winners.
2. The 13 Algorithmic Pillars
The MCPS draws from a diverse library of Digital Signal Processing (DSP), Statistical, and Momentum algorithms. It does not rely on simple moving averages.
Ehlers Bandpass Filter: Isolates the dominant cycle in price data, removing trend and noise.
Zero-Lag EMA (ZLEMA): Reduces lag to near-zero to track momentum shifts instantly.
Coppock Curve: A classic long-term momentum indicator, modified here for adaptive responsiveness.
Detrended Price Oscillator (DPO): Eliminates the trend to identify short-term cycles.
Schaff Trend Cycle (STC): A double-smoothed stochastic of the MACD, excellent for identifying cycle turns.
Fisher Transform: Converts price into a Gaussian normal distribution to pinpoint turning points.
MESA Adaptive: Uses Maximum Entropy Spectral Analysis to detect the current dominant cycle period.
Goertzel Algorithm: A DSP technique used to identify the magnitude of specific frequency components in the price wave.
Hilbert Transform: Extracts the instantaneous amplitude and phase of the price action.
Autocorrelation: Measures the similarity between the price series and a lagged version of itself to detect periodicity.
Singular Spectrum Analysis (SSA): Decomposes the time series into trend, seasonal, and noise components (Simplified).
Wavelet Transform: Analyzes data at different scales (frequencies) simultaneously.
Empirical Mode Decomposition (EMD): Splits data into Intrinsic Mode Functions (IMFs) to isolate pure cycles.
3. The Dashboard: Total Transparency
Black-box algorithms are dangerous. You need to know why a signal is being generated. The MCPS features two detailed dashboards (tables) located at the bottom of your screen.
The Weight & Accuracy Table (Bottom Right)
This is your "Under the Hood" view. It displays:
Algorithm: The name of the model.
Accuracy: The rolling historical accuracy of that specific model over the lookback period (e.g., 58.2%).
Weight: The current influence that model has on the final signal. Watch this change in real-time. You will see the system "giving up" on bad models and "betting heavy" on good ones.
Prob/Sig: The raw probability and directional signal (Up/Down).
The GBM Stats Table (Bottom Left)
Tracks the health of the Machine Learning engine:
Iterations: How many learning cycles have occurred.
Entropy: A measure of market confusion. High entropy means weights are spread out (models disagree). Low entropy means the models are aligned.
Top 3 Weight: Shows how concentrated the decision power is. If this is >80%, the system is highly confident in specific models.
Confidence & Agreement: Statistical measures of the signal strength.
4. How to Trade with MCPS
This system outputs a single, composite Cycle Line (oscillating between -1 and 1) and a background Regime Color.
Strategy A: The Zero-Cross (Trend Reversal)
Bullish: When the Cycle Line crosses above 0. This indicates that the weighted average of the top-performing algorithms has shifted to a net-positive expectation.
Bearish: When the Cycle Line crosses below 0.
Strategy B: Probability Extremes (Mean Reversion)
Strong Buy: When the Cycle Line drops below -0.5 (Oversold) and turns up. This indicates a high-probability cycle bottom.
Strong Sell: When the Cycle Line rises above +0.5 (Overbought) and turns down.
Strategy C: Regime Filtering
The background color changes based on the aggregate consensus:
Green/Lime: Bullish Regime. Look primarily for Long entries. Ignore weak sell signals.
Red/Orange: Bearish Regime. Look primarily for Short entries.
Gray: Neutral/Choppy. Reduce position size or wait.
5. Configuration & GBM Settings
The script is highly customizable for advanced users who want to tune the Machine Learning hyperparameters.
Prediction Horizon: How many days into the future are we trying to predict? (Default: 3).
Accuracy Lookback: How far back does the model check to calculate "Accuracy"?
GBM Learning Rate: Controls how fast the model adapts.
High (0.2+): Adapts instantly to new market conditions but may be "jumpy."
Low (0.05): Very stable, long-term adaptation.
Temperature: Controls the "Softmax" function. Higher temperatures allow for softer, more distributed weights. Lower temperatures force a "Winner Takes All" outcome.
Max Top 3 Weight: The cap on how much power the top 3 models can hold (Default: 90%).
6. Technical Nuances (For the Geeks)
Huber Gradient: We use Huber loss rather than MSE (Mean Squared Error) for the gradient descent. This is crucial for financial time series because price spikes (outliers) can destroy the learning process of standard ML models. Huber loss transitions from quadratic to linear error, making the model robust.
Regularization: L2 Regularization is applied to prevent overfitting, ensuring the model doesn't just memorize past noise.
Memory Decay: The model has a "fading memory." Recent accuracy is weighted more heavily than accuracy from 200 bars ago, allowing the system to detect Regime Shifts (e.g., transitioning from a trending market to a ranging market).
Disclaimer:
This tool is a sophisticated analytical instrument, not a crystal ball. Machine Learning attempts to optimize probabilities based on historical patterns, but no algorithm can predict black swan events or fundamental news shocks. Always use proper risk management.
The "Warmup Period" is required. The script needs to process 50 bars of history before the GBM engine initializes and produces signals.
Author's Note:
I built the MCPS because I was tired of indicators that stopped working when the market "personality" changed. By integrating GBM, this script adapts to the market's personality in real-time. If the market is cycling, Ehlers and Goertzel take over. If the market is trending, Coppock and ZLEMA take the lead. You don't have to choose—the math chooses for you.
Please leave a boost and a comment if you find this helpful!
Engulfing Reversal PatternThe Engulfing Reversal Pattern indicator seeks out both bullish and bearish reversal patterns. This indicator offers the user numerous options to modify the indicator to their needs.
Key features:
Ability to adjust the size of the Engulfing candle in comparison to the prior candle
Ability to adjust the number of breakout candles
Indicator adapts to the Time Frame it is being used in
You can choose between identifying only Bearish patterns, only Bullish patterns or both.
Indicator Arrow size can be adjusted in size.
Enterprise Adaptive RSI WeightDescription (TradingView)
Enterprise Adaptive RSI Weight is a clean, decision-support oscillator for XAUUSD & EURUSD (5m/15m).
It converts RSI into a normalized Weight (W) and smooths it with a Hull Moving Average (yellow) to highlight trend bias + momentum shifts.
What to watch
W (main line) = bias & momentum (above 0 = bullish, below 0 = bearish)
Yellow line (HMA) = signal filter
CROSS (W ↔ HMA) = key confirmation point
CROSS ↑ = bullish momentum confirmation
CROSS ↓ = bearish momentum confirmation
Built-in safety filters (enterprise-style)
Signals are filtered by:
Quality/Gate (model confidence)
Dead Zone (avoids weak/noise signals)
Optional HTF alignment (trade only when higher timeframe agrees)
Visual markers
L / S = entry triggers (valid cross + filters)
XL / XS = momentum exit warnings
0↑ / 0↓ = bias flip (crossing the 0 line)
REV = exit from extreme zones (OB/OS reversal hint)
STR = strong trend condition
How to use (simple workflow)
Check STATE in the panel: trade only BULL or BEAR
Enter on CROSS in the same direction
Manage/exit on XL/XS or loss of momentum
Tip: Best used as a confirmation tool, not as a standalone strategy.
Intermarket Divergence (Futures vs Equity)Intermarket Divergence (Futures vs Equity)
This indicator detects intermarket divergence between a traded instrument (futures, CFD, or spot) and a related equity or ETF.
It highlights moments where price and its underlying market drivers disagree, often appearing before reversals or expansions.
🎯 What It Shows
Bullish divergence:
Price makes a lower low while the equity makes a higher low
Bearish divergence:
Price makes a higher high while the equity makes a lower high
Based on swing pivots, not candle noise
Designed for intraday context, not mechanical entries
✅ Recommended Use
XAUUSD (Gold) → GDX (default)
XAGUSD (Silver) → SIL
USOIL / WTI → XLE
(These guidelines are included directly in the indicator settings.)
🧭 How to Use
Apply on 15m–30m
Look for signals near key levels (PDH/PDL, Asia high/low, HTF structure)
Use price action for entries
Divergence is context, not a signal.
⚠️ Notes
Non-repainting
Signals are selective by design
Best during London & New York sessions
CISD Projections [LuxAlgo]The CISD Projections tool automatically plots mechanical price projection targets based on fractal market structure and swing manipulation legs. These projections offer dynamic, statistically informed targets that align with how prices tend to expand after a reversal point is confirmed.
🔶 USAGE
Projections are mechanical target levels derived from the manipulation leg following a confirmed change in state of delivery (CISD). They estimate where price is most likely to travel next by applying extended Fibonacci projection levels off the swing that initiated the move.
The tool works in the following way:
1. Detect the reversal bar that signals a shift in delivery.
2. Identify the manipulation leg: the swing that caused the reversal.
3. Anchor projections from this leg using customized Fibonacci levels such as 1, 2, 2.5, 4, 4.5 — each representing a potential target based on leg size and market expansion expectation.
For a correct target interpretation:
Average-sized legs often target between 2 and 2.5 levels.
Expanding legs may reach 4 to 4.5.
Large manipulation legs may warrant conservative expectations, focusing on 1 target.
As we can see in the image, traders must be aware of current market conditions and manipulation leg size in order to decide which levels to target and ask the right questions: Is volatility contracting or expanding? Is this manipulation leg smaller or larger than the previous ones?
Ultimately, projections provide objective, mechanical targets rather than subjective guesswork. They can be used on their own or in conjunction with liquidity zones, CISDs, and structural levels. They also help identify realistic price targets based on measured swing magnitude.
🔹 Filtering Setups
The chart shows how the output is affected by different filtering options:
Bars Threshold: show setups with a minimum number of bars in the manipulation leg.
CISD Filter: show setups only at the top or bottom of the range for the last X bars.
Invalidate CISDs on CHoCH: setups stop expanding after the first close beyond the manipulation leg.
We can obtain more meaningful setups with larger filter values by filtering the setups, or we can zoom in on details at the trader's discretion by disabling all filters.
🔶 SETTINGS
Bars Threshold: Minimum number of bars of each setup.
CISD Filter: Enable or disable the filter and select the length. This filter identifies setups at the top or bottom of the range over the last X bars.
Invalidate CISDs on CHoCH: Stop the level extension on ChoCH against CISD. This occurs when there is a close below the bottom on bullish setups and a close above the top on bearish setups.
🔹 Projections
Enable or disable each projection, select the projection level, and choose a style.
🔹 Style
CISD Level: Enable or disable CISD price level and select style.
Labels size: Select the size of the labels.
Bullish Color: Select a color for bullish setups.
Bearish Color: Select a color for bearish setups.
Background Fill: Enable or disable the background fill between the price and the extreme projection.
Overnight QQQ/ NQ Auto LevelsUsing QQQ Overnight pricing to have correct levels on the NQ Future Chart.
Smart Divergence Scanner═══════════════════════════════════════════════════════════════════════════════
DivScan Pro - User Guide
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
────────────────────────────────────────────────────────────────────────────────
DivScan Pro is a multi-indicator divergence scanner that detects potential
reversal points by analyzing 10+ technical indicators simultaneously.
Optimized for 5m and 15m timeframes.
SIGNAL ICONS
────────────────────────────────────────────────────────────────────────────────
▲ Green Triangle (Below Bar) = BUY Signal
Strong bullish divergence confirmed by volume + RSI oversold
▼ Red Triangle (Above Bar) = SELL Signal
Strong bearish divergence confirmed by volume + RSI overbought
▲ Faded Green Triangle = Weak BUY
Bullish divergence detected but filters not fully met
▼ Faded Red Triangle = Weak SELL
Bearish divergence detected but filters not fully met
H Red "H" Label = Pivot High Point
L Green "L" Label = Pivot Low Point
DIVERGENCE LABELS
────────────────────────────────────────────────────────────────────────────────
┌─────────┐
│ MC │ Aqua Box (Bottom) = Bullish Divergence
│ RS │ Shows which indicators detected divergence
│ 3 │ Number = total indicator count
└─────────┘
┌─────────┐
│ MC │ Purple Box (Top) = Bearish Divergence
│ VW │ Shows which indicators detected divergence
│ MF │ Number = total indicator count
│ 3 │
└─────────┘
INDICATOR ABBREVIATIONS
────────────────────────────────────────────────────────────────────────────────
MC = MACD Line
MH = MACD Histogram
RS = RSI (Relative Strength Index)
ST = Stochastic
CC = CCI (Commodity Channel Index)
MO = Momentum
OB = OBV (On Balance Volume)
VW = VWMACD (Volume Weighted MACD)
CF = CMF (Chaikin Money Flow)
MF = MFI (Money Flow Index)
EX = External Indicator
DIVERGENCE LINES
────────────────────────────────────────────────────────────────────────────────
─────── Solid Aqua Line = Bullish Regular Divergence
Price: Lower Low | Indicator: Higher Low
Suggests: Potential upward reversal
─────── Solid Purple Line = Bearish Regular Divergence
Price: Higher High | Indicator: Lower High
Suggests: Potential downward reversal
- - - - Dashed Lime Line = Bullish Hidden Divergence
Price: Higher Low | Indicator: Lower Low
Suggests: Trend continuation (uptrend)
- - - - Dashed Red Line = Bearish Hidden Divergence
Price: Lower High | Indicator: Higher High
Suggests: Trend continuation (downtrend)
HOW TO USE
────────────────────────────────────────────────────────────────────────────────
1. WAIT FOR STRONG SIGNALS
Look for solid ▲ or ▼ triangles (not faded)
These have volume + RSI confirmation
2. CHECK CONFLUENCE
More indicators = stronger signal
Label shows "3" or higher = high confidence
3. CONFIRM WITH PRICE ACTION
Wait for candle confirmation after signal
Look for support/resistance levels
4. RECOMMENDED SETTINGS FOR SCALPING (5m/15m)
• Pivot Period: 3
• Min Confirmations: 2
• Max Lookback: 50
• Wait Confirmation: ON
SETTINGS QUICK REFERENCE
────────────────────────────────────────────────────────────────────────────────
MAIN
Pivot Period How many bars to identify pivot (lower = more signals)
Pivot Source Close or High/Low for pivot detection
Divergence Type Regular, Hidden, or Both
Max Pivots Maximum pivot points to scan
Max Lookback Maximum bars to look back
Min Confirmations Minimum indicators required (higher = fewer but stronger)
Wait Confirmation Wait for bar close before signal
DISPLAY
Labels Full (MC), Abbrev (M), or None
Show Count Display number of confirming indicators
Show Lines Draw divergence lines on chart
Show Pivots Mark H/L pivot points
Last Only Show only most recent divergence
Show MA 50/200 Display moving averages
INDICATORS
Toggle each indicator ON/OFF for divergence scanning
ALERTS
────────────────────────────────────────────────────────────────────────────────
Available alerts in TradingView:
• Bullish Regular Divergence
• Bearish Regular Divergence
• Bullish Hidden Divergence
• Bearish Hidden Divergence
• Any Bullish Divergence
• Any Bearish Divergence
TIPS
────────────────────────────────────────────────────────────────────────────────
✓ Higher "Min Confirmations" = fewer signals but higher accuracy
✓ Use with support/resistance levels for best entries
✓ Strong signals (solid triangles) have better win rate
✓ Multiple indicator confluence (3+) = highest probability trades
✓ Always use stop loss - divergence can fail
═══════════════════════════════════════════════════════════════════════════════
DivScan Pro v1.0
═══════════════════════════════════════════════════════════════════════════════
Daily Trend ScannerThis indicator tracks the input tickers (up to 20) and looks at the Previous Day High/Low and Premarket High/Low of the ticker.
If the price is above PDH and PMH the ticker will be displayed as bullish. If the price is below PDL and PML the ticker will be displayed as bearish.
You can track up to 20 tickers and select how many you want to display in the settings.
Adjust Premarket session time
Adjust Table size, position and font size
This indicator is useful for visually tracking what tickers may be trending for the day and which direction the trend is going.
VIX Expiration + Month Turn MarkersThis script mark the VIX option expiration dates and the turn on=f the month dates from 2021 to 2026
There can be increased volatility in the market at these dates or +- 3 days from those dates.
Support Resistance-Session Box Breakout Support Resistance-Session Box Breakout สามารถใช้แนวรับแนวต้านจากSupport Resistance-Session Box หาจุกลับตัวหรือหาจุดเข้าเทรดได้
VIXO - VIX OscillatorVIXO (VIX Oscillator) is a volatility oscillator built from the CBOE Volatility Index (symbol: TVC:VIX). It helps visualize volatility regime shifts by combining a smoothed VIX RSI with a normalized VIX momentum component, plus a VIX histogram that becomes more/less prominent depending on how far VIX is from its moving average. It helps you assess whether market conditions may be approaching rare but powerful squeeze phases.
WHAT THIS INDICATOR PLOTS
1) VIX RSI (cyan line)
- RSI is calculated on the VIX close and then smoothed (SMA) to reduce noise.
- Use it to observe short-term momentum in volatility rather than price.
2) VIX Normalized Momentum (gray line)
- Momentum is measured as ROC (rate of change) of the VIX close.
- That ROC is normalized to a 0–100 scale using a rolling lookback window:
- 50 is the midpoint of the recent momentum range (neutral within the selected window).
- Values near 0/100 indicate momentum near the low/high of that lookback window.
3) VIX Value Bars (histogram)
- Histogram shows the raw VIX value.
- Bar visibility is dynamically adjusted (transparency changes) based on the ratio of VIX to its 21-period SMA:
- When VIX is close to its MA, bars are more transparent.
- When VIX deviates more from its MA (within a capped range), bars become more visible.
- If VIX High is below 30, the script intentionally keeps bars fully transparent to reduce visual clutter.
LEVELS (REFERENCE ONLY)
The horizontal levels are visual guides to help segment oscillator zones. They are not guarantees and should not be treated as standalone trade signals:
- 80: “Panic of Market”
- 60: “VIX says BUY” (label only; not financial advice)
- 50: “Neutral / Momentum Mid”
- 40: “Get Ready”
HOW TO USE
- Apply VIXO to any chart. The indicator always pulls TVC:VIX data, regardless of the chart symbol.
- Typical interpretation:
- Rising VIX RSI and/or rising normalized momentum can indicate increasing volatility pressure.
- Falling readings can indicate volatility easing.
- Compare changes in VIXO with your chart’s price structure, trend filters, or risk management framework.
INPUTS
- RSI Length: RSI period on VIX close (smoothed afterward).
- Momentum Length: ROC period on VIX close.
- Momentum Normalization Lookback: window used to scale ROC into 0–100.
DATA & BEHAVIOR NOTES
- Data source: request.security("TVC:VIX", timeframe.period, OHLC).
- The script does not use lookahead to access future data.
- On realtime bars, values can update while the current bar is forming; historical bars remain fixed once closed.
- Availability of TVC:VIX data depends on your TradingView data access.
IMPORTANT DISCLAIMER
This indicator is provided for educational and informational purposes only and does not constitute financial, investment, or trading advice. It does not predict the future, does not guarantee results, and should not be used as the sole basis for any trading decision. Always validate signals with additional analysis and use appropriate risk management.






















