Marketia DVAN Trending The Dvan Trending Indicator is a powerful and innovative tool designed to help traders identify market trends and potential reversals with precision. By combining dynamic price action analysis with volume-weighted signals, this indicator provides a unique perspective on market momentum and trend strength, making it suitable for various trading styles, including day trading, swing trading, and long-term investing.
Análise de Tendência
Global M2 Money+ Supply Input Lead (USD)Global M2 Money Supply + INR+CAD Input Lead (USD)
This indicator calculates the global M2 money supply in USD by aggregating M2 data from multiple economies, converted to USD using their respective exchange rates. It overlays the scaled M2 data on the chart with a user-defined time shift to analyze potential correlations with asset prices, such as Bitcoin. The indicator is designed to help traders assess global liquidity trends with a customizable lead or lag.
Countries Included:
Eurozone (EUM2)
North America: United States (USM2), Canada (CAM2)
Non-EU Europe: Switzerland (CHM2), United Kingdom (GBM2), Finland (FIM2), Russia (RUM2)
Pacific: New Zealand (NZM2)
Asia: China (CNM2), Taiwan (TWM2), Hong Kong (HKM2), India (INM2), Japan (JPM2), Philippines (PHM2), Singapore (SGM2)
Latin America: Brazil (BRM2), Colombia (COM2), Mexico (MXM2)
Middle East: United Arab Emirates (AEM2), Turkey (TRM2)
Africa: South Africa (ZAM2)
Input for Lead/Lag:
Time Shift (days): Adjust this input to shift the M2 data forward (positive values) or backward (negative values) on the chart. For example, setting a lead of 85 days shifts the M2 data 85 days into the future, helping traders analyze potential leading indicators for price movements.
changeReturns a simple "close vs close" value for whichever interval is specified. i.e. on a weekly chart, it would be week-over-week change.
Triple Confirmation Scalper v2 - Alarm CompatibleTriple Confirmation Scalper Strategy
A high-probability scalping strategy combining trend momentum, overbought/sold conditions, and volume confirmation to filter low-noise signals.
📊 Strategy Logic
Trend Direction
Dual EMA crossover (9 & 21 periods) for momentum and trend bias.
Overbought/Oversold Zones
RSI (14-period) to avoid entries at extremes.
Volume Spike Filter
OBV + 20-period volume average to confirm breakout validity.
Dynamic Risk Management
Stop-loss: Adaptive to recent price action (5-candle low/high ±1%).
Take-profit: 1.5% target (1.5:1 risk/reward).
🔍 Advanced Features
Precision VWAP (20-period, HLC3-based) for dynamic S/R levels.
Visual Aids:
EMA/VWAP bands + trend-colored background.
Volume spike alerts.
TradingView Alerts pre-configured for long/short signals.
⚙️ Default Settings
Commission: 0.1% factored into backtests.
Mode: Supports both long/short positions.
⚠️ Disclaimer
This is a technical analysis tool, not financial advice.
Past performance ≠ future results. Test thoroughly in a demo account.
Adjust parameters (e.g., EMA periods, RSI thresholds) to match your risk tolerance.
✅ TradingView Compliance Notes:
No exaggerated claims (e.g., "100% win rate").
Clear disclaimer included.
Focus on objective strategy logic (no promotional language).
Squeeze Momentum Indicator [LazyBear] with Green Fade Alertbased on Squeeze Momentum Indicator . alerts when momentum slows down.
SMA50 vs SMA200 Cross SignalsThis script detects golden and death cross signals using SMA 50 and SMA 200. When SMA50 crosses above SMA200, a buy signal is generated (Golden Cross). When SMA50 crosses below SMA200, a sell signal is generated (Death Cross). This script is designed for long-term trend-following strategies. Visual arrows are shown and alerts can be added.
Stealth Trigger X🔰 Stealth Trigger X — Smart Divergence & Breakout Strategy with Trend Weakness Exit
Stealth Trigger X is a precision-engineered, non-repainting strategy designed for traders who rely on high-conviction breakouts and trend confirmation. Rather than relying on lagging or oversimplified signals, this strategy fuses divergence logic, volatility detection, volume filtering, and slope-based trend validation into one clean system — making it both responsive and reliable.
📌 Core Components (How It Works):
1. ZLEMA (Zero-Lag Exponential Moving Average):
Used as the primary trend baseline. Unlike a standard EMA, ZLEMA compensates for lag by using a double-smoothing technique that allows the strategy to detect trend direction changes sooner — especially useful in crypto and fast-moving markets.
2. Gradient Filter (Slope of ZLEMA):
Rather than waiting for price to cross a moving average, the strategy measures the slope of the ZLEMA itself. Positive slope = uptrend, negative slope = downtrend. This gives us early trend validation and exit signals based on weakening momentum.
3. Vortex Indicator (Directional Volatility):
A diff-based implementation of the Vortex Indicator is used to validate whether volatility is expanding in favor of the trend. This prevents false entries during indecision phases or low-momentum conditions.
4. White Line Bias Filter (Structural Trend):
The strategy calculates the midpoint of the highest high and lowest low over a user-defined period. This “White Line” serves as a structural trend bias, ensuring entries align with the broader context — not just momentary momentum.
5. Volume Spike Confirmation:
To avoid manipulation and choppy conditions, the strategy confirms breakouts only when the current bar’s volume exceeds the median volume of recent candles by a set multiplier. This filters out noise and ensures only high-conviction moves trigger entries.
6. Breakout with Divergence Timing:
A hybrid logic checks for price breaking previous range highs/lows (breakouts), combined with simulated divergence behavior based on RSI-like momentum. This helps align entry timing with areas where price is likely to accelerate.
⚙️ Trade Management Logic:
Entry Conditions:
Triggered when all conditions align: ZLEMA slope, Vortex confirmation, White Line bias, volume spike, and divergence-based breakout.
Take Profits:
TP1: 50% of position is closed using a limit order
TP2: Remaining 50% closed with another limit order
This split exit approach lets profits run while locking in gains early.
Exits on Trend Weakness:
If trend conditions weaken (slope flip or vortex flip), the position is exited before a full reversal occurs — helping protect capital during exhaustion phases.
Reentry Delay:
Enforces a 1-bar cooldown between exit and new entries to avoid “ping-pong” signals and maintain clean backtest results.
📊 Real-Time Dashboard (On-Chart):
Displays critical stats including:
Current position (Long, Short, or Flat)
Entry price
TP1 and TP2 hit status
Win rate (%)
Profit factor
Bars since entry
This makes live trading or visual backtesting easy to interpret and track.
✅ Key Facts:
Non-Repainting: All signals are calculated using confirmed bar data only. No future bars or security() functions are used.
Original Logic: This is not a generic mashup. Each component (ZLEMA slope, vortex diff, breakout divergence, volume spike filtering, White Line structure) is optimized to work in tandem.
Best Timeframes: 1H – 4H
Markets: Crypto, Forex, Indices — any market with trending behavior and measurable volume
⚠️ Disclaimer:
This strategy is for educational purposes only. It is not financial advice or a recommendation to trade. Past performance does not guarantee future results. Always trade with proper risk management and backtest strategies before live deployment.
🧠 Summary:
Stealth Trigger X is built for traders who want:
Precision entries
Early trend exits
Reliable backtest integrity
Clean logic with no repainting
It is especially effective in breakout environments where volume and momentum align — and excels at avoiding weak or manipulated trends.
Enhanced Trend Companion – MAs, Trendlines & ExitThis streamlined companion to the Enhanced Trend Indicator focuses on clear market direction and exit planning — without additional reversal or volume logic.
It combines trendline projection, multiple moving averages, and a Chandelier Exit to help visualize both trend strength and trailing exit zones. With fewer overlays and signals, it’s ideal for traders who want clarity while maintaining core structural awareness.
🔍 Core Features:
Clean Trend Lines:
Visualize directional movement and breakout zones using projected trendline logic.
Multi-MA Overlay:
Short-, medium-, and long-term moving averages help clarify overall market alignment and potential pullback zones.
Chandelier Exit Integration:
Trailing stop logic is built in to assist with exit planning or trend reversal detection.
Minimal Signal Noise:
No reversal or volume triggers — just raw structure and trend logic for cleaner decision-making.
🧠 Suggested Use:
Use this as a standalone lightweight tool, or in combination with the Enhanced Trend Indicator for multi-layered trade confirmation. It works well for swing and intraday traders who want to monitor the trend without too many signals.
Enhanced Trend Indicator – Reversal & Volume LogicThis script is designed to help traders identify potential trade setups by combining elements of trend direction, market structure, and volume analysis. It is intended to assist users in aligning with market momentum while maintaining a clean and readable chart.
🔍 Overview
The Enhanced Trend Indicator offers a multi-layered approach to technical analysis. It includes:
Trend direction filtering using configurable moving averages
Support and resistance zones based on recent swing highs/lows
Volume validation to strengthen the reliability of signals
Custom signal logic for entry/exit points derived from a combination of price and volume behavior
The indicator is adaptive and can be applied across various timeframes and trading styles.
⚙️ Core Features
1. Signal Logic
Buy and sell signals are plotted based on market structure, momentum direction, and volume confirmation. These signals are intended to highlight areas of potential interest, not guarantee outcomes.
2. Dynamic Levels
Automatically plotted support and resistance zones adjust to recent pivot activity. These areas can help inform stop placement, entry zones, or take-profit levels.
3. Trend Detection
The tool uses moving average alignment to help visualize overall trend direction and filter against counter-trend setups.
4. Volume Verification
Signals are further filtered by a volume threshold to reduce noise during low-activity periods or false breakouts.
5. Alert Capabilities
The script includes optional alerts for signal conditions so users can monitor multiple assets or timeframes efficiently.
🧠 Who It’s For
This tool is useful for:
Traders who use technical confluence to support their decision-making
Swing and intraday traders looking for visual clarity and adaptive levels
Users who prefer structured entries supported by volume and trend logic
Note: This indicator is not meant to be used in isolation. It works best when combined with sound risk management and a broader trading plan. As always, backtesting and personal validation are encouraged before using any script in live market conditions.
Weekly Open (Current Week Only)📘 Indicator Name: Weekly Open (Current Week Only)
📝 Description:
This indicator plots a horizontal line representing the weekly open price, visible only during the current trading week. At the beginning of each new week (based on TradingView’s weekly time segmentation), the indicator captures the open price of the first candle and draws a constant line across the chart until the week ends. Once the new week begins, the line resets and updates with the new weekly open.
🎯 How to Use – ICT Concepts Integration (Weekly Profile):
This tool is designed to complement ICT (Inner Circle Trader) trading strategies, particularly within the weekly profile framework, by offering a clear and persistent visual of the weekly open, which is a critical reference point in ICT’s market structure theory.
✅ Use Cases:
Directional Bias:
According to ICT concepts, price trading above the weekly open suggests a bullish bias for the week, while trading below it implies bearish conditions.
Traders can use the weekly open line to align their intraweek trades with higher timeframe directional bias.
Dealing Ranges:
Weekly open helps frame the weekly dealing range, especially when combined with other levels like weekly high/low or previous week’s range.
It allows traders to identify potential liquidity pools or areas where price may seek to rebalance.
Mean Reversion Entries:
Price often reverts to or reacts from the weekly open. Traders may use this as a target or entry level, particularly during Monday/Tuesday setups.
Works well in conjunction with concepts like OTE (Optimal Trade Entry) and Judas Swings.
Risk Management:
Acts as a clean and visual anchor to structure stop losses or take-profits based on weekly bias shifts.
Volume & ATR Projection Tracker w/ Table & Alerts# README: Volume & ATR Projection Tracker (Pine Script Indicator)
## Overview
This Pine Script indicator for TradingView is designed to help traders analyze volume activity and potential short-term price volatility. It plots volume bars, calculates a moving average of volume, highlights unusual volume spikes (differentiating between up and down bars), and projects potential price ranges for upcoming hours based on Average True Range (ATR). It also provides a status table and configurable alerts.
**Disclaimer:** This indicator provides informational analysis and projections based on historical data and volatility. It does **not** provide guaranteed price predictions or financial advice. Trading involves substantial risk. Always do your own research and consult with a qualified financial advisor.
## Features
* **Volume Plotting:** Displays volume as a histogram in a separate panel.
* **Volume Moving Average:** Calculates and plots a configurable MA (SMA, EMA, WMA) of volume.
* **Unusual Volume Detection:** Identifies bars where volume significantly exceeds its moving average (based on a user-defined multiplier).
* **Differentiated Volume Analysis:**
* Colors volume bars differently based on whether unusual volume occurred on an up-bar (Close > Open), down-bar (Close < Open), or neutral bar (Close == Open).
* Plots different spike markers (up/down triangles) on the price chart for unusual volume on up/down bars.
* **ATR Volatility Projections:**
* Calculates the Average True Range (ATR) as a measure of recent volatility.
* Projects a potential price range (Close +/- ATR \* Multiplier) for a specified number of future hours.
* Plots these ranges as dashed lines and labels on the price chart.
* **Important:** These are volatility-based *ranges*, not directional predictions.
* **Status Table:** Displays a concise summary table on the chart including:
* Current Volume Status (Normal, High (Up), High (Down), High (Neut)).
* Current Volume compared to its MA (as a percentage).
* The projected ATR range for the next hour.
* **Configurable Alerts:** Provides alert conditions for:
* Unusual Volume detection.
* Volume crossing above its MA.
* Volume crossing below its MA.
* **Customizable Inputs:** Allows users to configure MA settings, volume threshold, ATR settings, projection hours, trading session times, and colors.
## How it Works
1. **Volume Analysis:**
* Calculates a Moving Average (SMA, EMA, or WMA) of the volume over a specified length (`MA Length`).
* Compares the current bar's volume to this MA. If `Volume > MA * Unusual Vol Multiplier`, the volume is flagged as "unusual".
* Checks if the unusual volume occurred on a bar where `Close > Open` (Up), `Close < Open` (Down), or `Close == Open` (Neutral).
* Colors the volume bars and plots spike markers based on this differentiated status.
2. **ATR Projections:**
* Calculates the ATR over a specified length (`ATR Length`).
* At the start of each hour *within the defined Trading Session*:
* Calculates an upper projection level: `Current Close + (Current ATR * ATR Multiplier)`.
* Calculates a lower projection level: `Current Close - (Current ATR * ATR Multiplier)`.
* Stores these levels for the specified number of `Projection Hours Ahead`.
* Draws dashed lines and labels on the price chart representing these hourly ranges for the future, but only if they are within TradingView's 500-bar drawing limit from the current bar.
3. **Status Table:**
* Updates on the last bar of the chart.
* Displays the current differentiated volume status, the percentage difference between current volume and its MA, and the calculated ATR range for the *next* hour.
4. **Alerts:**
* Uses `alertcondition()` to create trigger conditions based on `unusualVolumeBase`, `vol_cross_above`, and `vol_cross_below`. Users can create alerts based on these conditions in the TradingView UI.
## Input Settings
The indicator settings are organized into groups:
**Group 1: Volume Analysis Settings**
* **MA Length:** (Default: 20) Number of bars for the volume MA calculation.
* **MA Type:** (Default: SMA) Type of moving average (SMA, EMA, WMA).
* **Unusual Vol Multiplier:** (Default: 2.0) Threshold for detecting unusual volume (Volume > MA * Multiplier).
* **Show Volume Spikes:** (Default: true) Toggle visibility of triangle markers on the price chart.
* **Show Volume MA:** (Default: true) Toggle visibility of the MA line on the volume panel.
**Group 2: ATR Projection Settings**
* **ATR Length:** (Default: 14) Number of bars for the ATR calculation.
* **ATR Multiplier:** (Default: 1.5) Factor applied to ATR to determine the projection range width. Higher values create wider ranges.
* **Projection Hours Ahead:** (Default: 8) How many hours forward to calculate and display projections.
* **Show Projections:** (Default: true) Toggle visibility of projection lines and labels on the price chart.
**Group 3: Session & Colors**
* **Trading Session:** (Default: "0930-1600") Defines the hours during which projections are calculated. **Crucial:** Format is HHMM-HHMM based on the exchange timezone (see Timezone Note below).
* **Normal Vol Color:** (Default: blue) Color for volume bars when volume is not unusual.
* **Volume MA Color:** (Default: yellow) Color of the volume MA line.
* **Unusual Vol (Up Bar) Color:** (Default: light green) Color for unusual volume bars where Close > Open.
* **Unusual Vol (Down Bar) Color:** (Default: light red) Color for unusual volume bars where Close < Open.
* **Unusual Vol (Neutral Bar) Color:** (Default: light gray) Color for unusual volume bars where Close == Open.
* **Projection Line Color:** (Default: orange) Color of the dashed projection range lines.
* **Proj Label Bg Color:** (Default: semi-transparent gray) Background color for projection labels.
* **Proj Label Text Color:** (Default: white) Text color for projection labels.
## Timezone Note
The `Trading Session` input relies on a timezone setting within the `is_in_session` function in the code (currently hardcoded to `"UTC-4"` as an example for US Eastern Time). **You may need to edit the script code** to change this timezone string (e.g., `"America/New_York"`, `"Europe/London"`, `"Asia/Tokyo"`) to match the exchange time of the instrument you are trading. Consult Pine Script documentation for valid timezone strings.
## Limitations
* **Drawing Limit:** TradingView limits drawing objects (lines, labels) to a maximum of ~500 bars into the future from the current bar. On lower timeframes, the script automatically stops drawing projections that exceed this limit.
* **Projection vs. Prediction:** The ATR ranges are based on past volatility and are *not* price predictions. The market can easily move outside these projected ranges.
* **Alerts:** Alerts for price crossing the projected future levels are not implemented due to technical complexity in Pine Script.
## Disclaimer
Trading financial markets involves substantial risk of loss and is not suitable for all investors. The information provided by this indicator is for educational and informational purposes only and does not constitute financial advice, investment advice, trading advice, or any other sort of advice. You should not make any investment decision based solely on the information provided by this indicator. Past performance is not indicative of future results.
RR Trail MA-Osc Strategy (entry-based TP/SL)RR Trail MA-Osc Strategy (Invite-Only | With Moving Average Shift Oscillator)
Overview
The RR Trail MA-Osc Strategy is an invite-only premium trading system that combines trend-following entry logic with a three-layered exit mechanism: fixed TP/SL, trailing stop, and divergence-based exit using a custom Moving Average Shift oscillator.
It eliminates discretion and enforces consistent, rule-based execution.
Key Features
Entry-based fixed TP/SL calculated from recent highs/lows (structural exits)
Dynamic trailing stop updated from highest/lowest price since entry
Divergence exit triggered when MA and oscillator indicate opposing directions
Long-term trend confirmation using 200-period EMA
Modular structure ideal for customization and integration
About the Moving Average Shift Oscillator
This custom oscillator normalizes the distance between price and a selected moving average, then smooths it using HMA.
Intuitively reflects trend strength and direction
Oscillates around the zero line
Used for both entry filters and divergence-based exits
Entry Logic
Long Entry Conditions
Price is above the selected short-term MA
Moving Average Shift Oscillator is above 0 and rising
200 EMA is trending upward
Short Entry Conditions
Price is below the selected short-term MA
Moving Average Shift Oscillator is below 0 and falling
200 EMA is trending downward
Exit Conditions
Fixed TP or SL is hit
Trailing stop is triggered
Divergence between oscillator and MA
Risk Management & Backtest Info
Pair: ETH/USD
Timeframe: 4H
Starting Capital: $3,000
Risk per trade: 2% (fully configurable)
Commission: 0.02%, Slippage: 2 pips
Total Trades: 651 (as of April 2025 backtest)
Customizable Parameters
MA types: SMA, EMA, SMMA, WMA, VWMA
RR ratio: Adjustable from 1.0 to 2.0+
Trailing stop range: % based
Lookback window for recent high/low (TP/SL reference)
Inspiration & Development Notes
This strategy was inspired by the concept of “Moving Average Shift” popularized by ChartPrime.
However, no original code was reused . The logic is independently developed and extended with features such as multi-layered exit control, divergence logic, and entry-based price tracking for automated TP/SL management.
Disclaimer
This script is for educational and research purposes only. It does not constitute financial advice.
Always backtest and optimize parameters according to your personal risk tolerance and trading environment before applying in live markets.
Moving Average Shift WaveTrend StrategyMoving Average Shift WaveTrend Strategy
🧭 Overview
The Moving Average Shift WaveTrend Strategy is a trend-following and momentum-based trading system designed to be overlayed on TradingView charts. It executes trades based on the confluence of multiple technical conditions—volatility, session timing, trend direction, and oscillator momentum—to deliver logical and systematic trade entries and exits.
🎯 Strategy Objectives
Enter trades aligned with the prevailing long-term trend
Exit trades on confirmed momentum reversals
Avoid false signals using session timing and volatility filters
Apply structured risk management with automatic TP, SL, and trailing stops
⚙️ Key Features
Selectable MA types: SMA, EMA, SMMA (RMA), WMA, VWMA
Dual-filter logic using a custom oscillator and moving averages
Session and volatility filters to eliminate low-quality setups
Trailing stop, configurable Take Profit / Stop Loss logic
“In-wave flag” prevents overtrading within the same trend wave
Visual clarity with color-shifting candles and entry/exit markers
📈 Trading Rules
✅ Long Entry Conditions:
Price is above the selected MA
Oscillator is positive and rising
200-period EMA indicates an uptrend
ATR exceeds its median value (sufficient volatility)
Entry occurs between 09:00–17:00 (exchange time)
Not currently in an active wave
🔻 Short Entry Conditions:
Price is below the selected MA
Oscillator is negative and falling
200-period EMA indicates a downtrend
All other long-entry conditions are inverted
❌ Exit Conditions:
Take Profit or Stop Loss is hit
Opposing signals from oscillator and MA
Trailing stop is triggered
🛡️ Risk Management Parameters
Pair: ETH/USD
Timeframe: 4H
Starting Capital: $3,000
Commission: 0.02%
Slippage: 2 pips
Risk per Trade: 2% of account equity (adjustable)
Total Trades: 224
Backtest Period: May 24, 2016 — April 7, 2025
Note: Risk parameters are fully customizable to suit your trading style and broker conditions.
🔧 Trading Parameters & Filters
Time Filter: Trades allowed only between 09:00–17:00 (exchange time)
Volatility Filter: ATR must be above its median value
Trend Filter: Long-term 200-period EMA
📊 Technical Settings
Moving Average
Type: SMA
Length: 40
Source: hl2
Oscillator
Length: 15
Threshold: 0.5
Risk Management
Take Profit: 1.5%
Stop Loss: 1.0%
Trailing Stop: 1.0%
👁️ Visual Support
MA and oscillator color changes indicate directional bias
Clear chart markers show entry and exit points
Trailing stops and risk controls are transparently managed
🚀 Strategy Improvements & Uniqueness
In-wave flag avoids repeated entries within the same trend phase
Filtering based on time, volatility, and trend ensures higher-quality trades
Dynamic high/low tracking allows precise trailing stop placement
Fully rule-based execution reduces emotional decision-making
💡 Inspirations & Attribution
This strategy is inspired by the excellent concept from:
ChartPrime – “Moving Average Shift”
It expands on the original idea with advanced trade filters and trailing logic.
Source reference:
📌 Summary
The Moving Average Shift WaveTrend Strategy offers a rule-based, reliable approach to trend trading. By combining trend and momentum filters with robust risk controls, it provides a consistent framework suitable for various market conditions and trading styles.
⚠️ Disclaimer
This script is for educational purposes only. Trading involves risk. Always use proper backtesting and risk evaluation before applying in live markets.
RTH and ETH RangesKey Functions :
Visualizes Regular Trading Hours (RTH) and Extended Trading Hours (ETH) price ranges
Tracks session highs, lows, and 50% levels where significant market reactions occur
Detects breakouts beyond previous session extremes
Trading Applications :
Exposes potential liquidity raids at session boundaries where smart money targets stop orders
Identifies critical price thresholds where institutional activity concentrates
Highlights divergences between RTH and ETH behavior that precede directional moves
Provides measurement of session volatility differences
Maps key price levels for objective entry and exit parameters
Reveals market dynamics at session transitions where institutional positioning changes
Multitimeframe MA: MAs im aktuellen TF + M15This indicator displays the key moving averages (MAs) from both the current timeframe and the 15-minute chart (M15) directly within the active chart—perfect for traders who rely on multi-timeframe analysis.
🔍 Features:
EMA 20 (yellow) – fast average from the current timeframe
SMA 50 (red) – medium-term average from the current timeframe
SMA 100 (green) – longer-term average from the current timeframe
SMA 200 (blue) – key trend filter from the current timeframe
🕓 M15 SMA Lines (thinner, lighter colors):
SMA 50, 100, 200 from the 15-minute timeframe are shown as dotted lines, regardless of the active chart’s timeframe.
Helps identify important support/resistance zones and overall trend direction based on higher-timeframe structure.
Hyperion Crypto Matrix: Ultimate Market Sentinel
// 🔰 HYPERION CRYPTO MATRIX: ULTIMATE MARKET SENTINEL
// ─────────────────────────────────────────────────────────────────────────────
/*
The **Hyperion Crypto Matrix** is an advanced crypto trend-following strategy built from the ground up for precision, not just performance. Unlike traditional “mashups” of indicators, this system was **engineered around synergy**—each module is purpose-driven and non-redundant, delivering fast, filtered, high-probability signals in volatile crypto markets.
─────────────────────────────────────────────────────────────
📌 STRATEGY PURPOSE
─────────────────────────────────────────────────────────────
Hyperion is built for **1-hour crypto trading** and optimizes for:
- High Win Rate
- Early Exits on Trend Weakness
- Partial Position Scaling (TP1/TP2)
- Real-time trade performance tracking
It is ideal for traders who want **real-time trade logic** with:
- No repainting
- No overfitting
- Realistic entry/exit structure
- No same-bar entry & exit (enforces 1-bar delay)
─────────────────────────────────────────────────────────────
🧠 WHAT MAKES IT ORIGINAL
─────────────────────────────────────────────────────────────
Each component is **custom-integrated** with strict role separation:
- **Trend Direction:** Enhanced Wave Oscillator (EWO) with adaptive band filtering
- **Trend Strength Memory:** Relative Momentum Index (RMI) with threshold locking
- **Volume Confirmation:** Historical relative volume spike filter using SMA multiplier
- **Momentum Weakness Exit:** Combined ROC and CCI to detect early reversal before price turns
- **Position Tracking:** TP1 (50% exit), TP2 (100% close) with cooldown to prevent whipsaws
- **Dynamic Dashboard:** Real-time stats including win rate, PnL efficiency, and TP hit status
These aren’t just “plugged in” indicators—they are synchronized to **filter, confirm, and adapt** to price action with timing logic that prevents premature entries or late exits.
─────────────────────────────────────────────────────────────
📊 INDICATOR LOGIC OVERVIEW
─────────────────────────────────────────────────────────────
1. **📈 Enhanced Wave Oscillator (EWO):**
- Calculates the delta between a fast and slow EMA (5 vs. 34 by default)
- Uses a dynamic banding system to detect peaks/troughs and prevent entries during exhaustion
- Filters only active, accelerating trends — reducing false positives
2. **🧠 Relative Momentum Index (RMI):**
- Similar to RSI but with a forward-looking momentum comparison
- Confirms trend *persistence* over time, preventing entries on short-term flips
- Long entries only allowed when RMI > threshold (default 55), short if RMI < 45
3. **🔊 Volume Spike Filter:**
- Uses 20-bar SMA of volume and a multiplier (1.5x default) to detect **relative volume breakouts**
- Prevents trades in low-liquidity environments (e.g., chop, overnight sessions)
4. **📉 Weak Trend Close Logic:**
- Combines Rate of Change (ROC) and Commodity Channel Index (CCI)
- Detects early signs of momentum deterioration, often before the trend visually reverses
- Triggers exit before price falls into sideways zones
5. **🎯 Take Profit System (TP1/TP2):**
- TP1: 50% position closed at +2% (default)
- TP2: Full close at +4% (default)
- Uses `strategy.exit()` with limit orders based on entry price
6. **⏱️ Reentry Cooldown:**
- After TP2 or weak trend exit, system enforces a 1-bar delay before reentry
- Avoids frequent churn in flat or noisy environments
7. **📋 Real-Time Dashboard (Optional):**
- Displays live trade status, PnL metrics, TP1/TP2 hit status, bars since entry, win rate %, and profit factor
- Color-coded background to highlight active trade direction (green for long, red for short)
─────────────────────────────────────────────────────────────
⚙️ HOW TO USE
─────────────────────────────────────────────────────────────
1. Load on a 1H chart of a crypto asset with good liquidity (e.g., BTC, ETH, LINK)
2. Toggle between \"Long Only\", \"Short Only\", or \"Both\" in the settings
3. Use default TP1/TP2 percentages, or tune them for the asset’s volatility
4. Observe trade execution and live stats on the optional dashboard
5. Review the bar coloring for EWO trend bias confirmation
> Stop-loss logic is not included. This strategy assumes exits occur at TP2 or on trend/momentum failure.
─────────────────────────────────────────────────────────────
⚖️ TRADINGVIEW COMPLIANCE & USAGE DISCLAIMER
─────────────────────────────────────────────────────────────
This strategy does **not repaint**, is fully compatible with **TradingView backtesting**, and adheres to all known Pine Script execution rules.
⚠️ **Disclaimer:** This script is for educational purposes only and does not constitute financial advice. Trading cryptocurrencies involves significant risk. Always test strategies on a demo account and consult with a financial advisor before live trading.
─────────────────────────────────────────────────────────────
🧪 CONCLUSION
─────────────────────────────────────────────────────────────
The **Hyperion Crypto Matrix** is not a mashup—it’s a **modular, optimized, logic-driven system** crafted for real-world crypto trading. Every component has been tuned for function, not fluff. Whether you're backtesting or live trading, this system is designed to give you **structured, actionable edge** with live feedback every step of the way.
*/
Dhokiya's Research Analyst - Chetan DhokiyaDescription of "Dhokiya's Research Analyst - Chetan Dhokiya"
Overview: The "Dhokiya's Research Analyst" script is designed for traders who want to identify key price levels based on the first 5-minute candle of the trading day. This script operates within the Indian stock market's trading hours, specifically from 9:15 AM to 3:25 PM. It calculates and visualizes upper and lower price levels derived from the closing price of the first 5-minute candle, providing traders with potential support and resistance levels for the day.
Key Features:
Market Timing: The script is programmed to recognize the market's opening and closing times, ensuring that it only operates during active trading hours.
First 5-Minute Candle Identification: The script identifies the first 5-minute candle of the trading day, which is crucial for setting the day's initial price levels.
Dynamic Level Calculation: It calculates two key levels based on the closing price of the first 5-minute candle:
Upper Level: Set at 0.09% above the closing price of the first candle.
Lower Level: Set at 0.09% below the closing price of the first candle.
Visual Representation: The script draws horizontal lines on the chart to represent the upper and lower levels, allowing traders to easily visualize these critical price points. The upper level is indicated with a green line, while the lower level is shown with a red line.
Line Extension: The lines are dynamically extended throughout the trading day until the market closes at 3:25 PM, providing continuous reference points for traders.
How to Use:
Setup: Add the script to your trading platform during the market hours. Ensure that you are viewing a 5-minute chart for optimal results.
Trading Strategy: Use the upper and lower levels as potential entry and exit points. Traders may consider buying near the lower level and selling near the upper level, depending on market conditions and additional analysis.
Risk Management: Always incorporate risk management strategies when trading around these levels, as price action can be volatile.
Underlying Concepts:
The script leverages the concept of the first candle's price action to establish a framework for the day's trading. The rationale is that the initial price movement can set the tone for the rest of the trading day.
By calculating levels slightly above and below the first candle's close, the script aims to capture potential breakout and reversal points, which are critical for day trading strategies.
Conclusion: "Dhokiya's Research Analyst" is a valuable tool for traders looking to enhance their intraday trading strategies. By focusing on the first 5-minute candle and establishing key price levels, this script provides a structured approach to navigating the market's daily fluctuations. Traders are encouraged to combine these levels with other technical analysis tools and indicators for a comprehensive trading strategy.
0.09 Version Strategy Indicator by Dhokiya's Research Analyst
Mobile - 7575065656
Website - dhokiyas.com/
Email - care@dhokiyas.com
POF🔶 Smoothed POF Profile – Multi-Session Market Structure Tool 🔶
The Smoothed POF Profile is a precision-engineered market structure indicator that identifies the Point of Focus (POF) — the price level where market participation was most active — across Daily, Weekly, and Monthly sessions and plots them with smoothed over form to avoid whipsaws.
🔍 Powered by a custom-built algorithm for session profiling, this tool highlights:
🔶 POF: The most frequently traded or accepted price during a session
🟩 VAH / VAL: Dynamic Value Area High and Low markers (no cluttered lines — clean label-only display)
📐 The core logic utilizes a proprietary data refinement method that adapts to session volatility and filters out insignificant noise to avoid false shifts in structure. This results in smoothed POF readings that remain stable and meaningful — even during high-volatility periods.
🧠 Designed for traders who want to track evolving value, this tool provides a high-level view of where the market is finding agreement — and where price is likely to revert or expand from.
✅ Key Features:
Fully automated: Tracks Daily, Weekly, and Monthly sessions in real-time
Session-aware calculation of key structure levels
Elegant, non-obtrusive chart visuals (no histogram or volume bars)
Fully configurable Value Area % and display toggles
Multi-session color-coding (🟧 Daily, 🔵 Weekly, 🟣 Monthly)
🧭 Trading Applications:
POF Bias: Use POF as an evolving balance point. Price above = bullish lean, price below = bearish tilt
VAH/VAL Zones: Anticipate rejection or consolidation when price re-enters the value area. Use breakouts for continuation bias
Session Stack Confluence: When Daily, Weekly, and Monthly POFs cluster, it often signals strong interest zones and potential turning points
🧩 Use alongside your preferred price action, volume, or trend confirmation tools. This is not a signal-based system — it’s a contextual framework to help you align with market intent and structure.
⚠️ Disclaimer: This tool is intended for educational and informational purposes only. It is not financial advice. Use with proper risk management and your own due diligence.
Supply and Demand Order BlocksSupply and Demand Order Blocks indicator identifies potential price reversal zones based on the order block model. The indicator displays supply zones (in red) and demand zones (in green) with extension lines to easily identify support and resistance levels.
Machine Learning RSI ║ BullVisionOverview:
Introducing the Machine Learning RSI with KNN Adaptation – a cutting-edge momentum indicator that blends the classic Relative Strength Index (RSI) with machine learning principles. By leveraging K-Nearest Neighbors (KNN), this indicator aims at identifying historical patterns that resemble current market behavior and uses this context to refine RSI readings with enhanced sensitivity and responsiveness.
Unlike traditional RSI models, which treat every market environment the same, this version adapts in real-time based on how similar past conditions evolved, offering an analytical edge without relying on predictive assumptions.
Key Features:
🔁 KNN-Based RSI Refinement
This indicator uses a machine learning algorithm (K-Nearest Neighbors) to compare current RSI and price action characteristics to similar historical conditions. The resulting RSI is weighted accordingly, producing a dynamically adjusted value that reflects historical context.
📈 Multi-Feature Similarity Analysis
Pattern similarity is calculated using up to five customizable features:
RSI level
RSI momentum
Volatility
Linear regression slope
Price momentum
Users can adjust how many features are used to tailor the behavior of the KNN logic.
🧠 Machine Learning Weight Control
The influence of the machine learning model on the final RSI output can be fine-tuned using a simple slider. This lets you blend traditional RSI and machine learning-enhanced RSI to suit your preferred level of adaptation.
🎛️ Adaptive Filtering
Additional smoothing options (Kalman Filter, ALMA, Double EMA) can be applied to the RSI, offering better visual clarity and helping to reduce noise in high-frequency environments.
🎨 Visual & Accessibility Settings
Custom color palettes, including support for color vision deficiencies, ensure that trend coloring remains readable for all users. A built-in neon mode adds high-contrast visuals to improve RSI visibility across dark or light themes.
How It Works:
Similarity Matching with KNN:
At each candle, the current RSI and optional market characteristics are compared to historical bars using a KNN search. The algorithm selects the closest matches and averages their RSI values, weighted by similarity. The more similar the pattern, the greater its influence.
Feature-Based Weighting:
Similarity is determined using normalized values of the selected features, which gives a more refined result than RSI alone. You can choose to use only 1 (RSI) or up to all 5 features for deeper analysis.
Filtering & Blending:
After the machine learning-enhanced RSI is calculated, it can be optionally smoothed using advanced filters to suppress short-term noise or sharp spikes. This makes it easier to evaluate RSI signals in different volatility regimes.
Parameters Explained:
📊 RSI Settings:
Set the base RSI length and select your preferred smoothing method from 10+ moving average types (e.g., EMA, ALMA, TEMA).
🧠 Machine Learning Controls:
Enable or disable the KNN engine
Select how many nearest neighbors to compare (K)
Choose the number of features used in similarity detection
Control how much the machine learning engine affects the RSI calculation
🔍 Filtering Options:
Enable one of several advanced smoothing techniques (Kalman Filter, ALMA, Double EMA) to adjust the indicator’s reactivity and stability.
📏 Threshold Levels:
Define static overbought/oversold boundaries or reference dynamically adjusted thresholds based on historical context identified by the KNN algorithm.
🎨 Visual Enhancements:
Select between trend-following or impulse coloring styles. Customize color palettes to accommodate different types of color blindness. Enable neon-style effects for visual clarity.
Use Cases:
Swing & Trend Traders
Can use the indicator to explore how current RSI readings compare to similar market phases, helping to assess trend strength or potential turning points.
Intraday Traders
Benefit from adjustable filters and fast-reacting smoothing to reduce noise in shorter timeframes while retaining contextual relevance.
Discretionary Analysts
Use the adaptive OB/OS thresholds and visual cues to supplement broader confluence zones or market structure analysis.
Customization Tips:
Higher Volatility Periods: Use more neighbors and enable filtering to reduce noise.
Lower Volatility Markets: Use fewer features and disable filtering for quicker RSI adaptation.
Deeper Contextual Analysis: Increase KNN lookback and raise the feature count to refine pattern recognition.
Accessibility Needs: Switch to Deuteranopia or Monochrome mode for clearer visuals in specific color vision conditions.
Final Thoughts:
The Machine Learning RSI combines familiar momentum logic with statistical context derived from historical similarity analysis. It does not attempt to predict price action but rather contextualizes RSI behavior with added nuance. This makes it a valuable tool for those looking to elevate traditional RSI workflows with adaptive, research-driven enhancements.
Trend MatrixFinal TradingView-Compliant Description for Trend Matrix
Trend Matrix is a precision-engineered trend-following strategy built for high-confidence entries and tactical trade management.
This strategy combines multiple non-repainting filters, each with a distinct role, to form a unified "trend matrix" that confirms directional bias, volume commitment, and momentum strength — all before entry is considered.
🔍 Core Components & Why They’re Used
🧠 Gaussian Filter (Custom)
A smoothed Gaussian-weighted moving average is used to detect trend direction changes. Unlike standard EMAs, this filter minimizes lag while retaining smooth transitions — ideal for confirming trend shifts without false reversals.
📈 RMI Trend Memory
A Relative Momentum Index is used to validate trend direction persistence. RMI's ability to filter out short-term oscillations makes it ideal for confirming whether a trend is still active.
📊 Gradient Filter (ZLEMA-based)
Measures the slope of a ZLEMA-smoothed close. If slope flips, it signals a potential trend weakness. This provides real-time confirmation for entry or exit bias.
📉 Volume Spike Detection
Confirms that breakouts or trend continuations are supported by volume commitment. Uses a dynamic SMA-based volume filter with a user-defined multiplier.
🟦 White Line (Bias Midpoint)
This structural component calculates the midpoint of the highest high and lowest low over a range — providing directional context and helping eliminate trades in consolidation zones.
🎯 Entry Conditions
Long entries require:
Gaussian trend flip to the upside
RMI > 50 (bullish memory)
Volume spike confirmation
Positive gradient (ZLEMA slope)
Price above White Line (bias filter)
Short entries use the inverse logic.
All entries enforce a cooldown bar to prevent same-bar reversals or whipsaw trades.
🎯 Exit Conditions
Take Profit 1: 50% of position at +2%
Take Profit 2: Remaining 50% at +4%
Early Exit on Trend Weakness:
Position closes fully if the trend weakens (RMI flip or gradient reversal)
📊 Dashboard + Performance Tracking
The built-in dashboard shows:
Current Position
Entry Price
TP1/TP2 Hit Status
Bars Since Entry
Win Rate (%)
Profit Factor
Useful for manual tracking or live trading review.
🌐 Multi-Exchange Bot Compatibility
Trend Matrix is built with universal trade alerts using customizable comment= fields. This makes it compatible with any exchange-connected bot platform such as:
WunderTrading
3Commas
Alertatron
Cornix
Or any webhook-based trading system
Alerts are sent using the {{strategy.order.comment}} placeholder, allowing you to route entries and exits through your preferred exchange account on Binance, Bybit, OKX, Kraken, and others.
🛠️ Customization
All components are modular:
TP1/TP2 levels
Gaussian length & sigma
Volume spike filter sensitivity
Gradient & White Line length
RMI settings
You can tailor the strategy for different assets or timeframes — optimized for crypto 1H, but works with stocks, FX, or lower timeframes with adjusted parameters.
✅ Final Notes
Trend Matrix is not just a mashup — it's a synchronized system of filters with clear roles, designed to maximize trade confidence and minimize noise. Every layer of confirmation serves a purpose, making this a highly adaptive trend-following tool for any market environment.
⚠️ Disclaimer (as required by TradingView)
This script is for educational purposes only and does not constitute financial advice. Use at your own risk. Always test strategies thoroughly before applying them in live trading environments. Past performance is not indicative of future results.
Timeframe Correlation TableTimeframe Correlation Table — Multi-Timeframe Structure Alignment Simplified
Finally, a clean visual tool that tells you instantly whether the 4H, 1H, and 5M structures are aligned or conflicted — so you can stop second-guessing your bias.
🔹 Structure Logic
Uses EMA-based bias detection on:
• 4H (default 200 EMA)
• 1H (default 200 EMA)
• 5M (default 50 EMA)
Bias is shown as Bullish or Bearish per timeframe, based on whether price is above or below the respective EMA.
🔹 Bias Filter Logic
If all 3 are bullish → shows LONG
If all 3 are bearish → shows SHORT
If mixed → shows MIXED
This allows you to instantly gauge whether you’re trading with structure or against it.
🔹 Fully Customizable
• Change color of bullish, bearish, and mixed states
• Change table position and size
• Designed to be subtle and unobtrusive on your chart
This is perfect for intraday traders who need to align lower timeframe entries with higher timeframe structure — without clutter or distractions.
TOMOs Consolidation Indicator using Bar Heightswhat this is: This indicator creates an alert (see green arrow) when there are periods of consolidation in the chart. YOU define what consolidation means. It looks at BOTH candle heights (wicks included by default) AND checks the lowest and highest of those candles.
> Number of candles to check: you define how many candles you want to use to calculate consolidation. For instance, if you select 3 candles and you're on a 5-min chart, that's 15 mins of consolidation.
> Max Candle Height: You define what consolidation height or range is considered consolidation to you. So if you put in a value of 15. That means the last X number of candles are examined for whether OR NOT they are at or below that height. If they are, then it checks to see if the lowest and highest point among those candles are within that height as well. IF they are, then you see a green arrow. That is consolidation in this indicator. And you can use it for an alarm.
> the blue shade just means consolidation is continuing BEYOND the green-arrow when it was indicated. It's just a visual indicator. that's it.
> Include Wicks in Candle Height? Maybe you just want the body of the candle and not it's wicks. Your call.
Trigger Starts and stops: hour/min. This is ALL Eastern time (NYSE's time) and NOT your own timezone. You can simply tell the script you ONLY want the trigger alert to happen between the the start and end time. So if you're using it to trigger a trade, maybe you don't want to trigger it too early or late in the day.
Inputs in Status Line: This is tradingview default. I can't remove it.
Return-to-Trend Wick Scalper — Full Control VersionReturn-to-Trend Wick Scalper — Modular Scalping Strategy for Gold (XAUUSD) & Indices
This is a precision-engineered scalping strategy designed primarily for high-volatility instruments such as Gold (XAUUSD), NASDAQ, and indices.
The system focuses on counter-trend pullbacks within the dominant daily trend, utilizing wick-based liquidity grabs (commonly referred to as “John Wick” candles) to identify high-probability return-to-trend opportunities.
Key Features:
✅ Dynamic Wick Reversal Detection: Detects reversal setups based on wick dominance and body ratio.
✅ Multiple Take Profit Levels: TP1, TP2, TP3 with individual enable/disable toggles and adjustable exit percentages.
✅ Time-Based Stop-Loss: Optional failsafe to close trades after exceeding a defined number of bars.
✅ VWAP Proximity Filter: Ensures entries happen near volume-weighted average price for precision.
✅ Pullback Depth Control: Filter for significant pullbacks using percentage of daily ATR.
✅ Dynamic Support & Resistance Validation: Confirms setups at key reactive levels.
✅ Volatility Filter: Avoids entries in overly volatile or dead market conditions.
✅ Aggressive Entry Mode: Optional early entry at pullback zones for faster fills.
✅ Paper Trading & Backtest Ready: Fully compatible with TradingView’s Paper Trading simulator.
Usage Notes:
Optimized for 5-minute chart entries.
Use in conjunction with Paper Trading for forward testing before live execution.
Can be connected to live brokers via alert webhooks and external bridges like PineConnector.
Instrument Focus:
Gold (XAUUSD) ✅
NASDAQ ✅
Dow Jones (US30) ✅
Other liquid indices ✅
Risk Note:
Always test thoroughly in Paper Trading before going live.
Optimize TP levels and filters according to market volatility conditions.
Designed for traders who want precision entries, flexibility in scaling out positions, and professional-grade risk control.