ahr999 Index BITSTAMP
Credits to discountry for making the original script.
reference:
Updates:
- Updated the historical data to use BITSTAMP:BTCUSD since BLX:BNC api is not working anymore
- Implemented a tooltip label displaying the latest AHR index value.
Trendanalyse
TOPIX Relative Strength vs Symbol + Volume Quality (JP)Overview
Relative Strength vs Symbol + Volume Quality (JP) visualizes the relative performance (%) of a stock versus a chosen benchmark (e.g., TOPIX, Nikkei 225, or ETFs) while incorporating volume quality and momentum analysis.
It calculates percentage-point differences between the target and benchmark, smooths them (EMA/SMA), and evaluates whether the strength is supported by quality volume flow.
All data uses confirmed bars only (request.security() with confirmed values) to minimize repainting, and labels are drawn only on confirmed bars.
What It Shows
Relative Performance (%pt): Difference in rate of change between the stock and its benchmark.
Above 0 → outperforming
Below 0 → underperforming
Trend Direction: Short-/mid-term trend from smoothed EMA/SMA.
Volume Quality: Ratio of up-volume to down-volume, scaled from -1 to +1.
Volume Momentum (Z-Score): Measures unusual surges in trading activity.
Strength Detection: Combines price-based strength (relative or z-score) with volume quality and momentum filters.
How to Use
Set your comparison symbol (e.g., TSE:1306, TVC:NI225).
Adjust lookback length and smoothing period/type to fit your analysis window.
Enable “Confirm strength by volume quality” and/or “Use volume Z-score” to filter signals with supportive volume.
Optionally, configure background thresholds to highlight extreme relative strength/weakness.
Use Screener Mode to suppress visual outputs (table/labels) for performance in Pine Screener.
Main Input Groups
Comparison Settings: Benchmark symbol, calculation timeframe.
Period & Smoothing: lookback, smoothLen, and MA type (EMA or SMA).
Price Strength Detection: Enable Z-score mode and adjust zLen / zThresh.
Volume Quality & Momentum: vqThresh (volume quality) and vZth (Z-score threshold).
Display: Toggle histogram tint, background highlight, mini-table, and signal labels.
Background Thresholds: Independent thresholds for histogram/MA lines and colors.
Screener Output: Suppress visuals for screening use.
Output & Coloring
Histogram: Relative performance in %pt. Red = outperforming, Green = underperforming (intensity by magnitude).
White Line (EMA/SMA):
Rising with good volume quality → Red
Rising but poor quality → Yellow
Falling → White
Background: Optional highlight when histogram/MA exceeds user thresholds.
Counters: Hidden plots track how many bars have consecutively exceeded thresholds (usable in screeners).
Alerts
Strength Detection (Price + Volume):
Triggered when price condition (MA > 0 or Z-score > threshold) and volume conditions are met.
Weakness / Loss of Strength:
Triggered on cross-under or when volume conditions fail.
Labels: Optional, shown only on confirmed bars.
Repaint Prevention
All calculations use confirmed bar data only.
Labels appear only when bars close.
On lower timeframes, benchmark update delays may cause minor lag.
Volume quality is derived from up/down bar classification, which can be distorted by gaps or illiquid markets.
Avoid overfitting thresholds — values differ by asset and timeframe.
Practical Applications
Identify outperformance with supportive volume across sectors or themes.
Use streak counters to find consistent relative winners or laggards.
Compare stocks vs sector indices or ETFs to track rotation and momentum shifts.
Disclaimer
This script and its description are provided for educational and informational purposes only.
They do not constitute financial advice or recommendations.
Use at your own discretion, considering market risk, liquidity, and data limitations.
This description follows TradingView’s House Rules (no promotion, plagiarism, or misleading claims).
Publication Guidelines
When publishing:
Do not include promotional links or invitations.
Do not copy text/code from other authors without permission.
Screenshots should illustrate the script’s function only, not serve as marketing material.
Maintain consistency of language (English only for this version).
概要
Relative Strength vs Symbol + Volume Quality (JP) は、対象銘柄と比較指標(例:TOPIX)との相対パフォーマンスを%ポイント差で算出し、平滑化線(EMA/SMA)とヒストグラムで可視化します。さらに、出来高を「質(上げ/下げボリュームのバランス)」と「勢い(Zスコア)」で評価し、価格×出来高の両面から“強さ/弱さ”を判定します。
リペイント抑制のため、request.security()は確定足を参照し、ラベル描画も確定時に限定しています。
何がわかるか
相対パフォーマンス(%pt):対象と比較指標の騰落率差。0より上=相対優位、下=相対劣位。
平滑化トレンド:相対の短中期的な傾き(EMA/SMA)。
出来高の質:上昇バー出来高と下降バー出来高の比から -1〜+1 で評価。
出来高の勢い(Zスコア):直近出来高の異常度。
強/弱シグナル:価格条件(基準越え・Z超え)に、出来高条件(質・勢い)を組み合わせて抽出。
使い方(基本手順)
比較対象を「比較シンボル」で指定(例:TSE:1306、TVC:NI225 等)。
「比較期間(バー数)」と「平滑化(期間/種類)」を調整し、相対の視点を合わせる。
出来高確認を使う場合は「出来高の質で“強さ”を確認」「出来高の勢い(Z)」をオンにし、閾値を調整。
背景ハイライトの**閾値(ヒスト/平均線別)**を設定すると、重要局面を一目で把握可能。
スクリーナー利用時は「スクリーナー用」をオンにして、テーブル/ラベルの描画を抑制。
主な入力項目
比較設定:比較シンボル、計算タイムフレーム。
期間・平滑化:比較期間lookback、平滑化長smoothLen、MA種別(EMA/SMA)。
強さ検出(価格):Zスコア方式のオン/オフ、zLen、zThresh。
出来高の質・勢い:質の閾値vqThresh、勢いZの長さvZlenと閾値vZth。
表示:テーブル、背景、ヒスト濃淡、直近ラベルのON/OFF。
背景(閾値):ヒスト/平均線の上下しきいと背景色。
スクリーナー出力:描画抑制トグル。
出力と色分け
ヒストグラム:相対パフォーマンス(%pt)。プラス域は赤系、マイナス域は緑系で濃淡表示。
白線(実体は平滑化相対):上向きかつ出来高質が閾値以上なら赤、上向きでも質不足なら黄、下降時は白。
背景色(任意):設定したヒスト/平均線の閾値を超過/割れで自動着色。
カウンタ:ヒスト/平均線が各閾値を連続超過/連続割れした本数を、スクリーナーが取得できるよう非表示プロットで出力。
シグナル・アラート
強さ検出(価格+出来高):
価格条件 … 平滑化線の0越え、またはZスコアがzThresh越え。
出来高条件 … 「質 ≥ vqThresh」「勢いZ ≥ vZth」(任意)。
条件一致で「強」アラート/喪失・未達で「弱」アラート。
ラベル(任意):確定足でのみ出力。
リペイントと制約
request.security()は確定足データを用い、確定時ラベルのみ描画する設計です。
比較シンボルの更新周期・分足集計差により、短期足ではタイムラグが生じる場合があります。
出来高の「質」は上昇/下降バーの単純仕分けに依存するため、ギャップや出来高の歪みが強い市場では解釈に注意。
閾値は銘柄・期間で最適値が異なります。**過度な最適化(カーブフィット)**は避けてください。
(公開ガイドライン上も、明確で誤解を生む表現の回避が推奨されます。
TradingView
)
活用アイデア(例)
相対優位×出来高質の改善が同時に起きた局面を抽出。
連続超過カウントで、相対の“粘り”や“伸び”をスクリーニング。
指数だけでなく、業種ETFやセクター指数を比較軸にしてローテーション把握。
免責
本スクリプトおよび説明は情報提供・教育目的です。投資助言・勧誘ではありません。市場リスク、流動性、スリッページ、データ仕様に起因する差異等は利用者の自己責任でご確認ください。TradingViewのハウスルール(広告禁止・独自性・言語一致・わかりやすさ)および公開ルールに準拠する形で記述しています。
U.T.M.S v2🇷🇺 ОПИСАНИЕ (РУССКИЙ)
U.T.M.S v2 — Чистый EMA-кроссовер с фильтрами
Стратегия для 15м (в первую очередь) и 1ч таймфреймов.
Генерирует сигналы при пересечении EMA(8) и EMA(19) только при подтверждении тренда, объёма, волатильности и времени суток.
Каждая сделка закрывается по фиксированному Take Profit и Stop Loss.
✅ Минимум ложных входов
✅ Работает только в ликвидные часы
✅ Полная фильтрация шума и флэта
🔧 Настройки:
Fast EMA / Slow EMA — периоды скользящих (по умолчанию 8 / 19)
Take Profit % — уровень фиксации прибыли (рек. 2.5%)
Stop Loss % — уровень стоп-лосса (рек. 2.0%)
Фильтры (все включены по умолчанию):
Use 1H Trend Filter — вход разрешён только по направлению тренда на 1H (EMA50 > EMA200 для лонга)
Use Volume Filter — объём должен быть ≥ 1.5× среднего за 20 баров
Min Volume Multiplier — нижний порог объёма (рек. 1.5)
Max Volume Multiplier — верхний порог (рек. 3.0–4.0), отсекает аномальные пампы
Use ATR Volatility Filter — минимальная волатильность (рек. 0.3%)
Use Time Filter (UTC) — торговля только в часы высокой ликвидности: 12:00–18:00 и 20:00–02:00 UTC
💡 Идеальна для ручной торговли или подключения сигнальных ботов.
🇬🇧 DESCRIPTION (ENGLISH)
U.T.M.S v2 — Clean EMA Crossover with Filters
Strategy for 15m (primarily) and 1h timeframes.
Generates signals when the EMA(8) and EMA(19) cross, only if trend, volume, volatility, and time of day are confirmed.
Each trade is closed with a fixed Take Profit and Stop Loss.
✅ Low noise, high-quality signals
✅ Active only during high-liquidity hours
✅ Fully protected against flat and fakeouts
🔧 Inputs:
Fast EMA / Slow EMA — moving average periods (default: 8 / 19)
Take Profit % — profit target (suggested: 2.5%)
Stop Loss % — stop loss level (suggested: 2.0%)
Filters (all enabled by default):
Use 1H Trend Filter — trades only in 1H trend direction (EMA50 > EMA200 for long)
Use Volume Filter — volume must be ≥ 1.5× 20-bar average
Min Volume Multiplier — minimum volume threshold (suggested: 1.5)
Max Volume Multiplier — maximum volume cap (suggested: 3.0–4.0), filters out pumps/dumps
Use ATR Volatility Filter — minimum volatility (suggested: 0.3%)
Use Time Filter (UTC) — active only during high-liquidity sessions: 12:00–18:00 & 20:00–02:00 UTC
💡 Perfect for manual trading or webhook-based signal bots.
Gold Spread + DXY Confluence Strategy v2### 🟡 **Gold Spread + DXY Confluence Strategy Indicator**
This custom-built indicator helps you confirm the **real direction of gold (XAU)** by combining:
✅ A **Gold Spread Index** — built from the average of gold priced in six currencies (XAUUSD, XAUAUD, XAUCHF, XAUEUR, XAUGBP, XAU/Silver)
✅ A **normalized DXY overlay** — to compare gold vs USD strength in real time
✅ Visual background zones that show:
- 🟢 Buy confluence (Gold ↑ / DXY ↓)
- 🔴 Sell confluence (Gold ↓ / DXY ↑)
- ⚠️ Divergence (both move same direction — avoid)
---
### 📈 Use this tool to:
- Confirm if gold strength is global, not just USD noise
- Avoid trading during low-volume or choppy market conditions
- Get clean, high-probability entries using your own price action or structure strategy
---
### 🛠 Features:
- Auto-adjusts to your chart’s timeframe
- Real-time background color zones
- Alerts for buy/sell confluence and divergence
- Clean, minimal overlay for easy decision-making
---
**Ideal for intraday traders, swing traders, or anyone trading XAUUSD.**
--
🟡 黃金強弱 + 美元指數共振策略指標
這個自製指標可以幫助你確認黃金(XAU)的真實方向,透過結合以下兩個關鍵數據:
✅ 一個黃金強弱指數(Gold Spread Index)
以六種貨幣的黃金報價為平均(XAUUSD、XAUAUD、XAUCHF、XAUEUR、XAUGBP、黃金/白銀)
✅ 一個標準化的美元指數(DXY)疊加線
可以即時對比黃金與美元的相對強弱
✅ 視覺背景區塊:
🟢 買進共振:黃金上漲 / 美元下跌
🔴 賣出共振:黃金下跌 / 美元上漲
⚠️ 偏離狀態:黃金與美元同方向波動(建議避開)
📈 功能與用途:
幫你辨別黃金是否真正強勢,而不只是受美元影響
避開假突破、震盪盤、低成交量時段
搭配你自己的 SNR 策略或結構型進場方式,提高勝率與交易質量
🛠 功能特色:
自動套用你當前圖表的時間週期
背景顏色即時顯示市場狀態
支援警示功能(買進、賣出共振與偏離提醒)
極簡設計,資訊清楚明確
非常適合做 XAUUSD 的日內交易者或波段交易者使用。
Ronin Pro Trading SystemRonin Pro Trading System is a comprehensive multi-timeframe trading indicator that combines trend analysis, momentum confirmation, volume validation, and Elliott Wave structure to provide high-probability entry and exit signals. Designed for serious traders who want a systematic approach to market analysis.
Trend Following Reflectometry🧭 Trend Following Reflectometry (TFR)
Author: Stef Jonker
Version: Pine Script® v6
The Trend Following Reflectometry (TFR) indicator translates market behavior into the language of impedance and signal reflection theory, providing a unique way to measure trend strength, stability, and purity.
🧩 Summary
Trend Following Reflectometry acts as a trend-quality meter, helping traders identify when a trend is strong, efficient, and worth following — or when the market is too noisy to trust.
It blends physics-inspired logic with practical trading insight, offering both a directional oscillator and a trend stability filter in one tool.
⚙️ Concept
Inspired by electrical impedance matching, this tool compares the market’s characteristic impedance (Z₀) — its natural volatility-to-price behavior — with the load impedance (Zₗ), representing current trend momentum.
The interaction between these two produces a reflection coefficient (Gamma) and a VSWR ratio, which reveal how efficiently market trends are transmitting energy (moving smoothly) versus reflecting noise (becoming unstable).
📊 Core Components
Z₀ (Characteristic Impedance): Market baseline, derived from ATR and SMA.
Zₗ (Load Impedance): Trend momentum based on fast and slow EMAs.
Γ (Gamma – Reflection Coefficient): Measures the mismatch between Z₀ and Zₗ.
VSWR (Voltage Standing Wave Ratio): Quantifies trend purity — lower = cleaner trend.
Impedance Oscillator: Combines momentum and reflection to produce directional bias.
⚡ Gamma & VSWR Interpretation
Gamma (Γ) represents the reflection coefficient — how much of the market’s trend energy is being reflected instead of transmitted.
When Gamma is low, the market trend is smooth and efficient, moving with little resistance.
When Gamma is high, the market becomes unstable or overextended, signaling potential turbulence, exhaustion, or reversal pressure.
VSWR (Voltage Standing Wave Ratio) measures trend purity — how clean or distorted the current trend is.
A low VSWR indicates a well-aligned, steady trend that’s likely to continue smoothly.
A high VSWR suggests an unbalanced or noisy market, where trends may struggle to sustain or could soon reverse.
Together, Gamma and VSWR help identify how well the market’s current momentum aligns with its natural behavior — whether the trend is stable and efficient or reflecting instability beneath the surface.
Golden Cross & Death Cross DetectorThis script will:
Plot both moving averages on your chart
Show triangle markers when crossovers occur
Allow you to set up alerts
Let you choose between SMA and EMA
Customize the periods for both moving averages
LIB_SDz_AucLibrary "LIB_SDz_Auc"
TODO: add library description here
getLineStyle(style)
Parameters:
style (string)
MESA Adaptive Ehlers Flow | AlphaNattMESA Adaptive Ehlers Flow | AlphaNatt
An advanced adaptive indicator based on John Ehlers' MESA (Maximum Entropy Spectrum Analysis) algorithm that automatically adjusts to market cycles in real-time, providing superior trend identification with minimal lag across all market conditions.
🎯 What Makes This Indicator Revolutionary?
Unlike traditional moving averages with fixed parameters, this indicator uses Hilbert Transform mathematics to detect the dominant market cycle and adapts its responsiveness accordingly:
Automatically detects market cycles using advanced signal processing
MAMA (MESA Adaptive Moving Average) adapts from fast to slow based on cycle phase
FAMA (Following Adaptive Moving Average) provides confirmation signals
Dynamic volatility bands that expand and contract with cycle detection
Zero manual optimization required - the indicator tunes itself
📊 Core Components
1. MESA Adaptive Moving Average (MAMA)
The MAMA is the crown jewel of adaptive indicators. It uses the Hilbert Transform to measure the market's dominant cycle and adjusts its smoothing factor in real-time:
During trending phases: Responds quickly to capture moves
During choppy phases: Smooths heavily to filter noise
Transition is automatic and seamless based on price action
Parameters:
Fast Limit: Maximum responsiveness (default: 0.5) - how fast the indicator can adapt
Slow Limit: Minimum responsiveness (default: 0.05) - maximum smoothing during consolidation
2. Following Adaptive Moving Average (FAMA)
The FAMA is a slower version of MAMA that follows the primary signal. The relationship between MAMA and FAMA provides powerful trend confirmation:
MAMA > FAMA: Bullish trend in progress
MAMA < FAMA: Bearish trend in progress
Crossovers signal potential trend changes
3. Hilbert Transform Cycle Detection
The indicator employs sophisticated DSP (Digital Signal Processing) techniques:
Detects the dominant cycle period (1.5 to 50 bars)
Measures phase relationships in the price data
Calculates adaptive alpha values based on cycle dynamics
Continuously updates as market character changes
⚡ Key Features
Adaptive Alpha Calculation
The indicator's "intelligence" comes from its adaptive alpha:
Alpha dynamically adjusts between Fast Limit and Slow Limit based on the rate of phase change in the market cycle. Rapid phase changes trigger faster adaptation, while stable cycles maintain smoother response.
Dynamic Volatility Bands
Unlike static bands, these adapt to both ATR volatility AND the current cycle state:
Bands widen when the indicator detects fast adaptation (trending)
Bands narrow during slow adaptation (consolidation)
Band Multiplier controls overall width (default: 1.5)
Provides context-aware support and resistance
Intelligent Color Coding
Cyan: Bullish regime (MAMA > FAMA and price > MAMA)
Magenta: Bearish regime (MAMA < FAMA and price < MAMA)
Gray: Neutral/transitional state
📈 Trading Strategies
Trend Following Strategy
The MESA indicator excels at identifying and riding strong trends while automatically reducing sensitivity during choppy periods.
Entry Signals:
Long: MAMA crosses above FAMA with price closing above MAMA
Short: MAMA crosses below FAMA with price closing below MAMA
Exit/Management:
Exit longs when MAMA crosses below FAMA
Exit shorts when MAMA crosses above FAMA
Use dynamic bands as trailing stop references
Mean Reversion Strategy
When price extends beyond the dynamic bands during established trends, look for bounces back toward the MAMA line.
Setup Conditions:
Strong trend confirmed by MAMA/FAMA alignment
Price touches or exceeds outer band
Enter on first sign of reversal toward MAMA
Target: Return to MAMA line or opposite band
Cycle-Based Swing Trading
The indicator's cycle detection makes it ideal for swing trading:
Enter on MAMA/FAMA crossovers
Hold through the detected cycle period
Exit on counter-crossover or band extremes
Works exceptionally well on 4H to Daily timeframes
🔬 Technical Background
The Hilbert Transform
The Hilbert Transform is a mathematical operation used in signal processing to extract instantaneous phase and frequency information from a signal. In trading applications:
Separates trend from cycle components
Identifies the dominant market cycle without curve-fitting
Provides leading indicators of trend changes
MESA Algorithm Components
Smoothing: 4-bar weighted moving average for noise reduction
Detrending: Removes linear price trend to isolate cycles
InPhase & Quadrature: Orthogonal components for phase measurement
Homodyne Discriminator: Calculates instantaneous period
Adaptive Alpha: Converts period to smoothing factor
MAMA/FAMA: Final adaptive moving averages
⚙️ Optimization Guide
Fast Limit (0.1 - 0.9)
Higher values (0.5-0.9): More responsive, better for volatile markets and lower timeframes
Lower values (0.1-0.3): Smoother response, better for stable markets and higher timeframes
Default 0.5: Balanced for most applications
Slow Limit (0.01 - 0.1)
Higher values (0.05-0.1): Less smoothing during consolidation, more signals
Lower values (0.01-0.03): Heavy smoothing during chop, fewer but cleaner signals
Default 0.05: Good noise filtering while maintaining responsiveness
Band Multiplier (0.5 - 3.0)
Adjust based on instrument volatility
Backtest to find optimal value for your specific market
1.5 works well for most forex and equity indices
Consider higher values (2.0-2.5) for cryptocurrencies
🎨 Visual Interpretation
The gradient visualization shows probability zones around the MESA line:
MESA line: The adaptive trend center
Band expansion: Indicates strong cycle detection and trending
Band contraction: Indicates consolidation or ranging market
Color intensity: Shows confidence in trend direction
💡 Best Practices
Let it adapt: Give the indicator 50+ bars to properly calibrate to the market
Combine timeframes: Use higher timeframe MESA for trend bias, lower for entries
Respect the bands: Price rarely stays outside bands for extended periods
Watch for compression: Narrow bands often precede explosive moves
Volume confirmation: Combine with volume for higher probability setups
📊 Optimal Timeframes
15m - 1H: Day trading with Fast Limit 0.6-0.8
4H - Daily: Swing trading with Fast Limit 0.4-0.6 (recommended)
Weekly: Position trading with Fast Limit 0.2-0.4
⚠️ Important Considerations
The indicator needs time to "learn" the market - avoid trading the first 50 bars after applying
Extreme gap events can temporarily disrupt cycle calculations
Works best in markets with detectable cyclical behavior
Less effective during news events or extreme volatility spikes
Consider the detected cycle period for position holding times
🔍 What Makes MESA Superior?
Compared to traditional indicators:
vs. Fixed MAs: Automatically adjusts to market conditions instead of using one-size-fits-all parameters
vs. Other Adaptive MAs: Uses true DSP mathematics rather than simple volatility adjustments
vs. Manual Optimization: Continuously re-optimizes itself in real-time
vs. Lagging Indicators: Hilbert Transform provides earlier trend change detection
🎓 Understanding Adaptation
The magic of MESA is that it solves the eternal dilemma of technical analysis: be fast and get whipsawed in chop, or be smooth and miss the early move. MESA does both by detecting when to be fast and when to be smooth.
Adaptation in Action:
Strong trend starts → MESA quickly detects phase change → Fast Limit kicks in → Early entry
Trend continues → Phase stabilizes → MESA maintains moderate speed → Smooth ride
Consolidation begins → Phase changes slow → Slow Limit engages → Whipsaw avoidance
🚀 Advanced Applications
Multi-timeframe confluence: Use MESA on 3 timeframes for high-probability setups
Divergence detection: Watch for MAMA/price divergences at band extremes
Cycle period analysis: The internal period calculation can guide position duration
Band squeeze trading: Narrow bands + MAMA/FAMA cross = high-probability breakout
Created by AlphaNatt - Based on John Ehlers' MESA research. For educational purposes. Always practice proper risk management. Not financial advice. Always DYOR.
SD Demand & Supply IndicatorSD Demand & Supply Indicator automatically identifies and displays demand and supply zones across multiple timeframes.
The indicator detects:
Demand Zones: Drop–Boring–Rally (DBR) and Rally–Boring–Rally (RBR) formations
Supply Zones: Rally–Boring–Drop (RBR) and Drop–Boring–Drop (DBD) formations
When a Demand Zone is detected, it plots a blue Label below the relevant boring candle. When a Supply Zone is detected, it plots a red Label above the relevant boring candle — making it easy to visualize potential reversal areas.
With built-in alert functionality, you can also set alerts on your preferred symbols and timeframes to get instant notifications whenever new Demand or Supply Zones are formed.
How the Script Works?
1. The script scans the price action of three to five consecutive candles to identify potential Demand and Supply patterns based on the open, High, Low and close prices.
2. The script evaluates every candle’s price movement based on set conditions to confirm a valid demand or supply pattern.
3. For demand cases, the script recognizes specific formations such as Drop– Boring –Rally (DBR) and Rally– Boring –Rally (RBR), which indicate potential buying zones.
4. For supply cases, it identifies Rally– Boring –Drop (RBD) and Drop– Boring –Drop (DBD) structures, indicate potential selling zones.
5. When a valid Demand Zone is detected, the script plots a Blue label below the relevant Boring candle.
6. When a valid Supply Zone is found, it plots a Red label above the relevant Boring candle.
7. The script includes an alert feature that notifies users in real-time whenever a valid demand or supply pattern is formed, allowing timely action
How Users can get benefited using this Script?
1. The labels and text plotted by the script help traders visually identify potential entry and exit points.
2. When a valid Demand Zone is detected and the price revisits it, it may indicate a potential bullish reversal.
3. When a valid Supply Zone is detected and the price revisits it, it may indicate a potential bearish reversal.
4. Users can integrate this script with other indicators, fundamental data, or sentiment analysis to confirm signals and make more informed decisions.
5. Traders should use proper risk management strategies, including stop-loss orders to limit losses and targets when the trade moves in their favor.
Settings Explained
1. Boring & Legin Ratio
This is the ratio between the Legin candle and the Boring candle.
A default value of 2 means the Legin candle size (High–Low) is twice the size (High–Low) of the Boring candle.
2. Leg-In & Leg-Out Ratio
This is the ratio of Legin candle and Legout candle.
A default value 2 means the Legout candle size (High-Low) is twice the size (High-Low) of the Legin candle.
3. Leg-In & Three-Leg-Out Ratio
This is the ratio of Legin candle and to the combined size of three Legout candles. A default value 2 means the overall size of the three Legout candles is twice that of the Legin candle.
4. Leg-In Body to Wick Ratio
It is the ratio between the body size of a candle and its total wick length.
A default value of 0.6 means that 60% of the total candle length should be the body.
Zone Selection Filters
1. All Possible Zones
Displays all types of zones, including with or without Clear Area and with or without True Range (TR) vs Average True Range (ATR) criteria
2. All Zones with TR Vs ATR
Shows all zones but with True Range (TR) vs Average True Range (ATR) criteria.
3. Clear Area Zone Only
It will show the Zone with Clear Area and either with or without TR Vs ATR compliance
Clear Area Zone – is considered when the body of the Legout candle does not overlap the Boring candle. In other words, the right side of the Boring candle area remains completely free
4. Clear Area Zone with TR vs ATR Compliance
It will show the Zone with Clear Area and with TR Vs ATR compliance
Note: No. 1 and 2 is suitable for Forex, and crypto market segment
No. 3 and 4 is suitable for commodity and stock market segment
What is TR Vs ATR Criteria?
TR (True Range) vs ATR (Average True Range) criteria is used to validate the strength of a Demand or Supply Zone and it is very important criteria.
For Legin Candle (first candle of the pattern from left) — TR value should be greater than the ATR value.
For Boring Candle (second candle of the pattern from left) — TR value should be smaller than the ATR value.
For Legout Candle (third ,fourth & fifth candle of the pattern from left) — TR value should again be greater than the ATR value,
Important:
Due to the high calculation effort, the history is limited to maximum 10 Zones in total. All zones prior to that will not be displayed so that chart remain clear. Once our indicator has started displaying a Zone, then zone will be visible until it exceeds maximum 10 Zone history. This indicator does not repaint. All signals remain fixed once a candle closes.
What Makes this Indicator Unique?
The Smart Dude Indicator stands out because it doesn’t just mark Demand and Supply Zones — it qualifies them using advanced candle behavior and volatility analysis by using TR Vs ATR analysis .
Unlike typical zone indicators that rely only on price structure, Smart Dude combines candle-to-candle ratio logic with TR vs ATR criteria
Why traders use this indicator?
This strategy is already being used by many experienced traders, including some of my close trading associates. They’ve seen results and even encouraged me to publish it so that more traders can benefit from it. The indicator combines key elements like candle ratio and TR vs ATR criteria, giving users a structured and reliable way to identify zones.
How this Indicator Is Original?
The Smart Dude Indicator is a fully original work — designed and coded from scratch with a unique logic structure.
It is not copied or derived from any existing open-source script.
Key points that make it unique and original:
Exclusive Candle Ratio Logic
TR vs ATR Integration
Clear Area Detection
Fully Hand-Written Logic
Every condition — from candle identification to ratio calculation and plotting — has been manually coded line by line without importing or modifying any existing public logic.
Disclaimer:
This indicator is only for educational purposes and that highlights potential market opportunities. It should not be treated as financial or investment advice.
Trading in financial markets involves risk. The indicator is designed to assist you in making more informed decisions but outcomes depend on your due intelligence and zone validation skills
Arnaud Legoux Gaussian Flow | AlphaNattArnaud Legoux Gaussian Flow | AlphaNatt
A sophisticated trend-following and mean-reversion indicator that combines the power of the Arnaud Legoux Moving Average (ALMA) with advanced Gaussian distribution analysis to identify high-probability trading opportunities.
🎯 What Makes This Indicator Unique?
This indicator goes beyond traditional moving averages by incorporating Gaussian mathematics at multiple levels:
ALMA uses Gaussian distribution for superior price smoothing with minimal lag
Dynamic envelopes based on Gaussian probability zones
Multi-layer gradient visualization showing probability density
Adaptive envelope modes that respond to market conditions
📊 Core Components
1. Arnaud Legoux Moving Average (ALMA)
The ALMA is a highly responsive moving average that uses Gaussian distribution to weight price data. Unlike simple moving averages, ALMA can be fine-tuned to balance responsiveness and smoothness through three key parameters:
ALMA Period: Controls the lookback window (default: 21)
Gaussian Offset: Shifts the Gaussian curve to adjust lag vs. responsiveness (default: 0.85)
Gaussian Sigma: Controls the width of the Gaussian distribution (default: 6.0)
2. Gaussian Envelope System
The indicator features three envelope calculation modes:
Fixed Mode: Uses ATR-based fixed width for consistent envelope sizing
Adaptive Mode: Dynamically adjusts based on price acceleration and volatility
Hybrid Mode: Combines ATR and standard deviation for balanced adaptation
The envelopes represent statistical probability zones. Price moving beyond these zones suggests potential mean reversion opportunities.
3. Momentum-Adjusted Envelopes
The envelope width automatically expands during strong trends and contracts during consolidation, providing context-aware support and resistance levels.
⚡ Key Features
Multi-Layer Gradient Visualization
The indicator displays 10 gradient layers between the ALMA and envelope boundaries, creating a visual "heat map" of probability density. This helps traders quickly assess:
Distance from the mean
Potential support/resistance strength
Overbought/oversold conditions in context
Dynamic Color Coding
Cyan gradient: Price below ALMA (bullish zone)
Magenta gradient: Price above ALMA (bearish zone)
The ALMA line itself changes color based on price position
Trend Regime Detection
The indicator automatically identifies market regimes:
Strong Uptrend: Trend strength > 0.5% with price above ALMA
Strong Downtrend: Trend strength < -0.5% with price below ALMA
Weak trends and ranging conditions
📈 Trading Strategies
Mean Reversion Strategy
Look for price entering the extreme Gaussian zones (beyond 95% of envelope width) when trend strength is moderate. These represent statistical extremes where mean reversion is probable.
Signals:
Long: Price in lower Gaussian zone with trend strength > -0.5%
Short: Price in upper Gaussian zone with trend strength < 0.5%
Trend Continuation Strategy
Enter when price crosses the ALMA during confirmed strong trend conditions, riding momentum while using the envelope as a trailing stop reference.
Signals:
Long: Price crosses above ALMA during strong uptrend
Short: Price crosses below ALMA during strong downtrend
🎨 Visualization Guide
The gradient layers create a "probability cloud" around the ALMA:
Darker shades (near ALMA): High probability zone - price tends to stay here
Lighter shades (near envelope edges): Lower probability - potential reversal zones
Price at envelope extremes: Statistical outliers - strongest mean reversion setups
⚙️ Customization Options
ALMA Parameters
Adjust period for different timeframes (lower for day trading, higher for swing trading)
Modify offset to tune responsiveness vs. smoothness
Change sigma to control distribution width
Envelope Configuration
Choose envelope mode based on market characteristics
Adjust multiplier to match instrument volatility
Modify gradient depth for visual preference (5-15 layers)
Signal Enhancement
Momentum Length: Lookback for trend strength calculation
Signal Smoothing: Additional EMA smoothing to reduce noise
🔔 Built-in Alerts
The indicator includes six pre-configured alert conditions:
ALMA Trend Long - Price crosses above ALMA in strong uptrend
ALMA Trend Short - Price crosses below ALMA in strong downtrend
Mean Reversion Long - Price enters lower Gaussian zone
Mean Reversion Short - Price enters upper Gaussian zone
Strong Uptrend Detected - Momentum confirms strong bullish regime
Strong Downtrend Detected - Momentum confirms strong bearish regime
💡 Best Practices
Use on clean, liquid markets with consistent volatility
Combine with volume analysis for confirmation
Adjust envelope multiplier based on backtesting for your specific instrument
Higher timeframes (4H+) generally provide more reliable signals
Use adaptive mode for trending markets, hybrid for mixed conditions
⚠️ Important Notes
This indicator works best in markets with normal price distribution
Extreme news events can invalidate Gaussian assumptions temporarily
Always use proper risk management - no indicator is perfect
Backtest parameters on your specific instrument and timeframe
🔬 Technical Background
The Arnaud Legoux Moving Average was developed to solve the classic dilemma of moving averages: the trade-off between lag and noise. By applying Gaussian distribution weighting, ALMA achieves superior smoothing while maintaining responsiveness to price changes.
The envelope system extends this concept by creating probability zones based on volatility and momentum, effectively mapping where price is "likely" vs "unlikely" to be found based on statistical principles.
Created by AlphaNatt - For educational purposes. Always practice proper risk management. Not financial advice. Always DYOR.
TRADE ORBIT: Rate Of Change (ROC)DESCRIPTION — TRADE ORBIT: Rate Of Change (ROC)
The Rate of Change (ROC) indicator measures the momentum and speed of price movement by comparing the current price to the price a fixed number of periods ago.
It helps traders identify trend strength, momentum shifts, and potential reversals.
⚙️ Formula
𝑅
𝑂
𝐶
=
(
𝐶
𝑢
𝑟
𝑟
𝑒
𝑛
𝑡
𝑃
𝑟
𝑖
𝑐
𝑒
−
𝑃
𝑟
𝑖
𝑐
𝑒
𝑛
𝑃
𝑒
𝑟
𝑖
𝑜
𝑑
𝑠
𝐴
𝑔
𝑜
)
𝑃
𝑟
𝑖
𝑐
𝑒
𝑛
𝑃
𝑒
𝑟
𝑖
𝑜
𝑑
𝑠
𝐴
𝑔
𝑜
×
100
ROC=
Price n Periods Ago
(Current Price−Price n Periods Ago)
×100
📊 Settings
Length: 18 (number of bars used for ROC calculation)
Levels:
0 → Neutral line (trend direction threshold)
-2 → Minor bearish threshold or potential oversold zone
🎯 Interpretation
ROC > 0 → Positive momentum / Bullish pressure
ROC < 0 → Negative momentum / Bearish pressure
Crossing above 0 → Momentum turning bullish
Crossing below 0 → Momentum turning bearish
ROC near -2 → Possible exhaustion of downside momentum (potential reversal zone)
🌈 Visual Aids
ROC line (Blue): Represents momentum changes.
Background color:
Green → ROC > 0 (bullish environment)
Red → ROC < 0 (bearish environment)
Horizontal levels:
0 (neutral)
-2 (support level for momentum)
Alpha Signal PROSuggested Title:
Probability Indicator: Alpha Signal PRO
English Description for TradingView Publication:
Overview
Tired of indicators that generate endless signals without telling you the true quality of each setup?
Alpha Signal PRO is more than just another buy/sell indicator; it is a complete decision-support system designed for traders who operate on confluence and high-probability setups. Instead of just telling you when to enter, this indicator analyzes each potential opportunity through a proprietary engine and grades it within a clear hierarchy. This allows you to focus only on the highest quality setups and manage your risk intelligently.
👑 The Difference: The Signal Grading Engine™
The true power of Alpha Signal PRO lies in its intelligent analysis engine. Rather than treating all signals equally, it qualifies them across different confidence levels, enabling superior risk management and a focus on A++ setups.
Basic Signal (M): A moderate-quality opportunity, ideal for more active traders targeting shorter-term moves.
Reinforced Signal (M+): A high-quality setup where multiple trend and momentum factors are in alignment. These are the signals that form the foundation of a consistent strategy.
ALPHA Signal (A++): The "Golden Setup." A rare confluence of ideal market conditions, confirmed by an algorithm that detects institutional strength. These are the highest-conviction signals, designed to capture the most significant market moves.
✅ Key Features
High-Precision Signals: A proprietary algorithm identifies entry points based on momentum and trend continuation.
Signal Quality Grading: Every signal is graded (M, M+, A++) so you instantly know the strength of each opportunity.
100% Non-Repainting: What you see on the chart is exactly how signals would have appeared in real-time. Absolute reliability for your studies and visual backtesting.
Dynamic Risk Management: Stop Loss and Take Profit levels are automatically calculated based on the market's current volatility (ATR), adapting to any asset.
Multiple Exit Modes: Configure your exit strategy to suit your style, whether for scalping, day trading, or swing trading.
Complete Performance Dashboard: Track key performance metrics directly on your chart, allowing for quick and efficient optimization.
Integrated Alert System: Never miss an opportunity. Receive detailed alerts, including the signal's quality grade, on your mobile device or desktop.
How to Use: The Sniper Philosophy
Alpha Signal PRO is designed for traders who prefer quality over quantity.
Focus on ALPHA Signals: Patience is key. Wait for the A++ setups, which represent the best opportunities the system can find.
Adapt to the Asset: The strategy thrives on momentum-driven assets like Indices, Crypto, and Metals. For slower, mean-reverting markets like Forex pairs, we strongly recommend using higher timeframes (H1, H4) to capture clearer trends.
Trust the Risk Management: Use the ATR-based SL and TP levels as a foundation for solid and consistent risk management.
Access
This is a private, invite-only indicator. It will not be made available in the public TradingView library.
Disclaimer: Success in trading requires more than a good tool. It is essential to combine the use of Alpha Signal PRO with strict risk management and discipline. Past performance is not indicative of future results.
Hello Crypto! Modern Combo Snapshot
Unified long/short analyzer blending EMA structure, SuperTrend, WaveTrend, QQE, and volume pressure.
Background shading flags “watch” and “ready” states; optional long/short modules let you focus on one side.
Alerts fire when every checklist item aligns, while the side-panel table summarizes trend, momentum, liquidity, and overall score in real time.
Indicator → Trend Analysis
Indicator → Momentum Oscillators
Indicator → Volume Indicators
Tags:
cryptocurrency, bitcoin, altcoins, trend-following, momentum, volume, ema, supertrend, intraday, swing-trading, alerts, checklist, trading-strategy, risk-management
Asia & London Session High/Low – EOD Segments (v4.5)What it does
Plots the Asia and London session high & low each day.
When a session ends, its high/low are locked (non-repainting) and drawn as horizontal segments that auto-extend to the end of that same day (no infinite rays).
Optional labels show the exact level at session close.
Toggle whether to keep prior days on the chart or auto-clear them on the first bar of a new day.
Why traders use it
Quickly see overnight liquidity levels that often act as magnets or barriers during the U.S. session.
Map session range extremes for breakout/reversal planning, partials, and invalidation.
Works great alongside VWAP, 8/20/200 MAs, or your NY session tools to build confluence.
How it works
You define the session windows (defaults: Asia 00:00–06:00, London 07:00–11:00).
While a session is active, the script tracks running high/low.
On the bar after the session ends, the level is finalized and drawn; the segment’s right edge updates each bar until EOD, then stops automatically.
Inputs
Session Timezone: “Exchange”, UTC, or a specific region (set this to match your venue).
Asia / London Session: editable HHMM-HHMM windows.
Show Asia / Show London: enable either/both sessions.
Keep history: keep or auto-delete previous days.
Show labels: price labels at session close.
Colors & width: customize high/low colors and line width.
Best practices
Use on intraday timeframes (1–60m).
For equities/futures, set timezone to your exchange (e.g., America/New_York). For FX/crypto, pick what matches your workflow.
Common tweak: London 08:00–12:00 local; Asia 00:00–05:00 or your broker’s definition.
Notes
Non-repainting: levels only print once the session is complete.
Designed to be light and reliable—no boxes, just clean lines and labels.
If you want NY session levels, midlines (50%), anchored stop-time, or alerts on touches, this script can be extended.
For educational use only. Not financial advice.
ATR Trend StatusThis indicator reports two key data points.
Daily ATR(10): The 10-period daily average true range. Regardless of the timeframe, the ATR calculation is based on daily bars. This gives you a consistent measure of 10-day volatility.
Trend Status: Indicates confluence across the timeframes. "Trending" indicates that this pair is trending on both the higher and lower timeframes. If it displays "Check Trend," then there is a divergence across the timeframes.
Modern Combo Crypto SuiteBlends long and short playbooks in one overlay with quick toggles.
Tracks EMA stacks, SuperTrend, WaveTrend, QQE, and volume to score bias.
Colors the chart background when watch/ready conditions align.
Fires alerts for imminent or fully aligned long/short setups.
Displays a live checklist table summarizing trend, momentum, and volume confidence.
Surge Guru Core✨ Surge Guru Core — Your Ultimate Trading Intelligence Dashboard
Transform your charts into a professional command center with Surge Guru Core, the all-in-one indicator that combines legendary technical analysis with cutting-edge correlation intelligence.
🌊 Multi-Layered Market Vision
Ichimoku Cloud — Ancient wisdom meets modern precision. Navigate bullish and bearish zones with crystal-clear visual guidance
EMA 200 — The institutional trend line that separates the strong from the weak
Bollinger Middle Band — Your volatility compass for perfect entry timing
🔄 Intelligent Correlation & Hedging Assistant
What sets Surge Guru apart? Real-time correlation tracking across multiple assets (BTC, ETH, SOL) with automated hedge signals. Know when to protect your gains and when to strike with confidence.
📊 Live Statistics Dashboard
Instant trend direction analysis
ATR volatility readings
Smart hedge opportunity alerts (🔰 HEDGE / 🔄 REVERSAL)
Multi-asset correlation matrix at a glance
💎 Crystal-Clear Price Action
Elegant dotted price line keeps your focus where it matters — no chart clutter, just pure trading clarity.
Perfect for crypto traders, swing traders, and risk-conscious investors who demand more than basic indicators.
Surge Guru Core — Trade Smarter, Not Harder.
www.Surge.Guru
Visual Trend IndicatorVisual Trend Indicator v1
Combines SuperTrend + EMA Trend Score into a visual color-based overlay for candlestick charts.
Arrows appear when RSI(2) and SlowStochastic(8,3) are countertrend signals and represent good odds to buy the dip / sell the rip.
Gunzo Trend Sniper For Loop🧠 Gunzo Trend Sniper For Loop — Adaptive Trend Momentum Framework
The Gunzo Trend Sniper For Loop is a precision-built, adaptive trend analysis system designed to expose hidden trend strength, exhaustion points, and directional momentum within any market — from cryptocurrencies to equities and forex.
At its core, this indicator integrates a loop-based comparative engine with a multi-type adaptive moving average filter, producing a highly responsive yet smooth measure of directional sentiment.
⚙️ Core Concept
Gunzo Trend Sniper quantifies market bias by comparing the current smoothed weighted average of price to its historical values across a dynamic lookback window.
Through this iterative “for loop” scoring process, the indicator tallies how many of the recent bars exhibit higher or lower values than the present one — forming a trend strength score that oscillates between bullish and bearish dominance.
In essence:
Positive score values indicate sustained upward bias — more candles recently closed below the current value.
Negative or low score values signal downward pressure — suggesting that recent candles are outperforming the current value.
📊 Interpreting the Chart
The indicator plots two complementary visuals:
Gunzo Trend Score (Oscillator Panel)
Green Zones (Above Upper Threshold) → Confirmed uptrend momentum and accumulation.
Red Zones (Below Lower Threshold) → Confirmed downtrend pressure and potential distribution.
Neutral Region (Between Thresholds) → Consolidation or transitional phases.
Gunzo Trend Line (Overlay on Price Chart)
The plotted line dynamically changes color:
🟩 Green: Confirmed bullish trend bias
🟥 Red: Confirmed bearish momentum
⚪ Gray: Neutral or indecisive period
This color transition acts as a visual confirmation layer, aligning the oscillator’s internal score with price structure.
🔍 How to Use It
1. Trend Identification:
When the oscillator consistently remains above the upper threshold, and the overlay line turns green, the market exhibits strong bullish continuation.
Sustained readings below the lower threshold with a red overlay signal dominant bearish control.
2. Entry Confirmation:
Combine this indicator with breakout or pullback setups. For example, enter long positions when:
The oscillator crosses above the upper threshold from below,
The overlay line flips from red to green, confirming new momentum.
Short entries follow the inverse logic.
3. Divergence Detection:
Price forming higher highs while the Gunzo Trend Score forms lower highs may hint at momentum exhaustion — signaling potential reversals.
4. Adaptive Thresholding:
Adjust ThresholdL and ThresholdS to fit volatility.
Tighter thresholds increase sensitivity (useful in lower timeframes).
Wider thresholds filter out noise (ideal for daily or higher intervals).
🧭 Strategic Insights
The Gunzo Trend Sniper is more than an oscillator — it’s a multi-dimensional market bias model.
Its comparative logic captures how consistent recent directional strength has been, effectively quantifying trend persistence. This makes it especially valuable for:
Momentum confirmation before breakouts.
Avoiding false reversals during volatile consolidation phases.
Detecting early trend slowdowns before major reversals.
| Parameter | Description |
| ------------------------------- | ------------------------------------------------------------------- |
| `MA Type` | Selects the smoothing algorithm (SMA, EMA, SMMA, or WMA).
| `MA Source` | Price input (default: OHLC4). |
| `Gunzo Length` | Lookback for the moving average engine. |
| `Smoothing Length` | Additional smoothing layer for refined signals. |
| `From / To` | Defines the historical range for the scoring loop. |
| `Threshold Uptrend / Downtrend` | Determines when a market is considered strongly bullish or bearish. |
💡 Pro Tips
Combine with volume-based indicators or ATR filters for volatility-adjusted entries.
Use in conjunction with higher timeframe confirmation — e.g., align the Gunzo Trend on 4H and 1D for stronger bias.
Works exceptionally well with trend-following strategies, especially when paired with trailing stop systems.
Metallic Retracement ToolI made a version of the Metallic Retracement script where instead of using automatic zig-zag detection, you get to place the points manually. When you add it to the chart, it prompts you to click on two points. These two points become your swing range, and the indicator calculates all the metallic retracement levels from there and plots them on your chart. You can drag the points around afterwards to adjust the range, or just add the indicator to the chart again to place a completely new set of points.
The mathematical foundation is identical to the original Metallic Retracement indicator. You're still working with metallic means, which are the sequence of constants that generalize the golden ratio through the equation x² = kx + 1. When k equals 1, you get the golden ratio. When k equals 2, you get silver. Bronze is 3, and so on forever. Each metallic number generates its own set of retracement ratios by raising alpha to various negative powers, where alpha equals (k + sqrt(k² + 4)) / 2. The script algorithmically calculates these levels instead of hardcoding them, which means you can pick any metallic number you want and instantly get its complete retracement sequence.
What's different here is the control. Automatic zig-zag detection is useful when you want the indicator to find swings for you, but sometimes you have a specific price range in mind that doesn't line up with what the zig-zag algorithm considers significant. Maybe you're analyzing a move that's still developing and hasn't triggered the zig-zag's reversal thresholds yet. Maybe you want to measure retracements from an arbitrary high to an arbitrary low that happened weeks apart with tons of noise in between. Manual placement lets you define exactly which two points matter for your analysis without fighting with sensitivity settings or waiting for confirmation.
The interactive placement system uses TradingView's built-in drawing tools, so clicking the two points feels natural and works the same way as drawing a trendline or fibonacci retracement. First click sets your starting point, second click sets your ending point, and the indicator immediately calculates the range and draws all the metallic levels extending from whichever point you chose as the origin. If you picked a swing low and then a swing high, you get retracement levels projecting upward. If you went from high to low, they project downward.
Moving the points after placement is as simple as grabbing one of them and dragging it to a new location. The retracement levels recalculate in real-time as you move the anchor points, which makes it easy to experiment with different range definitions and see how the levels shift. This is particularly useful when you're trying to figure out which swing points produce retracement levels that line up with other technical features like previous support or resistance zones. You can slide the points around until you find a configuration that makes sense for your analysis.
Adding the indicator to the chart multiple times lets you compare different metallic means on the same price range, or analyze multiple ranges simultaneously with different metallic numbers. You could have golden ratio retracements on one major swing and silver ratio retracements on a smaller correction within that swing. Since each instance of the indicator is independent, you can mix and match metallic numbers and ranges however you want without one interfering with the other.
The settings work the same way as the original script. You select which metallic number to use, control how many power ratios to display above and below the 1.0 level, and adjust how many complete retracement cycles you want drawn. The levels extend from your manually placed swing points just like they would from automatically detected pivots, showing you where price might react based on whichever metallic mean you've selected.
What this version emphasizes is that retracement analysis is subjective in terms of which swing points you consider significant. Automatic detection algorithms make assumptions about what constitutes a meaningful reversal, but those assumptions don't always match your interpretation of the price action. By giving you manual control over point placement, this tool lets you apply metallic retracement concepts to exactly the price ranges you care about, without requiring those ranges to fit someone else's definition of a valid swing. You define the context, the indicator provides the mathematical framework.
GainzAlgo Standard🧠 GainzAlgo Standard — Intelligent Multi-Filter Signal System
GainzAlgo Standard is a non-repainting signal system that identifies potential market reversals with structured precision. It does this by combining four analytical layers—candlestick structure, volatility dynamics, RSI momentum confirmation, and short-term trend analysis—into a single, cohesive decision process.
Unlike mashups that simply merge indicators, GainzAlgo integrates these components through conditional sequencing, where each layer must confirm the previous one before a signal is produced. This logical progression filters out noise and isolates high-probability reversal zones.
🔍 How It Works
1. Candlestick Reversal Detection
The algorithm first identifies key reversal structures (e.g., bullish or bearish engulfing patterns). These mark initial signs of exhaustion in directional momentum.
2. Volatility & Range Validation
Each detected candle is evaluated against a dynamically calculated volatility threshold. Only moves exceeding recent average true range or relative candle body strength are considered valid. This ensures weak or indecisive candles are excluded.
3. RSI Momentum Confirmation
The algorithm checks whether the RSI supports the expected direction:
● Bullish setups require RSI recovery from below the mid-range (typically < 50).
● Bearish setups require RSI rejection from above mid-range (> 50).
This momentum filter prevents counter-trend false positives.
4. 5-Bar Trend Context Filter
Finally, GainzAlgo assesses short-term trend direction by comparing the slope and structure of the last five bars. Reversal signals are plotted only if the prior trend contradicts the new signal direction, confirming a genuine shift rather than minor consolidation noise.
Each stage builds upon the previous one, forming a multi-layered validation pipeline. This design means a single noisy candle or RSI fluctuation cannot trigger a signal—only a consensus among volatility, structure, and momentum can.
⚙ Key Features
● ✅ Non-repainting: Signals are calculated and confirmed at bar close.
● 📊 Adaptive logic: Conditions automatically adjust to volatility changes.
● 🌍 Universal compatibility: Works across stocks, forex, crypto, indices, and commodities.
● ⏰ Multi-timeframe ready: Optimized for both intraday and swing analysis.
● 🎯 Signal clarity: Reduces noise through four-step confirmation logic.
📘 How to Use
1. Apply GainzAlgo Standard to your preferred chart and timeframe.
2. Wait for the plotted BUY (✅) or SELL (❌) labels.
3. Use these as confirmation or timing tools within your own strategy.
4. Always complement signals with independent risk management and higher-timeframe context.
💡 Originality & Concept
While the underlying components—candlestick patterns, RSI, volatility measures—are familiar tools, GainzAlgo’s originality lies in its hierarchical sequencing and conditional logic.
Instead of treating these indicators as parallel confirmations, GainzAlgo processes them in a defined order, where failure at any stage cancels the setup. This structured logic mimics discretionary decision-making used by professional traders, but automates it with strict, reproducible criteria.
The result is a systematic reversal detector that improves clarity, reduces over-signaling, and adapts to multiple market conditions.
🔒 Vendor Justification
GainzAlgo Standard is offered as an invite-only tool because it contains proprietary weighting and sequencing logic that determines which pattern and volatility interactions qualify as valid setups.
This logic is not available in public indicators and is designed to help traders:
● Identify cleaner reversal opportunities with less chart clutter.
● Quantify signal confidence through layered confirmations.
● Apply consistent logic across markets without manual tuning.
⚠ Disclaimer: GainzAlgo Standard is an analytical tool for educational purposes. It does not guarantee trading results. Always use proper risk management.
Hyper SAR Reactor Trend StrategyHyperSAR Reactor Adaptive PSAR Strategy
Summary
Adaptive Parabolic SAR strategy for liquid stocks, ETFs, futures, and crypto across intraday to daily timeframes. It acts only when an adaptive trail flips and confirmation gates agree. Originality comes from a logistic boost of the SAR acceleration using drift versus ATR, plus ATR hysteresis, inertia on the trail, and a bear-only gate for shorts. Add to a clean chart and run on bar close for conservative alerts.
Scope and intent
• Markets: large cap equities and ETFs, index futures, major FX, liquid crypto
• Timeframes: one minute to daily
• Default demo: BTC on 60 minute
• Purpose: faster yet calmer PSAR that resists chop and improves short discipline
• Limits: this is a strategy that places simulated orders on standard candles
Originality and usefulness
• Novel fusion: PSAR AF is boosted by a logistic function of normalized drift, trail is monotone with inertia, entries use ATR buffers and optional cooldown, shorts are allowed only in a bear bias
• Addresses false flips in low volatility and weak downtrends
• All controls are exposed in Inputs for testability
• Yardstick: ATR normalizes drift so settings port across symbols
• Open source. No links. No solicitation
Method overview
Components
• Adaptive AF: base step plus boost factor times logistic strength
• Trail inertia: one sided blend that keeps the SAR monotone
• Flip hysteresis: price must clear SAR by a buffer times ATR
• Volatility gate: ATR over its mean must exceed a ratio
• Bear bias for shorts: price below EMA of length 91 with negative slope window 54
• Cooldown bars optional after any entry
• Visual SAR smoothing is cosmetic and does not drive orders
Fusion rule
Entry requires the internal flip plus all enabled gates. No weighted scores.
Signal rule
• Long when trend flips up and close is above SAR plus buffer times ATR and gates pass
• Short when trend flips down and close is below SAR minus buffer times ATR and gates pass
• Exit uses SAR as stop and optional ATR take profit per side
Inputs with guidance
Reactor Engine
• Start AF 0.02. Lower slows new trends. Higher reacts quicker
• Max AF 1. Typical 0.2 to 1. Caps acceleration
• Base step 0.04. Typical 0.01 to 0.08. Raises speed in trends
• Strength window 18. Typical 10 to 40. Drift estimation window
• ATR length 16. Typical 10 to 30. Volatility unit
• Strength gain 4.5. Typical 2 to 6. Steepness of logistic
• Strength center 0.45. Typical 0.3 to 0.8. Midpoint of logistic
• Boost factor 0.03. Typical 0.01 to 0.08. Adds to step when strength rises
• AF smoothing 0.50. Typical 0.2 to 0.7. Adds inertia to AF growth
• Trail smoothing 0.35. Typical 0.15 to 0.45. Adds inertia to the trail
• Allow Long, Allow Short toggles
Trade Filters
• Flip confirm buffer ATR 0.50. Typical 0.2 to 0.8. Raise to cut flips
• Cooldown bars after entry 0. Typical 0 to 8. Blocks re entry for N bars
• Vol gate length 30 and Vol gate ratio 1. Raise ratio to trade only in active regimes
• Gate shorts by bear regime ON. Bear bias window 54 and Bias MA length 91 tune strictness
Risk
• TP long ATR 1.0. Set to zero to disable
• TP short ATR 0.0. Set to 0.8 to 1.2 for quicker shorts
Usage recipes
Intraday trend focus
Confirm buffer 0.35 to 0.5. Cooldown 2 to 4. Vol gate ratio 1.1. Shorts gated by bear regime.
Intraday mean reversion focus
Confirm buffer 0.6 to 0.8. Cooldown 4 to 6. Lower boost factor. Leave shorts gated.
Swing continuation
Strength window 24 to 34. ATR length 20 to 30. Confirm buffer 0.4 to 0.6. Use daily or four hour charts.
Properties visible in this publication
Initial capital 10000. Base currency USD. Order size Percent of equity 3. Pyramiding 0. Commission 0.05 percent. Slippage 5 ticks. Process orders on close OFF. Bar magnifier OFF. Recalculate after order filled OFF. Calc on every tick OFF. No security calls.
Realism and responsible publication
No performance claims. Past results never guarantee future outcomes. Shapes can move while a bar forms and settle on close. Strategies execute only on standard candles.
Honest limitations and failure modes
High impact events and thin books can void assumptions. Gap heavy symbols may prefer longer ATR. Very quiet regimes can reduce contrast and invite false flips.
Open source reuse and credits
Public domain building blocks used: PSAR concept and ATR. Implementation and fusion are original. No borrowed code from other authors.
Strategy notice
Orders are simulated on standard candles. No lookahead.
Entries and exits
Long: flip up plus ATR buffer and all gates true
Short: flip down plus ATR buffer and gates true with bear bias when enabled
Exit: SAR stop per side, optional ATR take profit, optional cooldown after entry
Tie handling: stop first if both stop and target could fill in one bar






















