Green Arrow Signal: Close > EMA9 and EMA9 of RSI123 > 100Plot a green arrow below the bar when:
Close price > EMA9
EMA9 of RSI(123) > 100
Hareketli Ortalamalar
SMA 12 / 25 with Arrows & Dynamic ColorsSMA 12 / 25 with Arrows & Dynamic Colors
Colors are the same after crosses
Up down arrows at crosses
EMA 9/21 Crossover Alert (BerryRight)This indicator gives entry signals through EMA crossover and the gives the opportunity to set up alerts. I will update this indicator with exits in the future. it's written in Pinesctipt v5
RS Ratio vs Benchmark (Colored)📈 RS Ratio vs Benchmark (with Color Change)
A simple but powerful tool to track relative strength against a benchmark like QQQ, SPY, or any other ETF.
🔍 What it Shows
RS Ratio (orange line): Measures how strong a stock is relative to a benchmark.
Moving Average (teal line): Smooths out RS to show trend direction.
Color-coded RS Line:
🟢 Green = RS is above its moving average → strength is increasing.
🔴 Red = RS is below its moving average → strength is fading.
📊 How to Read It
Above 100 = Stock is outperforming the benchmark.
Below 100 = Underperforming.
Rising & Green = Strongest signal — accelerating outperformance.
Above 100 but Red = Consolidating or losing momentum — potential rest period.
Crosses below 100 = Warning sign — underperformance.
✅ Best Uses
Spot leading stocks with strong momentum vs QQQ/SPY.
Identify rotation — when strength shifts between sectors.
Time entries and exits based on RS trends and crossovers.
EZSignals SuperTrend EMAA technical indicator, even with high accuracy, must be rigorously backtested to assess its stability across various market conditions. Its effectiveness depends not only on the algorithm itself but also on how it is integrated into the overall trading system. Proper usage, combined with risk management and a solid understanding of market context, is essential to convert theoretical accuracy into practical trading advantage.
ai quant oculusAI QUANT OCULUS
Version 1.0 | Pine Script v6
Purpose & Innovation
AI QUANT OCULUS integrates four distinct technical concepts—exponential trend filtering, adaptive smoothing, momentum oscillation, and Gaussian smoothing—into a single, cohesive system that delivers clear, objective buy and sell signals along with automatically plotted stop-loss and three profit-target levels. This mash-up goes beyond a simple EMA crossover or standalone TRIX oscillator by requiring confluence across trend, adaptive moving averages, momentum direction, and smoothed price action, reducing false triggers and focusing on high‐probability turning points.
How It Works & Why Its Components Matter
Trend Filter: EMA vs. Adaptive MA
EMA (20) measures the prevailing trend with fixed sensitivity.
Adaptive MA (also EMA-based, length 10) approximates a faster-responding moving average, standing in for a KAMA-style filter.
Bullish bias requires AMA > EMA; bearish bias requires AMA < EMA. This ensures signals align with both the underlying trend and a more nimble view of recent price action.
Momentum Confirmation: TRIX
Calculates a triple-smoothed EMA of price over TRIX Length (15), then converts it to a percentage rate-of-change oscillator.
Positive TRIX reinforces bullish entries; negative TRIX reinforces bearish entries. Using TRIX helps filter whipsaws by focusing on sustained momentum shifts.
Gaussian Price Smoother
Applies two back-to-back 5-period EMAs to the price (“gaussian” smoothing) to remove short-term noise.
Price above the smoothed line confirms strength for longs; below confirms weakness for shorts. This layer avoids entries on erratic spikes.
Confluence Signals
Buy Signal (isBull) fires only when:
AMA > EMA (trend alignment)
TRIX > 0 (momentum support)
Close > Gaussian (price strength)
Sell Signal (isBear) fires under the inverse conditions.
Requiring all three conditions simultaneously sharply reduces false triggers common to single-indicator systems.
Automatic Risk & Reward Plotting
On each new buy or sell signal (edge detection via not isBull or not isBear ), the script:
Stores entryPrice at the signal bar’s close.
Draws a stop-loss line at entry minus ATR(14) × Stop Multiplier (1.5) by default.
Plots three profit-target lines at entry plus ATR × Target Multiplier (1×, 1.5×, and 2×).
All previous labels and lines are deleted on each new signal, keeping the chart uncluttered and focusing only on the current trade.
Inputs & Customization
Input Description Default
EMA Length Period for the main trend EMA 20
Adaptive MA Length Period for the faster adaptive EM A substitute 10
TRIX Length Period for the triple-smoothed momentum oscillator 15
Dominant Cycle Length (Reserved) 40
Stop Multiplier ATR multiple for stop-loss distance 1.5
Target Multiplier ATR multiple for first profit target 1.5
Show Buy/Sell Signals Toggle on-chart labels for entry signals On
How to Use
Apply to Chart: Best on 15 m–1 h timeframes for swing entries or 5 m for agile scalps.
Wait for Full Confluence:
Look for the AMA to cross above/below the EMA and verify TRIX and Gaussian conditions on the same bar.
A bright “LONG” or “SHORT” label marks your entry.
Manage the Trade:
Place your stop where the red or green SL line appears.
Scale or exit at the three yellow TP1/TP2/TP3 lines, automatically drawn by volatility.
Repeat Cleanly: Each new signal clears prior annotations, ensuring you only track the active setup.
Why This Script Stands Out
Multi-Layer Confluence: Trend, momentum, and noise-reduction must all align, addressing the weaknesses of single-indicator strategies.
Automated Trade Management: No manual plotting—stop and target lines appear seamlessly with each signal.
Transparent & Customizable: All logic is open, adjustable, and clearly documented, allowing traders to tweak lengths and multipliers to suit different instruments.
Disclaimer
No indicator guarantees profit. Always backtest AI QUANT OCULUS extensively, combine its signals with your own analysis and risk controls, and practice sound money management before trading live.
HHT Signal Analyzer (Refined)HHT Signal Analyzer
The HHT Signal Analyzer provides a real-time, smoothed approximation of the Hilbert-Huang Transform (HHT), designed to reveal adaptive cycles and phase changes in price action. It emulates Intrinsic Mode Functions (IMFs) using a double exponential moving average (EMA) filter to extract short-term oscillatory signals from price.
This indicator is helpful for identifying subtle shifts in market behavior, such as when a trend is transitioning or weakening, and is especially effective when paired with trend-based tools like GRJMOM.
How it works:
Applies a double EMA to the price (EMA of EMA)
Calculates the difference between the fast and slow EMA to emulate IMF behavior
Amplifies the signal for clear visual feedback
Highlights cycle slope changes with background coloring (green = rising, red = falling)
Use Cases:
Use slope direction to detect early phase shifts in the market
Combine with trend indicators to confirm or fade moves
Helps visualize when the market is entering a cycle crest or trough
Best for:
Traders looking to capture short-term reversals, cycle timing, or divergence with smooth and adaptive signals
Can be used on any timeframe
SMA50 Multi-Timeframe Simple🔹 SMA50 Multi-Timeframe Simple – Multi-Timeframe Moving Average Indicator
This indicator displays the 50-period Simple Moving Averages (SMA) calculated across multiple timeframes, providing a clear view of the trend across various market horizons.
✅ Included Timeframes:
5 minutes 🟠
15 minutes 🟡
30 minutes 🔵
1 hour 🟢
4 hours 🔵
1 day 🔴
1 week 🟣
1 month ⚫️
Medico Action Zone self adjust TF version 2to create buy sell signal with adjusted EMA and timeframe
8/30 SMA Pullback + ATR Exits (Crypto)A tryout using LLM to see if it can apply to bots using SMA pullbacks with ATR exits for crypto
MTF 200MULTI TIME FRAME 200MA
TIMEFRAME
1m 5m 15m 30m 60m 240m 1D
200 SMA
Check the chart for 200ma you were looking at a candle at a certain time
EMA Channel with ATR Offset + 2 Custom EMAsJust an alternative channel indicator to Bollinger Bands or Ketner channels that uses ATR offsets as the corridor of possible movements, which I recommend changing to fit various tickers.
Also thrown in is EMA, default is 100 and 50 periods for trend direction and potential confirmation
Multi-Indicator Trading System v2Multi-Indicator Trading System (MITS)
Purpose:
Using WVMA (Volume Weighted Moving Average) + EMA 50 + Bollinger Bands to capture trend reversal points and generate buy/sell signals.
What It Does:
WVMA line shows volume-based price momentum
EMA 50 determines main trend direction
Bollinger Bands display volatility range
BUY signal when price crosses above WVMA and is above EMA
SELL signal when price crosses below WVMA and is below EMA
In Short: Combines Volume + Trend + Volatility to find strong entry points.
Bollinger Bands (SMA) with Trend Filtered Buy/SellOverview
This indicator is a trend-following Bollinger Bands tool based on SMA, enhanced with a 200 SMA filter to display BUY/SELL signals only in the direction of the prevailing trend.
Instead of showing every possible reversal, it focuses on high-probability entries aligned with the trend.
Key Features
Feature Description
Bollinger Bands (SMA) Plots upper, lower, and middle bands using Simple Moving Average (SMA) and standard deviation.
200 SMA Trend Filter Determines the overall market trend (bullish or bearish).
BUY/SELL Signals Generates signals when price reacts from Bollinger Bands.
Trend Filtering Only BUY signals above the 200 SMA, only SELL signals below the 200 SMA.
Alert Function TradingView alerts can be triggered when a signal occurs.
Toggle ON/OFF Option to enable or disable signal display.
Signal Logic
BUY Signal
Price is above the 200 SMA (uptrend)
Previous candle closed below the lower Bollinger Band
Current candle closes back inside the band → Confirmed rebound → BUY signal
SELL Signal
Price is below the 200 SMA (downtrend)
Previous candle closed above the upper Bollinger Band
Current candle closes back inside the band → Confirmed pullback → SELL signal
How to Use
Trend-Following Entries:
Enter trades only in the trend direction, improving accuracy and reducing countertrend trades.
Filter Out False Signals:
The 200 SMA filter removes noise from opposite-trend signals.
Alerts:
Receive notifications when a valid BUY/SELL setup appears without watching the chart constantly.
This indicator is ideal for traders who want to focus on high-probability trend-following setups, especially in markets like Forex or Gold, where strong one-way moves often occur.
このインジケーターは、SMAベースのボリンジャーバンドにトレンドフィルター(200SMA)を追加し、トレンドフォロー型のBUY/SELLシグナルを表示するツールです。
短期の逆張りではなく、大きなトレンド方向に沿ったシグナルだけを出すように設計されています。
主な機能
機能 説明
ボリンジャーバンド (SMA) 期間を指定した単純移動平均(SMA)を基準に、標準偏差で上下のバンドを表示
200SMA(トレンド判定) 現在の相場が上昇トレンドか下降トレンドかを判断
BUY/SELLシグナル ボリンジャーバンドの反発を検出してシグナル表示
トレンドフィルター 200SMAより上ならBUYのみ、200SMAより下ならSELLのみ表示
アラート機能 BUY/SELLシグナル発生時にTradingViewのアラートで通知可能
ON/OFF切替 BUY/SELLシグナルの表示はスイッチでON/OFF可能
シグナルロジック
BUYシグナル
200SMAより上にいる
前の足で価格がボリンジャーバンド下限を下抜け
現在の足でバンド内に戻る → 反発確認 → BUYシグナル表示
SELLシグナル
200SMAより下にいる
前の足で価格がボリンジャーバンド上限を上抜け
現在の足でバンド内に戻る → 反落確認 → SELLシグナル表示
トレードでの使い方
トレンドフォロー型エントリー
→ 200SMAを基準に、相場の方向に沿ったエントリーだけを狙う
逆張りのフィルタリング
→ トレンドに逆らう無駄なシグナルを表示しない
アラート通知
→ チャートを見ていなくても、シグナル発生時に通知可能
このインジケーターは「トレンドフォローの精度を高めたいトレーダー」向けです。
特にゴールドやFXで、一方向の強いトレンドが出やすい相場で有効です。
Desempenho 4ªs (MA)This Pine Script v5 indicator calculates the performance from Wednesday to Wednesday at 10:30 AM for the charted instrument. Every Wednesday at that time, it records the closing price and computes the percentage change, assigning a signal: +1 for increases above 1 %, -1 for declines below -1 %, and 0 for intermediate movements. It plots a five-period simple moving average on the main chart, color-coded green, red, or gray based on the weekly signal. Vertical dotted lines mark each weekly separation, and two blue horizontal lines denote the ±1 % thresholds for the current week. A label displays the performance percentage and signal.
Sharp Entry TMixture of Combined Technical indicators :
FAST EMA
SLOW EMA
RSI
ADX
VOLUME
Combined together to provide sharp BUY and SELL signals .
Kumo no Nami Trend Strength Identifier T2[T69]🧠 Overview
Kumo no Nami is a custom trend strength indicator that combines Ichimoku cloud dynamics (Kumo) with wave momentum (Nami) to identify trend direction, reversals, squeezes, and breakouts using Z-Score analysis. It adapts to different modes (Ichimoku, MA, EMA) for a flexible interpretation of price structure tension vs. movement strength.
🔍 Core Logic
Kumo Width (Cloud Pressure): Measures the normalized spread (Z-Score) between two dynamic price levels (e.g., Senkou A-B or Base-Tenkan).
Nami Strength (Wave Energy): Measures how far current price dislocates from a recent range using Z-Score of the difference between close and Donchian/MA.
Z-Score Normalization: Ensures both metrics are statistically comparable, regardless of volatility regime.
Squeeze Detection: Identifies compression before potential volatility expansion.
Breakout/False Break: Detects whether movement is legitimate or noise.
Final Top/Bottom: Highlights a strong burst post-squeeze, often signaling exhaustion or trend climax.
⚙️ Features
🌀 Multiple Kumo Modes:
Kijun-Tenkan
Senkou A - B
SMA Fast - Slow
EMA Fast - Slow
🟨 Z-Score Based Squeeze Monitoring
🟥 Final Burst Alerts
🟩 Trend Continuation or Fake-out Detection
🎨 Dynamic Background Coloring for visual signal clarity
🔧 Configuration
📊 Inputs
Kumo Mode (kt, sab, sfs, efs) – Choose method to compute Kumo (Cloud) width.
Kumo Lookback – Lookback period for cloud Z-Score analysis.
Nami Lookback – Lookback period for wave dislocation measurement.
Squeeze Threshold – How low Z-Kumo must fall to signal potential squeeze.
Burst Thresholds:
Burst Kumo → Z-Kumo must rise above this to be considered bursting.
Burst Nami → Nami Strength threshold for final trend climax.
Ichimoku Config – Tenkan, Kijun, Senkou B, and displacement.
MA Config – For Fast/Slow variants, SMA/EMA lengths.
🧪 How It Works
Compute the Kumo Width depending on selected mode.
E.g., |Tenkan - Kijun| or |Senkou A - Senkou B|
Normalize this width with its Z-Score to get Z-Kumo Width.
Compute Nami Strength:
Z-Score of how far close deviates from a Donchian channel or moving average.
Evaluate signal logic based on the two:
📈 Behavior & Signals
Trend Range (Sideways Consolidation)
=>Z-Kumo < 0 and |Nami Strength| > 2
False Break (No meaningful price movement)
=>Z-Kumo < 1 and |Nami Strength| < 1
Squeeze Watch (Potential breakout loading)
=>Z-Kumo < Squeeze Threshold
Final Burst / Climax
=>Z-Kumo > 2.5 and |Nami Strength| > 3
Bullish Breakout
=>Z-Kumo > 1 and Nami Strength > 2 and not false break
Bearish Breakout
=>Z-Kumo > 1 and Nami Strength < -2 and not false break
Reversal Detection
Crossovers of Nami Strength across 0 (bull/bear) while not in squeeze
🧠 Advanced Concepts Used
Z-Score:
=>(value - mean) / standard deviation for detecting statistically significant moves.
Squeeze Principle:
=>Low volatility → potential buildup → expansion.
Price Dislocation (Wave Strength):
=>Measures how far current price is from its mean range.
=>Cloud Tension (Kumo Z-Score):
=>Reflects pressure or neutrality in the price structure.
Trend Confirmation:
=>Only if both metrics agree and no false break conditions are met.
Order Block + FVG Detector- chakrashows OBs with entry and exits and volumes. It also shows the volumes in each Order block
EMA 6/21/50 PROIndicator Description: EMAs 6/21/50 + MACD + AO + Panel + Alerts
This technical indicator combines several analysis tools to help identify opportunities to enter consolidated trends. It integrates Exponential Moving Averages (EMAs), the MACD, the Amazing Oscillator (AO), and an interactive information panel that allows you to visualize entry signals, trend direction, and potential exit levels (Take Profit and Stop Loss). It is designed for day or swing traders who want a quick and structured reading of the market.
What does the script do? The indicator does the following: It draws 6, 21, and 50-period EMAs on the chart to detect the direction of the trend. It generates LONG/SHORT entry signals based on EMA crossover, alignment with the overall trend (EMA50), and confirmation by indicators: MACD:
Momentum filter. AO: Impulse depletion filter. It visually displays the TP (Take Profit) and SL (Stop Loss) levels when there is a signal. It includes an informative graphical panel with icons and text summarizing the market status and entry conditions.
It issues customizable alerts for entry signals, allowing it to be used in automated strategies or as a manual guide. Allows you to enable/disable visual elements with buttons to customize the experience.
How does it do it?
EMAs and crossover signals: It uses three EMAs: 6 (fast), 21 (medium), and 50 (slow).
A LONG signal occurs when the 6-EMA crosses above the 21-EMA, the price is above the 50-EMA, the MACD confirms bullish momentum, and the AO shows no exhaustion.
A SHORT signal is given in reverse conditions, with the option to limit the system to long signals only (Long signals only).
Additional filters:
MACD: Entry is avoided if there is no favorable crossover between the MACD line and its signal.
AO: Entry is avoided if the OA shows signs of weakness or exhaustion. TP/SL Visual:
TP and SL levels are calculated based on user-defined pips, and are automatically drawn on the chart when there is a valid signal.
Information panel: Each bar is automatically updated. Samples: general trend, EMA crossover, MACD/AO filters, and presence of LONG/SHORT signal. It is possible to hide it with a button from the settings panel.
Alerts: Alerts are generated when the full LONG or SHORT entry conditions are met. They are useful for receiving automatic notifications or integrating them into automated systems.
How to use it?
Add to chart and configure options: Year of start of the analysis.
Activate only long signals if you wish.
Show/hide panel, EMAs, or TP/SL levels. Interpreting signals:
Green triangle under a candle = Possible LONG entry.
Red triangle above a candle = Possible SHORT entry.
Green Line = Suggested Take Profit. Red Line = Suggested Stop Loss. Trigger alerts from TradingView's alert settings to be notified in real-time.
Important Note
This script does not execute orders or represent an automated trading strategy.
It is a visual analysis tool that can support decision-making, but it is recommended to use it in conjunction with other elements of analysis and proper risk management.
Daily EMA Cloud on Smaller TimeframesSee the daily cloud on any time frame... Colors and Exponential Moving Average (EMA) are adjustable settings.
Fibonacci-Based Volume Flow (VFI)Fibonacci-based Volume Flow is an advanced next-generation evolution of LazyBear’s original VFI script that calculates and averages up to 21 Fibonacci-based VFI pairings to create a smoothed composite volume flow signal. This unique and powerful approach reduces noise, adapts to volatility, and provides a clearer view of trend strength and market structure across all timeframes. It also includes dynamic fibonacci guide levels, adaptive lookbacks, EMA crossovers, and structure-aware pivot labeling to help traders identify high-quality reversals, confirm directional bias, and detect divergences with greater precision. It's ideal for traders looking to enhance momentum analysis through volume-based confirmation.
🧠 Key Features🧠
🔹 Multi-VFI Fibonacci Fusion🔹
Blends up to 21 VFI signals (5, 13, 21, 34… up to 610) into smartly paired averages (e.g., 13/34, 55/144) — forming a smoothed composite VFI that’s more adaptive, less noisy, and highly responsive across market conditions.
🔸🔸 Dynamic Lookbacks🔸 🔸
Automatically adjusts histogram high/low tracking based on your chart’s timeframe — no more static tuning. Perfect for scalping fast charts or confirming long-term trends.
🟥🟩 Color-Coded Histogram🟥🟩
Visualizes VFI momentum with gradient coloring.
🧩🧩 Signal Crossovers 🧩🧩
Color-coded crossover lines persistently show bullish or bearish dominance.
Includes three powerful crossover systems:
➖5/13 VFI: Fast, early reversal detection
➖8/21 VFI: Swing-trading sweet spot
➖55/144 VFI: Trend confirmation across long cycles
🏷️ 🏷️Pivot Structure Labels🏷️🏷️
Labels oscillator swings with full structural logic:
➖HH, HL, LH, LL, EQ
➖Displays percent change, price at pivot, oscillator reading
➖Smart coloring detects divergence & trend continuation
📈 📈Dynamic Histogram Guides📈📈
Optional zero and ±50% bands anchor histogram levels based on real histogram extremes, not static thresholds — visually frame momentum shifts with context.
📍 📍Persistent High/Low Pivot Lines📍📍
Track the most significant histogram pivots (not price) across time, with smart labels:
➖Volume flow structure zones
➖Label shows price at pivot, oscillator level, and bars since event
➖Ideal for spotting divergence zones, momentum failures, and trend exhaustion.
🔍 🔍Volatility Table (ATR%)🔍🔍
💡Shows real-time volatility compression or expansion
💡Uses multiple ATR periods (e.g., 14 & 55) for short- and medium-term comparison
💡Helps traders understand whether momentum is likely to continue or stall
🔩🔩Volume-weighted VFI baselines🔩🔩
🟢A daily session-based VWAP of the VFI, which resets each day and highlights intraday volume flow context.
🟠A rolling VWA of VFI, which acts like a VWMA over a fixed window (e.g., 55 bars), smoothing short-term fluctuations and supporting trend/momentum confirmation.
These VWAP-style overlays help traders identify strength vs. weakness relative to volume-weighted baselines — useful for divergence spotting, mean reversion setups, or breakout confirmation.
🧰 🧰Under the Hood: How It Works🧰🧰
🔧 Core VFI Logic
Based on LazyBear’s foundational VFI:
➖Uses log returns of price (HLC3)
➖Filters insignificant moves using volatility-weighted thresholds
➖Normalizes volume via adaptive capping (e.g., 2.5× average)
🌀 Composite Blend System
Each VFI instance is smoothed and then fused via user-selectable pairs. This creates a customizable average VFI representing short, mid, and long-term pressure — one value, many time horizons.
📊 EMA Signal Layer
Crosses trigger persistent color shifts in signal lines, making trend strength clear at a glance.
VFI blend feeds into EMA crossovers. You can toggle visibility for:
➖Fast (5/13)
➖Medium (8/21)
➖Slow (55/144)
🧭 Pivot Framework
Structure logic only compares pivots on same-side polarity:
➖Highs compare to highs above zero
➖Lows compare to lows below zero
This avoids nonsensical comparisons and preserves logical sequences (HH → LH → HL).
🧱 Dynamic Labels
All pivots and persistent levels display:
➖Oscillator value
➖Price value
➖Structure tag (e.g., LH, HL)
➖% change from prior pivot
➖Lookback info
➖Bar age
Unlike traditional VFI:
✅ It blends timeframes with Fibonacci precision
✅ Uses dynamic, volatility-aware logic
✅ Embeds visual structure & divergence intelligence
✅ Enhances entry confidence and exit timing
🔧 This isn’t just an indicator — it’s a volume-informed decision engine.
Ideal For:
🔶Trend-followers wanting cleaner volume-based confirmation
🔶Reversal traders spotting structure + divergence
🔶Scalpers or investors needing adaptable signals
🔶Those who loved LazyBear's VFI
📌 Final Note:
As powerful as Fibonacci Blended Volume Flow is, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages, or support/resistance levels. Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
Hurst Exponent Adaptive Filter (HEAF) [PhenLabs]📊 PhenLabs - Hurst Exponent Adaptive Filter (HEAF)
Version: PineScript™ v6
📌 Description
The Hurst Exponent Adaptive Filter (HEAF) is an advanced Pine Script indicator designed to dynamically adjust moving average calculations based on real time market regimes detected through the Hurst Exponent. The intention behind the creation of this indicator was not a buy/sell indicator but rather a tool to help sharpen traders ability to distinguish regimes in the market mathematically rather than guessing. By analyzing price persistence, it identifies whether the market is trending, mean-reverting, or exhibiting random walk behavior, automatically adapting the MA length to provide more responsive alerts in volatile conditions and smoother outputs in stable ones. This helps traders avoid false signals in choppy markets and capitalize on strong trends, making it ideal for adaptive trading strategies across various timeframes and assets.
Unlike traditional moving averages, HEAF incorporates fractal dimension analysis via the Hurst Exponent to create a self-tuning filter that evolves with market conditions. Traders benefit from visual cues like color coded regimes, adaptive bands for volatility channels, and an information panel that suggests appropriate strategies, enhancing decision making without constant manual adjustments by the user.
🚀 Points of Innovation
Dynamic MA length adjustment using Hurst Exponent for regime-aware filtering, reducing lag in trends and noise in ranges.
Integrated market regime classification (trending, mean-reverting, random) with visual and alert-based notifications.
Customizable color themes and adaptive bands that incorporate ATR for volatility-adjusted channels.
Built-in information panel providing real-time strategy recommendations based on detected regimes.
Power sensitivity parameter to fine-tune adaptation aggressiveness, allowing personalization for different trading styles.
Support for multiple MA types (EMA, SMA, WMA) within an adaptive framework.
🔧 Core Components
Hurst Exponent Calculation: Computes the fractal dimension of price series over a user-defined lookback to detect market persistence or anti-persistence.
Adaptive Length Mechanism: Maps Hurst values to MA lengths between minimum and maximum bounds, using a power function for sensitivity control.
Moving Average Engine: Applies the chosen MA type (EMA, SMA, or WMA) to the adaptive length for the core filter line.
Adaptive Bands: Creates upper and lower channels using ATR multiplied by a band factor, scaled to the current adaptive length.
Regime Detection: Classifies market state with thresholds (e.g., >0.55 for trending) and triggers alerts on regime changes.
Visualization System: Includes gradient fills, regime-colored MA lines, and an info panel for at-a-glance insights.
🔥 Key Features
Regime-Adaptive Filtering: Automatically shortens MA in mean-reverting markets for quick responses and lengthens it in trends for smoother signals, helping traders stay aligned with market dynamics.
Custom Alerts: Notifies on regime shifts and band breakouts, enabling timely strategy adjustments like switching to trend-following in bullish regimes.
Visual Enhancements: Color-coded MA lines, gradient band fills, and an optional info panel that displays market state and trading tips, improving chart readability.
Flexible Settings: Adjustable lookback, min/max lengths, sensitivity power, MA type, and themes to suit various assets and timeframes.
Band Breakout Signals: Highlights potential overbought/oversold conditions via ATR-based channels, useful for entry/exit timing.
🎨 Visualization
Main Adaptive MA Line: Plotted with regime-based colors (e.g., green for trending) to visually indicate market state and filter position relative to price.
Adaptive Bands: Upper and lower lines with gradient fills between them, showing volatility channels that widen in random regimes and tighten in trends.
Price vs. MA Fills: Color-coded areas between price and MA (e.g., bullish green above MA in trending modes) for quick trend strength assessment.
Information Panel: Top-right table displaying current regime (e.g., "Trending Market") and strategy suggestions like "Follow trends" or "Trade ranges."
📖 Usage Guidelines
Core Settings
Hurst Lookback Period
Default: 100
Range: 20-500
Description: Sets the period for Hurst Exponent calculation; longer values provide more stable regime detection but may lag, while shorter ones are more responsive to recent changes.
Minimum MA Length
Default: 10
Range: 5-50
Description: Defines the shortest possible adaptive MA length, ideal for fast responses in mean-reverting conditions.
Maximum MA Length
Default: 200
Range: 50-500
Description: Sets the longest adaptive MA length for smoothing in strong trends; adjust based on asset volatility.
Sensitivity Power
Default: 2.0
Range: 1.0-5.0
Description: Controls how aggressively the length adapts to Hurst changes; higher values make it more sensitive to regime shifts.
MA Type
Default: EMA
Options: EMA, SMA, WMA
Description: Chooses the moving average calculation method; EMA is more responsive, while SMA/WMA offer different weighting.
🖼️ Visual Settings
Show Adaptive Bands
Default: True
Description: Toggles visibility of upper/lower bands for volatility channels.
Band Multiplier
Default: 1.5
Range: 0.5-3.0
Description: Scales band width using ATR; higher values create wider channels for conservative signals.
Show Information Panel
Default: True
Description: Displays regime info and strategy tips in a top-right panel.
MA Line Width
Default: 2
Range: 1-5
Description: Adjusts thickness of the main MA line for better visibility.
Color Theme
Default: Blue
Options: Blue, Classic, Dark Purple, Vibrant
Description: Selects color scheme for MA, bands, and fills to match user preferences.
🚨 Alert Settings
Enable Alerts
Default: True
Description: Activates notifications for regime changes and band breakouts.
✅ Best Use Cases
Trend-Following Strategies: In detected trending regimes, use the adaptive MA as a trailing stop or entry filter for momentum trades.
Range Trading: During mean-reverting periods, monitor band breakouts for buying dips or selling rallies within channels.
Risk Management in Random Markets: Reduce exposure when random walk is detected, using tight stops suggested in the info panel.
Multi-Timeframe Analysis: Apply on higher timeframes for regime confirmation, then drill down to lower ones for entries.
Volatility-Based Entries: Use upper/lower band crossovers as signals in adaptive channels for overbought/oversold trades.
⚠️ Limitations
Lagging in Transitions: Regime detection may delay during rapid market shifts, requiring confirmation from other tools.
Not a Standalone System: Best used in conjunction with other indicators; random regimes can lead to whipsaws if traded aggressively.
Parameter Sensitivity: Optimal settings vary by asset and timeframe, necessitating backtesting.
💡 What Makes This Unique
Hurst-Driven Adaptation: Unlike static MAs, it uses fractal analysis to self-tune, providing regime-specific filtering that's rare in standard indicators.
Integrated Strategy Guidance: The info panel offers actionable tips tied to regimes, bridging analysis and execution.
Multi-Regime Visualization: Combines adaptive bands, colored fills, and alerts in one tool for comprehensive market state awareness.
🔬 How It Works
Hurst Exponent Computation:
Calculates log returns over the lookback period to derive the rescaled range (R/S) ratio.
Normalizes to a 0-1 value, where >0.55 indicates trending, <0.45 mean-reverting, and in-between random.
Length Adaptation:
Maps normalized Hurst to an MA length via a power function, clamping between min and max.
Applies the selected MA type to close prices using this dynamic length.
Visualization and Signals:
Plots the MA with regime colors, adds ATR-based bands, and fills areas for trend strength.
Triggers alerts on regime changes or band crosses, with the info panel suggesting strategies like momentum riding in trends.
💡 Note:
For optimal results, backtest settings on your preferred assets and combine with volume or momentum indicators. Remember, no indicator guarantees profits—use with proper risk management. Access premium features and support at PhenLabs.
Ayman – Full Smart Suite Auto/Manual Presets + PanelIndicator Name
Ayman – Full Smart Suite (OB/BoS/Liq/FVG/Pin/ADX/HTF) + Auto/Manual Presets + Panel
This is a multi-condition trading tool for TradingView that combines advanced Smart Money Concepts (SMC) with classic technical filters.
It generates BUY/SELL signals, draws Stop Loss (SL) and Take Profit (TP1, TP2) levels, and displays a control panel with all active settings and conditions.
1. Main Features
Smart Money Concepts Filters:
Order Block (OB) Zones
Break of Structure (BoS)
Liquidity Sweeps
Fair Value Gaps (FVG)
Pin Bar patterns
ADX filter
Higher Timeframe EMA filter (HTF EMA)
Two Operating Modes:
Auto Presets: Automatically adjusts all settings (buffers, ATR multipliers, RR, etc.) based on your chart timeframe (M1/M5/M15).
Manual Mode: Fully customize all parameters yourself.
Trade Management Levels:
Stop Loss (SL)
TP1 – partial profit
TP2 – full profit
Visual Panel showing:
Current settings
Filter status
Trend direction
Last swing levels
SL/TP status
Alerts for BUY/SELL conditions
2. Entry Conditions
A BUY signal is generated when all these are true:
Trend: Price above EMA (bullish)
HTF EMA: Higher timeframe trend also bullish
ADX: Trend strength above threshold
OB: Price in a valid bullish Order Block zone
BoS: Structure break to the upside
Liquidity Sweep: Sweep of recent lows in bullish context
FVG: A bullish Fair Value Gap is present
Pin Bar: Bullish Pin Bar pattern detected (if enabled)
A SELL signal is generated when the opposite conditions are met.
3. Stop Loss & Take Profits
SL: Placed just beyond the last swing low (BUY) or swing high (SELL), with a small ATR buffer.
TP1: Partial profit target, defined as a ratio of the SL distance.
TP2: Full profit target, based on Reward:Risk ratio.
4. How to Use
Step 1 – Apply Indicator
Open TradingView
Go to your chart (recommended: XAUUSD, M1/M5 for scalping)
Add the indicator script
Step 2 – Choose Mode
AUTO Mode: Leave “Use Auto Presets” ON – parameters adapt to your timeframe.
MANUAL Mode: Turn Auto OFF and adjust all lengths, buffers, RR, and filters.
Step 3 – Filters
In the Filters On/Off section, enable/disable specific conditions (OB, BoS, Liq, FVG, Pin Bar, ADX, HTF EMA).
Step 4 – Trading the Signals
Wait for a BUY or SELL arrow to appear.
SL and TP levels will be plotted automatically.
TP1 can be used for partial close and TP2 for full exit.
Step 5 – Alerts
Set alerts via BUY Signal or SELL Signal to receive notifications.
5. Best Practices
Scalping: Use M1 or M5 with AUTO mode for gold or forex pairs.
Swing Trading: Use M15+ and adjust buffers/ATR manually.
Combine with price action confirmation before entering trades.
For higher accuracy, wait for multiple filter confirmations rather than acting on the first arrow.
6. Summary Table
Feature Purpose Can Disable?
Order Block Finds key supply/demand zones ✅
Break of Structure Detects trend continuation ✅
Liquidity Sweep Finds stop-hunt moves ✅
Fair Value Gap Confirms imbalance entries ✅
Pin Bar Price action reversal filter ✅
ADX Trend strength filter ✅
HTF EMA Higher timeframe confirmation ✅