Robust Scaled HMA | OquantOverview
The Robust Scaled HMA is an indicator designed to provide a more resilient trend-following signal by combining the Hull Moving Average (HMA) with a robust scaling mechanism based on interquartile range (IQR). Unlike traditional scaled indicators that rely on standard deviation, which can be skewed by outliers in volatile markets, this approach uses quartiles to normalize the HMA values, offering better resistance to extreme price movements. It generates long and short signals based on user-defined thresholds and includes built-in performance metrics to evaluate the indicator's historical behavior, alongside buy-and-hold comparisons(Remember past performance doesn’t guarantee future results). This allows traders to assess potential effectiveness without needing external backtesting tools(Remember past performance doesn’t guarantee future results). The indicator is particularly useful for those seeking a balance between responsiveness and robustness in trend detection, and it visualizes allocation states (LONG, SHORT, or CASH) through color-coded plots and optional tables.
Key Factors/Components
Robust Scaling: Employs IQR for normalization instead of standard deviation, reducing sensitivity to outliers and providing a more stable measure of deviation from the median HMA.
Signal Generation: Threshold-based triggers for long (above upper threshold) and short (below lower threshold) positions, with options to enable/disable longs or shorts to suit directional biases.
Performance Metrics: Calculates key risk-adjusted metrics such as Maximum Drawdown (Max DD), Intra-Trade Max DD, Sharpe Ratio, Sortino Ratio, Omega Ratio, Percent Profitable, Profit Factor, Total Trades, and Net Profit for the indicator's signals.
Buy-and-Hold Comparison: Displays equivalent metrics for a simple buy-and-hold approach on the same asset and timeframe for benchmarking.
Visualization Tools: Color-coded plot of the scaled HMA, threshold lines, optional equity curve, bar coloring, and customizable tables for metrics and allocation status.
Alert Conditions: Built-in alerts for bullish (crossover to long) and bearish (crossunder to short) signals.
How It Works
The indicator starts by computing a standard HMA on the selected source. It then applies robust scaling over a lookback period by subtracting the median HMA and dividing by the IQR (difference between the 75th and 25th percentiles), resulting in a normalized value that highlights deviations in a outlier-resistant manner. Signals are derived simply: values exceeding the upper threshold suggest upward momentum (long), while those below the lower threshold indicate downward momentum (short). The script simulates a basic equity curve by applying these signals to daily returns, holding long/short only when enabled, otherwise defaulting to cash (0% return). Metrics are computed on this equity curve using standard formulas—e.g., Sharpe as average return over standard deviation of returns (annualized), Sortino focusing on downside deviation, and Omega as the ratio of positive to negative returns. All calculations begin from the user-specified start date to ensure relevance to the tested period(Remember past performance doesn’t guarantee future results). This logic emphasizes robustness for real-world application.
For Who It Is Best/Recommended Use Cases
This indicator is best suited for traders focused on trend-following strategies in markets prone to volatility or outliers. Recommended use cases include:
Trend Identification: As a filter for entering/exiting positions.
Strategy Evaluation: Quickly assessing signal quality through integrated metrics without complex backtesting setups(Remember past performance doesn’t guarantee future results).
Customization: Adjusting for bullish biases by disabling shorts, or vice versa, in one-sided markets.
Settings and Default Settings
Start Date: Timestamp for when calculations begin (default: 1 Jan 2018).
Source: Price series for HMA calculation (default: close).
HMA Length: Period for the Hull Moving Average (default: 25).
Robust Scaling Length: Lookback for robust scaling calculations (default: 40).
Upper Threshold: Level above which long signals trigger (default: 0.6).
Lower Threshold: Level below which short signals trigger (default: -0.2).
Allow Long Trades: Enables long positions; if disabled, defaults to cash (default: true).
Allow Shorts: Enables short positions; if disabled, defaults to cash (default: false).
Show Indicator Metrics Table: Displays table with strategy metrics (default: true).
Show Buy&Hold Table: Displays table with asset benchmarks (default: true).
Plot Equity Curve: Shows the simulated equity line (default: false).
Defaults are tuned for general use.
Conclusion
The Robust Scaled HMA offers a fresh take on trend detection by prioritizing robustness through IQR scaling, making it a valuable addition for traders aiming to navigate noisy markets with metrics-backed insights(Remember past performance doesn’t guarantee future results).
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
船体移动均线(HMA)
Colored HMASimply a colored HMA. Perfect for trend following systems in combination with other indicators.
VWAP HMA Trend Execution SystemVWAP Trend Execution System
🧭 Purpose
Most traders don’t fail from bad charts — they fail from bad timing.
Jumping in too early, bailing too soon, or freezing when the real move begins.
The VWAP Trend Execution System cuts through that chaos.
It visually syncs Trend, VWAP, and Confidence — giving you instant clarity to trade with calm precision.
⚙️ The Three Core Gauges:
1. 📈 Trend Green for up, Red for down (Trend: Confirms direction)
2. 💰 VWAP Price vs. Volume Weighted Average Price. Institutional Fair Value. (Bull or Bear)
3. 🎯 Confidence Agreement between trend & VWAP. Dont fight the trend.
Bonus Feature: Confidence Turns 🟢 Confident when aligned, 🟡 Cautious when mixed.
Bonus 2: This version has the cross / confirmed direction arrow in the table.
Together, these create a clean, visual readout of the market’s health.
🧩 How to Use
Watch the Color Flow:
🟢 Green Cloud → Buyers in control.
🔴 Red Cloud → Sellers in control.
Check VWAP (Orange Line):
Price above VWAP → bullish strength.
Price below VWAP → bearish control.
Hovering at VWAP → indecision. Wait.
---
Act With Discipline:
Trade only when all gauges agree.
Add size only in Confident conditions.
Trim or tighten stops when it shifts to Cautious.
⚡ Quick Reference:
🟢 Green cloud + above VWAP + Confident | Uptrend continuation | Favor long bias
🔴 Red cloud + below VWAP + Confident | Downtrend continuation | Favor short bias
Mixed colors or Cautious: Wait or scale back
Cloud flips color: Possible shift. Reassess bias next bar
🧠 Best Practices
Works best on liquid symbols (SPY, QQQ, BTC, GOLD).
Ideal timeframes: 5m to 1h.
Use at bar close for confirmation, but enjoy live responsiveness for awareness.
Combine with your existing risk management — VTES is a timing enhancer, not a signal generator.
Designed for clarity on both light and dark themes (optimized for dark).
💡 Mindset
This isn’t a prediction tool — it’s a discipline tool. Wait for agreement.
Execute when the picture is clear. Protect capital when it’s not.
🧘 Clarity over clutter. Timing over guessing.
⚖️ Disclaimer: Educational and informational use only. Not financial advice. Always use independent judgment and position sizing.
VWAP HMA Trends
It visually syncs Trend, VWAP, and Confidence — giving you instant clarity to trade with calm precision.
⚙️ The Three Core Gauges:
1. 📈 Trend Green for up, Red for down (Trend: Confirms direction)
2. 💰 VWAP Price vs. Volume Weighted Average Price. Institutional Fair Value. (Bull or Bear)
3. 🎯 Confidence Agreement between trend & VWAP. Dont fight the trend.
Bonus Feature: Confidence Turns 🟢 Confident when aligned, 🟡 Cautious when mixed.
Together, these create a clean, visual readout of the market’s health.
🧩 How to Use
Watch the Color Flow:
🟢 Green Cloud → Buyers in control.
🔴 Red Cloud → Sellers in control.
Check VWAP (Orange Line):
Price above VWAP → bullish strength.
Price below VWAP → bearish control.
Hovering at VWAP → indecision. Wait.
---
Act With Discipline:
Trade only when all gauges agree.
Add size only in Confident conditions.
Trim or tighten stops when it shifts to Cautious.
⚡ Quick Reference:
🟢 Green cloud + above VWAP + Confident | Uptrend continuation | Favor long bias
🔴 Red cloud + below VWAP + Confident | Downtrend continuation | Favor short bias
Mixed colors or Cautious: Wait or scale back
Cloud flips color: Possible shift. Reassess bias next bar
⚖️ Disclaimer: Educational and informational use only. Not financial advice. Always use independent judgment and position sizing.
TGFA Flexible Alerts Multi-MA CrossoversTGFA Flexible Alerts, Multi-MA Crossovers
Description
Flexible MA crossovers with BUY/SELL alerts, customizable candle colors, and an info box for ATR/volatility insights. Supports EMA/SMA/HMA/VWAP on any chart.
Overview
TGFA Flexible Alerts is a versatile Pine Script indicator for traders seeking customizable moving average (MA) crossovers, visual signals, and quick-reference metrics. It overlays crossover lines (e.g., fast EMA over slow SMA), generates BUY/SELL labels and alerts, colors candles based on themes, and includes an optional info box with ATR bands, support/resistance, and trend projections. Built for any symbol and timeframe (optimized for 1H intraday), it auto-detects Heikin Ashi charts and handles mixed MA types like responsive HMA with lagging EMAs. All logic uses built-in TA functions for reliability—no repainting on confirmed bars.
Key Features
MA Crossover Engine: Configurable lines (EMA, SMA, HMA, VWAP) with dynamic colors (HMA tints green/red based on slope). Enable/disable via inputs.
Invert Signals Toggle: Flips BUY/SELL logic for mixed MA setups (e.g., HMA as fast line over EMA).
Reasoning: Traditional crossovers assume a fast line (low lag) crossing above a slow line (high lag) for buys. HMA's hull design makes it ultra-responsive, so it may "lead" too aggressively—causing premature signals. Inverting aligns it with user intuition (e.g., HMA dipping below then recovering signals strength), reducing false positives in trending markets. Test on your pairs!
Visual Alerts: BUY/SELL labels at crossover price (with optional price display and offset adjustment).
Single MA Overlays: Independent plots for EMA/SMA/HMA/VWAP (length 0 to hide).
Info Box: Real-time table with current price, ±1/2 ATR bands, median price (over lookback), trend (SMA50 slope), volatility % (ATR normalized), support/resistance (recent highs/lows), and reversal projections (tied to SMA50 pivot for up/down bias).
Candle Coloring: 20+ themes (dark/light canvases) for bull/bear/reversal/low-volume bars—e.g., Emerald Blaze greens uptrends, dims on low vol. Toggle off for no changes.
Chart Source Flexibility: Auto-switches to Heikin Ashi if detected; manual override for Regular/HA.
Alerts fire on crossovers/crossunders (custom messages with ticker/interval). Open-source for forking.
How to Use
Add to Chart: Search in TradingView's public library, apply to any symbol (e.g., stocks, forex). Best on 1H for intraday, but works on daily/weekly too.
Setup Crossovers: Choose Line 1/2 types/lengths (e.g., HMA 9 over SMA 20). Enable "Invert Signals" if using HMA—prevents lag mismatches in volatile assets.
Alerts & Labels: Toggle labels for visuals; set TradingView alerts on "Buy"/"Sell" conditions. Use offset for crowded charts.
Info Box Insights: Enable for quick scans—e.g., enter long near support if trend is bullish and price > median. Adjust ATR length (default 14) for sensitivity.
Candle Themes: Pick a scheme (e.g., Neon Pulse for dark mode); it overrides bar colors without altering data.
Customization Tip: For HMA-heavy setups, invert + short lengths (5-9) catch turns early; pair with volume filter in alerts.
Limitations & Disclaimers - Designed for overlay on price charts; may overlap in tight ranges—adjust transparency via styles.
HMA can repaint intra-bar; signals confirm on close. Not back tested for all assets—validate with strategy tester.
Info box projections use SMA(50) as a trend pivot (same for up/down as reference); customize via code for advanced calcs. Candle colors are cosmetic only.
This is an analysis tool, not advice. Trading involves risk; combine with fundamentals/news. Past performance isn't indicative of future results. No liability for losses.
I'm still a newbie, so feedback encouraged!
Thank you!!
ThisGirl
[DEM] Double Hull Moving Average (DHMA) Double Hull Moving Average (DHMA) is designed to create an ultra-smooth and responsive trend-following indicator by applying the Hull Moving Average calculation twice to reduce lag while maintaining smoothness. The indicator first calculates a Hull Moving Average of the source price over the specified length (default 233), then applies another Hull Moving Average to the result, and finally uses the standard Hull formula (2 * HMA1 - HMA2) to create the Double Hull Moving Average. The resulting line changes color dynamically from green when trending upward to red when trending downward, with matching bar colors to provide clear visual confirmation of trend direction, offering traders a highly refined moving average that responds quickly to price changes while filtering out most market noise.
ProfitAlgo.io TrendSync SimulationThe TrendSync Simulation is a gradient-based trend-following framework that helps traders quickly identify bullish vs bearish market structure while filtering out short-term noise.
Instead of relying on a single moving average or indicator, TrendSync builds a layered “trend cloud” in 3 different MODES, KUMO, PFA, HMA anchored against a reference band. These layers create a visual gradient that shifts with market direction.
When combined with its color-adaptive candles, you can turn off your candle setting colors within the chart settings of TradingView for the TrendSync color mapping which transforms raw price action into an easy-to-read flow map of institutional momentum.
📊 How It Works
Each layer creates a smooth gradient that shifts with trend direction:
Bullish trends form a rising, green-shaded cloud.
Bearish trends form a descending, red-shaded cloud.
Transitions appear as fading or compressing gradients, signaling potential reversals or consolidations.
Candles are also dynamically colored based on normalized momentum, allowing traders to see directional strength at a glance.
🔑 Key Features
✅ Gradient Cloud – A layered trend structure that visually shifts from bearish → bullish.
✅ Multiple Modes – Choose between KUMO, PFA, or HMA logic for responsiveness vs. smoothness.
✅ Dynamic Trend Candles – Bars adapt color based on momentum strength.
✅ Customizable Visualization – Adjust transparency, colors, and gradient strength to fit your chart style.
✅ Clarity of Direction – Highlights dominant flow while reducing noise from minor fluctuations.
⚙️ Settings Explained
Trend Method (KUMO / PFA / HMA): Controls the type of moving average used for the cloud.
Gradient Colors: Define the shading of bullish vs. bearish zones.
Transparency Controls: Adjust how strong or subtle the gradient cloud appears.
Lookback Length : Longer = smoother trend; shorter = more reactive.
💡 Use Cases
Identify trend bias quickly without switching between multiple indicators.
Confirm entries with liquidity or breakout strategies by aligning with the cloud.
Detect weakening or strengthening momentum via gradient compression.
Avoid trading against dominant higher time-frame flow with trend-colored candles .
⚡ Why It Matters
Markets often look chaotic on raw candlestick charts. TrendSync cuts through that noise by layering moving averages into a visual gradient, revealing institutional momentum in real time. Whether scalping, day trading, or swing trading, TrendSync provides a synchronized view of trend direction that adapts to different trading styles.
⚡ Paired with the Back End Order Matrix, TrendSync provides the clarity of direction after liquidity zones are exposed, creating a complete institutional-style framework inside TradingView.
EXAMPLE 1A
EXAMPLE 1B
EXAMPLE 1C
EXAMPLE 2A
crypto_billionairesss 5min BTC ETH BNBThis indicator is based on a Moving Average Baseline and Heikin Ashi candles, optimized mainly for the 5-minute timeframe on Bitcoin, Ethereum and BNB.
It has shown around 45% win rate with a 1:2 risk-to-reward ratio.
Depending on market conditions, it can also be applied to other timeframes and assets.
From the settings panel, you can experiment with optional filters such as RSI or Body-Cross, which may provide better performance in certain market environments.
This tool is designed for traders who want a simple yet effective system for capturing the start of trend movements.
HMA super trade by @arkancapMulti-HMA with five customizable moving averages: visual colors, transparency via picker, flexible line styles, and label/alert for HMA50↔HMA100 crossovers. Lightweight, readable, and ready for trading templates.
Мульти-HMA с пятью настраиваемыми скользящими: визуальные цвета, прозрачность через пикер, гибкие стили линий и метка/алерт для пересечений HMA50↔HMA100. Лёгкий, читабельный и готовый к торговым шаблонам.
Five Hull moving averages that show the trend and indicate key crossovers. Customize colors, thickness, and get accurate alerts. Suitable for scalping and multi-timeframes. Support for filling between moving averages to visually highlight areas of strength or weakness.
Пять Hull-скользящих, которые показывают тренд и подсказывают ключевые пересечения. Настраивай цвета, толщину и получай аккуратные алерты. Подходит для скальпа и мульти-таймфрейма. Поддержка заливки между скользящими для наглядного выделения зон силы или слабости.
BTC_Hull Suite StrategyOverview
BTC_Hull Suite Strategy is a trend-following system designed to keep drawdowns modest while staying exposed during genuine uptrends. It uses the Hull Moving Average (HMA) for fast, low-lag trend turns, a long-term SMA filter to avoid chop, and a percentage trailing stop to protect gains.
🔧 What the strategy includes
- Hull Moving Average (HMA) with configurable length (default 55)
- SMA filter (default 130) to trade only with higher-timeframe bias
- Trailing stop in percent (default 5%) based on the running peak of close
- Execution model: signals are evaluated on the previous bar and entries are placed at the next bar’s open (TradingView default)
📈 How it works:
✅ Entry (Long):
Detects a bullish Hull turn by comparing the current HMA to its value 3 bars ago:
h > h3 and h <= h3 → HMA just turned up on the prior bar
The SMA filter must confirm: close > sma
If both are true (and within the date window), a long is opened next bar at the open
❌ Exit:
Hull turn down: h < h3 and h >= h3 , or
Trailing stop: price closes below peak * (1 – trailingPct)
Either condition closes the position at the current bar’s close
Notes:
pyramiding = 1 → allows one add-on (maximum two concurrent long positions)
Position sizing defaults to 20% of equity per entry (adjustable in Properties)
Who is this for?
This strategy is tailored for Bitcoin traders (spot or perpetuals) who want a rules-based, low-lag trend system with built-in drawdown protection.
It works best on Daily or 4H charts, but parameters can be adapted for other timeframes.
⚠️ Disclaimer
This strategy is provided for educational and research purposes only.
It is not financial advice. Markets are risky — always test on your own data, include realistic fees/slippage, and forward-test before using real capital.
Adaptive HMA Trendfilter & Profit SpikesShort Description
Adaptive trend-following filter using Hull Moving Average (HMA) slope.
Includes optional Keltner Channel entries/exits and dynamic spike-based take-profit markers (ATR/Z-Score).
Optional Fast HMA for early entry visualization (not included in logic).
USER GUIDE:
1) Quick Overview
Trend Filter: Slow HMA defines Bull / Bear / Sideways (via slope & direction).
Entries / Exits:
Entry: Color change of the slow HMA (red→green = Long, green→red = Short), optionally filtered by the Keltner basis.
Exit: Preferably via Keltner Band (Long: Close under Upper Band; Short: Close above Lower Band).
Fallback: exit on opposite HMA color change.
Take-Profit Spikes: Marks abnormal moves (ATR, Z-Score, or both) as discretionary TP signals.
Fast HMA (optional): Purely visual for early entry opportunities; not part of the core trading logic (see §5).
2) Adding & Basic Setup
Add the indicator to your chart.
Open Settings (gear icon) and configure:
HMA: Slow HMA Length = 55, Slope Lookback = 10, Slope Threshold = 0.20%.
Keltner: KC Length = 20, Multiplier = 1.5.
Spike-TP: Mode = ATR+Z, ATR Length = 14, Z Length = 20, Cooldown = 5.
Optionally: enable Fast HMA (e.g., length = 20).
3) Input Parameters – Key Controls
Slow HMA Length: Higher = smoother, fewer but cleaner signals.
Slope Lookback: How far back HMA slope is compared against.
Slope Threshold (%): Minimum slope to avoid “Sideways” regime.
KC Length / Multiplier: Width and reactivity of Keltner Channels.
Exits via KC Bands: Toggle on/off (recommended: on).
Entries only above/below KC Basis: Helps filter out chop.
Spike Mode: Choose ATR, Z, or ATR+Z (stricter, fewer signals).
Spikes only when in position: TP markers show only when you’re in a trade.
4) Entry & Exit Logic
Entries
Long: Slow HMA turns from red → green, and (if filter enabled) Close > KC Basis.
Short: Slow HMA turns from green → red, and (if filter enabled) Close < KC Basis.
Exits
KC Exit (recommended):
Long → crossunder(close, Upper KC) closes trade.
Short → crossover(close, Lower KC).
Fallback Exit: If KC Exits are off → exit on opposite HMA color change.
Spike-TP (Discretionary)
Marks unusually large deviations from HMA.
Use for partial profits or tightening stops.
⚠️ Not auto-traded — only marker/alert.
5) Early Entry Opportunities (Fast HMA Cross – visual only)
The script can optionally display a Fast HMA (e.g., 20) alongside the Slow HMA (e.g., 55).
Bullish early hint: Fast HMA crosses above Slow HMA, or stays above, before the Slow HMA officially turns green.
Bearish early hint: opposite.
⚠️ These signals are not part of the built-in logic — they are purely discretionary:
Advantage: Earlier entries, more profit potential.
Risk: Higher chance of whipsaws.
Practical workflow (early long entry):
Fast HMA crosses above Slow HMA AND Close > KC Basis.
Enter small position with tight stop (under KC Basis or HMA swing).
Once Slow HMA confirms green → add to position or trail stop tighter.
6) Recommended Presets
Crypto (1h/2h):
HMA: 55 / 10 / 0.20–0.30%
KC: 20 / 1.5–1.8
Spikes: ATR+Z, ATR=14, Z=20, Cooldown 5
FX (1h/4h):
HMA: 55 / 8–10 / 0.10–0.25%
KC: 20 / 1.2–1.5
Indices (15m/1h):
HMA: 50–60 / 8–12 / 0.15–0.30%
KC: 20 / 1.3–1.6
Fine-tuning:
Too noisy? → Raise slope threshold or increase HMA length.
Too sluggish? → Lower slope threshold or shorten HMA length.
7) Alerts – Best Practice
Long/Short Entry – get notified when trend color switches & KC filter is valid.
Long/Short Exit – for KC exits or fallback exits.
Long/Short Spike TP – for discretionary profit-taking.
Set via TradingView: Create Alert → Select this indicator → choose condition.
8) Common Pitfalls & Tips
Too many false signals?
Raise slope threshold (more “Sideways” filtering).
Enable KC filter for entries.
Entries too late?
Use Fast HMA cross for early discretionary entries.
Or lower slope threshold slightly.
Spikes too rare/frequent?
More frequent → ATR mode or lower ATR multiplier / Z-threshold.
Rarer but stronger → ATR+Z with higher thresholds.
9) Example Playbook (Long Trade)
Regime: Slow HMA still red, Fast HMA crosses upward (early hint).
Filter: Close > KC Basis.
Early Entry: Small size, stop below KC Basis or recent swing low.
Confirmation: Slow HMA turns green → scale up or trail stop.
Management: Partial profits at Spike-TP marker; full exit at KC upper band break.
Mits Pixel BTCUSDStrategy
Using Rsi Stochastic, Hull Moving Average, Price Action and volume differences to get signals
HOW IT WORKS
Pixel parts :
- (U) The first pixel is a pixel that shows a trend during an uptrend, a trend when the market is considered bullish (above the MA line)
- (V) The second pixel is the volume pixel, showing the up and down movement of the buy / sell volume .
- (M) The third pixel is the momentum pixel, showing the market momentum whether it is overbought or oversold.
- (D) The fourth pixel is a pixel that shows a trend during a downtrend, a trend when the market is considered bearish (below the MA line)
When the price opens above the MA line, 3 pixels will appear, namely the first Pixel which is called the Trend up Pixel, Pixel Volume , and also the Momentum Pixel.
When the price opens below the MA line, 3 pixels will appear, namely Pixel Volume , Pixel Momentum, and the bottom one is the Pixel Down Trend.
* Pixel up trend (appears when the open is above the MA line)
- The pixel will show a solid green color when a gap up is opened or volume up, then the close price is greater than the open price.
- The pixel will show a light green color if there is normal strengthening (the close is bigger than the previous day's close without creating a gap up), then the close price is bigger than the open price.
- Pixel will show yellow color if it meets several criteria, for example, close is equal to open or close is bigger than the previous close but close is smaller than open.
- The pixel will show a dark red color when there is attenuation and a Gap down is created, then the close price is smaller than the open price.
- Pixel will show red color if there is normal weakening (close is smaller than the close of the previous day without creating a gap down), then the close price is smaller than the open price.
* Pixel down trend (appears when the open is below the Moving Average)
The pixel color indication is the same as the Trend up Pixel
* Volume Pixel
- The pixel is dark green when there is an increase and a gap up is created and the volume for that day is bigger than the volume of the previous day.
- The pixel will be green if there is a normal strengthening and also the volume for that day is greater than the volume of the previous day, or there is a gap up but the volume is smaller than the volume of the previous day.
- The pixel is yellow if it meets several conditions, for example, the volume of the day is the same as the volume of the previous day.
- The pixel is dark red when there is weakness and a Gap down is created and also the volume of the day's weakness is greater than the volume of the previous day.
- The pixel is red if there is normal weakening and also the volume of the day's weakness is bigger than the previous day's volume , or if there is a gap down but the volume is smaller than the previous day's volume .
* Momentum Pixel (basically StochRSI combined with other HMA , TopBox (Resistance), BottomBox(Support)).
- The pixel is dark green when it meets several conditions, for example the golden cross is below 50.
- The pixel is green if it meets several conditions, for example a golden cross below 50 without Gap up.
- Pixel will be yellow if it meets several conditions, for example k is greater than d and k has entered the overbought area (greater than 80).
- Pixel is dark red when it meets several conditions, for example k is smaller than d and k has entered the overbought area.
- Pixel is red when it meets several conditions, for example k is smaller than d and k is greater than 50 and k is less than 80.
Bar Color
Dark Green : Price Up + Volume Up
Green : Price Up + Volume Down
Dark Red : Price Down + Volume Up
Red : Price Down + Volume Down
Too many details that cannot be detailed one by one , but in broad outline as explained above.
HOW TO USE
* Signals Buy
- Strong Buy : All pixels are green, and Momentum Pixel is dark green.
- Normal Buy : All pixels are green or two dark green (one of them must momentum pixel) and one yellow.
- Spek Buy : * Two green pixels (one of them must momentum pixel) and one yellow or 1 green/dark green in momentum pixel, and other pixels yellow
* Signals Sell
- Strong Sell : All pixels are red, and Momentum Pixel is dark red.
- Normal Sell : All pixels are either red or two dark red (one of them must momentum pixel) and one yellow.
- Spek Sell : Two red pixels (one of them must momentum pixel) and one yellow or 1 dark red in momentum pixel, and other pixels yellow
- Warning Sell : Momentum pixels are dark red, regardless of the color of the other pixels.
* Best use for trading in BTCUSD markets
* Change from just an invitation script to a protected script for publication.
* Final Release
Thanks for Moderators
The Phantom Indicator for beginnersThe Phantom Indicator is an original software script written in Pine Script for use on the TradingView charting platform. It is designed as a real-time algorithmic trading and technical analysis toolkit that integrates multiple market signals into a unified framework. The work is a compilation of open-source trading concepts, modified and combined in a novel and proprietary manner, resulting in a unique educational tool.
Key features include:
Dynamic background shading based on price relation to the 200-period Exponential Moving Average (EMA)
Multi-timeframe Hull Moving Averages rendered as ribbons to show directional bias
A custom Fair Value Gap (FVG) detection algorithm
ATR-based trailing stop logic, inspired by UT Bot
Visual markers for candlestick rejection patterns, labeled “J. Wick” (bullish) and “Black Widow” (bearish)
Real-time structural pivot recognition, identifying Higher Highs, Lower Lows, and Break of Structure (BOS)
Interactive label alerts, trend-based visuals, and adaptive ribbon overlays
This indicator is intended to train beginner traders to:
Recognize candlestick reversal patterns
Understand trend creation and breakage
Learn to identify market direction using real-time, rule-based logic
The Phantom IndicatorThe Phantom Indicator is an original software script written in Pine Script for use on the TradingView charting platform. It is designed as a real-time algorithmic trading and technical analysis toolkit that integrates multiple market signals into a single framework. The work is a compilation of open-source trading concepts, modified and combined in a novel manner, including: dynamic background shading based on price relation to a 200-period exponential moving average (EMA); multi-timeframe Hull Moving Averages rendered as ribbons to indicate market direction; a custom Fair Value Gap (FVG) detection algorithm; ATR-based trailing stop logic (inspired by UT Bot); visual markers for bullish and bearish candle rejection patterns labeled as "J. Wick" and "Black Widow"; and real-time structural pivot pattern recognition showing Higher Highs, Lower Lows, and Break of Structure (BOS) events. All indicators are rendered in custom visual formats with interactive labels, dynamic coloring, and alert-ready logic. The work was first created on June 20, 2025, developed through iterative refinement, and completed in July 2025. It was released for personal and educational use only under a non-commercial license and includes a copyright notice identifying the author as “The Phantom LLC.” The code structure, original logic (particularly the EMA-based background engine), naming conventions, and integrated layout represent a unique creative expression not previously published in this form.
RSI de Loquy H4 (HMA + ALMA + Régression)📌 Indicator Name: RSI de Loquy H4 (HMA + ALMA + Regression)
🧠 Description:
This custom indicator is designed for H4 (4-hour) timeframes and combines advanced smoothing techniques to refine RSI analysis:
✅ HMA (Hull Moving Average) is applied to the price before computing the RSI. This helps reduce noise and respond faster to price action compared to traditional moving averages.
✅ The resulting RSI is recalibrated to a symmetrical range from -100 to +100, making trend bias more visually intuitive.
✅ A second smoothing using ALMA (Arnaud Legoux Moving Average) is applied to the recalibrated RSI for enhanced signal clarity.
✅ A linear regression line is plotted on the recalibrated RSI to help detect directional momentum and trend shifts.
📈 Visual Features:
Cyan line: RSI mapped from -100 to +100
Orange line: ALMA smoothed RSI
White line: Linear regression of RSI
Reference zones:
+70: Potential oversold (buy watch)
0: Neutral line
–70: Potential overbought (sell watch)
⚙️ Optimized for H4 timeframe, but adaptable for other timeframes with parameter tuning.
RSI de LoquyIndicator Description: RSI de Loquy
This custom indicator blends the power of the Relative Strength Index (RSI) with the Hull Moving Average (HMA), enhanced by a linear regression to reveal underlying momentum trends.
How It Works:
The RSI is calculated not on price directly, but on the HMA, offering a smoother and more responsive signal.
The RSI is remapped to a -100 to +100 scale for more intuitive reading:
+100 = extreme oversold
-100 = extreme overbought
A linear regression line is plotted over the rescaled RSI to highlight trend direction and strength.
Usage Tips:
Reversed overbought/oversold levels:
Above +70 = potential oversold condition
Below -70 = potential overbought condition
The white regression line helps confirm trend shifts or momentum continuation.
⚙️ Customizable Inputs:
HMA period
RSI length
Regression length
👑 Cryptherium MACryptherium MA is a powerful and flexible moving average indicator designed for serious traders who want full control over how moving averages are calculated and visualized — especially during major market sessions. This tool adapts to different global market hours and supports multiple MA types including EMA, VWAP, WMA, VMA, HMA, and custom session-aware calculations.
Features:
7 MA Options: Choose from EMA, VWAP, WMA, VMA, HMA, NAm (OHLC4-based), and SOAm (Session Open Average).
Session Awareness: Apply MA calculations only during selected sessions: New York, London, or Tokyo.
Volume-Weighted Modes: Includes session-based VWAP and VMA for liquidity-aware MA tracking.
Flexible Styling: White line with thickness for clarity across all chart types and backgrounds.
Use Cases:
Track institutional trend zones by applying VWAP or EMA only during New York or London session.
Compare trend signals between traditional and session-based moving averages.
Use custom logic like SOAm (EMA of session opens) or NAm (SMA of OHLC4) for advanced strategy development.
Integrate seamlessly with price action setups or other Cryptherium tools.
Best For:
Intraday traders using session timing advantage.
Trend followers who need adaptive MA visibility.
Quantitative strategy builders looking for modular MA calculations.
HMA Trend Line (Croc Signal Line)HMA Trend Line (Croc Signal Line) — The Ultimate Hull Moving Average Trend Indicator
Full English description here:
What is the HMA Trend Line (Croc Signal Line)?
The HMA Trend Line (Croc Signal Line) is a powerful, adaptive trend indicator for TradingView, based on the Hull Moving Average (HMA). This indicator is designed to help traders identify real market trends with less lag and reduced noise compared to traditional moving averages like SMA (Simple Moving Average) and EMA (Exponential Moving Average).
Why use the HMA Trend Line?
+ Faster Trend Detection: The Hull Moving Average (HMA) responds more quickly to price action, giving you earlier buy and sell signals.
+ Smoother and Cleaner: It provides a visually clean trend line that avoids the choppiness of classic EMAs and SMAs.
+ Reduced Lag: The HMA Trend Line follows the market closer, helping you avoid late entries or exits and spot trend reversals sooner.
+ Dynamic Support and Resistance: Use the line as a dynamic support or resistance to manage trades and identify pullbacks or breakouts.
What does “Croc Signal Line” mean?
The “Croc” in Croc Signal Line stands for:
+ Clean
+ Responsive
+ Optimized
+ Curve
This highlights the unique advantage of this indicator: a curve that is both fast-reacting and smooth, helping traders focus on real trends and filter out market noise.
How does the Hull Moving Average (HMA) work?
The HMA was developed by Alan Hull and uses weighted moving averages and a unique calculation to deliver both responsiveness and smoothness. Unlike standard moving averages, the HMA reacts faster to new price moves and avoids false signals in ranging or volatile markets.
How to use the HMA Trend Line (Croc Signal Line) on TradingView?
+ Watch for price crossing above the trend line for potential bullish signals, and below for bearish signals.
+ Use on any timeframe: from 1-minute scalping to daily, weekly, or even monthly charts.
+ Works with all asset classes: Forex, stocks, indices, cryptocurrencies, commodities, and futures.
+ Combine with other indicators (like Stochastics, RSI, or volume) for confirmation and to build your unique trading strategy.
+ Adjust the Signal Line Period for your market and style: shorter periods for faster markets, longer for smoother trends.
Who should use this indicator?
+ Day traders, swing traders, and long-term investors looking for reliable, actionable trend signals.
+ Anyone seeking a cleaner, more responsive alternative to the classic moving averages.
+ Traders who want a simple, visually clear way to filter out market noise and see real price direction.
Disclaimer:
This indicator is for educational and study purposes only. Please perform your own backtesting and analysis before using it in live trading. This script does not constitute financial advice. Use at your own risk.
--------
RSI-BBGun-v6.1RSI BB Gun – Operator's Guide
“Eyes on target. Wait for the right moment. Then strike.”
________________________________________
🎯 Mission Objective
RSI BB Gun identifies extreme market conditions using RSI and Bollinger Bands, then overlays trend and volatility intelligence so you know when the setup is real.
The ❌ is your target acquisition signal—price just moved from an extreme zone back into play. Now you’ve got a clean radar lock.
________________________________________
📡 How to Operate
🟣 Step 1: Watch for the ❌'s (Black X = RSI & Bollinger Band Extremes Encountered)
• The Purple X means price and RSI are both stretched—and just snapped back into range.
• The target is now in the cross hairs and potentially ready for engagement.
🟥 Step 2: Confirm the Trend
• The thick ribbon tells you if the trend is with you:
o 🟢 Green = Uptrend. Focus on long setups.
o 🔴 Red = Downtrend. Focus on puts or short plays.
• Align with trend. Only engage when the field favors your position.
🔺 Step 3: Evaluate Signal Context
• Green Triangles = price just crossed below lower Bollinger Band (oversold).
• Red Triangles = price crossed above upper Band (overbought).
• Horizontal Lines Disappeared = The bar after the green or red horizontal line disappears means its time. We patiently wait for this as it means the momentum may be changing.
• These are your early indicators—they scout the setup on the GO / NO GO DECISION.
• ❌ + triangle + trend = clean shot.
________________________________________
☁️ Avoid These Situations
• ❌ in a choppy/no-trend zone = false alarm. Don’t engage.
• Repeated black ❌s without a purple ❌confirmation = low conviction. Let it go.
________________________________________
________________________________________
🪖 Operator's Mindset
“You don’t chase trades. You stalk them. When the ❌ flashes, the system has found a target. What you do next is up to your discipline, your tools, and your plan.”
________________________________________
Note: This is a free version. Upcoming paid version includes multi-timeframes working together. Multiple strategies. Volatility meter. Make money and master the BB Gun so that you can elevate to the Snipers weapon.
🔒 Want More Firepower?
Upgraded version coming soon. Unlocks next-gen targeting tools:
• Multi-timeframe RSI intelligence in a live dashboard
• Precision-timed combo signals based on layered volatility + RSI logic
• Advanced trend filters, trade zone overlays, and sniper-level entry indicators
• Ideal for swing traders and options strategists who want clarity under pressure
💥 Budget-friendly. No subscription. Upgrade when you're ready to go Pro.
Tip: Make 4+ trades mastering this setup. Then use a small portion of the trades to gain more features. Always be in a position you cannot lose.
🆚 Why This Beats Standard RSI/BB Tools
Mission Feature Basic Indicators RSI Ribbon Lite
Trend Confirmation ❌ ✅ Ribbon Overlay
Multi-Timeframe Awareness ❌ ✅ 5-Timeframe RSI Grid
Volatility Confirmation ❌ ✅ Weighted ATR Scoring
Combo Signal Alerts ❌ ✅ ❌ Reentry Combo Alerts
TradingView Alerts ❌ ✅ Built-In Radar Ping
#rsi #bb #bollingerbands #hull ma #trend
Normalized EMA Cycle (NEC)Normalized EMA Cycle (NEC)
The Normalized EMA Cycle (NEC) is a versatile momentum and trend reversal tool designed to detect high-probability turning points and gauge the strength of price cycles.
It combines fast and slow Exponential Moving Averages (EMAs), dynamic normalization, and adaptive transparency to create clear, intuitive reversal signals on the chart.
🔹 How It Works
EMA Differencing
The NEC calculates the difference between a fast EMA and a slower EMA:
Fast EMA Length (default 6) captures short-term momentum.
Slow EMA Length (default 16) tracks broader trends.
The slope of this difference identifies accelerating or decelerating momentum.
Normalization to 0–100 Scale
The raw EMA difference is scaled relative to the recent Alpha Period range (default 6 bars).
This transforms the value into a normalized oscillator ranging between 0 and 100.
A 3-period Hull Moving Average (HMA) smooths this series to reduce noise.
Overbought and Oversold Thresholds
By default:
Overbought Level: 75
Oversold Level: 25
Crossovers of these levels are used to detect potential reversals.
Adaptive Alpha Adjustment
The normalized value is transformed into an “Alpha Schaff” line, dynamically shifting between price and normalized cycles.
This helps the model adjust to different volatility regimes.
Trend Reversal Logic
Bullish Reversal:
Normalized oscillator crosses above the Oversold Level.
EMA difference slope is positive.
Bearish Reversal:
Normalized oscillator crosses below the Overbought Level.
EMA difference slope is negative.
Additional confirmation comes when price crosses the Alpha Schaff line in the direction of momentum.
Dynamic Confidence Visualization
The indicator calculates a trend confidence score based on the normalized separation of the EMAs.
The transparency of reversal markers dynamically adjusts:
Strong trends = more opaque signals
Weak trends = more transparent signals
🔹 How to Use
✅ Entries
Long Signal: Aqua upward label appears below a bar.
Conditions:
Bullish reversal or price crossing above Alpha Schaff
Normalized slope is rising
Short Signal: Fuchsia downward label appears above a bar.
Conditions:
Bearish reversal or price crossing below Alpha Schaff
Normalized slope is falling
✅ Trend Strength
The less transparent the signal marker, the more significant the trend.
✅ Customization
Use the inputs to fine-tune sensitivity:
Shorter EMAs: Faster signals
Longer EMAs: Smoother trends
Alpha Period: Adjusts the lookback range for normalization
🟢 Best Practices
NEC is best used in combination with other trend confirmation tools (e.g., price structure, volume, or higher timeframe EMAs).
Avoid relying on signals in extremely low-volume or choppy ranges.
⚠️ Disclaimer
This script is intended for educational purposes only and does not constitute financial advice. Trading involves substantial risk, and you should consult your financial advisor before making any investment decisions.
Hull For LoopHull For Loop is a sophisticated trend-following indicator that combines the smoothness of Hull Moving Averages with advanced trend detection algorithms and robust confirmation mechanisms.
## How It Works
At its foundation, Hull For Loop employs a custom-calculated Hull Moving Average using weighted moving average for-loops to achieve optimal smoothness and responsiveness. The system operates through three distinct layers: Hull MA calculation with adjustable smoothing multipliers, advanced trend detection using ATR-based slope thresholds, and multi-bar trend confirmation to filter false breakouts.
The logic flow is elegantly simple yet powerful:
- Hull Calculation combines half-period and full-period weighted moving averages, then applies square-root smoothing for enhanced responsiveness
- Trend Detection analyzes Hull slope against dynamic ATR-based thresholds, classifying market direction as bullish, bearish, or neutral
- Confirmation System requires sustained directional movement across multiple bars before triggering signals, dramatically reducing whipsaws
When Hull slope exceeds the positive threshold, bullish conditions emerge. When it falls below the negative threshold, bearish momentum takes control. The multi-bar confirmation ensures only sustained moves generate actionable signals, making this system ideal for trend-following strategies across volatile markets.
The advanced slope analysis mechanism adapts to market volatility through ATR integration, ensuring sensitivity remains optimal during both high-volatility breakouts and low-volatility consolidations, delivering consistent performance across varying market conditions.
## Features
- Custom Hull Implementation : For-loop calculations for precise weighted moving average control and enhanced smoothness
- Dynamic Trend Detection : ATR-based slope analysis automatically adjusts sensitivity to market volatility conditions
- Multi-Bar Confirmation : Configurable confirmation periods (1-5 bars) eliminate false signals and reduce trading noise
- Advanced Visual System : Dynamic color coding, optional arrows, and statistics table for comprehensive market visualization
- Optimized for Bitcoin : Extensively backtested parameters delivering 128.58% returns with 55% drawdown reduction versus buy-and-hold
- Flexible Configuration : Hull length (1-200), smoothing multiplier (0.1-3.0), sensitivity (1-10), and confirmation settings
- Professional Alerts : Comprehensive alert system for trend changes and entry signals with strength percentages
- Real-time Analytics : Optional statistics table displaying trend direction, strength, Hull value, and current price
## Signal Generation
Hull For Loop generates multiple signal types for comprehensive trend analysis and precise entry/exit timing:
Primary Signals : Confirmed trend changes from bullish to bearish or vice versa - highest probability directional moves
Entry Signals : Initial trend confirmation after multi-bar validation - optimal position entry points
Strength Indicators : Real-time trend strength percentages based on directional momentum over lookback periods
Visual Confirmations : Color-coded Hull line providing instant visual trend status
The confirmation system adds crucial reliability - signals must persist through the specified confirmation period before activation, ensuring only sustained moves trigger trading decisions rather than temporary price fluctuations.
## Visual Implementation
The indicator employs sophisticated visual elements for immediate trend comprehension and professional chart presentation:
- Dynamic Hull Line : Color-changing line (green/red/gray) with configurable width reflecting current trend status
- Optional Directional Arrows : Triangle markers below/above bars marking confirmed trend changes and entry points (disabled by default)
- Statistics Panel : Optional real-time table showing trend direction, strength percentage, Hull value, and current price
- Professional Color Scheme : Customizable bullish (green), bearish (red), and neutral (gray) color system
## Alerts
Hull For Loop includes comprehensive alert conditions for automated trading integration:
- Hull Trend Change - Confirmed trend direction shift with strength percentage
- Hull BUY Signal - Bullish trend confirmation with price and strength data
- Hull SELL Signal - Bearish trend confirmation with price and strength data
- Alert Frequency - Once per bar to prevent spam while maintaining accuracy
All alerts include contextual information: trend direction, current price, and trend strength percentage for informed decision-making.
## Use Cases
Trend Following : Optimized for sustained directional moves with superior drawdown protection compared to buy-and-hold strategies
Swing Trading : Multi-bar confirmation eliminates false breakouts while capturing significant trend changes
Position Trading : Smooth Hull calculation provides stable signals for longer-term directional positioning
Risk Management : Advanced confirmation system dramatically reduces whipsaw trades and false signals
Crypto Trading : Specifically optimized for Bitcoin with parameters delivering exceptional historical performance
The system demonstrates exceptional performance across volatile assets.