Liquidation Reversal Signals [AlgoAlpha]🟠 OVERVIEW
This tool detects potential liquidation-driven reversals by combining z-score analysis of up/down volume with the classic Supertrend. It watches for abnormal surges in directional volume (on a lower timeframe) and links them to trend flips on the main chart. When both align within a short window, it flags a probable reversal caused by forced liquidations. The goal is to help traders identify exhaustion points where aggressive liquidation moves may mark the end of a trend leg.
🟠 CONCEPTS
The logic revolves around Z-score normalization of up and down volume to locate statistical extremes. When up-volume z-scores exceed a threshold during a bearish Supertrend, it implies trapped shorts being squeezed; the opposite applies for long liquidations. The script tracks these liquidation spikes and monitors whether a Supertrend regime change follows soon after. If confirmed within the allowed timeout, a colored signal marks the event.
In essence:
Z-score outliers = potential forced liquidations.
Supertrend = structural regime context.
Combined = statistically confirmed reversal signals, not random flips.
This pairing reduces false positives by ensuring that both volatility structure and order-flow extremes agree before flagging a reversal.
🟠 FEATURES
Z-score detection for liquidation spikes with adjustable lookback and threshold.
Confirmation logic linking liquidations to Supertrend flips.
Alerts for liquidation spikes and confirmed reversal starts.
On-chart “No Volume” warning to avoid misreads on illiquid assets.
🟠 USAGE
Setup : Add the script to your main chart. Choose a lower timeframe (default 15m) to capture more granular liquidation flows. Adjust Z-Score Length to control how far back the script measures normal behavior and Threshold to decide what counts as extreme. Keep Timeout Bars low (e.g. 20–50) for faster reversals, or higher for slower markets.
Read the chart :
• Circles appear below bars when long liquidations occur; above bars for short liquidations.
• A Supertrend flip with a recent liquidation spike will display an arrow and color shift.
• Fills between candles and trend lines show which side dominates: green for bullish reversal, red for bearish.
• Candle color fades based on the magnitude of liquidation pressure.
Settings that matter :
• Z-Score Length : Longer smooths noise but delays signal; shorter reacts faster.
• Z-Score Threshold : Higher means only extreme liquidations trigger; lower finds smaller squeezes.
• Timeout Bars : Defines how long after a liquidation the Supertrend flip remains valid.
• Lower Timeframe : Determines the precision of volume readings; too low may increase noise.
อินดิเคเตอร์และกลยุทธ์
Volume Based Ranges (VBR) [SS]Here is the Volume Based Ranges or VBR indicator.
How it works
The indicator works by:
Sorting volume into buying and selling volume, then
Calculating 2 independent Z-Scores for buying and selling data, then
Identifying the high buying and selling nodes through the use of the Z-score threshold.
Tracks the average target/move based on buying and selling nodes over a designated lookforward horizon (i.e. if you want to see the average move a high selling node happens over 20 candles, you can modify the lookforward horizon to 20).
Calculates the composition from each volume node, displaying the composition information on each line (the % of buying and selling each node contains).
How to Use it
To use this indicator:
Select the Z-Score length of assessment: By default, z-score is 75 and this is usually fine to leave.
Identify the threshold trigger: This will need to be adjusted based on your timeframe. If you are using 1 minute, the data is noiser and you want more profound signals. Thresholds generally in this range should be between 5 - 7. For larger timeframes, you want to relax this threshold, to about 2 to 3. You can toggle in increments of 0.5 to find what works the best. Generally you want to see very rigorous volume node signals instead of tons of them.
Determine what you want to see: You can turn of the support and resistance lines and just have the node identification signals and the return boxes. Or, you can just have the support and resistance lines and turn off the return boxes. You can customize the information the indicator displays in the settings menu to suit what you are most interested in.
Let's look at some examples '
DIS on the hourly. We can see that the average up move from the high buying nodes has a target of 115.42, and in between there we can see the high selling and buying nodes and their compositions.
High buying (100% of the high buying volume) is around the 112.61. This means, you would expect this to be an area of retracement.
We can also see that high selling is just below that at 111.66, which can be a resistance area.
Here is a closer look at the levels specifically:
EPAM on the daily:
You can see a successful retrace back to a high volume node.
Concluding remarks
That's the indicator!
Its one that is best to get a feel for, play around and decide on the settings you like for your individual ticker.
I have included tooltip descriptions for the settings within the indicator as well.
I hope you enjoy it and find it helpful!
Thanks for reading/checking it out and as always, safe trades!
DEMA Flow [Alpha Extract]A sophisticated trend identification system that combines Double Exponential Moving Average methodology with advanced HL median filtering and ATR-based band detection for precise trend confirmation. Utilizing dual-layer smoothing architecture and volatility-adjusted breakout zones, this indicator delivers institutional-grade flow analysis with minimal lag while maintaining exceptional noise reduction. The system's intelligent band structure with asymmetric ATR multipliers provides clear trend state classification through price position analysis relative to dynamic threshold levels.
🔶 Advanced DEMA Calculation Engine
Implements double exponential moving average methodology using cascaded EMA calculations to significantly reduce lag compared to traditional moving averages. The system applies dual smoothing through sequential EMA processing, creating a responsive yet stable trend baseline that maintains sensitivity to genuine market structure changes while filtering short-term noise.
// Core DEMA Framework
dema(src, length) =>
EMA1 = ta.ema(src, length)
EMA2 = ta.ema(EMA1, length)
DEMA_Value = 2 * EMA1 - EMA2
DEMA_Value
// Primary Calculation
DEMA = dema(close, DEMA_Length)
2H
🔶 HL Median Filter Smoothing Architecture
Features sophisticated high-low median filtering using rolling window analysis to create ultra-smooth trend baselines with outlier resistance. The system constructs dynamic arrays of recent DEMA values, sorts them for median extraction, and handles both odd and even window lengths for optimal smoothing consistency across all market conditions.
// HL Median Filter Logic
hlMedian(src, length) =>
window = array.new_float()
for i = 0 to length - 1
array.push(window, src)
array.sort(window)
// Median Extraction
lenW = array.size(window)
median = lenW % 2 == 1 ?
array.get(window, lenW / 2) :
(array.get(window, lenW/2 - 1) + array.get(window, lenW/2)) / 2
// Smooth DEMA Calculation
Smooth_DEMA = hlMedian(DEMA_Value, HL_Filter_Length)
🔶 ATR Band Construction Framework
Implements volatility-adaptive band structure using Average True Range calculations with asymmetric multiplier configuration for optimal trend identification. The system creates upper and lower threshold bands around the smoothed DEMA baseline with configurable ATR multipliers, enabling precise trend state determination through price breakout analysis.
// ATR Band Calculation
atrBands(src, atr_length, upper_mult, lower_mult) =>
ATR = ta.atr(atr_length)
Upper_Band = src + upper_mult * ATR
Lower_Band = src - lower_mult * ATR
// Band Generation
= atrBands(Smooth_DEMA, ATR_Length, Upper_ATR_Mult, Lower_ATR_Mult)
15min
🔶 Intelligent Flow Signal Engine
Generates binary trend states through band breakout detection, transitioning to bullish flow when price exceeds upper band and bearish flow when price breaches lower band. The system maintains flow state persistence until opposing band breakout occurs, providing clear trend classification without whipsaw signals during normal volatility fluctuations.
🔶 Comprehensive Visual Architecture
Provides multi-dimensional flow visualization through color-coded DEMA line, trend-synchronized candle coloring, and bar color overlay for complete chart integration. The system uses institutional color scheme with neon green for bullish flow, neon red for bearish flow, and neutral gray for undefined states with configurable band visibility.
🔶 Asymmetric Band Configuration
Features intelligent asymmetric ATR multiplier system with default upper multiplier of 2.1 and lower multiplier of 1.5, optimizing for market dynamics where upside breakouts often require stronger momentum confirmation than downside breaks. This configuration reduces false signals while maintaining sensitivity to genuine flow changes.
🔶 Dual-Layer Smoothing Methodology
Combines DEMA's inherent lag reduction with HL median filtering to create exceptional smoothing without sacrificing responsiveness. The system first applies double exponential smoothing for initial noise reduction, then applies median filtering to eliminate outliers and create ultra-clean flow baseline suitable for high-frequency and institutional trading applications.
🔶 Alert Integration System
Features comprehensive alert framework for flow state transitions with customizable notifications for bullish and bearish flow confirmations. The system provides real-time alerts on crossover events with clear directional indicators and exchange/ticker integration for multi-symbol monitoring capabilities.
🔶 Performance Optimization Framework
Utilizes efficient array management with optimized median calculation algorithms and minimal variable overhead for smooth operation across all timeframes. The system includes intelligent bar indexing for median filter initialization and streamlined flow state tracking for consistent performance during extended analysis periods.
🔶 Why Choose DEMA Flow ?
This indicator delivers sophisticated flow identification through dual-layer smoothing architecture and volatility-adaptive band methodology. By combining DEMA's reduced-lag characteristics with HL median filtering and ATR-based breakout zones, it provides institutional-grade flow analysis with exceptional noise reduction and minimal false signals. The system's asymmetric band structure and comprehensive visual integration make it essential for traders seeking systematic trend-following approaches across cryptocurrency, forex, and equity markets with clear entry/exit signals and comprehensive alert capabilities for automated trading strategies.
Pulse RSI | Lyro RSPulse RSI | Lyro RS
The Pulse RSI is a momentum oscillator that enhances the traditional RSI by incorporating volume-weighted price and linear regression. It generates multiple trading signals, including trend shifts, overbought/oversold conditions, and custom threshold levels.
By integrating both price and volume into its calculation, Pulse RSI is more robust and responsive than the standard RSI. This helps you identify trends faster, spot potential reversals sooner, and set up custom alerts based on your own strategy.
Key Features
Four Signal Types:
Type 1 (Trend): Triggers when the indicator's current value crosses its previous value, highlighting short-term momentum shifts.
Type 2 (Midline Trend): The classic midline cross. A bullish bias is indicated above 50, while a bearish bias is indicated below 50.
Type 3 (Overbought/Oversold): Flags potential reversal zones, suggesting where buying or selling opportunities may emerge.
Type 4 (Custom Thresholds): This type lets you define your own threshold levels. Instead of following a trend, use it to mark your specific conditions for a reversal. For example, set a long reversal at a low level (e.g., 5) for an early buy signal, or a short reversal at a high level (e.g., 80) for an early sell signal.
Calculation Method:
The indicator uses a volume-weighted price (Close * High * Low) and applies linear regression to smooth the data. This creates a unique and more stable oscillator, avoiding the chaotic movement seen in others.
Color System:
Choose from multiple color themes like Classic, Mystic, Accented, and Royal, or create your own custom colors for bullish and bearish signals.
Visual Plotting:
Features a clear plot with a glow effect, a midline, adjustable threshold lines, and shapes/labels to mark long/short and overbought/oversold signals.
Alerts:
Instant alerts are available for every signal type, which you can quickly enable based on your trading conditions.
How It Works:
Core Calculation
The indicator calculates a volume-weighted price using (Close * High * Low) multiplied by the absolute volume. This value is then smoothed with linear regression and converted into an oscillator, normalized to a 0-100 scale.
Trading Logic:
Bullish Signals: Trigger when the main plot line crosses above a key level—be it the previous value, the 50 midline, or a custom threshold.
Bearish Signals: Trigger when the main plot line crosses below a key level.
Visual Logic:
The system displays a main plot line, colors candles, and plots signal shapes, all customizable through a variety of color schemes.
Practical Use
Trend Confirmation (Types 1 & 2): Use Type 1 for early momentum shifts and Type 2 to confirm the overall trend direction.
Reversals (Type 3): Consider long entries when oversold signals fire, suggesting an asset is undervalued. Look for exits at overbought signals, which suggest a potential downward reversal.
Custom Thresholds (Type 4): Set tight thresholds to catch early trends and reversals. Be aware that more sensitive settings may also increase false positives.
Customization:
Adjust the Length: A higher setting makes the indicator more suited for long-term trends, while a lower setting makes it more sensitive for short-term moves.
Enable/Disable Signals: Turn the four signal types on or off to match your trading style.
Set Your Levels: Fully adjustable thresholds for Type 4 long/short conditions.
Choose Your Colors: Select from a variety of color schemes for all bullish and bearish elements.
⚠️ Disclaimer
This indicator is a tool for technical analysis and does not guarantee results. It should be used alongside other analysis methods and solid risk management practices. The creators are not responsible for any financial decisions made based on its signals.
Clock&Flow – Market Pulse IndicatorClock&Flow – Market Pulse Indicator
1) General Purpose
The Market Pulse Indicator is designed to visualize the strength and direction of market flow in a clear, intuitive way.
Unlike common volume or momentum indicators, it blends three essential dimensions — price velocity, normalized volume, and volatility (ATR) — to highlight when market pressure is truly meaningful.
It helps identify genuine liquidity inflows/outflows, potential exhaustion zones, and moments of compression or expansion within the price structure.
2) Data Sources
All data is directly taken from the current chart’s feed on TradingView:
Price (close): to measure relative price change.
Volume: to detect the intensity of market participation (normalized to average).
ATR (Average True Range): to evaluate volatility relative to price levels.
No external data or off-platform sources are used.
3) Logic and Calculation Steps
Price Velocity: calculates the percentage change between the current close and the close N bars ago.
priceChange = (close - close ) / close
Normalized Volume: compares current volume to its moving average over the same period.
volNorm = volume / sma(volume, length)
Normalized Volatility: ATR divided by price to adjust for instrument scale.
atrNorm = atr(length) / close
Combination : multiplies the three components into one raw value that represents market pulse intensity.
rawPulse = priceChange * volNorm * (1 + atrNorm)
Smoothing: a moving average (smoothLen) is applied to create a cleaner and more readable oscillator line.
flowPulse = sma(rawPulse * multiplier, smoothLen)
4) Parameters (Default Settings)
length (20): analysis period for price change, volume, and ATR.
smoothLen (5): smoothing factor; higher values reduce noise.
multiplier (100): scales the output for readability; adjust to fit chart scale.
5) How to Read the Indicator
Market Pulse > 0 (green): net inflow of liquidity; buying pressure dominates.
Market Pulse < 0 (red): net outflow of liquidity; selling pressure dominates.
Near 0: neutral phase; market balance or consolidation.
Sudden peaks: strong bursts of flow — often coincide with news releases or session overlaps.
Confirmations: use as a second-level filter before entering trades or to confirm momentum behind a breakout.
6) Divergences
Divergences between price and Market Pulse are key signals of weakening flow strength:
Bullish divergence: price forms lower lows while Market Pulse forms higher lows → selling pressure is fading; potential reversal or bounce.
Bearish divergence: price forms higher highs while Market Pulse fails to confirm → buying momentum is losing strength; potential correction ahead.
For reliability, look for divergences on higher timeframes (H4, Daily).
On lower timeframes, treat them as early warnings.
7) Typical Use Cases
Breakout confirmation: price breaks resistance with a rising Market Pulse → confirms genuine participation.
False signal filter: price breaks a level but Market Pulse remains flat/negative → likely fake breakout.
Pullback entry: after a breakout, wait for a short retracement and a new positive pulse → safer entry point.
Exit signal: if you’re long and Market Pulse suddenly turns negative with strong volume → consider partial exit or tighter stops.
8) Recommended Timeframes
Intraday / Scalping: 5–30 min charts with length 10–14, smoothLen 3–5.
Swing trading: 1h–4h charts with length 20–50.
Position trading: Daily charts with larger length (50–100) for smoother data.
Always optimize parameters to the specific asset — there are no universal settings.
9) Limitations
This indicator is not a trading system — it’s a decision-support tool.
Results depend on the quality of the volume data available for the symbol.
Performance and sensitivity are influenced by length, smoothing, and multiplier values — always test before live trading.
Use alongside sound risk and money management.
10) Disclaimer
This script is provided for educational purposes only and does not constitute financial advice.
Trading and investing involve significant risk, including the potential loss of capital.
Always test indicators in simulation environments and make independent decisions based on your own analysis and risk tolerance.
Italiano
1) Scopo generale
Flow Pulse è un oscillatore pensato per visualizzare la forza e la direzione del flusso di mercato in modo immediato. Non è un semplice indicatore di volume né una copia di RSI/MACD: combina tre dimensioni fondamentali — variazione di prezzo, volume normalizzato e volatilità — per mettere in evidenza i momenti in cui la pressione dei partecipanti è realmente significativa.
È ideale per identificare: entrate guidate da flussi reali, potenziali esaurimenti, momenti di compressione/espansione del movimento e segnali di conferma per breakout o rimbalzi.
2) Dati utilizzati
L’indicatore usa esclusivamente dati disponibili sulla piattaforma TradingView del grafico corrente:
price (close) — per calcolare la variazione percentuale del prezzo;
volume per misurare l’intensità degli scambi (normalizzato su media);
ATR (Average True Range) — per normalizzare la volatilità rispetto al prezzo;
Tutti i feed (prezzo e volume) sono quelli forniti dall’exchange/fornitore dati collegato al simbolo sul grafico.
3) Logica e passaggi di calcolo
Velocità del prezzo: calcolo della variazione percentuale tra la chiusura corrente e la chiusura N barre fa:
priceChange = (close - close ) / close
— misura la direzione e magnitudine del movimento in termine relativo.
Volume normalizzato: rapporto tra il volume corrente e la media mobile semplice del volume su length barre:
volNorm = volume / sma(volume, length)
— evidenzia volumi anomali rispetto alla media.
Volatilità normalizzata (ATR): rapporto ATR/close per rendere la volatilità comparabile across price levels:
atrNorm = atr(length) / close
Combinazione: il prodotto di questi fattori (con un piccolo offset su ATR) genera un valore grezzo:
rawPulse = priceChange * volNorm * (1 + atrNorm)
— se priceChange e volNorm sono positivi e l’ATR è presente, il rawPulse sarà significativamente positivo.
Smoothing: media mobile semplice (SMA) applicata al rawPulse e moltiplicazione per un fattore scalare (multiplier) per portare il range su livelli leggibili:
flowPulse = sma(rawPulse * multiplier, smoothLen)
4) Parametri esposti (default consigliati)
length (periodo analisi) — default 20: influenza calcolo Δ% e media volumi; allunga la finestra storica.
smoothLen (smussamento) — default 5: smoothing del segnale per ridurre rumore.
multiplier — default 100: fattore di scala per rendere l’oscillatore più leggibile.
5) Interpretazione pratica dei valori
FlowPulse > 0 (verde): predominanza di flusso d’ingresso — pressione d’acquisto. Maggiore il valore, più forte la convinzione (volume + movimento + volatilità).
FlowPulse < 0 (rosso): predominanza di flusso in uscita — pressione di vendita.
Vicino a 0: assenza di flussi netti chiari; mercato piatto o bilanciato.
Picchi repentini: indicano accelerate di flusso — spesso coincidono con rotture, open/close session, news.
Sostegno al trade: usa FlowPulse come conferma prima di entrare su breakout o come avviso di attenzione su esaurimenti.
6) Divergenze (come leggerle)
Le divergenze tra prezzo e FlowPulse sono segnali importanti:
Divergenza rialzista (bullish divergence): prezzo fa nuovi minimi mentre FlowPulse non fa nuovi minimi (o forma minimo relativo più alto) → indica che la spinta di vendita non è supportata da volume/volatilità, possibile inversione/rimbalzo.
Divergenza ribassista (bearish divergence): prezzo fa nuovi massimi mentre FlowPulse non li conferma (o forma massimo relativo più basso) → la spinta d’acquisto è “debole”, possibile esaurimento e inversione.
Note pratiche: cercare divergenze su timeframe maggiori (H4, D) per maggiore attendibilità; sui timeframe minori prendere solo come early warning.
7) Esempi d’uso operativo
Conferma breakout: prezzo rompe resistenza + FlowPulse positivo e crescente → breakout più probabile e con volumi reali.
Filtro per falsi segnali: prezzo rompe ma FlowPulse è piatto/negativo → alto rischio di false breakout.
Entrata per pullback: dopo breakout, attendere un pullback con FlowPulse che torna positivo → ingresso più prudente.
Gestione delle uscite: se sei long e FlowPulse improvvisamente si inverte in negativo su volumi elevati → considerare riduzione posizione o stop.
8) Timeframe consigliati
Intraday / Scalping: M5–M30 con length ridotto (es. 10–14) e smoothLen piccolo.
Swing trading: H1–H4 con length 20–50.
Position trading: D1 con length maggiore per filtrare rumore.
Testa i parametri sul tuo asset e timeframe; nessun parametro è universale.
9) Limitazioni e avvertenze
L’indicatore non è un sistema di trading completo: è un tool di informazione e timing.
Dipende dalla qualità dei dati di volume del simbolo: su alcuni titoli/mercati (es. alcuni ETF, Forex su certi broker) il volume può essere parziale o non rappresentativo.
I valori di margine/multiplier e smoothing influenzano sensibilmente sensibilità e falsi segnali: backtest e ottimizzazione sono raccomandati.
Non usare il solo FlowPulse per entrare su leva elevata senza gestione del rischio12) Disclaimer da inserire
Disclaimer: Questo indicatore è fornito solo a scopo didattico e non costituisce consulenza finanziaria. L’uso comporta rischi: valuta sempre la gestione del rischio e testa su conto demo prima dell’applicazione in reale.
Range Trading StrategyOVERVIEW
The Range Trading Strategy is a systematic trading approach that identifies price ranges
from higher timeframe candles or trading sessions, tracks pivot points, and generates
trading signals when range extremes are mitigated and confirmed by pivot levels.
CORE CONCEPT
The strategy is based on the principle that when a candle (or session) closes within the
range of the previous candle (or session), that previous candle becomes a "range" with
identifiable high and low extremes. When price breaks through these extremes, it creates
trading opportunities that are confirmed by pivot levels.
RANGE DETECTION MODES
1. HTF (Higher Timeframe) Mode:
Automatically selects a higher timeframe based on the current chart timeframe
Uses request.security() to fetch HTF candle data
Range is created when an HTF candle closes within the previous HTF candle's range
The previous HTF candle's high and low become the range extremes
2. Sessions Mode:
- Divides the trading day into 4 sessions (UTC):
* Session 1: 00:00 - 06:00 (6 hours)
* Session 2: 06:00 - 12:00 (6 hours)
* Session 3: 12:00 - 20:00 (8 hours)
* Session 4: 20:00 - 00:00 (4 hours, spans midnight)
- Tracks high, low, and close for each session
- Range is created when a session closes within the previous session's range
- The previous session's high and low become the range extremes
PIVOT DETECTION
Pivots are detected based on candle color changes (bullish/bearish transitions):
1. Pivot Low:
Created when a bullish candle appears after a bearish candle
Pivot low = minimum of the current candle's low and previous candle's low
The pivot bar is the actual bar where the low was formed (current or previous bar)
2. Pivot High:
Created when a bearish candle appears after a bullish candle
Pivot high = maximum of the current candle's high and previous candle's high
The pivot bar is the actual bar where the high was formed (current or previous bar)
IMPORTANT: There is always only ONE active pivot high and ONE active pivot low at any
given time. When a new pivot is created, it replaces the previous one.
RANGE CREATION
A range is created when:
(HTF Mode) An HTF candle closes within the previous HTF candle's range AND a new HTF
candle has just started
(Sessions Mode) A session closes within the previous session's range AND a new session
has just started
Or Range Can Be Created when the Extreme of Another Range Gets Mitigated and We Have a Pivot low Just Above the Range Low or Pivot High just Below the Range High
Range Properties:
rangeHigh: The high extreme of the range
rangeLow: The low extreme of the range
highStartTime: The timestamp when the range high was actually formed (found by looping
backwards through bars)
lowStartTime: The timestamp when the range low was actually formed (found by looping
backwards through bars)
highMitigated / lowMitigated: Flags tracking whether each extreme has been broken
isSpecial: Flag indicating if this is a "special range" (see Special Ranges section)
RANGE MITIGATION
A range extreme is considered "mitigated" when price interacts with it:
High is mitigated when: high >= rangeHigh (any interaction at or above the level)
Low is mitigated when: low <= rangeLow (any interaction at or below the level)
Mitigation can happen:
At the moment of range creation (if price is already beyond the extreme)
At any point after range creation when price touches the extreme
SIGNAL GENERATION
1. Pending Signals:
When a range extreme is mitigated, a pending signal is created:
a) BEARISH Pending Signal:
- Triggered when: rangeHigh is mitigated
- Confirmation Level: Current pivotLow
- Signal is confirmed when: close < pivotLow
- Stop Loss: Current pivotHigh (at time of confirmation)
- Entry: Short position
Signal Confirmation
b) BULLISH Pending Signal:
- Triggered when: rangeLow is mitigated
- Confirmation Level: Current pivotHigh
- Signal is confirmed when: close > pivotHigh
- Stop Loss: Current pivotLow (at time of confirmation)
- Entry: Long position
IMPORTANT: There is only ever ONE pending bearish signal and ONE pending bullish signal
at any given time. When a new pending signal is created, it replaces the previous one
of the same type.
2. Signal Confirmation:
- Bearish: Confirmed when price closes below the pivot low (confirmation level)
- Bullish: Confirmed when price closes above the pivot high (confirmation level)
- Upon confirmation, a trade is entered immediately
- The confirmation line is drawn from the pivot bar to the confirmation bar
TRADE EXECUTION
When a signal is confirmed:
1. Position Management:
- Any existing position in the opposite direction is closed first
- Then the new position is entered
2. Stop Loss:
- Bearish (Short): Stop at pivotHigh
- Bullish (Long): Stop at pivotLow
3. Take Profit:
- Calculated using Risk:Reward Ratio (default 2:1)
- Risk = Distance from entry to stop loss
- Target = Entry ± (Risk × R:R Ratio)
- Can be disabled with "Stop Loss Only" toggle
4. Trade Comments:
- "Range Bear" for short trades
- "Range Bull" for long trades
SPECIAL RANGES
Special ranges are created when:
- A range high is mitigated AND the current pivotHigh is below the range high
- A range low is mitigated AND the current pivotLow is above the range low
In these cases:
- The pivot value is stored in an array (storedPivotHighs or storedPivotLows)
- A "special range" is created with only ONE extreme:
* If pivotHigh < rangeHigh: Creates a range with rangeHigh = pivotLow, rangeLow = na
* If pivotLow > rangeLow: Creates a range with rangeLow = pivotHigh, rangeHigh = na
- Special ranges can generate signals just like normal ranges
- If a special range is mitigated on the creation bar or the next bar, it is removed
entirely without generating signals (prevents false signals)
Special Ranges
REVERSE ON STOP LOSS
When enabled, if a stop loss is hit, the strategy automatically opens a trade in the
opposite direction:
1. Long Stop Loss Hit:
- Detects when: position_size > 0 AND position_size <= 0 AND low <= longStopLoss
- Action: Opens a SHORT position
- Stop Loss: Current pivotHigh
- Trade Comment: "Reverse on Stop"
2. Short Stop Loss Hit:
- Detects when: position_size < 0 AND position_size >= 0 AND high >= shortStopLoss
- Action: Opens a LONG position
- Stop Loss: Current pivotLow
- Trade Comment: "Reverse on Stop"
The reverse trade uses the same R:R ratio and respects the "Stop Loss Only" setting.
VISUAL ELEMENTS
1. Range Lines:
- Drawn from the time when the extreme was formed to the mitigation point (or current
time if not mitigated)
- High lines: Blue (or mitigated color if mitigated)
- Low lines: Red (or mitigated color if mitigated)
- Style: SOLID
- Width: 1
2. Confirmation Lines:
- Drawn when a signal is confirmed
- Extends from the pivot bar to the confirmation bar
- Bearish: Red, solid line
- Bullish: Green, solid line
- Width: 1
- Can be toggled on/off
STRATEGY SETTINGS
1. Range Detection Mode:
- HTF: Uses higher timeframe candles
- Sessions: Uses trading session boundaries
2. Auto HTF:
- Automatically selects HTF based on current chart timeframe
- Can be disabled to use manual HTF selection
3. Risk:Reward Ratio:
- Default: 2.0 (2:1)
- Minimum: 0.5
- Step: 0.5
4. Stop Loss Only:
- When enabled: Trades only have stop loss (no take profit)
- Trades close on stop loss or when opposite signal confirms
5. Reverse on Stop Loss:
- When enabled: Hitting a stop loss opens opposite trade with stop at opposing pivot
6. Max Ranges to Display:
- Limits the number of ranges kept in memory
- Oldest ranges are purged when limit is exceeded
KEY FEATURES
1. Dynamic Pivot Tracking:
- Pivots update on every candle color change
- Always maintains one high and one low pivot
2. Range Lifecycle:
- Ranges are created when price closes within previous range
- Ranges are tracked until mitigated
- Mitigation creates pending signals
- Signals are confirmed by pivot levels
3. Signal Priority:
- Only one pending signal of each type at a time
- New signals replace old ones
- Confirmation happens on close of bar
4. Position Management:
- Closes opposite positions before entering new trades
- Tracks stop loss levels for reverse functionality
- Respects pyramiding = 1 (only one position per direction)
5. Time-Based Drawing:
- Uses time coordinates instead of bar indices for line drawing
- Prevents "too far from current bar" errors
- Lines can extend to any historical point
USAGE NOTES
- Best suited for trending and ranging markets
- Works on any timeframe, but HTF mode adapts automatically
- Sessions mode is ideal for intraday trading
- Pivot detection requires clear candle color changes
- Range detection requires price to close within previous range
- Signals are generated on bar close, not intra-bar
The strategy combines range identification, pivot tracking, and signal confirmation to
create a systematic approach to trading breakouts and reversals based on price structure, past performance does not in any way predict future performance
Pearson SL/TP📘 Description
Pearson SL/TP — Advanced Correlation-Based Strategy with Full Risk Management
The Pearson SL/TP indicator is an advanced market analysis tool that combines Pearson correlation, volatility-based stop/target levels, and dynamic signal strength evaluation.
It is designed for traders who want to visualize potential momentum shifts and risk/reward zones in a single, integrated chart.
🔍 Core Concept
This script measures the **Pearson correlation coefficient between recent price movements and time progression, highlighting potential trend exhaustion or momentum reversals when the correlation reaches extreme values.
* High positive correlation (near +1) → price moving steadily upward → possible overbought condition.
* High negative correlation (near -1) → price moving steadily downward → possible oversold condition.
When these extremes are reached, and confirmed by several internal filters, the script generates LONG or SHORT signals with fully calculated Stop Loss and Take Profit levels.
⚙️ Main Features
📈 Signal Generation
* Uses Pearson correlation as a primary indicator of trend intensity.
* Detects potential reversal zones when correlation crosses user-defined thresholds.
* Optional divergence confirmation enhances signal reliability.
💰 Risk Management
* Stop Loss (SL) and Take Profits (TP1 & TP2) automatically adapt to volatility using the ATR (Average True Range).
* Dynamic risk/reward ratios help assess trade quality.
* Adjustable multipliers let you fine-tune your risk parameters.
🧠 Signal Strength Analysis
Each signal is graded from Weak to Very Strong based on four factors:
1. Volume activity
2. Trend alignment
3. Pearson momentum
4. Correlation change intensity
🎨 Visualization
* Overbought / Oversold background zones
* Signal arrows (LONG / SHORT)
* SL / TP** price levels and labels
* Interactive dashboard** displaying:
* Current Pearson value
* Market state (Overbought / Oversold / Neutral)
* Signal strength
* Latest trade data (Entry, SL, TP1, TP2, Risk:Reward)
🔔 Alerts
Built-in alerts for:
* Confirmed LONG / SHORT signals
* Bullish / Bearish divergences
🧩 Customization
All major parameters — including **Pearson length, thresholds, ATR multipliers, and visual options — are fully customizable.
This allows you to adapt the indicator to any market, timeframe, or trading style.
Adaptive CE-VWAP Breakout Framework [KedArc Quant]Description
A structured framework that unites three complementary systems into one charting engine:
Chandelier Exit (CE) – ATR-based trailing logic that defines trend direction, stop placement, and risk/reward overlays.
Swing-Anchored VWAP (SWAV) – a dynamically anchored VWAP that re-starts from each confirmed swing and adapts its smoothness to volatility.
Pivot S/R with Volume Breaks – confirmed horizontal levels with alerts when broken on expanding volume.
This script builds a single workflow for bias → trigger → managementwithout mixing unrelated indicators. Each module is internally linked rather than layered cosmetically, making it a true analytical framework—not.
Acknowledgment
Special thanks to Dynamic Swing Anchored VWAP by Zeiierman, whose swing-anchoring concept inspired a part of the SWAV module’s implementation and adaptation logic.
Support and Resistance Levels with Breaks by LuxAlgo for S/R breakout logic.
How this helps traders
Trend clarity – CE color-codes direction and provides evolving stops.
Context value – SWAV traces adaptive mean paths so traders see where price is heavy or light.
Action filter – Pivot+volume logic highlights true structural breaks, filtering false moves.
Discipline tool – Optional R:R boxes visualize risk and target zones to enforce planning.
Entry / Exit guidelines (for study purposes only)
Bias Use CE direction: green = long bias red = short bias
Entry
1. Breakout method– Trade in CE direction when a pivot level breaks on valid volume.
2. VWAP confirmation– Prefer breaks occurring around the nearest SWAV path (fair-value cross or re-test).
Exit
Stop = CE line / recent swing HL / ATR × (multiplier)
Target = R-multiple × risk (default 2 R)
Optional live update keeps SL/TP aligned with current CE state.
Core formula concepts
ATR Stop: Stop = High/Low – ATR × multiplier
VWAP calc: Σ(price × vol) / Σ(vol) anchored at swing pivot, adapted by APT (Adaptive Price Tracking) ratio ∝ ATR volatility.
Volume oscillator: 100 × (EMA₅ – EMA₁₀)/EMA₁₀; valid break when threshold %.
Input configuration (high-level)
Master Controls
Show CE / SWAV modules Theme & Fill opacity
CE Section
ATR period & multiplier Use Close for extremums
Show buy/sell labels Await bar confirmation
Risk-Reward overlay: R-multiple, Stop basis (CE/Swing/ATR×), Live update toggle
SWAV Section
Swing period Adaptive Price Tracking length Volatility bias (ATR-based adaptation) Line width
Pivot & Volume Breaks
Left/Right bar windows Volume threshold % Show Break labels and alerts
Best timeframes
Intraday: 5 m – 30 m for breakout confirmation
Swing: 1 h – 4 h for trend context
Settings scale with instrument volatility—adjust ATR period and volume threshold to match liquidity.
Glossary
ATR: Average True Range (volatility metric)
CE: Chandelier Exit (trailing stop/trend filter)
SWAV: Swing-Anchored VWAP (anchored mean price path)
Pivot H/L: Confirmed local extrema using left/right bar windows
R-multiple: Profit target as a multiple of initial risk
FAQ
Q: Does it repaint? A: No—pivots wait for confirmation and VWAP updates forward-only.
Q: Can modules be disabled? A: Yes—each section has its own toggle.
Q: Can it trade automatically? A: This is an indicator/study, not an auto-strategy.
Q: Is this financial advice? A: No—educational use only.
Disclaimer
This script is for educational and analytical purposes only.
It is not financial advice. Trading involves risk of loss. Past performance does not guarantee future results. Always apply sound risk management.
Enhanced Auto Levels & TrendlinesOverview
The Enhanced Auto Levels & Trendlines (EAL&T) is a powerful, all-in-one indicator designed to automate the detection and visualization of key market structures. It combines auto-drawn trendlines, support/resistance levels with volume-based shadows and labels, and auto-flipping Fibonacci retracements/extensions. This tool helps traders identify potential reversals, breakouts, and targets without manual drawing.
Built on Pine Script v5, it uses pivot-based calculations for accuracy and includes customizable options for repainting, extensions, and sources. It's ideal for swing traders, scalpers, and analysts who want clean, dynamic charts.
Key Features
Auto Trendlines: Detects bullish/bearish trends based on pivots, with breakout detection and optional extensions/targets.
Auto Levels: Draws horizontal S/R levels from recent pivots, with "wick shadows" (boxes) highlighting volume strength and % buy/sell labels for sentiment.
Fibonacci Levels: Auto-flips between latest pivot high/low, showing retracements (0.236–0.786) and extensions (1.272–3.0) with customizable styles.
Customization: Override price sources, adjust lengths, colors, styles, and more. Supports repainting for real-time accuracy.
Performance: Limited to 500 bars back and 500 lines for efficiency; no heavy computations.
Visual Aids: Transparent shadows, extendable lines, and small labels for uncluttered charts.
How to Use
Step-by-Step Guide
Add to Chart: Load the indicator. Start with defaults.
Interpret Visuals:
Trendlines: Green (bullish/up), Red (bearish/down). Watch for breakouts – line "breaks" and extends if enabled.
Levels: Horizontal lines with shadows (boxes) showing wick strength. Green above price (resistance), Red below (support). Labels show % buy/sell sentiment.
Fibs: From latest swing low (0.0) to high (1.0). Use 0.5/0.618 for retracements; 1.272+ for targets. Flips automatically on trend change.
Customize for Your Strategy:
Volatile Markets (e.g., Crypto): Increase tl_length to 20+ for fewer false trends. Enable repainting for real-time.
Ranging Markets (e.g., Forex): Set override_source=true, custom_source=close for wick-ignoring pivots.
Fib Focus: Increase fib_extension_bars for longer projections. Hide trendlines if cluttered.
Levels Tuning: Shorten pivot lengths (e.g., 20) for intraday; lengthen (100+) for swings. Set shadow transparency to 100 to hide boxes.
Trading Ideas:
Breakout Trade: Buy on bull trendline break + Fib 0.618 confirmation.
Reversal: Sell at resistance level with high sell% label.
Targets: Use Fib extensions or trend targets for TP; levels for SL.
Combine: Overlay with MA crossover or volume for signals.
Tips & Troubleshooting:
Clutter? Toggle sections off or increase lengths.
No Lines? Ensure show_* is true; check chart history (needs 2x pivot length bars).
Repainting: Normal for real-time; disable for backtesting.
Custom Source: Test on demo – e.g., hl2 for median prices.
Updates: If lines don't extend, verify extend_bars > 0.
Credit : Auto Trendline Lib by HoanGhetti/SimpleTrendlines
Target Trend + Filter Toggles Strategy [ChadAnt]The strategy aims to enter a trade when the price crosses over/under a dynamic trend band and when a combination of user-selected filters confirms the move.
1. Trend Bands (Entry)
The core trend is defined by two smoothed moving averages (SMA based on length input) offset by a smoothed Average True Range (ATR) value.
Upper Band (sma_high): ta.sma(high, length) + atr_value
Lower Band (sma_low): ta.sma(low, length) - atr_value
atr_value is ta.sma(ta.atr(atrLength), smaLength) * atrMultiplier.
Trend Determination:
Long Trend (trend = true): Price crossovers the sma_high band.
Short Trend (trend = false): Price crossesunder the sma_low band.
Raw Signal: A trade signal (signal_up_raw / signal_down_raw) is triggered only when the trend state changes.
2. Stop Loss and Take Profit
Stop Loss (SL):
For a Long entry, the original stop price is the Lower Band (sma_low) at the time of the cross.
For a Short entry, the original stop price is the Upper Band (sma_high) at the time of the cross.
The Stop Loss Price is calculated using the distance from the entry price to the original stop, adjusted by the slAdjustment multiplier.
Take Profit (TP):
Calculated based on a Risk/Reward (R:R) ratio, which is rr_increment * tp_target_number.
TP Distance = Adjusted Stop Distance * R:R Ratio.
The strategy enters and exits in a single order pair using strategy.entry and strategy.exit, using the calculated stop_loss_price and take_profit_price.
3. Filters and Confirmation
The strategy includes toggles (use_..._filter) for many popular indicators: MACD, Volume, StochRSI, Awesome Oscillator (AO), and Moving Average/VWAP (Trend/Counter-Trend).
Filter Logic: Each filter checks for its specific confirmation condition (e.g., MACD zero-cross, AO color change, StochRSI out of extreme, Volume > SMA, Price above MA).
Lookback Period: The script uses a for loop (i = 0 to filter_lookback) to check if the required confirmation happened within the last filter_lookback bars.
Final Signal: The actual entry signal (signal_up / signal_down) is triggered only if the Raw Trend Change Signal occurs AND all currently active (toggled on) filters had their required confirmation event within the lookback period AND the trade is within the Time Window.
The draw_targets method is responsible for the powerful visual display on the chart:
When a new filtered signal occurs, it clears any old lines/labels and draws the new:
Entry line
Stop Loss line
Multiple Take Profit lines (up to num_targets), with the strategy's active TP level highlighted (🎯).
It also features logic to dynamically change the label/line of a TP level to a "✔" or the SL level to a "✖" if the price touches that level on subsequent bars.
The strategy is a highly flexible, multi-factor system built on the concept of trend reversal confirmation.
Close-Only Market StructureDYOR NFA
Function of the Close-Only Market Structure Script
The script is a custom indicator designed to display the market's structural trend based only on closing prices, ignoring price wicks (highs and lows) to focus on conviction.
pivotLengthInt Input: This user setting controls the sensitivity of the structure detection. It determines how many bars to look left and right to define a swing point (e.g., a setting of 5 means a bar's close must be the highest/lowest of the 5 preceding and 5 succeeding bars).
Swing Point Identification (SH/SL): It uses the ta.pivothigh() and ta.pivotlow() functions on the close price series to define Swing Highs (SH) and Swing Lows (SL).
Structure Tracking (structureType): It compares the most recent confirmed SH and SL against the immediately preceding ones (prevSH and prevSL) to classify the trend as one of the following four states:
HH (Higher High, Higher Low): Strong Uptrend
LL (Lower High, Lower Low): Strong Downtrend
HL/LH: Complex structure, consolidation, or reversal zones.
Structure Lines: It plots two continuous stepped lines (lastSH and lastSL) that hold the price of the most recent confirmed swing points, visually defining the current structure boundaries.
BOS Detection (Break of Structure): It identifies and plots a marker (BOS) when the current bar's close definitively breaks (closes above) the lastSH or closes below the lastSL, signaling a continuation of the trend or a major structural change.
Visual Confirmation:
Plots small SH/SL labels at the confirmed swing points.
Plots small HH/HL/LH/LL labels at the swing points to show the confirmed structural state.
Applies a light background color (green for bullish/ranging-up, red for bearish/ranging-down) for an at-a-glance view of the bias.
Alerts: It provides conditions for setting up notifications when a Bullish BOS or Bearish BOS occurs.
🚀 How to Use the Script
Open TradingView: Go to the chart where you want to apply the indicator.
Open Pine Editor: Click the Pine Editor tab at the bottom of the screen.
Paste and Save:
Copy the final, corrected Pine Script code.
Delete any existing code in the editor and paste the new code.
Click the Save button (or name the script) and then click Add to Chart.
Adjust Settings:
On the chart, hover over the indicator name ("Close-MS v6") and click the Gear Icon (Settings).
Pivot Lookback (L&R): Change this value to adjust sensitivity:
Smaller number (e.g., 3): More swings detected, structure changes faster, more noise.
Larger number (e.g., 10): Fewer swings detected, structure is more significant, less noise (recommended for higher timeframes).
Interpret the Chart:
The Red Stepped Line shows your current resistance (SH).
The Green Stepped Line shows your current support (SL).
Green Background: General bullish bias (making Higher Highs/Lows).
Red Background: General bearish bias (making Lower Highs/Lows).
BOS Triangle: Signals that the price has closed and validated a break of the previous structural high or low.
Set Alerts (Optional):
Click the Alert button (bell icon) on the TradingView toolbar.
Set the Condition to the indicator ("Close-MS v6").
Select the specific Alert Condition you want to monitor (e.g., "Bullish BOS" or "Bearish BOS").
Top Finder & Dip Hunter [BackQuant]Top Finder & Dip Hunter
A practical tool to map where price is statistically most likely to exhaust or mean-revert. It builds objective support for dips and resistance for tops from multiple methodologies, then filters raw touches with volume, momentum, trend, and price-action context to surface higher-quality reversal opportunities.
What this does
Draws a Dip Support line and a Top Resistance line using the method you select, or a blended hybrid.
Evaluates each touch/penetration against Quality Filters and assigns a 0–100 composite score.
Prints clean DIP and TOP signals only when depth/extension and quality pass your thresholds.
Optionally annotates the chart with the computed quality score at signal time.
Why it’s useful
Objectivity: Converts vague “looks extended” into rules, reduces discretion creep.
Signal hygiene: Filters raw touches using trend, volume, momentum, and candle structure to avoid obvious traps.
Adaptable regimes: Switch methods, sensitivity, and lookbacks to match choppy vs trending conditions.
How support and resistance are built
Pick one per side, or use “Hybrid.”
Dynamic: Anchors to the extreme of a lookback window, padded by recent ATR, so buffers expand in volatile periods and contract when calm.
Fibonacci: Uses the 0.618/0.786 retracement pair inside the current swing window to target common reaction zones.
Volatility: Uses a moving-average basis with standard-deviation bands to capture statistically stretched moves.
Volume-Weighted: Centers off VWAP and penalizes deviations using dispersion of price around VWAP, helpful on intraday instruments.
Hybrid: A weighted average of the above to smooth out single-method biases.
When a touch becomes a signal
Depth/extension test:
Dips must penetrate their support by at least Min Dip Depth % .
Tops must extend above resistance by at least Min Top Rise % .
Quality Score gate: The composite must clear Min Quality Score . Components:
Trend alignment: Favor dips in bullish regimes and tops in bearish regimes using EMAs and RSI.
Volume confirmation: Reward expansion or spikes versus a 20-period baseline.
RSI context: Prefer oversold for dips, overbought for tops.
Momentum shift: Look for short-term momentum turning in the expected direction.
Candle structure: Reward hammer/shooting-star style responses at the level.
How to use it
Pick your regime:
Range/chop, small caps, mean-revert intraday → Volatility or Volume Weighted .
Cleaner swings/trends → Dynamic or Fibonacci .
Unsure or mixed conditions → Hybrid .
Set windows: Start with Lookback = 50 for both sides. Increase in higher timeframes or slow assets, decrease for fast scalps.
Tune sensitivity: Raise Dip/Top Sensitivity to widen buffers and reduce noise. Lower to be more aggressive.
Gate with quality: Begin with Min Quality Score = 60 . Push to 70–80 for cleaner swing entries, relax to 50–60 for scalps.
Act on first prints: The script only fires on new qualified events. Use the score label to prioritize A-setups.
Typical workflows
Intraday futures/crypto: Volume-Weighted or Volatility methods for both sides, higher Sensitivity , require Volume Filter and Momentum Filter on. Look for DIP during opening drive exhaustion and TOP near late-session fatigue.
Swing equities/FX: Dynamic or Fibonacci with moderate sensitivity. Keep Trend Filter on to only take dips above the 200-EMA and tops below it.
Countertrend scouts: Lower Min Dip Depth % / Min Top Rise % slightly, but raise Min Quality Score to compensate.
Reading the chart
Lines: “Dip Support” and “Top Resistance” are the current actionable rails, lightly smoothed to reduce flicker.
Signals: “DIP” prints below bars when a qualified dip appears, “TOP” prints above for qualified tops.
Scores: Optional labels show the composite at signal time. Favor higher numbers, especially when aligned with higher-timeframe trend.
Background hints: Light highlights mark raw touches meeting depth/extension, even if they fail quality. Treat these as early warnings.
Tuning tips
If you get too many false DIP signals in downtrends, raise Min Dip Depth % and keep Trend Filter on.
If tops appear late in squeezes, lower Top Sensitivity slightly or switch top side to Fibonacci .
On assets with erratic volume, prefer Volatility or Dynamic methods and down-weight the Volume Filter .
For strict systems, increase Min Quality Score and require both Volume and Momentum filters.
What this is not
It is not a blind reversal signal. It’s a structured context tool. Combine with your risk plan and higher-timeframe map.
It is not a guarantee of mean reversion. In strong trends, expect fewer, higher-score opportunities and respect invalidation quickly.
Suggested presets
Scalp preset: Lookback 30–40, Sensitivity 1.2–1.5, Quality ≥ 55, Volume & Momentum filters ON.
Swing preset: Lookback 75–100, Sensitivity 1.0–1.2, Quality ≥ 70, Trend & Volume filters ON.
Chop preset: Volatility/Volume-Weighted methods, Quality ≥ 60, Momentum filter ON, RSI emphasis.
Input quick reference
Dip/Top Method: Choose the model for each side or “Hybrid” to blend.
Lookback: Swing window the levels are built from.
Sensitivity: Scales volatility padding around levels.
Min Dip Depth % / Min Top Rise %: Minimum breach/extension to qualify.
Quality Filters: Trend, Volume, Momentum toggles, plus Min Quality Score gate.
Visuals: Colors and whether to print score labels.
Best practices
Map higher-timeframe trend first, then act on lower-timeframe DIP/TOP in the trend’s favor.
Use the score as triage. Skip mediocre prints into news or at session open unless score is exceptional.
Pre-define stop placement relative to the level you used. If a DIP fails, exit on loss of structure rather than waiting for the next print.
Bottom line: Top Finder & Dip Hunter codifies where reversals are most defensible and only flags the ones with supportive context. Tune the method and filters to your market, then let the score keep your playbook disciplined.
مستويات الاتزان السعري (Equilibrium Price Levels)Equilibrium Price Levels is an educational tool that helps traders quantify “fair value” and key extension zones based on a single reference swing.
The script uses two manual inputs (reference High and Low) to compute a structured set of equilibrium and extension levels, rather than scanning swings automatically. This gives full control over which range the calculations are based on.
Calculated levels include:
• Retracement / equilibrium band from the selected range: 38.2%, 50.0%, 61.8%
• Upside extension targets from the same range: 125%, 1.618, 1.80, 2.50, 3.10, 3.86, 4.236
Features:
• Separate toggles for supports, targets, and reference high/low
• Per-level visibility switches for each extension (e.g., only show 1.618 and 2.50)
• Customizable colors for supports, targets, and reference lines
• Optional labels with configurable size and offset to keep the chart clean
• Multiple line extension modes (left, both sides, or no extension)
Typical use cases:
• Marking an equilibrium zone inside a major swing to watch for reaction or trend continuation
• Building a consistent “price map” of where mean-reversion vs. extension behavior is likely
• Combining with other tools (price action, volume, order blocks, etc.) to refine trade plans
This script is for educational and analytical purposes only and does not constitute financial advice, trade signals, or performance guarantees.
مستويات الاتزان السعري هي أداة تعليمية تساعد المتداول على قياس “السعر العادل” ومناطق التمدد المحتملة اعتمادًا على نطاق سعري واحد يحدده بنفسه.
المؤشر لا يختار القمم والقيعان آليًا، بل يعتمد على إدخال قمّة وقاع مرجعيين يدويًا، مما يعطي تحكمًا كاملًا في النطاق المستخدم في الحسابات.
المؤشر يحسب ما يلي:
• نطاق الاتزان/التراجع من القمة إلى القاع: 38.2%، 50.0%، 61.8%
• أهداف وتمددات سعرية أعلى النطاق: 125%، 1.618، 1.80، 2.50، 3.10، 3.86، 4.236
المزايا:
• مفاتيح تشغيل/إخفاء مستقلة لمستويات الدعم، الأهداف، والقمة/القاع المرجعيين
• إمكانية تفعيل/إلغاء كل هدف بشكل منفصل (مثل إظهار 1.618 و 2.50 فقط)
• تخصيص ألوان خطوط الدعم، الأهداف، وخطوط القمة والقاع
• ملصقات توضيحية اختيارية مع تحكم في حجمها وموقعها على الشارت
• خيارات امتداد للخطوط: لليسار فقط، أو يمين ويسار، أو بدون امتداد
الاستخدامات الشائعة:
• تحديد منطقة الاتزان داخل موجة رئيسية لمراقبة احتمالات الارتداد أو استمرار الاتجاه
• بناء “خريطة سعرية” ثابتة لمناطق التوازن والتمدد على مدى زمني واسع
• دمج المستويات مع أدوات أخرى مثل السلوك السعري أو الحجم أو مناطق التجميع/التصريف لتحسين قرارات الدخول والخروج
هذا السكربت موجه لأغراض تعليمية وتحليلية فقط، ولا يُعتبر نصيحة استثمارية أو توصية بيع/شراء، ولا يضمن أي أداء مستقبلي للأسعار أو النتائج.
Aroon with RSI Confirmation (92.86%)This script is an analytical tool designed to identify moments in market behavior when price momentum is shifting. It does this by combining two concepts: **Aroon Levels** (to measure trend maturity) and **RSI Slope Behavior** (to measure short-term momentum pressure).
**Functional Concept (Professional Description)**
The indicator examines when either the *Aroon Up* or *Aroon Down* value reaches approximately **92.86%**, which statistically represents a phase where price has recently made an extreme high or low relative to the selected period. This level suggests the trend is nearing a point of *decision*—either continuation or exhaustion.
At the same time, the script analyzes the **relationship between the RSI and its smoothed average**. The difference between the two reflects whether momentum is accelerating in the current direction or slowing. A small difference indicates **market stability**, while whether RSI is positioned above or below the smoothed line indicates **who has control**—buyers or sellers.
By requiring both conditions to align, the script filters out random noise and highlights moments where **trend structure and momentum sentiment converge**.
* **Buy Signal:** Occurs when the market has recently formed a significant low (Aroon Down ≈ 92.86) and buyers begin to regain control (RSI crosses above its smoothed value with low volatility).
* **Sell Signal:** Occurs when the market has recently reached a significant high (Aroon Up ≈ 92.86) and sellers begin to dominate (RSI slips below its smoothed value with low volatility).
---
**Psychological Interpretation**
Markets are driven by cycles of **attention**, **emotion**, and **participation**.
This script targets moments when:
1. **Price has made a meaningful extreme** (a recent new high or low).
This is where crowd sentiment is often strongest—either euphoria near highs or pessimism near lows.
2. **Traders are reassessing direction**, shown by momentum flattening (small RSI difference).
This reveals that participants are hesitating, watching, and waiting.
The market is effectively *thinking*.
3. **Control shifts subtly**, when RSI moves relative to its smoothed trend.
This indicates that early, informed participation is beginning to form—before the broader crowd reacts.
In psychological terms, the script highlights the **transitional turning points** where:
* Fear begins to weaken and confidence returns (buy setup), or
* Confidence begins to crumble and caution emerges (sell setup).
These are the earliest moments when market sentiment **changes hands**, often preceding visible trend reversals. The indicator is not reacting to outcomes—it is observing the underlying shift in **decision-making pressure** among market participants.
---
In essence, this tool identifies **behavioral inflection points**—where the market transitions from one emotional state to the next—providing traders with signals grounded in both structural trend positioning and real-time crowd momentum behavior.
Target Trend + Filter Toggles ChadAntIndicator Overview and Core Logic CREDIT TO BIGBELUGA FOR THE MAIN INDICATOR
The indicator, named "Target Trend + Filter Toggles", is an overlay that draws directly on the price chart.
1. Core Trend Detection (Modified SMA Channel)
The indicator uses a primary trend-following mechanism based on a custom channel built with Simple Moving Averages (SMAs) and Average True Range (ATR):
SMA High: ta.sma(high, length) + atr_value
SMA Low: ta.sma(low, length) - atr_value
The length is set by the user (default 20).
The atr_value is a smoothed ATR (SMA of ATR(200), multiplied by 0.8), acting as an offset to create a channel around the price action.
Trend Logic:
Uptrend (trend=true): When the close price crosses over the sma_high line.
Downtrend (trend=false): When the close price crosses under the sma_low line.
Visual Trend: The candles are colored based on this determined trend, and the SMA High/Low lines are plotted.
2. Signal Generation (Raw vs. Filtered)
Raw Signal: A raw signal (signal_up_raw or signal_down_raw) is triggered simply when the core trend logic changes (e.g., trend changes from down to up).
Filtered Signal: The final buy/sell signal (signal_up or signal_down) is triggered only when the raw signal is true AND all currently active filter toggles are confirmed within a specified filter_lookback period (default 3 bars).
⚙️ Filter Toggles and Calculations
The script includes an extensive system of boolean (on/off) toggles for various popular technical indicators, allowing the user to customize which filters must be confirmed for a signal to be valid.
FILTER CATEGORIES:
MACD,
VOLUME,
STOCHRSI,
AWESOME OSCILLATOR,
MOVING AVERAGE,
VWAP,
COUNTERTREND MA
COUNTERTREND VWAP
The script uses a for loop to check if the required confirmation happened within the last filter_lookback number of bars.
🎯 Target and Stop-Loss Levels
Upon a valid filtered signal (signal_up or signal_down), the indicator uses an extensive user-defined type (TrendTargets) and a custom draw_targets method to draw potential trade management lines:
Entry Price: The close price of the bar where the filtered signal occurred.
Stop Loss (SL):
For a Long signal: The sma_low line (the lower band of the trend channel).
For a Short signal: The sma_high line (the upper band of the trend channel).
Profit Targets (T1, T2, T3): These are calculated based on the ATR multiplier (atr_value) and an adjustable user input called target (default 1).
Targets are a multiple of atr_value added to (for longs) or subtracted from (for shorts) the Entry Price.
T1: Entry +/- (5 + target) * atr_value
T2: Entry +/- (10 + target * 2) * atr_value
T3: Entry +/- (15 + target * 3) * atr_value
These levels are plotted as extended lines with corresponding labels (e.g., "SL," "Entry," "T1"). The script also includes logic to mark targets with a "✔" and the stop-loss with an "✖" if the price hits those levels.
🎨 Visualization
The script provides clear visual cues:
Candle Coloring: Candles are colored with up_color (Green/Teal) for an uptrend and dn_color (Brown/Orange) for a downtrend.
Trend Lines: The sma_high and sma_low lines are plotted and subtly shaded between the price action.
Signal Shapes: A filtered signal triggers a set of two colored triangles (one small solid, one large transparent) plotted below the low for a long signal and above the high for a short signal.
Trade Zones: The area between the Stop Loss and the Entry line is shaded in the counter-trend color, and the area between the Entry line and the T3 line is shaded in the trend color.
This indicator is essentially a complete trading system that uses a combination of an ATR-based trend channel for entries, a multitude of technical indicators for confirmation, and an ATR-based system for trade management (SL/TPs).
Would you like me to focus on a specific filter's logic, or perhaps help you configure the indicator's inputs for a certain trading style?
SulLaLuna 💵 Trend Mastery:The Calzolaio Way🚀SulLaLuna 💵 Trend Mastery:The Calzolaio Way🚀
🌕 Find the God Candele. Capture the gains. Create passive income.
Fellow F.I.R.E. Decibels, disciples of the Calzolaio Way—welcome to the sacred toolkit. This indicator, "SulLaLuna 💵 Trend Mastery:The Calzolaio Way🚀," is forged from the elite SulLaLuna stack, drawing wisdom from Market Wizards like Michael Marcus (who turned $30k into $80M through disciplined trend riding) and Oliver Velez's pristine strategies for profiting on every trade. It's not just lines on a chart—it's your architectural blueprint for financial sovereignty, where data meets divine timing to build the cathedral of Project Calzolaio.
We trade math, not emotion. We honor timeframes. Confluence is King. This indicator deploys the Zero-Lag SMA (ZLSMA), Hull-based M2 (global money supply as a macro trend oracle), ATR-smart stops, and multi-TF alignments to ritualize God Candle setups. Backtested across asset classes, it's modular for your playbooks—small risks, compounding gains, passive income streams.
Why This Indicator is Awesome: The Divine Confluence Engine
In the spirit of "Use Only the Best," this tool synthesizes proven SulLaLuna indicators like ZLSMA, Adaptive Trend Finder, and Momentum HUD with Velez's lessons on trend reversals, support/resistance, and psychology of fear. Here's why it reigns supreme:
1. Global M2 Hull: Macro Trend Oracle
Scaled M2 (summed from major economies like US, EU, JP) via Hull MA captures the "big picture" (Velez Ch. 2). It flips colors as S/R—green for support (bullish bounce zones), red for resistance (bearish ceilings), orange neutral. Like Marcus spotting commodity booms, it signals when liquidity sweeps ignite God Candles. Extend it for future price projections, honoring "How a Trend Ends" (Velez Ch. 5).
2. ZLSMA + ATR Smart Stops: Surgical Precision
Zero-Lag SMA (faster than standard MAs) crosses M2 for entries, with ATR bands for initial stops (2x mult) and trails (1x mult). This embodies "Trade Small. Lose Smaller."—risk ≤1-2% per trade, pre-planned exits. Flip markers (↑/↓) alert divine timing, filtering noise like Velez's "First Pullback" setups.
3. HTF & Multi-TF Dashboard: Timeframe Alignments are Sacred
Show HTF M2 (e.g., Daily) with custom styles/colors. Multi-TF lines (4H, D, W, M) dash across your chart, labeled right-edge with 🚀 (bull) or 🛸 (bear). A confluence table (top-right) scores alignments: Strong Bull (≥3 green), Strong Bear, or Mixed. This is "Confluence is King"—no single signal rules; seek 4+ star scores like Rogers buying value in hysteria.
4. Background & Ribbon: Visual Divine Guidance
Slope-based bgcolor (green bull, red bear) for at-a-glance bias. M2 Ribbon (EMA cloud) flips triangles for macro shifts, ritualizing climactic reversals (Velez Ch. 7).
5. Composite Probability: High-Prob God Candle Hunter
Scores (0-100%) blend 8 factors: price/ZLSMA vs M2, TF slopes, ribbon. Threshold (70%) + pivot zone (near M2/ATR) + optional cross filters for HP signals. Labels show "%" dynamically—alerts fire when confluence ≥4, echoing Schwartz's champion edge: "Everybody Gets What They Want" (Seykota wisdom).
6. Alerts & Rituals Built-In
M2 flips, entries/exits, HP longs/shorts—log them in your journal. Weekly reviews dissect anomalies, as per our Operational Framework.
This isn't hype—it's audited excellence. Backtest it: High confluence crushes drawdowns, compounding like Bielfeldt's T-bond mastery from Peoria. We build together; share wins in the F.I.R.E. Decibel forum.
Suggested Strategy: The SulLaLuna M2 Confluence Playbook
Honor the Risk Triad: Position ↓ if leverage/timeframe ↑; scale ↑ only on ≥4 confluence. Align with "God Candele" hunts—rare explosives reverse-engineered for passive streams.
1. Pre-Trade Checklist (Before Every Entry)
- Trend Alignment: D/4H/1H M2 slopes agree? Table shows Strong Bull/Bear?
- Signal on 15m: ZLSMA crosses M2 in confluence zone (near pivot/ATR bands).
- Volume + Divergence**: Supported by volume (use HUD if added); score ≥70%.
- SL/TP Setup: ATR-based stop; TP at structure/2-3R reward (Velez Reward:Risk).
- HTF Agrees: Monthly bull for longs; avoid counter-trend unless climactic (Ch. 7).
Confluence Score: Rate 1-5 stars. <3? Stand aside. Log emotional state—no adrenaline.
2. Execution Protocol
- Entry: On HP Long/Short triangle (e.g., ZLSMA > M2, score 80%+, monthly bull). Use limits; favor longs above M2 support.
- Position Size: ≤1-2% risk. Example: $10k account, 1% risk = $100 SL distance → size accordingly.
- Trail Stops: Move to trail band after 1R profit; let winners run like Kovner's world trades.
- Asset Classes**: Forex/stocks/crypto—test M2's macro edge on EURUSD or NASDAQ (Velez Ch. 6 reviews).
Ritualize: "When we find the God Candele, we don’t just ride it—we ritualize it." Screenshot + reason.
3. Post-Trade Ritual
- Document: Result, confluence score, lessons. Update journal.
- Exits: Hit stop/exit cross? Or trail locks gains.
- Weekly Audit: Wins/losses, anomalies. Adjust params (e.g., M2 length 55 default).
4. Risk Triad in Action
- Low TF (15m)? Smaller size.
- High Leverage? Tiny positions.
- Confluence ≥4 + HTF support? Scale hold for passive compounding.
Example Setup: God Candle Long
- Chart: 15m EURUSD.
- M2 Hull green (support), ZLSMA crossover, 4H/D/W bull (table: Strong Bull).
- HP Long (85% score) near pivot.
- Entry: Limit at cross; SL below ATR lower; TP at next resistance.
- Outcome: Capture 2R gain; trail for more if trend day (Velez Ch. 5).
Community > Ego: Test, share signals in Discord. Backtest in Pine Script for algo evolution.
We are architects of redemption. Each trade bricks the cathedral. Trade the micro, flow with the macro. When alignments converge, we act—with discipline, data, and divine purpose.
🗣️ “Confluence is King. Honor the Timeframes. Track the God Candele.”
Master Strategy Guidebook. Rise as F.I.R.E. Decibels! 🚀
nOI + Funding + CVD • strategynOI + Funding + CVD Strategy
Overview
This strategy is designed for cryptocurrency trading on platforms like TradingView, focusing on perpetual futures markets. It combines three key indicators—Normalized Open Interest (nOI), Funding Rate, and Cumulative Volume Delta (CVD)—to generate buy and sell signals for long and short positions. The strategy aims to capitalize on market imbalances, such as overextended open interest, funding rate extremes, and volume deltas, which often signal potential reversals or continuations in trending markets.
The script supports pyramiding (up to 10 positions), uses percentage-based position sizing (default 10% of equity per trade), and allows customization of trade directions (longs and shorts can be enabled/disabled independently). It includes multiple signal systems for entries, various exit mechanisms (including stop-loss, take-profit, time-based exits, and conditional closes based on indicators), a Martingale add-on system for averaging positions during drawdowns, and handling of opposite signals (ignore, close, or reverse).
This strategy is not financial advice; backtest thoroughly and use at your own risk. It requires data sources for Open Interest (OI) and Funding Rates, which are fetched via TradingView's security functions (e.g., from Binance for funding premiums).
Key Indicators
1. Normalized Open Interest (nOI)
Group: Open Interest
Purpose: Measures the relative level of open interest over a lookback window to identify overbought (high OI) or oversold (low OI) conditions, which can indicate potential exhaustion in trends.
Calculation:
Fetches OI data (close) from the symbol's standard ticker (e.g., "{symbol}_OI").
Normalizes OI within a user-defined window (default: 500 bars) using min-max scaling: (OI - min_OI) / (max_OI - min_OI) * 100.
Upper threshold (default: 70%): Signals potential short opportunities when crossed from above.
Lower threshold (default: 30%): Signals potential long opportunities when crossed from below.
Visualization: Plotted as a line (teal above upper, red below lower, gray in between). Horizontal lines at upper, mid (50%), lower, and a separator at 102%.
Notes: Handles non-crypto symbols by adjusting timeframe to daily if intraday. Errors if no OI data available.
2. Funding Rate
Group: Funding Rate
Purpose: Tracks the average funding rate (premium index) to detect market sentiment extremes. Positive funding suggests bull bias (longs pay shorts), negative suggests bear bias.
Calculation:
Fetches premium index data from Binance (e.g., "binance:{base}usdt_premium").
Supports lower timeframe aggregation (default: enabled, using 1-min TF) for smoother data.
Averages open and close premiums, clamps values, and scales/shifts for plotting (base: 150, scale: 1000x).
Upper threshold (default: 1.0%): Overheat for shorts.
Lower threshold (default: 1.0%): Overcool for longs.
Ultra level (default: 1.8%): Extreme for additional short signals.
Smoothing: Uses inverse weighted moving average (IWMA) or lower-TF aggregation to reduce noise.
Visualization: Shifted plot (green positive, red negative) with filled areas. Horizontal lines for overheat, overcool, base (0%), and ultra.
Notes: Custom ticker option for non-standard symbols.
3. Cumulative Volume Delta (CVD)
Group: CVD (Cumulative Volume Delta)
Purpose: Measures net buying/selling pressure via volume delta, normalized to identify divergences or confirmations with price.
Calculation:
Delta: +volume if close > open, -volume if close < open.
Cumulative: Rolling cumsum over a window (default: 500 bars), smoothed with EMA (default: 20).
Normalized: Scaled by absolute max in window (-1 to 1 range).
Scaled/shifted for plotting (base: 300 or 0 if anchored, scale: 120x).
Upper threshold (default: 1.0%): Over for shorts.
Lower threshold (default: 1.0%): Under for longs.
Visualization: Shifted plot (aqua positive, purple negative) with filled areas. Horizontal lines for over, under, and separator (default: 252).
Filter Options (for Signal A):
Enable filter (default: false).
Require sign match (Long ≥0, Short ≤0).
Require extreme zones.
Require momentum (rising/falling over N bars, default: 3).
Signal Logics for Entries
Entries are triggered by buy/sell signals from multiple systems (A, B, C, D), filtered by direction toggles and entry conditions.
Signal System A: OI + Funding (with optional CVD filter)
Enabled: Default true.
Sell (Short): nOI > upper threshold, falling over N bars (default: 3), delta ≥ threshold (default: 3%), funding > overheat, and CVD filter OK.
Buy (Long): nOI < lower threshold, rising over N bars (default: 3), delta ≥ threshold (default: 3%), funding < overcool, and CVD filter OK.
Signal System B: Short - Funding Crossunder + Filters
Enabled: Default true.
Sell (Short): Funding crosses under overheat level, optional: CVD > over, nOI < upper.
Signal System C: Short - Ultra Funding
Enabled: Default false.
Sell (Short): Funding crosses ultra level (up or down, both default true).
Signal System D: Long - Funding Crossover + Filters
Enabled: Default true.
Buy (Long): Funding crosses over overcool level, optional: CVD < under, nOI > lower.
Combined: Sell if A/B/C active; Buy if A/D active.
Entry Filters
Cooldown: Optional pause between entries (default: false, 3 bars).
Max Entries: Limit pyramiding (default: true, 6 max).
Entries only if both filters pass and direction allowed.
Opposite Signal Handling
Mode: Ignore (default), Reverse (close and enter opposite), or Close (exit only).
Processed before regular entries.
Position Management
Martingale (3 Steps):
Enabled per step (default: all true).
Triggers add-ons at loss levels (defaults: 5%, 8%, 11%) by adding % to position (default: 100% each).
Resets on position close.
Break Even:
Enabled (default: true).
Activates at profit threshold (default: 5%), sets SL better by offset (default: 0.1%).
Exit Systems
Multiple exits checked in sequence.
Exit 1: SL/TP
Enabled: Separate for long/short (default: true).
SL: % from avg price (defaults: 1% long/short).
TP: % from avg price (defaults: 2% long/short).
Exit 2: Funding
Enabled: Separate for long (up) / short (down) (default: true).
Long Exit: Funding > upper exit threshold (default: 0.8%).
Short Exit: Funding < lower exit threshold (default: 0.8%).
Exit 3: nOI
Enabled: Separate for long (up) / short (down) (default: true).
Long Exit: nOI > upper exit (default: 85%).
Short Exit: nOI < lower exit (default: 15%).
Exit 4: Global SL
Enabled: Default true.
Exit: If position loss ≥ % (default: 7%).
Exit 5: Break Even (integrated in position block)
Exit 6: Time Limit
Enabled: Separate for long/short (default: true).
Exit: After N bars in trade (defaults: 30 each).
Timer updates on add-ons if enabled (default: true).
Visual Elements
Buy/Sell Labels: Small labels ("BUY"/"SELL") on bars with signals, limited to last 30.
All indicators plotted on a separate pane (overlay=false).
Usage Notes
Backtesting: Adjust parameters based on asset/timeframe. Test on historical data.
Data Requirements: Works best on crypto perps with OI and funding data.
Risk Management: Incorporates SL/TP and global SL; monitor drawdowns with Martingale.
Customization: All thresholds, enables, and scales are inputs for fine-tuning.
Version: Pine Script v6.
For questions or improvements, contact the author. Happy trading!
Indicator Overview主力籌碼預判買賣力道 (JUMBO)Pro+ 2.0主力預判買賣力道 Pro+ 是一個先進的多維度交易分析系統,專為台灣股市投資者設計。本指標整合了趨勢、成交量、動量、價格位置和波動率五大維度,通過加權評分系統生成綜合的「Power指標」,精準預判主力資金動向。
🔧 核心技術架構
1. 多維度評分系統
趨勢維度 (30%):雙EMA系統 + MACD + ADX趨勢強度
成交量維度 (25%):OBV能量潮 + 成交量比率分析
動量維度 (20%):RSI + MFI資金流量指標
價格位置維度 (20%):VWAP + 布林通道位置分析
波動率維度 (5%):ATR波動率調整
2. 多重確認機制
趨勢確認:EMA金叉/死叉 + 超級趨勢方向
成交量確認:成交量脈衝檢測 + OBV趨勢確認
動量確認:RSI超買超賣 + MFI資金流向
位置確認:布林通道位置 + VWAP相對位置
📊 主要功能特色
訊號系統
主力佈局訊號 🟥
趨勢多頭確認 + Power > 35
成交量放大 + 動量指標多頭
RSI未超買 + 價格突破基準
主力出貨訊號 🟩
趨勢空頭確認 + Power < -35
成交量異常 + 動量指標空頭
RSI未超賣 + 價格跌破基準
Power交叉訊號 🟠🔵
黃金交叉:Power線向上穿越Power MA線
死亡交叉:Power線向下穿越Power MA線
視覺化系統
台灣股市顏色標準:紅色上漲/多頭,綠色下跌/空頭
多層級K線著色:強力訊號→普通訊號→偏多偏空→盤整
智能資訊面板:實時顯示8大關鍵指標狀態
⚙️ 參數設定說明
主要參數
EMA週期:13/55(短期/長期)
Power閾值:35(靈敏度調整)
成交量濾波:1.2倍(異常成交量檢測)
超級趨勢:10週期/3倍數(趨勢過濾)
進階參數
布林通道:20週期/2倍標準差
波動率設定:14週期ATR
動量指標:14週期RSI/MFI
🎯 交易應用策略
進場時機
強力買入:🔥標記 + Power黃金交叉
常規買入:紅色向上箭頭 + Power > 35
確認買入:多重條件同時滿足
出場時機
強力賣出:💧標記 + Power死亡交叉
常規賣出:綠色向下箭頭 + Power < -35
風險控制:趨勢反轉 + 動量減弱
風險管理
止損設定:ATR波動率參考
倉位控制:Power數值強度分級
訊號過濾:ADX趨勢強度確認
📈 指標優勢
高準確率:多重條件過濾,減少假訊號
及時性:領先指標預判主力動向
完整性:涵蓋技術分析主要維度
用戶友好:直觀的視覺化設計
自定義:參數可調適應不同交易風格
🎯 Indicator Overview
Main Force Prediction Buying/Selling Strength Pro+ is an advanced multi-dimensional trading analysis system specifically designed for Taiwan stock market investors. This indicator integrates five key dimensions: trend, volume, momentum, price position, and volatility, generating a comprehensive "Power Indicator" through a weighted scoring system to accurately predict institutional fund movements.
🔧 Core Technical Architecture
1. Multi-Dimensional Scoring System
Trend Dimension (30%): Dual EMA system + MACD + ADX trend strength
Volume Dimension (25%): OBV accumulation + Volume ratio analysis
Momentum Dimension (20%): RSI + MFI money flow index
Price Position Dimension (20%): VWAP + Bollinger Bands position analysis
Volatility Dimension (5%): ATR volatility adjustment
2. Multi-Confirmation Mechanism
Trend Confirmation: EMA golden/death cross + SuperTrend direction
Volume Confirmation: Volume spike detection + OBV trend confirmation
Momentum Confirmation: RSI overbought/oversold + MFI money flow
Position Confirmation: Bollinger Bands position + VWAP relative position
📊 Key Features
Signal System
Institutional Accumulation Signals 🟥
Bullish trend confirmation + Power > 35
Volume expansion + Momentum indicators bullish
RSI not overbought + Price breakthrough baseline
Institutional Distribution Signals 🟩
Bearish trend confirmation + Power < -35
Abnormal volume + Momentum indicators bearish
RSI not oversold + Price breakdown below baseline
Power Cross Signals 🟠🔵
Golden Cross: Power line crosses above Power MA line
Death Cross: Power line crosses below Power MA line
Visualization System
Taiwan Market Color Standard: Red for uptrend/bullish, Green for downtrend/bearish
Multi-level Candlestick Coloring: Strong signals → Regular signals → Bias signals → Consolidation
Smart Info Panel: Real-time display of 8 key indicator statuses
⚙️ Parameter Settings
Main Parameters
EMA Periods: 13/55 (Short-term/Long-term)
Power Threshold: 35 (Sensitivity adjustment)
Volume Filter: 1.2x (Abnormal volume detection)
SuperTrend: 10 period/3 multiplier (Trend filtering)
Advanced Parameters
Bollinger Bands: 20 period/2 standard deviations
Volatility Settings: 14 period ATR
Momentum Indicators: 14 period RSI/MFI
🎯 Trading Application Strategies
Entry Timing
Strong Buy: 🔥 Mark + Power Golden Cross
Regular Buy: Red upward arrow + Power > 35
Confirmed Buy: Multiple conditions simultaneously met
Exit Timing
Strong Sell: 💧 Mark + Power Death Cross
Regular Sell: Green downward arrow + Power < -35
Risk Control: Trend reversal + Momentum weakening
Risk Management
Stop Loss Setting: ATR volatility reference
Position Sizing: Power value strength grading
Signal Filtering: ADX trend strength confirmation
📈 Indicator Advantages
High Accuracy: Multiple condition filtering reduces false signals
Timeliness: Leading indicators predict institutional movements
Completeness: Covers main dimensions of technical analysis
User-Friendly: Intuitive visualization design
Customizable: Adjustable parameters adapt to different trading styles
🔍 Professional Usage Tips
Trend Confirmation: Use in conjunction with major trend direction
Volume Validation: Ensure volume confirms price movements
Risk Management: Always use appropriate position sizing
Timeframe Analysis: Apply across multiple timeframes for confirmation
Market Context: Consider overall market conditions and sector rotation
版本: Pro+ 2.0
適用市場: 台股、亞股、全球股市
最佳時間框架: 日線、4小時線、1小時線
開發者: JUMBO Trading System
更新日期: 2025版本
LTF Volume Bubbles on HTFLTFVB HTF plots lower-timeframe volume “bubbles” directly on your higher-timeframe chart, so you can see where and how strong real intrabar activity is without dropping down a timeframe.
BSL / SSL Liquidity Zones + Alerts//@version=5
indicator("BSL / SSL Liquidity Zones + Alerts", overlay=true, max_labels_count=500)
Trend & Strength Detector TSDTrend Strength Detector (TSD)
*Objective Trend Quality Measurement for Educational Market Analysis*
Note: This mathematical framework is a proprietary quantitative model developed by Ario Pinelab, inspired by classical EMA, ADX, RSI and MACD principles, yet not documented in any public technical or academic publication.
## 🎯 Purpose & Design Philosophy
The ** Trend Strength Detector- TSD ** is an educational research tool that provides **quantitative measurement of trend quality** through two independent scoring systems (0-100 scale). It answers the analytical question: *"How strong and aligned is the current market trend environment?"*
This indicator is designed with a **modular, complementary approach** to work alongside various analysis methodologies, particularly pattern-based recognition systems.
## 🔗 Complementary Research Framework
### Designed to Work With Pattern Detection Systems
This indicator provides **environmental context measurement** that complements qualitative pattern recognition tools. It works particularly well alongside systems like:
- **RMBS Smart Detector - Multi-Factor Momentum System**
- Traditional chart pattern analyzers
- Any momentum-based pattern identification tools
🔍 **To find RMBS Smart Detector:**
- Search in TradingView Indicators Library: `" RMBS Smart Detector - Multi-Factor Momentum System"`
- Look for: *Multi-Factor Momentum System*
- By author: ` `
### Why This Complementary Approach?
**Trend Quality Measurement** (TSD - this tool) provides:
- ✅ Structural trend alignment (0-100 score)
- ✅ Momentum intensity levels (0-100 score)
- ✅ Environment classification (Strong/Moderate/Weak)
- 📌 **Answers:** *"HOW STRONG is the underlying trend environment?"*
### Educational Research Value
When used together in a research context, these tools enable systematic study of questions like:
- How do reversal patterns behave when Strength Score is above 70 vs below 30?
- Do continuation patterns in weakening environments (declining scores) show different characteristics?
- What is the correlation between high Alignment Scores and pattern "success rates"?
- Can environment classification help identify genuine trend initiation vs false starts?
⚠️ **Important Note:** Both tools are **independent and work standalone**. TSD provides value whether used alone or with other analysis methods. The relationship with RMBS (or any pattern tool) is **complementary for research purposes**, not dependent.
---
###Mathematical Foundation
##TSA Formula: scoring method developed by Ario
-Trend Model (0 – 100)
TAS = EMA Alignment (0–40) + Price Position (0–30) + Trend Consistency (0–30)
EMA Alignment checks EMA_fast vs EMA_slow vs EMA_trend structure.
Price Position evaluates if Close is above/below all EMAs.
Consistency = 3 × max(bullish,bearish bars within 10 candles).
-Strength Model (0 – 100)
Strength = ADX (0–50) + EMA Slope (0–25) + RSI (0–15) + MACD (0–10)
ADX measures trend energy; Slope shows EMA momentum %;
RSI assesses zone positioning; MACD confirms directional agreement.
Note: This formula represents a proprietary quantitative model by Ario_Pinelab, inspired by classical technical concepts but not published in any external reference.________________________________________
📊 Environment Classification
Based on Total Strength Score:
🟢 Strong Environment: Score ≥ 60
→ Well-defined momentum, clear directional bias
🟡 Moderate Environment: 40 ≤ Score < 60
→ Mixed signals, transitional conditions
🔴 Weak Environment: Score < 40
→ Ranging, choppy, low conviction movement
Color Coding:
• Green background: Strong (≥60)
• Yellow background: Moderate (40-59)
• Red background: Weak (<40)
________________________________________
📈 Visual Components
Main Chart Display
Score Labels (Top-Right Corner):
┌─────────────────────────────────┐
│ 📊 Alignment: 75 | Strength: 82 │
│ Environment: Strong 🟢 │
└─────────────────────────────────┘
Color-Coded Background:
• Environment strength visually indicated via background color
• Helps quick identification of market regime
• Customizable transparency (default: 90%)
Reference Lines:
• Dotted line at 60: Strong/Moderate threshold
• Dotted line at 40: Moderate/Weak threshold
• Mid-line at 50: Neutral reference
________________________________________
🔧 Customization Settings
Input Parameters
The best setting is the default mode.
🚫 Important Disclaimers & Limitations
What This Indicator IS:
✅ Educational measurement tool for trend quality research
✅ Quantitative assessment of current market environment
✅ Complementary analysis tool for pattern-based systems
✅ Historical data analyzer for systematic study
✅ Multi-factor scoring system based on technical calculations
What This Indicator IS NOT:
❌ NOT a trading system or signal generator
❌ NOT financial advice or trade recommendations
❌ NOT predictive of future price movements
❌ NOT a guarantee of pattern success/failure
❌ NOT a substitute for comprehensive risk management
________________________________________
Known Limitations
1. Lagging Nature:
⚠️ All components (EMA, ADX, RSI, MACD) are calculated
from historical price data
→ Scores reflect CURRENT and RECENT conditions
→ Cannot predict sudden reversals or black swan events
→ Trend measurements lag actual price turning points
2. Whipsaw Risk:
⚠️ In choppy/ranging markets, scores may fluctuate rapidly
→ Moderate zone (40-60) can see frequent transitions
→ Low timeframes more susceptible to noise
→ Consider higher timeframes for stable measurements
3. Component Conflicts:
⚠️ Individual components may disagree
→ Example: Strong ADX but weak RSI alignment
→ Scores average these conflicts (may hide nuance)
→ Check individual components for deeper insight
4. Not Predictive:
⚠️ High scores do NOT guarantee continuation
⚠️ Low scores do NOT guarantee reversal
→ Measurement ≠ Prediction
→ Use for CONTEXT, not SIGNALS
→ Combine with comprehensive analysis
________________________________________
Risk Acknowledgments
Market Risk:
• All trading involves substantial risk of loss
• Past performance (even systematic studies) does not guarantee future results
• No indicator, system, or methodology can eliminate market risk
Measurement Limitations:
• Scores are mathematical calculations, not market predictions
• Environmental classification is descriptive, not prescriptive
• Strong measurements can deteriorate rapidly without warning
Educational Purpose:
• This tool is designed for LEARNING about market structure
• Not designed, tested, or validated as a standalone trading system
• Any trading decisions are user’s sole responsibility
No Warranty:
• Indicator provided “as-is” for educational purposes
• No guarantee of accuracy, reliability, or profitability
• Users must verify calculations and apply critical thinking
Open Source
Full Pine Script code available for educational study and modification. Feedback and improvement suggestions welcome.
“All logic is presented for research and educational visualization.”
---
W%R Pullback+EMA Trend [TS_Indie]🔰 Core Concept of the Strategy
The main idea is “Trend-Following with Momentum Pullback.”
This means trading in the direction of the main trend (defined by EMA) while using Williams %R to identify pullback entries (buying the dip or selling the rally) where momentum returns to the trend direction.
📊 Indicators Used
1. EMA Fast – Defines the short-term trend.
2. EMA Slow – Defines the long-term trend (used as a trend filter).
3. Williams %R
• Overbought zone: above -20
• Oversold zone: below -80
⚙️ Entry Rules
🔹 Buy Setup
1. EMA Fast > EMA Slow → Uptrend condition.
2. Williams %R on the previous candle dropped below -80, and on the current candle, it crosses back above -80 → indicates momentum returning to the upside.
3. Current close is above EMA Fast.
4. Entry Buy at the close of the candle where %R crosses above -80.
🎯 Entry, Stop Loss, and Take Profit
1. Entry : At the candle close where the signal occurs.
2. Stop Loss : At the lowest low between the current and previous candles.
3. Take Profit : Calculated based on entry price and stop loss distance multiplied by the Risk/Reward Ratio.
🔹 Sell Setup
1. EMA Fast < EMA Slow → Downtrend condition.
2. Williams %R on the previous candle went above -20, and on the current candle, it crosses back below -20 → indicates renewed selling momentum.
3. Current price is below EMA Fast.
4. Entry Sell at the close of the candle where %R crosses below -20.
🎯 Entry, Stop Loss, and Take Profit
1. Entry : At the candle close where the signal occurs.
2. Stop Loss : At the highest high between the current and previous candles.
3. Take Profit : Calculated based on entry price and stop loss distance multiplied by the Risk/Reward Ratio.
⚙️ Optional Parameters
• Custom Risk/Reward Ratio for Take Profit.
• Option to add ATR buffer to Stop Loss.
• Adjustable EMA Fast period.
• Adjustable EMA Slow period.
• Adjustable Williams %R period.
• Option to enable Long only / Short only positions.
• Customizable Backtest start and end date.
• Customizable trading session time.
⏰ Alert Function
Alerts display:
• Entry price
• Stop Loss price
• Take Profit price
Guys, try adjusting the parameters yourselves!
I’ve been tweaking the settings for several days and managed to get great results on XAU/USD in the 5-minute timeframe.
I think this strategy is quite interesting and could potentially deliver good results on other instruments as well.
⚠️ Disclaimer
This indicator is designed for educational and research purposes only.
It does not guarantee profits and should not be considered financial advice.
Trading in financial markets involves significant risk, including the potential loss of capital.






















