Savitzky-Golay Hampel Filter | AlphaNattSavitzky-Golay Hampel Filter | AlphaNatt
A revolutionary indicator combining NASA's satellite data processing algorithms with robust statistical outlier detection to create the most scientifically advanced trend filter available on TradingView.
"This is the same mathematics that processes signals from the Hubble Space Telescope and analyzes data from the Large Hadron Collider - now applied to financial markets."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 SCIENTIFIC PEDIGREE
Savitzky-Golay Filter Applications:
NASA: Satellite telemetry and space probe data processing
CERN: Particle physics data analysis at the LHC
Pharmaceutical: Chromatography and spectroscopy analysis
Astronomy: Processing signals from radio telescopes
Medical: ECG and EEG signal processing
Hampel Filter Usage:
Aerospace: Cleaning sensor data from aircraft and spacecraft
Manufacturing: Quality control in precision engineering
Seismology: Earthquake detection and analysis
Robotics: Sensor fusion and noise reduction
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧬 THE MATHEMATICS
1. Savitzky-Golay Filter
The SG filter performs local polynomial regression on data points:
Fits a polynomial of degree n to a sliding window of data
Evaluates the polynomial at the center point
Preserves higher moments (peaks, valleys) unlike moving averages
Maintains derivative information for true momentum analysis
Originally published in Analytical Chemistry (1964)
Mathematical Properties:
Optimal smoothing in the least-squares sense
Preserves statistical moments up to polynomial order
Exact derivative calculation without additional lag
Superior frequency response vs traditional filters
2. Hampel Filter
A robust outlier detector based on Median Absolute Deviation (MAD):
Identifies outliers using robust statistics
Replaces spurious values with polynomial-fitted estimates
Resistant to up to 50% contaminated data
MAD is 1.4826 times more robust than standard deviation
Outlier Detection Formula:
|x - median| > k × 1.4826 × MAD
Where k is the threshold parameter (typically 3 for 99.7% confidence)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 WHY THIS IS SUPERIOR
vs Moving Averages:
Preserves peaks and valleys (critical for catching tops/bottoms)
No lag penalty for smoothness
Maintains derivative information
Polynomial fitting > simple averaging
vs Other Filters:
Outlier immunity (Hampel component)
Scientifically optimal smoothing
Preserves higher-order features
Used in billion-dollar research projects
Unique Advantages:
Feature Preservation: Maintains market structure while smoothing
Spike Immunity: Ignores false breakouts and stop hunts
Derivative Accuracy: True momentum without additional indicators
Scientific Validation: 60+ years of academic research
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ PARAMETER OPTIMIZATION
1. Polynomial Order (2-5)
2 (Quadratic): Maximum smoothing, gentle curves
3 (Cubic): Balanced smoothing and responsiveness (recommended)
4-5 (Higher): More responsive, preserves more features
2. Window Size (7-51)
Must be odd number
Larger = smoother but more lag
Formula: 2×(desired smoothing period) + 1
Default 21 = analyzes 10 bars each side
3. Hampel Threshold (1.0-5.0)
1.0: Aggressive outlier removal (68% confidence)
2.0: Moderate outlier removal (95% confidence)
3.0: Conservative outlier removal (99.7% confidence) (default)
4.0+: Only extreme outliers removed
4. Final Smoothing (1-7)
Additional WMA smoothing after filtering
1 = No additional smoothing
3-5 = Recommended for most timeframes
7 = Ultra-smooth for position trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 TRADING STRATEGIES
Signal Recognition:
Cyan Line: Bullish trend with positive derivative
Pink Line: Bearish trend with negative derivative
Color Change: Trend reversal with polynomial confirmation
1. Trend Following Strategy
Enter when price crosses above cyan filter
Exit when filter turns pink
Use filter as dynamic stop loss
Best in trending markets
2. Mean Reversion Strategy
Enter long when price touches filter from below in uptrend
Enter short when price touches filter from above in downtrend
Exit at opposite band or filter color change
Excellent for range-bound markets
3. Derivative Strategy (Advanced)
The SG filter preserves derivative information
Acceleration = second derivative > 0
Enter on positive first derivative + positive acceleration
Exit on negative second derivative (momentum slowing)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 PERFORMANCE CHARACTERISTICS
Strengths:
Outlier Immunity: Ignores stop hunts and flash crashes
Feature Preservation: Catches tops/bottoms better than MAs
Smooth Output: Reduces whipsaws significantly
Scientific Basis: Not curve-fitted or optimized to markets
Considerations:
Slight lag in extreme volatility (all filters have this)
Requires odd window sizes (mathematical requirement)
More complex than simple moving averages
Best with liquid instruments
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 SCIENTIFIC BACKGROUND
Savitzky-Golay Publication:
"Smoothing and Differentiation of Data by Simplified Least Squares Procedures"
- Abraham Savitzky & Marcel Golay
- Analytical Chemistry, Vol. 36, No. 8, 1964
Hampel Filter Origin:
"Robust Statistics: The Approach Based on Influence Functions"
- Frank Hampel et al., 1986
- Princeton University Press
These techniques have been validated in thousands of scientific papers and are standard tools in:
NASA's Jet Propulsion Laboratory
European Space Agency
CERN (Large Hadron Collider)
MIT Lincoln Laboratory
Max Planck Institutes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 ADVANCED TIPS
News Trading: Lower Hampel threshold before major events to catch spikes
Scalping: Use Order=2 for maximum smoothness, Window=11 for responsiveness
Position Trading: Increase Window to 31+ for long-term trends
Combine with Volume: Strong trends need volume confirmation
Multiple Timeframes: Use daily for trend, hourly for entry
Watch the Derivative: Filter color changes when first derivative changes sign
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTICES
Not financial advice - educational purposes only
Past performance does not guarantee future results
Always use proper risk management
Test settings on your specific instrument and timeframe
No indicator is perfect - part of complete trading system
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏆 CONCLUSION
The Savitzky-Golay Hampel Filter represents the pinnacle of scientific signal processing applied to financial markets. By combining polynomial regression with robust outlier detection, traders gain access to the same mathematical tools that:
Guide spacecraft to other planets
Detect gravitational waves from black holes
Analyze particle collisions at near light-speed
Process signals from deep space
This isn't just another indicator - it's rocket science for trading .
"When NASA needs to separate signal from noise in billion-dollar missions, they use these exact algorithms. Now you can too."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developed by AlphaNatt
Version: 1.0
Release: 2025
Pine Script: v6
"Where Space Technology Meets Market Analysis"
Not financial advice. Always DYOR
Oscillatori
Momentum Index [BigBeluga]The Momentum Index is an innovative indicator designed to measure the momentum of price action by analyzing the distribution of positive and negative momentum values over a defined period. By incorporating delta-based calculations and smoothing techniques, it provides traders with a clear and actionable representation of market momentum dynamics.
🔵 Key Features:
Delta-Based Momentum Analysis:
Calculates the momentum of price by comparing its current state to its value from a defined number of bars back.
Inside a loop, it evaluates whether momentum values are above or below zero, producing a delta value that reflects the net momentum direction and intensity.
Double EMA Smoothing:
Smooths the raw delta-based momentum values with a double EMA filter, reducing noise and providing a clearer trend signal.
tmi(len) =>
sum = 0.0
sum1 = 0.0
above = 0.0
below = 0.0
src_ = src - src
for i = 0 to len
sum := sum + (src_ > nz(src_ ) ? 1 : -1)
sum1 := sum1 + (sum > 0 ? 1 : -1)
sum1 := emaEma(sum1, 10)
for i = 1 to len
above := above + (sum1 > 0 ? 1 : 0)
below := below + (sum1 > 0 ? 0 : 1)
Directional Momentum Signals:
Generates momentum shift signals and displays them on both the oscillator and the main chart:
- △ Aqua Triangles: Represent upward momentum shifts.
- ▽ Red Triangles: Represent downward momentum shifts.
Dynamic Gradient Display:
Highlights momentum zones with gradient fills:
- Aqua shades for positive momentum (above zero).
- Red shades for negative momentum (below zero).
Dashboard Display:
A dashboard summarizing the count of momentum values above and below zero for the defined period (Sentiment Length e.g. 100), helping traders assess market sentiment at a glance.
🔵 How It Works:
The indicator takes price momentum as its source and evaluates the number of momentum values above and below zero within a defined period.
The delta calculation aggregates this information, providing a net representation of the prevailing market momentum.
A double EMA filter is applied to the delta values, smoothing the momentum line and enhancing signal clarity.
Momentum shifts are highlighted with visual signals on the oscillator and price chart, while the gradient display provides a visual representation of intensity.
🔵 Use Cases:
Momentum Tracking: Identify whether market momentum is predominantly bullish or bearish.
Signal Confirmation: Use chart-based signals to confirm potential trend reversals or continuation.
Analyze Market Strength: Leverage the dashboard to quickly assess the distribution of momentum over the chosen period.
Overbought/Oversold Conditions: Utilize gradient zones to detect areas of momentum extremes and possible price exhaustion.
Momentum Index offers a refined approach to analyzing momentum dynamics, combining delta-based calculations with smoothing techniques and intuitive visuals, making it an essential tool for traders looking to anticipate market movements effectively.
Fisher Volume Transform | AlphaNattFisher Volume Transform | AlphaNatt
A powerful oscillator that applies the Fisher Transform - converting price into a Gaussian normal distribution - while incorporating volume weighting to identify high-probability reversal points with institutional participation.
"The Fisher Transform reveals what statistics professors have known for decades: when you transform market data into a normal distribution, turning points become crystal clear."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎲 THE MATHEMATICS
Fisher Transform Formula:
The Fisher Transform converts any bounded dataset into a Gaussian distribution:
y = 0.5 × ln((1 + x) / (1 - x))
Where x is normalized price (-1 to 1 range)
Why This Matters:
Market extremes become statistically identifiable
Turning points are amplified and clarified
Removes the skew from price distributions
Creates nearly instantaneous signals at reversals
Volume Integration:
Unlike standard Fisher Transform, this version weights price by relative volume:
High volume moves get more weight
Low volume moves get filtered out
Identifies institutional participation
Reduces false signals from retail chop
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 KEY ADVANTAGES
Statistical Edge: Transforms price into normal distribution where extremes are mathematically defined
Volume Confirmation: Only signals with volume support
Early Reversal Detection: Fisher Transform amplifies turning points
Clean Signals: Gaussian distribution reduces noise
No Lag: Mathematical transformation, not averaging
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS OPTIMIZATION
Fisher Period (5-30):
5-9: Very sensitive, many signals
10: Default - balanced sensitivity
15-20: Moderate smoothing
25-30: Major reversals only
Volume Weight (0.1-1.0):
0.1-0.3: Minimal volume influence
0.5-0.7: Balanced price/volume
0.7: Default - strong volume weight
0.8-1.0: Volume dominant
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 TRADING SIGNALS
Primary Signals:
Zero Cross Up: Bullish momentum shift
Zero Cross Down: Bearish momentum shift
Signal Line Cross: Early reversal warning
Extreme Readings (±75): Potential reversal zones
Visual Interpretation:
Cyan zones: Bullish momentum
Magenta zones: Bearish momentum
Gradient intensity: Strength of move
Histogram: Raw momentum power
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 OPTIMAL USAGE
Best Market Conditions:
Range-bound markets (reversals clear)
High volume periods
Major support/resistance levels
Divergence hunting
Trading Strategies:
1. Extreme Reversal:
Enter when oscillator exceeds ±75 and reverses
2. Zero Line Momentum:
Trade crosses of zero line with volume confirmation
3. Signal Line Strategy:
Early entry on signal line crosses
4. Divergence Trading:
Price makes new high/low but Fisher doesn't
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developed by AlphaNatt | Quantitative Trading Systems
Version: 1.0
Classification: Statistical Transform Oscillator
Not financial advice. Always DYOR.
Script_Algo - Double Smoothed CCI Strategy📉 The uniqueness of this non-trending oscillator strategy lies in the combination of two smoothed CCI lines: one signals entry into a position from overbought/oversold zones, and the other serves as a trend filter for entries. The smoothing of the fast and slow CCI lines significantly reduces market noise, allowing the filtering of false signals often generated by the standard CCI.
📚 For those unfamiliar with CCI:
The Commodity Channel Index (CCI) is a momentum-based oscillator used to identify overbought and oversold conditions.
It helps traders spot potential trend reversals or confirm trend strength by comparing the current price to its average over a period of time.
1️⃣ General Principle of Operation
⚡ Fast CCI: Generates main signals when exiting oversold and overbought zones.
📈 Slow CCI: Acts as a trend filter. For long positions, the slow CCI must be above zero (confirmation of an uptrend), and for short positions, it must be below zero (confirmation of a downtrend). This prevents the strategy from opening trades against the dominant trend.
🛡️ Dynamic ATR Stop-Loss: Unlike fixed-percentage stop-losses, a stop tied to the Average True Range (ATR) considers market volatility. During calm periods, the stop will be narrower, allowing for more profit capture. In highly volatile periods, the stop becomes wider, protecting against premature closures caused by noise.
📊 Comprehensive Risk Management: The strategy uses not only a take-profit based on signals (exit into the opposite zone) but also a protective ATR stop-loss and a mechanism to close trades upon receiving an opposite signal (e.g., closing a long when a short signal appears).
💡 Usefulness of the Strategy:
👨💻 For traders: Provides clear, mathematically justified entry and exit signals with built-in loss protection.
📉 For analysts: Visualizes the behavior of the double CCI on a separate panel, allowing study of the interaction of the fast and slow lines and their reaction to levels without mandatory trades.
📚 For learning: An excellent example of combining multiple indicators and capital management tools into a single trading system.
2️⃣ Detailed Algorithm Logic
📥 Long Entry Signals:
The fast smoothed CCI was below the oversold level (oversold_level, e.g., -100) and crossed this level upward (fast_exits_oversold).
The slow CCI at this moment is above zero (confirming an uptrend).
If both conditions are met, a long position is opened.
📤 Long Exit: Happens under one of these conditions:
The fast CCI crosses the overbought level (overbought_level) downward (exit_long).
The price reaches a stop-loss level calculated as entry price - (ATR * multiplier).
An opposite short signal appears (enter_short).
📥 Short Entry Signals:
The fast CCI was above the overbought level (overbought_level, e.g., 100) and crossed this level downward (fast_exits_overbought).
The slow CCI at this moment is below zero (confirming a downtrend).
If both conditions are met, a short position is opened.
📤 Short Exit: Happens under one of these conditions:
The fast CCI crosses the oversold level (oversold_level) upward (exit_short).
The price reaches a stop-loss level calculated as entry price + (ATR * multiplier).
An opposite long signal appears (enter_long).
3️⃣ Default Settings Description
⚙️ General Strategy Settings (strategy):
overlay=false: The indicator is displayed in a separate panel below the chart, not overlaid on it.
default_qty_type=strategy.cash, default_qty_value=1000, initial_capital=100000: The strategy manages a virtual capital of 100,000 USD, using 1,000 USD per trade.
commission_value=0.1, slippage=1: Commission (0.1%) and slippage (1 tick) are considered for more realistic testing.
⚡ Fast CCI (Signal Generator):
Length: 8 (short enough for quick price reactions).
Source: hlc3 (average of High, Low, Close).
Smoothing: WMA (Weighted Moving Average) for smoother results than SMA.
Smoothing Length: 5 (removes part of the noise).
📈 Slow CCI (Trend Filter):
Length: 20 (standard mid-term trend period).
Source: close.
Smoothing: WMA.
Smoothing Length: 21 (even stronger smoothing for a clean trend line).
📊 Levels:
Overbought Level: 100 (classic CCI level).
Oversold Level: -100 (classic CCI level).
🛡️ Stop-Loss (ATR):
ATR Length: 6 (short period for quick adaptation).
ATR Multiplier: 10.0 (very wide stop, designed for long-term trade holding and noise filtering).
💰 As seen in backtests, this strategy shows a steadily growing equity curve with minor drawdowns. On the highly liquid crypto pair XRPUSDT, the algorithm demonstrated a fairly high win rate and relatively high profit factor on a 4-hour timeframe over 4 years, though the overall profit is moderate.
⚠️ Important Notes
Always remember: Strategy results may not repeat in the future.
The market constantly changes, so:
✅ Monitor the situation
✅ Backtest regularly
✅ Adjust settings for each asset
Also remember about possible bugs in any algorithmic trading strategy.
Even if a script is well-tested, no one knows what unpredictable events the market may bring tomorrow.
⚠️ Risk Management:
Do not risk more than 1% of your deposit per trade, otherwise you may lose your account balance, since this strategy works without stop losses.
⚠️ Disclaimer
The author of the strategy does not encourage anyone to use this algorithm and bears no responsibility for any possible financial losses resulting from its application!
Any decision to use this strategy is made personally by the owners of TradingView accounts and cryptocurrency exchange accounts.
📝 Final Notes
This is not the final version. I already have ideas on how to improve it further, so follow me to not miss updates.
🐞 Bug Reports
If you notice any bugs or inconsistencies in my algorithm,
please let me know — I will try to fix them as quickly as possible.
💬 Feedback & Suggestions
If you have any ideas on how this or any of my other strategies can be improved, feel free to write to me. I will try to implement your suggestions in the script.
Wishing everyone good luck and stable profits! 🚀💰
Decision Matrix [Cnagda] — Adaptive Multi-Signal Trading SystemDecision Matrix is a cutting-edge trading ecosystem that leverages the synergy of price action, volume dynamics, and key momentum indicators to create a powerful, real-time signal engine for traders.
Key Features:
Multi-Source Signal Fusion: Buy/Sell Power score, TWAP patterns, EMA/RSI crossovers, Volume zones — 7 layers of confirmation per candle.
Adaptive Intelligence: Dynamic lookback window, label-size, and threshold are auto-adjusted based on market volatility.
Volume Secrets Decoded: Adaptive ‘Low Volume’ (LV) candle detection reveals reversal and hidden accumulation patterns.
Order Block Auto-Zoning: Detect Demand & Supply zones to highlight boxes on the chart — market structure is instantly clear.
Heikin-Ashi Inspired Trend Mapping: Candle coloring based on trend intensity — clear visual feedback on every phase of a security.
Intelligent Pattern Recognition: 4-candle TWAP & Volume structures help to quickly spot rare reversals and momentum shifts.
Live Dashboard: Live Buy/Sell power on the chart, long/short trigger levels, multiple timeframes support — decision making lightning fast!
Use Cases:
Quick Reversal Detection
Momentum Entry/Exit Confirmation
False Breakout Filtering
Volume-Driven Structural Insights
Trailing Stop Placement based on True Demand/Supply Zones
What difference will it make?
Decision Matrix analyzes every uncertain market move from a multi-angle perspective to show where the market bias is right now, where is the best entry, when is the exit alert — and what is the real volume game behind every trend or even the most subtle reversal move — in just one glance!
Every curated visual & signal will give you pure information clarity and high-confidence trading advantage.
Supertrend [TradingConToto]Supertrend — ADX/DI + EMA Gap + Breakout (with Mobile UI)
What makes it original
Supertrend combines trend strength (ADX/DI), multi-timeframe bias (EMA63 and EMA 200D equivalent), a structural filter based on the distance between EMA2400 and EMA4800 expressed in ATR units, and a momentum confirmation through a previous high breakout.
This is not a random mashup — it’s a sequence of filters designed to reduce trades in ranging markets and prioritize mature trends:
Direction: +DI > -DI (trend led by buyers).
Strength: ADX > mean(ADX) (avoids weak, choppy phases).
Short-term bias: Close > EMA63.
Long-term bias: Close > EMA4800 ≈ EMA200 daily on H1.
Momentum: Close > High (immediate breakout).
Structure: (EMA2400 − EMA4800) > k·ATR (ensures separation in ATR units, filters out flat phases).
Entries & exits
Entry: when all six conditions are met and no open position exists.
Exit: if +DI < -DI or Close < EMA63.
Visuals: EMA63 is painted green while in position and red otherwise, with a supertrend-style band; “BUY” labels appear below the green band and “SELL” labels above the red band.
UI: includes a compact table (mobile-friendly) showing the state of each condition.
Default parameters used in this publication
Initial capital: 10,000
Position size: 10% of equity (≤10% per trade is considered sustainable).
Commission: 0.01% per side (adjust to your broker/market).
Slippage: 1 tick
Pyramiding: 0 (only one position at a time)
Adjust commission/slippage to match your market. For US equities, commissions are often per share; for spot crypto, 0.10–0.20% total is common. I publish with 0.01% per side as a conservative example to avoid overestimating results.
Recommended backtest dataset
Timeframe: H1
Multi-cycle window (e.g. 2015–today)
Symbols with high liquidity (e.g. NASDAQ-100 large caps, or BTC/ETH spot) to generate 100+ trades. Avoid cherry-picked short windows.
Why each filter matters
+DI > -DI + ADX > mean: reduce counter-trend trades and weak signals.
Close > EMA63 + Close > EMA4800: enforce trend alignment in short and long horizons.
Breakout High : requires immediate momentum, avoids early entries.
EMA gap in ATR units: blocks flat or compressed structures where EMA200D aligns with price.
Limitations
The breakout filter may skip healthy pullbacks; the design prioritizes continuation over perfect entry price.
No fixed trailing stop/TP; exits depend on trend degradation via DI/EMA63.
Results vary with real costs (commissions, slippage, funding). Adjust defaults to your broker.
How to use
Apply it on a clean chart (no other indicators when publishing).
Keep in mind the default parameters above; if you change them, mention it in your notes and use the same values in the Strategy Tester.
Ensure your dataset produces 100+ trades for statistical validity.
Swing Oracle Stock// (\_/)
// ( •.•)
// (")_(")
📌 Swing Oracle Stock – Professional Cycle & Trend Detection Indicator
The Swing Oracle Stock is an advanced market analysis tool designed to highlight price cycles, trend shifts, and key trading zones with precision. It combines trendline dynamics, normalized oscillators, and multi-timeframe confirmation into a single comprehensive indicator.
🔑 Key Features
NDOS (Normalized Dynamic Oscillator System):
Measures price strength relative to recent highs and lows to detect overbought, neutral, and oversold zones.
Dynamic Trendline (EMA8 or SMA231):
Flexible source selection for adapting to different trading styles (scalping vs. swing).
Multi-Timeframe H1 Confirmation:
Adds higher-timeframe validation to improve signal reliability.
Automated Buy & Sell Signals:
Triggered only on significant crossovers above/below defined levels.
Weekly Cycles (7-day M5 projection):
Tracks recurring time-based market cycles to anticipate reversal points.
Intuitive Visualization:
Colored zones (high, low, neutral) for quick market context.
Optional background and candlestick coloring for better clarity.
Multi-Timeframe Cross Table:
Automatically compares SMA50 vs. EMA200 across multiple timeframes (1m → 4h), showing clear status:
⭐️⬆️ UP = bullish trend confirmation
💀⬇️ Drop = bearish trend confirmation
📊 Built-in Statistical Tools
Normalized difference between short and long EMA.
Projected normalized mean levels plotted directly on the main chart.
Dynamic analysis of price distance from SMA50 to capture market “waves.”
🎯 Use Cases
Spot trend reversals with multi-timeframe confirmation.
Identify powerful breakout and breakdown zones.
Time entries and exits based on trend + cycle confluence.
Enhance market timing for swing trades, scalps, or long-term positions.
⚡ Swing Oracle Stock brings together cycle detection, oscillator normalization, and multi-timeframe confirmation into one streamlined indicator for traders who want a professional edge.
Artharjan ADXArtharjan ADX (AADX) by Rrahul Desai @Artharjan
📌 Overview
The Artharjan ADX (AADX) is an advanced implementation of the Average Directional Index (ADX) with customizable moving averages, momentum thresholds, and visually intuitive grading of bullish and bearish strength.
Unlike the standard ADX indicator that only shows trend strength, AADX adds graded bullish/bearish conditions, alerts, smoothed DI signals, histogram visualizations, and background color fills to help traders quickly interpret market conditions.
It is designed for traders who want early detection of trend strength, clean visual cues, and automated alert triggers for both bullish and bearish momentum setups.
⚙️ Key Features
🔹 Customizable Calculations
DI Length (default 13) – controls sensitivity of directional indicators.
+/- DI Smoothing – smooths DI signals with user-selected MA.
Multiple Moving Average Types – SMA, EMA, WMA, RMA, VWMA, ALMA, Hull, SWMA, SMMA, TMA.
ADX Smoothing – define how smooth/fast the ADX reacts.
🔹 Flexible Display
Toggle between line plots or histogram view.
Adjustable plot thickness.
Option to plot averages of ADX, +DI, -DI for confirmation.
Configurable background fills:
ADX above/below momentum threshold.
ADX rising/falling color shading.
Trend-grade based color intensity.
🔹 Momentum & Thresholds
Momentum Level (default 25) → defines “strong trend” zone.
Crossover Threshold (default 15) → helps detect early DI crossovers.
Color-coded histogram bars for +DI vs -DI difference:
Above/below zero.
Rising/falling momentum.
🔹 Bullish & Bearish Grading System
The indicator assigns grades from 1 to 5 for both bullish and bearish setups, based on DI and ADX conditions:
Bullish Grades
Grade 1 → Very Weak Bullish
Grade 2 → Weak Bullish
Grade 3 → Moderate Bullish
Grade 4 → Strong Bullish
Grade 5 → Very Strong Bullish
Bearish Grades
Grade 1 → Very Weak Bearish
Grade 2 → Weak Bearish
Grade 3 → Moderate Bearish
Grade 4 → Strong Bearish
Grade 5 → Very Strong Bearish
Labels are automatically plotted above bars to indicate the active grade.
🔹 Alerts
Bullish Alert → when +DI crosses above its average below the threshold OR bullish conditions are met.
Bearish Alert → when -DI crosses above its average below the threshold OR bearish conditions are met.
These alerts make it possible to automate trading signals for scalping, intraday, and swing trading.
📊 Use Cases
Trend Strength Measurement
Spot when markets shift from range-bound to trending.
Confirm the reliability of breakouts with strong ADX readings.
Bullish vs Bearish Control
Compare +DI vs -DI strength to gauge trend direction.
Identify trend reversals early with DI slope changes.
Momentum Confirmation
Use ADX rising + DI grades to validate trade entries.
Filter false breakouts with weak ADX.
Trade Grading System
Enter aggressively on Grade 4–5 signals.
Stay cautious on Grade 1–2 signals.
Automated Alerts & Screening
Combine AADX alerts with strategy rules.
Build scanners to highlight strong ADX setups across multiple stocks.
🎯 Trader’s Advantage
More powerful than standard ADX → Adds slope, grading, alerts, and visualization.
Adaptable to any style → Works for intraday scalping, swing trading, and positional analysis.
Visual clarity → Color fills, histograms, and labels simplify decision-making.
Customizable smoothing → Adjusts to fast or slow markets.
✅ Closing Note
The Artharjan ADX (AADX) transforms the traditional ADX into a complete trend and momentum analyzer. It helps traders detect, confirm, and act on directional strength with clarity and confidence.
With Thanks,
Rrahul Desai
@Artharjan
Simplified Market ForecastSimplified Market Forecast Indicator
This indicator pairs nicely with the Contrarian 100 MA and can be located here:
Overview
The "Simplified Market Forecast" (SMF) indicator is a streamlined technical analysis tool designed for traders to identify potential buy and sell opportunities based on a momentum-based oscillator. By analyzing price movements relative to a defined lookback period, SMF generates clear buy and sell signals when the oscillator crosses customizable threshold levels. This indicator is versatile, suitable for various markets (e.g., forex, stocks, cryptocurrencies), and optimized for daily timeframes, though it can be adapted to other timeframes with proper testing. Its intuitive design and visual cues make it accessible for both novice and experienced traders.
How It Works
The SMF indicator calculates a momentum oscillator based on the price’s position within a specified range over a user-defined lookback period. It then smooths this value to reduce noise and plots the result as a line in a separate lower pane. Buy and sell signals are generated when the smoothed oscillator crosses above a user-defined buy level or below a user-defined sell level, respectively. These signals are visualized as triangles either on the main chart or in the lower pane, with a table displaying the current ticker and oscillator value for quick reference.
Key Components
Momentum Oscillator: The indicator measures the price’s position relative to the highest high and lowest low over a specified period, normalized to a 0–100 scale.
Signal Generation: Buy signals occur when the oscillator crosses above the buy level (default: 15), indicating potential oversold conditions. Sell signals occur when the oscillator crosses below the sell level (default: 85), suggesting potential overbought conditions.
Visual Aids: The indicator includes customizable horizontal lines for buy and sell levels, shaded zones for clarity, and a table showing the ticker and current oscillator value.
Mathematical Concepts
Oscillator Calculation: The indicator uses the following formula to compute the raw oscillator value:
c1I = close - lowest(low, medLen)
c2I = highest(high, medLen) - lowest(low, medLen)
fastK_I = (c1I / c2I) * 100
The result is smoothed using a 5-period Simple Moving Average (SMA) to produce the final oscillator value (inter).
Signal Logic:
A buy signal is triggered when the smoothed oscillator crosses above the buy level (ta.crossover(inter, buyLevel)).
A sell signal is triggered when the smoothed oscillator crosses below the sell level (ta.crossunder(inter, sellLevel)).
Entry and Exit Rules
Buy Signal (Blue Triangle): Triggered when the oscillator crosses above the buy level (default: 15), indicating a potential oversold condition and a buying opportunity. The signal appears as a blue triangle either below the price bar (if plotted on the main chart) or at the bottom of the lower pane.
Sell Signal (White Triangle): Triggered when the oscillator crosses below the sell level (default: 85), indicating a potential overbought condition and a selling opportunity. The signal appears as a white triangle either above the price bar (if plotted on the main chart) or at the top of the lower pane.
Exit Rules: Traders can exit positions when an opposite signal occurs (e.g., exit a buy on a sell signal) or based on additional technical analysis tools (e.g., support/resistance, trendlines). Always apply proper risk management.
Recommended Usage
The SMF indicator is optimized for the daily timeframe but can be adapted to other timeframes (e.g., 1H, 4H) with careful testing. It performs best in markets with clear momentum shifts, such as trending or range-bound conditions. Traders should:
Backtest the indicator on their chosen asset and timeframe to validate signal reliability.
Combine with other indicators (e.g., moving averages, support/resistance) or price action for confirmation.
Adjust the lookback period and buy/sell levels to suit market volatility and trading style.
Customization Options
Intermediate Length: Adjust the lookback period for the oscillator calculation (default: 31 bars).
Buy/Sell Levels: Customize the threshold levels for buy (default: 15) and sell (default: 85) signals.
Colors: Modify the colors of the oscillator line, buy/sell signals, and threshold lines.
Signal Display: Toggle whether signals appear on the main chart or in the lower pane.
Visual Aids: The indicator includes dotted horizontal lines at the buy (green) and sell (red) levels, with shaded zones between 0–buy level (green) and sell level–100 (red) for clarity.
Ticker Table: A table in the top-right corner displays the current ticker and oscillator value (in percentage), with customizable colors.
Why Use This Indicator?
The "Simplified Market Forecast" indicator provides a straightforward, momentum-based approach to identifying potential reversals in overbought or oversold markets. Its clear signals, customizable settings, and visual aids make it easy to integrate into various trading strategies. Whether you’re a swing trader or a day trader, SMF offers a reliable tool to enhance decision-making and improve market timing.
Tips for Users
Test the indicator thoroughly on your chosen asset and timeframe to optimize settings.
Use in conjunction with other technical tools for stronger trade confirmation.
Adjust the buy and sell levels based on market conditions (e.g., lower levels for less volatile markets).
Monitor the ticker table for real-time oscillator values to gauge market momentum.
Happy trading with the Simplified Market Forecast indicator!
High For Loop | MisinkoMasterThe High For Loop is a new Trend Following tool designed to give traders smooth and fast signals without being too complex, overfit or repainting.
It works by finding how many bars have a higher high than the current high, how many have a lower high, and scores it based on that. This provides users with easy and accurate signals, allowing for gaining a large edge in the market.
It is pretty simple but you can still play around with it pretty well and improve uppon your strategies.
For any backtests using strategies, I left many comments and tried to make it as easy as possible to backtest.
Enjoy G´s
MA-Median For Loop | MisinkoMasterThe MA-Median For Loop is a new Trend Following tool that gives the user smooth yet responsive trend signals, allowing you to see clear and accurate trends by combining the Moving Average & Median in a For Loop concept.
How does it work?
1. Select user defined inputs
=> Adjust it to your liking, everyone can set it to their liking.
2. Calculate the MA and the Median
=> Simple, but important
3. Calculate the For Loop
=> For every bar back where the median or ma of that bar is higher than the current median or ma subtract 0.5 from the trend score, and for every bar back where the current median/ma is higher than the previous one add 0.5 to the trend score.
This simple yet effective approach enhances speed, decreases noise, and produces accurate signals everyone can utilize to get an edge in the market
Enjoy G´s
Cardwell RSI by TQ📌 Cardwell RSI – Enhanced Relative Strength Index
This indicator is based on Andrew Cardwell’s RSI methodology , extending the classic RSI with tools to better identify bullish/bearish ranges and trend dynamics.
In uptrends, RSI tends to hold between 40–80 (Cardwell bullish range).
In downtrends, RSI tends to stay between 20–60 (Cardwell bearish range).
Key Features :
Standard RSI with configurable length & source
Fast (9) & Slow (45) RSI Moving Averages (toggleable)
Cardwell Core Levels (80 / 60 / 40 / 20) – enabled by default
Base Bands (70 / 50 / 30) in dotted style
Optional custom levels (up to 3)
Alerts for MA crosses and level crosses
Data Window metrics: RSI vs Fast/Slow MA differences
How to Use :
Monitor RSI behavior inside Cardwell’s bullish (40–80) and bearish (20–60) ranges
Watch RSI crossovers with Fast (9) and Slow (45) MAs to confirm momentum or trend shifts
Use levels and alerts as confluence with your trading strategy
Default Settings :
RSI Length: 14
MA Type: WMA
Fast MA: 9 (hidden by default)
Slow MA: 45 (hidden by default)
Cardwell Levels (80/60/40/20): ON
Base Bands (70/50/30): ON
Renko RSI (Brick-Triggered, Red/Green Only) MODIFIEDhe Renko RSI (Brick-Triggered, Red/Green Only) Modified indicator is a specialized trading tool designed for use with Renko charts, which focus solely on price movements rather than time. This modified version enhances the traditional Renko RSI by triggering signals based on brick formations (price blocks) and uses only red and green colors to indicate trend direction—green for bullish (upward) trends and red for bearish (downward) trends. It integrates the Relative Strength Index (RSI) to identify potential reversals or continuations when Renko bricks change direction, filtering out market noise for clearer trend analysis. The indicator is tailored to highlight high-probability entry and exit points, making it suitable for traders seeking a simplified, visual approach to spotting trends and reversals, especially on assets like crypto on short timeframes such as 15-minute or 1-hour charts.
Sequential Pattern Strength [QuantAlgo]🟢 Overview
The Sequential Pattern Strength indicator measures the power and sustainability of consecutive price movements by tracking unbroken sequences of up or down closes. It incorporates sequence quality assessment, price extension analysis, and automatic exhaustion detection to help traders identify when strong trends are losing momentum and approaching potential reversal or continuation points.
🟢 How It Works
The indicator's key insight lies in its sequential pattern tracking system, where pattern strength is measured by analyzing consecutive price movements and their sustainability:
if close > close
upSequence := upSequence + 1
downSequence := 0
else if close < close
downSequence := downSequence + 1
upSequence := 0
The system calculates sequence quality by measuring how "perfect" the consecutive moves are:
perfectMoves = math.max(upSequence, downSequence)
totalMoves = math.abs(bar_index - ta.valuewhen(upSequence == 1 or downSequence == 1, bar_index, 0))
sequenceQuality = totalMoves > 0 ? perfectMoves / totalMoves : 1.0
First, it tracks price extension from the sequence starting point:
priceExtension = (close - sequenceStartPrice) / sequenceStartPrice * 100
Then, pattern exhaustion is identified when sequences become overextended:
isExhausted = math.abs(currentSequence) >= maxSequence or
math.abs(priceExtension) > resetThreshold * math.abs(currentSequence)
Finally, the pattern strength combines sequence length, quality, and price movement with momentum enhancement:
patternStrength = currentSequence * sequenceQuality * (1 + math.abs(priceExtension) / 10)
enhancedSignal = patternStrength + momentum * 10
signal = ta.ema(enhancedSignal, smooth)
This creates a sequence-based momentum indicator that combines consecutive movement analysis with pattern sustainability assessment, providing traders with both directional signals and exhaustion insights for entry/exit timing.
🟢 Signal Interpretation
Positive Values (Above Zero): Sequential pattern strength indicating bullish momentum with consecutive upward price movements and sustained buying pressure = Long/Buy opportunities
Negative Values (Below Zero): Sequential pattern strength indicating bearish momentum with consecutive downward price movements and sustained selling pressure = Short/Sell opportunities
Zero Line Crosses: Pattern transitions between bullish and bearish regimes, indicating potential trend changes or momentum shifts when sequences break
Upper Threshold Zone: Area above maximum sequence threshold (2x maxSequence) indicating extremely strong bullish patterns approaching exhaustion levels
Lower Threshold Zone: Area below negative threshold (-2x maxSequence) indicating extremely strong bearish patterns approaching exhaustion levels
ADX MTF mura visionOverview
ADX MTF — mura vision measures trend strength and visualizes a higher-timeframe (HTF) ADX on any chart. The current-TF ADX is drawn as a line; the HTF ADX is rendered as “step” segments to reflect closed HTF bars without repainting. Optional soft fills highlight the 20–25 (trend forming) and 40–50 (strong trend) zones.
How it works
ADX (current TF) : Classic Wilder formulation using DI components and RMA smoothing.
HTF ADX : Requested via request.security(..., lookahead_off, gaps_off).
When a new HTF bar opens, the previous value is frozen as a horizontal segment.
The current HTF bar is shown as a live moving segment.
This staircase look is expected on lower timeframes.
Auto timeframe mapping
If “Auto” is selected, the HTF is derived from the chart TF:
<30m → 60m, 30–<240m → 240m, 240m–<1D → 1D, 1D → 1W, 1W/2W → 1M, ≥1M → same.
Inputs
DI Length and ADX Smoothing — core ADX parameters.
Higher Time Frame — Auto or a fixed TF.
Line colors/widths for current ADX and HTF ADX.
Fill zone 20–25 and Fill zone 40–50 — optional light background fills.
Number of HTF ADX Bars — limits stored HTF segments to control chart load.
Reading the indicator
ADX < 20: typically range-bound conditions; trend setups require extra caution.
20–25: trend emergence; breakouts and continuation structures gain validity.
40–50: strong trend; favor continuation and manage with trailing stops.
>60 and turning down: possible trend exhaustion or transition toward range.
Note: ADX measures strength, not direction. Combine with your directional filter (e.g., price vs. MA, +DI/−DI, structure/levels).
Non-repainting behavior
HTF values use lookahead_off; closed HTF bars are never revised.
The only moving piece is the live segment for the current HTF bar.
Best practices
Use HTF ADX as a regime filter; time entries with the current-TF ADX rising through your threshold.
Pair with ATR-based stops and a MA/structure filter for direction.
Consider higher thresholds on highly volatile altcoins.
Performance notes
The script draws line segments for HTF bars. If your chart becomes heavy, reduce “Number of HTF ADX Bars.”
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading involves risk.
RSI Multi Time FrameWhat it is
A clean, two-layer RSI that shows your chart-timeframe RSI together with a higher-timeframe (HTF) RSI on the same pane. The HTF line is drawn as a live segment plus frozen “steps” for each completed HTF bar, so you can see where the higher timeframe momentum held during your lower-timeframe bars.
How it works
Auto HTF mapping (when “Auto” is selected):
Intraday < 30m → uses 60m (1-hour) RSI
30m ≤ tf < 240m (4h) → uses 240m (4-hour) RSI
240m ≤ tf < 1D → uses 1D RSI
1D → uses 1W RSI
1W or 2W → uses 1M RSI
≥ 1M → keeps the same timeframe
The HTF series is requested with request.security(..., gaps_off, lookahead_off), so values are confirmed bar-by-bar. When a new HTF bar begins, the previous value is “frozen” as a horizontal segment; the current HTF value is shown by a short moving segment and a small dot (so you can read the last value easily).
Visuals
Current RSI (chart TF): solid line (color/width configurable).
HTF RSI: same-pane line + tiny circle for the latest value; historical step segments show completed HTF bars.
Guides: dashed 70 / 30 bands, dotted 60/40 helpers, dashed 50 midline.
Inputs
Higher Time Frame: Auto or a fixed TF (1, 3, 5, 10, 15, 30, 45, 60, 120, 180, 240, 360, 480, 720, D, W, 2W, M, 3M, 6M, 12M).
Length: RSI period (default 14).
Source: price source for RSI.
RSI / HTF RSI colors & widths.
Number of HTF RSI Bars: how many frozen HTF segments to keep.
Reading it
Alignment: When RSI (current TF) and HTF RSI both push in the same direction, momentum is aligned across frames.
Divergence across frames: Current RSI failing to confirm HTF direction can warn about chops or early slowdowns.
Zones: 70/30 boundaries for classic overbought/oversold; 60/40 can be used as trend bias rails; 50 is the balance line.
This is a context indicator, not a signal generator. Combine with your entry/exit rules.
Notes & limitations
HTF values do not repaint after their bar closes (lookahead is off). The short “live” segment will evolve until the HTF bar closes — this is expected.
Very small panels or extremely long histories may impact performance if you keep a large number of HTF segments.
Credits
Original concept by LonesomeTheBlue; Pine v6 refactor and auto-mapping rules by trading_mura.
Suggested use
Day traders: run the indicator on 5–15m and keep HTF on Auto to see 1h/4h momentum.
Swing traders: run it on 1h–4h and watch the daily HTF.
Position traders: run on daily and watch the weekly HTF.
If you find it useful, a ⭐ helps others discover it.
Top and Bottom Probability
The top and bottom probability oscillator is an educational indicator that estimates the probability of a local top or bottom using four ingredients:
price extension since the last RSI overbought/oversold,
time since that OB/OS event,
RSI divergence strength,
Directional Momentum Velocity (DMV) — a normalized, signed trend velocity.
It plots RSI, two probability histograms (Top %, Bottom %), and an optional 0–100 velocity gauge.
How to read it
RSI & Levels: Standard RSI with OB/OS lines (70/30 by default).
Prob Top (%): Red histogram, 0–100. Higher values suggest increasing risk of a local top after an RSI overbought anchor.
Prob Bottom (%): Green histogram, 0–100. Higher values suggest increasing chance of a local bottom after an RSI oversold anchor.
Velocity (0–100): Optional line. Above 50 = positive/upward DMV; below 50 = negative/downward DMV. DMV pushes Top risk when trending down and Bottom chance when trending up.
These are composite, scale-free scores, not certainties or trade signals.
What the probabilities consider
Price Delta: How far price has moved beyond the last OB (for tops) or below the last OS (for bottoms). More extension → higher probability.
Time Since OB/OS: Longer time since the anchor → higher probability (until capped by the “Time Normalization (bars)” input).
Oscillator Divergence: RSI pulling away from its last OB/OS reading in the opposite direction implies weakening momentum and increases probability.
Directional Momentum Velocity (DMV):
Computes a regression slope of hlc3 vs. bar index, normalized by ATR, then squashed with tanh.
Downward DMV boosts Top probability; upward DMV boosts Bottom probability.
Toggle the velocity plot and adjust its sensitivity with Velocity Lookback, ATR Length, and Velocity Gain.
All four terms are blended with user-set weights. If Normalize Weights is ON, weights are rescaled to sum to 1.
Inputs (most useful)
RSI Length / OB / OS: Core RSI setup.
Time Normalization (bars): Sets how quickly the “time since OB/OS” term ramps from 0→1.
Weights:
Price Delta, Time Since OB/OS, Osc Divergence, Directional Velocity.
Turn Normalize Weights ON to keep the blend consistent when you experiment.
Settings:
Velocity Lookback: Window for slope estimation (shorter = more reactive).
ATR Length: Normalizes slope so symbols/timeframes are comparable.
Velocity Gain: Steepens or softens the tanh curve (higher = punchier extremes).
Show Velocity (0–100): Toggles the DMV display.
Tip: If you prefer momentum measured on RSI rather than price, in the DMV block replace hlc3 with rsi (concept stays identical).
Practical tips
Use Top/Bottom % as context, not triggers. Combine with structure (S/R), trend filters, and risk management.
On strong trends, expect the opposite probability (e.g., Top % during an uptrend) to stay suppressed longer.
Calibrate weights: e.g., raise Osc Divergence on mean-reversion symbols; raise Velocity in trending markets.
For lower noise: lengthen Velocity Lookback and ATR Length, or reduce Velocity Gain.
FibADX MTF Dashboard — DMI/ADX with Fibonacci DominanceFibADX MTF Dashboard — DMI/ADX with Fibonacci Dominance (φ)
This indicator fuses classic DMI/ADX with the Fibonacci Golden Ratio to score directional dominance and trend tradability across multiple timeframes in one clean panel.
What’s unique
• Fibonacci dominance tiers:
• BULL / BEAR → one side slightly stronger
• STRONG when one DI ≥ 1.618× the other (φ)
• EXTREME when one DI ≥ 2.618× (φ²)
• Rounded dominance % in the +DI/−DI columns (e.g., STRONG BULL 72%).
• ADX column modes: show the value (with strength bar ▂▃▅… and slope ↗/↘) or a tier (Weak / Tradable / Strong / Extreme).
• Configurable intraday row (30m/1H/2H/4H) + D/W/M toggles.
• Threshold line: color & width; Extended (infinite both ways) or Not extended (historical plot).
• Theme presets (Dark / Light / High Contrast) or full custom colors.
• Optional panel shading when all selected TFs are strong (and optionally directionally aligned).
How to use
1. Choose an intraday TF (30/60/120/240). Enable D/W/M as needed.
2. Use ADX ≥ threshold (e.g., 21 / 34 / 55) to find tradable trends.
3. Read the +DI/−DI labels to confirm bias (BULL/BEAR) and conviction (STRONG/EXTREME).
4. Prefer multi-TF alignment (e.g., 4H & D & W all strong bull).
5. Treat EXTREME as a momentum regime—trail tighter and scale out into spikes.
Alerts
• All selected TFs: Strong BULL alignment
• All selected TFs: Strong BEAR alignment
Notes
• Smoothing selectable: RMA (Wilder) / EMA / SMA.
• Percentages are whole numbers (72%, not 72.18%).
• Shorttitle is FibADX to comply with TV’s 10-char limit.
Why We Use Fibonacci in FibADX
Traditional DMI/ADX indicators rely on fixed numeric thresholds (e.g., ADX > 20 = “tradable”), but they ignore the relationship between +DI and −DI, which is what really determines trend conviction.
FibADX improves on this by introducing the Fibonacci Golden Ratio (φ ≈ 1.618) to measure directional dominance and classify trend strength more intelligently.
⸻
1. Fibonacci as a Natural Strength Threshold
The golden ratio φ appears everywhere in nature, growth cycles, and fractals.
Since financial markets also behave fractally, Fibonacci levels reflect natural crowd behavior and trend acceleration points.
In FibADX:
• When one DI is slightly larger than the other → BULL or BEAR (mild advantage).
• When one DI is at least 1.618× the other → STRONG BULL or STRONG BEAR (trend conviction).
• When one DI is 2.618× or more → EXTREME BULL or EXTREME BEAR (high momentum regime).
This approach adds structure and consistency to trend classification.
⸻
2. Why 1.618 and 2.618 Instead of Random Numbers
Other traders might pick thresholds like 1.5 or 2.0, but φ has special mathematical properties:
• φ is the most irrational ratio, meaning proportions based on φ retain structure even when scaled.
• Using φ makes FibADX naturally adaptive to all timeframes and asset classes — stocks, crypto, forex, commodities.
⸻
3 . Trading Advantages
Using the Fibonacci Golden Ratio inside DMI/ADX has several benefits:
• Better trend filtering → Avoid false DI crossovers without conviction.
• Catch early momentum shifts → Spot when dominance ratios approach φ before ADX reacts.
• Consistency across markets → Because φ is scalable and fractal, it works everywhere.
⸻
4. How FibADX Uses This
FibADX combines:
• +DI vs −DI ratio → Measures directional dominance.
• φ thresholds (1.618, 2.618) → Classifies strength into BULL, STRONG, EXTREME.
• ADX threshold → Confirms whether the move is tradable or just noise.
• Multi-timeframe dashboard → Aligns bias across 4H, D, W, M.
⸻
Quick Blurb for TradingView
FibADX uses the Fibonacci Golden Ratio (φ ≈ 1.618) to classify trend strength.
Unlike classic DMI/ADX, FibADX measures how much one side dominates:
• φ (1.618) = STRONG trend conviction
• φ² (2.618) = EXTREME momentum regime
This creates an adaptive, fractal-aware framework that works across stocks, crypto, forex, and commodities.
⚠️ Disclaimer : This script is provided for educational purposes only.
It does not constitute financial advice.
Use at your own risk. Always do your own research before making trading decisions.
Created by @nomadhedge
Ultra Volume DetectorNative Volume — Auto Levels + Ultra Label
What it does
This indicator classifies volume bars into four categories — Low, Medium, High, and Ultra — using rolling percentile thresholds. Instead of fixed cutoffs, it adapts dynamically to recent market activity, making it useful across different symbols and timeframes. Ultra-high volume bars are highlighted with labels showing compacted values (K/M/B/T) and the appropriate unit (shares, contracts, ticks, etc.).
Core Logic
Dynamic thresholds: Calculates percentile levels (e.g., 50th, 80th, 98th) over a user-defined window of bars.
Categorization: Bars are colored by category (Low/Med/High/Ultra).
Ultra labeling: Only Ultra bars are labeled, preventing chart clutter.
Optional MA: A moving average of raw volume can be plotted for context.
Alerts: Supports both alert condition for Ultra events and dynamic alert() messages that include the actual volume value at bar close.
How to use
Adjust window size: Larger windows (e.g., 200+) provide stable thresholds; smaller windows react more quickly.
Set percentiles: Typical defaults are 50 for Medium, 80 for High, and 98 for Ultra. Lower the Ultra percentile to see more frequent signals, or raise it to isolate only extreme events.
Read chart signals:
Bar colors show the category.
Labels appear only on Ultra bars.
Alerts can be set up for automatic notification when Ultra volume occurs.
Why it’s unique
Adaptive: Uses rolling statistics, not static thresholds.
Cross-asset ready: Adjusts units automatically depending on instrument type.
Efficient visualization: Focuses labels only on the most significant events, reducing noise.
⚠️ Disclaimer: This tool is for educational and analytical purposes only. It does not provide financial advice. Always test and manage risk before trading live
MAC-Z VWAP Indicator + L/S ThresholdOriginal Script by Lazybear.
Added long/short threshold on the MAC-Z source.
Added BG coloring for visually backtesting.
Script to version 5.
RCI2MAsignWhen the slopes of any two RCI lines are upward and above any MA, a buy signal is generated. Conversely, a sell signal is generated. Signals are represented by background color.
heat map Last Close (Green/Red) 1-5-15-30-60-120m candle chartheat map Last Close (Green/Red) 1-5-15-30-60-120m candle chart
MACD Classic MT5 Style (2 Lines + Histogram)MACD เหมือน MT5 นะจ๊ะ
MACD Line (Green) = Difference between Fast EMA and Slow EMA
Signal Line (Red) = EMA of the MACD Line
Histogram = Distance between MACD Line and Signal Line (or in MT5 style, just MACD Line itself)