Multitime ATRMulti-Timeframe Supertrend (Multitime ATR) Indicator Description
This indicator, written in Pine Script v5, is a Multi-Timeframe (MTF) Supertrend tool. It provides a multi-faceted market analysis by simultaneously displaying the Supertrend lines from the current chart timeframe and three higher timeframes: the 1-Hour (1H), 4-Hour (4H), and 1-Day (1D).
๐ Key Features and Characteristics
Multi-Timeframe Display:
It overlays the Supertrend lines from the current timeframe, 1H, 4H, and 1D onto a single chart, totaling four timeframes.
By visualizing the higher timeframe trend lines (uptrends as support, downtrends as resistance), traders can determine where the price action on the current chart stands within the context of the larger, dominant trends.
Supertrend Logic:
The Supertrend calculation utilizes the Average True Range (ATR), based on a user-specified ATR Period and ATR Multiplier.
The Change ATR Calculation Method? input allows switching the ATR calculation between the standard ta.atr (EMA-based/smoothed) and ta.sma(ta.tr, Periods) (SMA-based) methods.
Visual Aids:
Trend Lines: Uptrend lines (support) and downtrend lines (resistance) for each timeframe are plotted with different colors and line weights (e.g., Main: Green/Red, 1H: Blue tones, 4H: Purple tones, 1D: Green/Dark Red tones).
Highlighter: A background coloring feature visually highlights the area between the price and the Supertrend lines according to the trend direction for each timeframe, making the trend immediately obvious. This can be controlled collectively by the Master Highlighter setting.
Trend Change Marks: Small circle plots (โ) indicate the exact points of trend reversal for each higher timeframe, clearly signaling a shift.
Warning and Break Signals:
The indicator plots signal labels on the chart when the current price breaks (or nearly breaks) a higher timeframe trend line.
Warning (โ ๏ธ): Plotted when the price closes below an uptrend line.
Break (โก): Plotted when the price closes above a downtrend line.
These signals are designed to reset after a certain period (coded as 3,600,000 milliseconds = 1 hour) to prevent continuous noise from repetitive breaks.
Alert Functionality:
In addition to the current timeframe's Buy/Sell signals, the indicator features robust alerts for the Warning/Break signals across the 1H, 4H, and 1D timeframes, ensuring that critical trend changes are not missed.
๐ ๏ธ Customization Options
The indicator's settings allow for detailed customization of the following parameters for each timeframe (Main, 1H, 4H, 1D) individually:
ATR Period (ATR Period)
ATR Multiplier (ATR Multiplier)
Visibility toggles for trend lines, signals, and highlighters.
Furthermore, the Master Control section enables simultaneous control over the display of the Highlighter, Signals, Up Trend Lines, and Down Trend Lines across all timeframes.
This indicator serves as a powerful tool for finding more reliable entry and exit points by integrating multi-timeframe trend analysis, which helps reduce false signals often encountered in single-timeframe trading.
Would you like me to elaborate on a specific section of the code, such as the request.security function or the signal logic?
Cari skrip untuk "mtf"
Buy/Sell/SL/TP + MTF + Candle-close (v6)This indicator provides clean Buy/Sell signals with automatic Stop-Loss and Take-Profit levels, multi-timeframe filtering, and confirmed candle-close alerts to avoid false signals. SL/TP can be calculated using percentage or ATR.
It includes full alertconditions for Buy, Sell, SL hit, and TP hit, plus optional JSON webhook alerts for automation (WhatsApp, Telegram, bots, etc.).
Ideal for intraday and swing traders who want simple entries, clear risk management, and fast automated notifications.
Volume Climax Reversal (VCR) โ Catch Exhaustion Tops & BottomsNew! VCR spots exhaustion spikes at highs/lows using volume extremes + price action + VWAP context.
If you trade parabolic runners, indices, or mean-reversion edges, VCR helps you time the backside (shorts) and fade capitulation (longs) with clean, rule-based signals.
What it does
Detects volume climax: current volume > SMA(len) ร multiplier and a new volume high in the lookback.
Confirms price context: makes a higher high (for tops) or lower low (for bottoms).
Filters with VWAP (optional): bearish signals only below VWAP, bullish signals only above VWAP.
Optional wick filter: requires an exhaustion wick > body to reduce chop.
Why traders like it
Clear entries: โVCRโโ (bearish) at exhaustion tops, โVCRโโ (bullish) at washout lows.
Fewer false signals: VWAP gating + wick filter focus on true climaxes.
Built-in alerts: set once, get notified on your phone/desktop when a setup appears.
How I trade it (simple playbook)
Bearish reversal (short / puts)
Wait for VCRโ (exhaustion at/near HH).
Look for a lower high that fails to reclaim the signal candle high.
Enter on the break of that lower-high candle low.
Stop above the signal wick high.
Covers/targets: VWAP first; then 20โ30% fade from the local top / prior demand.
Bullish reversal (long / calls)
Wait for VCRโ (capitulation at/near LL).
Look for a higher low that holds above the signal candle low.
Enter on the break of the HL candle high.
Stop below the signal wick low.
Targets: VWAP first; then prior supply/MA bands.
Tip for small-cap/โDuxโ style: VCR pairs perfectly with a gap + high USD-rotation scan. Let them blow off, then use VCR for the timing.
Inputs (tune to your market)
Volume SMA Length (default 20)
Volume Spike Multiplier (default 2.0)
Lookback High / Low (default 10 / 10)
Require VWAP confirmation? (on)
Use wick filter? (on)
Works on stocks, indices, futures, crypto.
Timeframes: 1โ15m for day trading; 1hโ4hโD for swing.
Alerts
Set one (or both) alerts and forget it:
Bearish Volume Climax โ VCRโ
Bullish Volume Climax โ VCRโ
Youโll get instant notifications when a qualified top/bottom prints.
Best practices
Donโt countertrend the first front-side rampโwait for the VCR and a lower-high/higher-low.
Respect VWAP: itโs your first profit-taking and a bias filter.
Size small into volatility; widen stops in fast markets.
Combine with your watchlist filters (gap %, float/O/S, USD rotation, session timing).
Whatโs included
Clean visual signals (triangles + subtle background shading)
Session-anchored VWAP
Alert conditions that appear in TradingViewโs alert menu
Sensible defaults + clear docs (this post)
FAQ
Q: Does it repaint?
No. VCR uses completed-bar data; signals print end-of-bar.
Q: Which markets?
Anything with volume: US equities, futures, crypto, indices.
Q: Can I use it for scalps?
Yesโ1โ5m with wick filter on and VWAP required works well.
Get more / upgrades
Iโm iterating fast (MTF filter, heatmap panel, combined โone-alertโ mode).
Want the pro template with dashboard & combined alerts? Message me on TV or DM / email you@domain.com
.
Risk Notice
This is educational research, not financial advice. Markets carry riskโalways manage position size and use stops.
If this helped you, smash the ๐ and โญ โ it really helps!
#volume #vwap #reversal #exhaustion #trendreversal #smallcaps #scalping #daytrading #swingtrading #stocks #futures #crypto #indicator
DAO - Demand Advanced Oscillator# DAO - Demand Advanced Oscillator
## ๐ Overview
DAO (Demand Advanced Oscillator) is a powerful momentum oscillator that measures buying and selling pressure by analyzing consecutive high-low relationships. It helps identify market extremes, divergences, and potential trend reversals.
**Values range from 0 to 1:**
- **Above 0.70** = Overbought (potential reversal down)
- **Below 0.30** = Oversold (potential reversal up)
- **0.30 - 0.70** = Neutral zone
---
## โจ Key Features
โ
**Automatic Divergence Detection**
- Bullish divergences (price lower low + DAO higher low)
- Bearish divergences (price higher high + DAO lower high)
- Visual lines connecting divergence points
โ
**Multi-Timeframe Analysis**
- View higher timeframe DAO on current chart
- Perfect for trend alignment strategies
โ
**Signal Line (EMA)**
- Customizable EMA for trend confirmation
- Crossover signals for momentum shifts
โ
**Real-Time Statistics Dashboard**
- Current DAO value
- Market status (Overbought/Oversold/Neutral)
- Trend direction indicator
โ
**Complete Alert System**
- Overbought/Oversold signals
- Bullish/Bearish divergences
- Signal line crosses
- Level crosses
โ
**Fully Customizable**
- Adjustable periods and levels
- Customizable colors and zones
- Toggle features on/off
---
## ๐ Trading Signals
### 1. Divergences (Most Powerful)
**Bullish Divergence:**
- Price makes lower low
- DAO makes higher low
- Signal: Strong reversal up likely
**Bearish Divergence:**
- Price makes higher high
- DAO makes lower high
- Signal: Strong reversal down likely
### 2. Overbought/Oversold
**Overbought (>0.70):**
- Market may be overextended
- Consider taking profits or looking for shorts
- Can remain overbought in strong trends
**Oversold (<0.30):**
- Market may be oversold
- Consider buying opportunities
- Can remain oversold in strong downtrends
### 3. Signal Line Crossovers
**Bullish Cross:**
- DAO crosses above signal line
- Momentum turning positive
**Bearish Cross:**
- DAO crosses below signal line
- Momentum turning negative
### 4. Level Crosses
**Cross Above 0.30:** Exiting oversold zone (potential uptrend)
**Cross Below 0.70:** Exiting overbought zone (potential downtrend)
---
## โ๏ธ Default Settings
๐ Oscillator Period: 14
Number of bars for calculation
๐ Signal Line Period: 9
EMA period for signal line
๐ด Overbought Level: 0.70
Upper threshold
๐ข Oversold Level: 0.30
Lower threshold
๐ฏ Divergence Detection: ON
Auto divergence identification
โฐ Multi-Timeframe: OFF
Higher TF overlay (optional)
All parameters are fully customizable!
---
## ๐ Alerts
Six pre-configured alerts available:
1. DAO Overbought
2. DAO Oversold
3. DAO Bullish Divergence
4. DAO Bearish Divergence
5. DAO Signal Cross Up
6. DAO Signal Cross Down
**Setup:** Right-click indicator โ Add Alert โ Choose condition
---
## ๐ก How to Use
### Best Practices:
โ
Focus on divergences (strongest signals)
โ
Combine with support/resistance levels
โ
Use multiple timeframes for confirmation
โ
Wait for price action confirmation
โ
Practice proper risk management
### Avoid:
โ Trading on indicator alone
โ Fighting strong trends
โ Ignoring market context
โ Overtrading
### Recommended Settings by Trading Style:
**Day Trading:** Period 7-10, All alerts ON
**Swing Trading:** Period 14-21, Divergence alerts
**Scalping:** Period 5-7, Signal crosses
**Position Trading:** Period 21-30, Weekly/Daily TF
---
## ๐ Markets & Timeframes
**Works on all markets:**
- Forex (all pairs)
- Stocks (all exchanges)
- Cryptocurrencies
- Commodities
- Indices
- Futures
**Works on all timeframes:** 1m to Monthly
---
## ๐ How It Works
DAO calculates the ratio of buying pressure to total market pressure:
1. **Calculate Buying Pressure (DemandMax):**
- If current high > previous high: DemandMax = difference
- Otherwise: DemandMax = 0
2. **Calculate Selling Pressure (DemandMin):**
- If previous low > current low: DemandMin = difference
- Otherwise: DemandMin = 0
3. **Apply Smoothing:**
- Calculate SMA of DemandMax over N periods
- Calculate SMA of DemandMin over N periods
4. **Final Formula:**
```
DAO = SMA(DemandMax) / (SMA(DemandMax) + SMA(DemandMin))
```
This produces a normalized value (0-1) representing market demand strength.
---
## ๐ฏ Trading Strategies
### Strategy 1: Divergence Trading
- Wait for divergence label
- Confirm at support/resistance
- Enter on confirming candle
- Stop loss beyond recent swing
- Target: opposite level or 0.50
### Strategy 2: Overbought/Oversold
- Best for ranging markets
- Wait for extreme readings
- Enter on reversal from extremes
- Target: middle line (0.50)
### Strategy 3: Trend Following
- Identify trend direction first
- Use DAO to time entries in trend direction only
- Enter on pullbacks to oversold (uptrend) or overbought (downtrend)
- Trade with the trend
### Strategy 4: Multi-Timeframe
- Enable MTF feature
- Trade only when both timeframes align
- Higher TF = trend direction
- Lower TF = precise entry
---
## ๐ Category
**Primary:** Oscillators
**Secondary:** Statistics, Volatility, Momentum
---
## ๐ท๏ธ Tags
dao, oscillator, momentum, overbought-oversold, divergence, reversal, demand-indicator, price-exhaustion, statistics, volatility, forex, stocks, crypto, multi-timeframe, technical-analysis
---
## โ ๏ธ Disclaimer
**This indicator is for educational purposes only.** It does not constitute financial advice. Trading involves substantial risk of loss. Always conduct your own research, use proper risk management, and consult with financial professionals before making trading decisions. Past performance does not guarantee future results.
---
## ๐ License
Open source - Free to use for personal trading, modify as needed, and share with attribution.
---
**Version:** 1.0
**Status:** Production Ready โ
**Pine Script:** v5
**Trademark-Free:** 100% Safe to Publish
---
*Made with ๐ for traders worldwide*
Exponential Moving Average + ATR MTF [YSFX]Description:
This indicator is a reupload of a previously published EMA + ATR tool, updated and enhanced after a house rule violation to provide additional features and a cleaner, more versatile experience for traders.
It combines trend analysis and volatility measurement into one intuitive tool, allowing traders to visualize market direction, dynamic support and resistance, and adaptive risk levelsโall in a clean, minimal interface.
The indicator calculates a customizable moving average (MA) typeโEMA, SMA, WMA, HMA, RMA, DEMA, TEMA, VWMA, LSMA, or KAMAโand surrounds it with ATR-based bands that expand and contract with market volatility. This creates a dynamic envelope around price, helping traders identify potential breakouts, pullbacks, or high-probability entry/exit zones.
Advanced Features:
Multiple MA types: Supports all major moving averages, including advanced options like KAMA, DEMA, and TEMA.
KAMA customization: Adjustable fast and slow lengths for precise tuning.
Dual timeframe support: Optionally use separate timeframes for the MA and ATR, or a global timeframe for both.
Dynamic ATR bands: Automatically adjust to market volatility, useful for setting adaptive stop-loss levels.
Optional fill: Shade the area between upper and lower ATR bands for a clear visual representation of volatility.
Flexible for all markets: Works across any timeframe or asset class.
Who Itโs For:
This indicator is ideal for trend-following traders, swing traders, and volatility-focused analysts who want to:
Confirm trend direction while accounting for volatility
Identify high-probability trade entries and exits
Implement dynamic, ATR-based stop-loss strategies
Keep charts clean and uncluttered while still capturing key market information
This reuploaded version ensures compliance with platform rules while offering enhanced flexibility and clarity for modern trading workflows.
Quantum Trend Guardian MTF๐ Descripciรณn de Indicador: โMomentum Clarityโ
Resumen:
Momentum Clarity es un indicador diseรฑado para identificar zonas de alta probabilidad de reversiรณn o continuaciรณn de tendencia, combinando anรกlisis de volumen, volatilidad y fuerza relativa. Ideal para traders que buscan claridad en momentos de indecisiรณn del mercado.
Caracterรญsticas principales:
โข ๐ Detecta divergencias entre precio y momentum.
โข ๐ Seรฑala zonas de sobrecompra y sobreventa con mayor precisiรณn que el RSI tradicional.
โข ๐ข Incluye alertas visuales para entradas y salidas potenciales.
โข ๐ง Compatible con estrategias de scalping, swing y position trading.
Cรณmo usarlo:
โข Utiliza las seรฑales verdes para considerar entradas en largo y las rojas para cortos.
โข Confirma con acciรณn del precio y volumen antes de ejecutar.
โข Ajusta la sensibilidad segรบn el marco temporal y tu estilo de trading.
Ventajas:
โข Reduce el ruido en mercados laterales.
โข Mejora la toma de decisiones en zonas de congestiรณn.
โข Aumenta la confianza en escenarios de alta volatilidad
Absolutely! Here's the English version of the indicator description:
๐ Indicator Description: โMomentum Clarityโ
Overview:
Momentum Clarity is a custom indicator designed to highlight high-probability zones for trend reversals or continuations by combining volume, volatility, and relative strength analysis. Itโs ideal for traders seeking clarity during market indecision.
Key Features:
โข ๐ Detects divergences between price and momentum.
โข ๐ Identifies overbought and oversold zones with greater precision than traditional RSI.
โข ๐ข Includes visual alerts for potential entry and exit points.
โข ๐ง Compatible with scalping, swing trading, and long-term strategies.
How to Use:
โข Use green signals to consider long entries and red signals for short positions.
โข Confirm with price action and volume before executing trades.
โข Adjust sensitivity based on your timeframe and trading style.
Benefits:
โข Reduces noise in sideways markets.
โข Enhances decision-making in consolidation zones.
โข Builds confidence in volatile environments.
If youโd like, I can tailor this description to match your specific indicatorโs logic, name, and purpose. Just share a few details and Iโll refine it for publication.
RSI MTF Table - 12 Pairs (1,5,15)
The relative strength index measures the speed and magnitude of an asset's recent price changes. Therefore, it is considered a momentum indicator in technical analysis. Essentially, the RSI is the ratio of the days an asset's value increases to decreases over a given period.
Generally speaking, if the RSI is around 50, we do not expect strong movements. RSI above 65 or below 35 are areas we expect. In this context, this chart and the general momentum in 1-5-15 minutes allow us to quickly determine the parity we will trade. It is useful for intraday trading and scalping.
Final Scalping Strategy - RELAXED ENTRY, jangan gopoh braderEMA Scalping System (MTF) Guide (1HR direction, 15 min entry)
Objective
To capture small, consistent profits by entering trades when 15-minute momentum aligns with the 1-hour trend.
Trades are executed only during high-liquidity London and New York sessions to increase the probability of execution and success.
Strategy Setup
Chart Timeframe (Execution): 15-Minute (M15).
Trend Filter (HTF): 1-Hour (H1) chart data is used for the long-term EMA.
Long-Term Trend Filter: 50-Period EMA (based on H1 data).
Short-Term Momentum Signal: 20-Period EMA (based on M15 data).
Risk
Metric: 14-period ATR for dynamic Stop Loss calculation.
โ
Trading Rules๐ข
Long (Buy) Entry Conditions
Session: Must be within the London (0800-1700 GMT) or New York (1300-2200 GMT) sessions.
HTF Trend: Current price must be above the 1-Hour EMA 50.
Momentum Signal: Price crosses above the 15-Minute EMA 20.
Confirmation: The bar immediately following the crossover must close above the 15-Minute EMA 20.
Ent
ry: A market order is executed on the close of the confirmation candle.
๐ด Short (Sell) Entry Conditions
Session: Must be within the London (0800-1700 GMT) or New York (1300-2200 GMT) sessions.
HTF Trend: Current price must be below the 1-Hour EMA 50.
Momentum Signal: Price crosses below the 15-Minute EMA 20.
Confirmation: The bar immediately following the crossover must close below the 15-Minute EMA 20.
Entry: A market order is executed on the close of the confirmation candle.
๐ Trade Management & Exits
Stop Loss (SL): Placed dynamically at 2.0 times the 14-period ATR distance from the entry candle's low (for Buys) or high (for Sells).
Take Profit (TP): Placed dynamically to achieve a 1.5 Risk-Reward Ratio (RR) (TP distance = 1.5 x SL d
istance).
๐ On-Chart Visuals
Detailed Labels: A box appears on the entry bar showing the action, SL/TP prices, Risk/Reward in Pips, and the exact R:R ratio.
Horizontal Lines: Dashed lines display the calculated SL (Red) and TP (Green) levels while the trade is active.
Background: The chart background is shaded to highlight the active London and New York tradi
ng sessions.
RSI + MACD Multi-Timeframe StrategyThis strategy combines the Relative Strength Index (RSI) from the daily timeframe with the Moving Average Convergence Divergence (MACD) from the 4-hour timeframe to generate precise long entry and exit signals.
The system uses a multi-timeframe approach to align longer-term trend conditions with shorter-term momentum shifts โ allowing traders to catch dips with confirmation and exit before reversals.
๐ง Strategy Logic
โ
Long Entry Condition:
- RSI on the daily (1D) timeframe is oversold (below your defined threshold)
- MACD on the 4H timeframe crosses above the signal line
โ A long trade is opened when these two align
โ
Long Exit Condition:
- RSI on the daily timeframe is overbought
- MACD on the 4H timeframe crosses below the signal line
โ The long trade is closed when these two conditions are met
๐ก This strategy currently supports long entries only. Short logic can be added if needed.
๐ Indicator Components
๐น RSI (Relative Strength Index):
- A momentum oscillator that measures the speed and magnitude of price changes.
- Helps identify overbought (potential sell) and oversold (potential buy) conditions.
- Applied on the 1D timeframe (by default) to reflect broader market trend or exhaustion levels.
๐น MACD (Moving Average Convergence Divergence):
- A trend-following momentum indicator based on moving averages.
- The MACD Line (fast EMA - slow EMA) crossing above the Signal Line indicates bullish momentum.
- Used here on the 4-hour timeframe (by default) for shorter-term momentum confirmation.
๐น Multi-Timeframe (MTF) Logic:
- Uses request.security() to pull higher timeframe data (1D for RSI, 4H for MACD).
- Ensures no repainting, as it only uses closed candles from the higher timeframe.
- Aligns longer-term signals with shorter-term entries, reducing false signals.
๐ Plotting Options
The script includes a plot selector input allowing you to toggle between:
- RSI Plot (with overbought/oversold lines)
- MACD Plot (MACD line and signal line)
- This helps visualize signal conditions clearly on your chart.
๐ Customization
- RSI & MACD settings are fully configurable
- RSI and MACD timeframes can be adjusted independently
โ ๏ธ Disclaimer
This strategy is provided for educational and informational purposes only.
It is not financial advice or a recommendation to buy or sell any asset.
Past performance does not guarantee future results. Always test strategies in a simulated environment before live use, and consult with a licensed financial advisor for investment decisions.
Zero Lag Filter Pro MTF Editionit is a very good trading indicator it uses multi timeframe analysis to give trade signals
Dynamic S/R Levels - MTF (1-Week, Strong/Spaced)dynamic support and resistance levels based on timeframe
Gold Master Pro Plus ECONOMIC ENHANCED (H1 London v1.1)Overview
This indicator provides gold trading signals with integrated economic calendar awareness, specifically optimized for H1 timeframe and London session trading.
Methodology
The script analyzes multiple technical factors while monitoring economic event risks:
Technical Analysis Components:
RSI for momentum detection with configurable overbought/oversold levels
EMA crossovers (9, 21, 50 periods) for trend direction
MACD for momentum confirmation
ADX for trend strength measurement
Volume analysis for confirmation of price movements
Support/resistance detection using pivot points
Economic Calendar Integration:
Time-based detection of major economic releases (NFP, CPI, FOMC meetings)
Volatility assessment during event periods
USD stability monitoring through currency pair correlations
Automatic cooldown periods after high-impact events
Risk Management Features:
Multi-timeframe confirmation using daily trends
Session-aware scoring (London/NY overlap focus)
Quality-tiered signal classification
Position size recommendations based on signal strength and risk conditions
How to Use
Initial Setup:
Apply to XAUUSD on H1 timeframe
Configure economic settings in the inputs:
Enable economic event filter
Set ET offset (typically 5 hours for winter, 4 for summer)
Select relevant economic events to monitor
Signal Interpretation:
PLATINUM: All conditions aligned (active session, strong volume, low economic risk, trend confirmation)
HIGH: Most factors aligned with moderate risk
MEDIUM: Some factors aligned with acceptable risk
BLOCKED: High economic risk, cooldown period, or manual block active
Dashboard Metrics:
Economic risk level indicates current market safety
Event status shows timing of economic releases
Position size recommends appropriate trade sizing
Master score combines all technical and economic factors
Configuration Options
Economic Settings:
Economic impact threshold (30-80)
ET offset adjustment for timezone accuracy
Cooldown period configuration (2-24 bars)
Technical Settings:
RSI parameters (length, overbought/oversold levels)
Signal thresholds for different quality tiers
Session timing bonuses/penalties
Risk Management:
Multi-timeframe confirmation enable/disable
Higher timeframe selection (D, W, 4H, 12H)
MTF weight percentage (10-50%)
Important Notes
Economic event timing is approximate and should be verified with official economic calendars
Past performance does not guarantee future results
Trading involves substantial risk of loss
This tool is for educational purposes and should not be considered financial advice
The indicator is designed to assist in identifying potential trading opportunities while managing economic event risks through automated protection mechanisms.
Higher Timeframe Box & Divider - All Candles [GoldnHunt]The Higher Timeframe Box & Divider โ All Candles indicator visually maps higher timeframe candles onto lower timeframe charts.
It highlights the open and close range of each higher timeframe candle as a box, along with a vertical divider marking the start of each new period.
This helps traders clearly see higher timeframe structure and momentum flow without switching charts.
Features:
Draws a box showing only the body (open to close) of each higher timeframe candle.
Uses candle color to represent bullish and bearish momentum.
Adds a divider line for each new higher timeframe candle.
Works across all symbols and timeframes.
Lightweight and optimized for performance.
Use case:
Perfect for traders using multi-timeframe (MTF) analysis who want to visualize higher timeframe candle progression while observing lower timeframe price action.
Short-Timeframe Volume Spike DetectorShort-Timeframe Volume Spike Detector
Description:
The Short-Timeframe Volume Spike Detector is an advanced multi-timeframe (MTF) indicator that automatically detects sudden volume surges and price expansion events on a lower timeframe and displays them on a higher (base) timeframe chart โ helping traders identify hidden intraday accumulation or breakout pressure within broader candles.
โ๏ธ How It Works
Select a Base Timeframe (e.g., Daily, 4H, 1H).
The script automatically fetches data from a Lower Timeframe (e.g., Daily โ 1H, 1H โ 15m).
Within each base bar, it scans all the lower timeframe candles to find:
Volume Spikes: Volume exceeds average ร multiplier or a custom threshold.
Price Strength: Candle shows upward movement beyond a minimum % change.
When both conditions are met, a spike signal is plotted on the higher timeframe chart.
๐ Features
โ
Automatic Lower Timeframe Mapping โ Dynamically selects the most relevant lower timeframe.
โ
Two Detection Modes:
Multiplier Mode: Volume spikes defined as multiple of average lower timeframe volume.
Manual Mode: Custom absolute volume threshold.
โ
Trend Filter Option: Show only signals during uptrends (configurable).
โ
Visual Markers:
Purple โXโ = Volume Spike Detected
Dotted red & green lines = Candle range extension
โ
Custom Label Placement: Above High / Below Low / At Spike Price
โ
Debug Mode: Displays full diagnostic info including detected volume, threshold, and % change.
๐ Use Cases
Detect early accumulation in daily candles using hourly or 15-min data.
Identify institutional buying interest before visible breakouts.
Confirm strong continuation patterns after price compression.
Spot hidden intraday activity on swing or positional charts.
๐งฉ Inputs Overview
Input Description
Base Timeframe Main chart timeframe for analysis
Lookback Bars Number of recent candles to scan
Volume Mode โMultiplierโ or โManual Benchmarkโ
Volume Multiplier Multiplier applied to average lower timeframe volume
Manual Volume Threshold Fixed volume benchmark
Min Price Change % Minimum lower timeframe candle % move to qualify
Use Trend Filter Only show in uptrend (close > close )
Extend Bars Number of bars to extend dotted lines
Label Position Choose Above High / Below Low / At Spike Price
Debug Mode Show live internal values for calibration
๐ง Tips
Ideal for swing traders and multi-timeframe analysts.
Works best when base = Daily and lower = Hourly or 15m.
Combine with Volume Profile, VWAP, or RRG-style analysis for stronger confluence.
Use Multiplier 1.5โ2.5 to fine-tune for your assetโs volatility.
โ ๏ธ Notes
Works only when applied to the base timeframe selected in inputs.
May not display signals on non-standard intraday timeframes (like 3H).
Labels limited to max_labels_count for performance stability.
Volume Weighted Volatility RegimeThe Volume-Weighted Volatility Regime (VWVR) is a market analysis tool that dissects total volatility to classify the current market 'character' or 'regime'. Using a Linear Regression model, it decomposes volatility into Trend, Residual (mean-reversion), and Within-Bar (noise) components.
Key Features:
Seven-Stage Regime Classification: The indicator's primary output is a regime value from -3 to +3, identifying the market state:
+3 (Strong Bull Trend): High directional, upward volatility.
+2 (Choppy Bull): Moderate upward trend with noise.
+1 (Quiet Bull): Low volatility, slight upward drift.
0 (Neutral): No clear directional bias.
-1 (Quiet Bear): Low volatility, slight downward drift.
-2 (Choppy Bear): Moderate downward trend with noise.
-3 (Strong Bear Trend): High directional, downward volatility.
Advanced Volatility Decomposition: The regime is derived from a three-component volatility model that separates price action into Trend (momentum), Residual (mean-reversion), and Within-Bar (noise) variance. The classification is determined by comparing the 'Trend' ratio against the user-defined 'Trend Threshold' and 'Quiet Threshold'.
Dual-Level Analysis: The indicator analyzes market character on two levels simultaneously:
Inter-Bar Regime (Background Color): Based on the main StdDev Length, showing the overall market character.
Intra-Bar Regime (Column Color): Based on a high-resolution analysis within each single bar ('Intra-Bar Timeframe'), showing the micro-structural character.
Calculation Options:
Statistical Model: The 'Estimate Bar Statistics' option (enabled by default) uses a statistical model ('Estimator') to perform the decomposition. (Assumption: In this mode, the Source input is ignored, and an estimated mean for each bar is used instead).
Normalization: An optional 'Normalize Volatility' setting calculates an Exponential Regression Curve (log-space).
Volume Weighting: An option (Volume weighted) applies volume weighting to all volatility calculations.
Multi-Timeframe (MTF) Capability: The entire dual-level analysis can be run on a higher timeframe (using the Timeframe input), with standard options to handle gaps (Fill Gaps) and prevent repainting (Wait for...).
Integrated Alerts: Includes 22 comprehensive alerts that trigger whenever the 'Inter-Bar Regime' or the 'Intra-Bar Regime' crosses one of the key thresholds (e.g., 'Regime crosses above Neutral Line'), or when the 'Intra-Bar Dominance' crosses the 50% mark.
Caution: Real-Time Data Behavior (Intra-Bar Repainting) This indicator uses high-resolution intra-bar data. As a result, the values on the current, unclosed bar (the real-time bar) will update dynamically as new intra-bar data arrives. This behavior is normal and necessary for this type of analysis. Signals should only be considered final after the main chart bar has closed.
DISCLAIMER
For Informational/Educational Use Only: This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset.
Use at Your Own Risk: All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk.
No Guarantee of Performance: Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability.
No Liability: The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator.
Signals Are Not Recommendations: The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.
Fixed High Timeframe Moving AveragesFixed High Timeframe Moving Averages (W/D/4H)
Summary
This indicator plots essential, high-timeframe (HTF) Moving Averages onto your chart, **no matter which timeframe you are currently viewing**.
It is designed for traders who need multi-timeframe context at a glance. Stop switching charts to see where the 200-Week or 50-Day MA isโnow you can see all critical HTF levels directly on your 5-minute (or any other) chart.
---
Who itโs for
Traders who rely on moving averages but like to work on lower chart timeframes while keeping higher timeframe context in sight. If you scalp on 1โ15m yet want Weekly/Daily/4H MAs always visible, this is for you.
---
What it shows
Pinned (โfixedโ) moving averages from higher timeframesโWeekly (20/100/200) , Daily (50/100/200/365) and 4H (200) โrendered on any chart timeframe. Your favorite HTF MAs stay on screen no matter what TF youโre currently analyzing.
---
Features
* **MA types:** SMA, EMA, VWMA, Hull.
* **Fully configurable:** toggle each line, set periods, colors, and thickness.
* **Two alert modes (see below):** intrabar vs confirmed HTF close.
* **Works on any symbol & chart TF** using `request.security` to fetch HTF data.
---
Alerts & Modes
This indicator solves the biggest problem with MTF alerts: false signals. You can choose one of two modes:
1. **Intrabar mode** โ compares current chart price to the HTF MA. Triggers as soon as price crosses the HTF line; great for early signals but may update until the HTF bar closes.
2. **Confirmed mode** โ checks HTF close vs HTF MA. Signals only on the higher-TF bar close; fewer false starts, no intrabar repainting on that TF.
Per-line *Cross Above / Cross Below* conditions are provided for all enabled MAs (e.g., โ20W โ Cross Aboveโ, โ365D โ Cross Belowโ, etc.).
**How to use alerts:** add the script โ โCreate Alertโ โ pick any condition from the scriptโs list.
---
Why this helps
* Keeps Weekly/Daily structure visible while you execute on LTF.
* Classic anchors (e.g., 200D, 20W/100W/200W) are popular for trend bias, dynamic support/resistance, and pullback context.
* Lets you standardize MA references across all your lower-TF playbooks.
---
Notes on confirmation & repainting
* Intrabar signals can change until the higher-TF bar closes (thatโs expected with multi-TF data).
* Confirmed mode waits for the HTF closeโcleaner, but later. Choose what fits your workflow.
---
Quick setup
1. Pick `MA Type` (SMA/EMA/VWMA/Hull).
2. Enable the HTF lines you want (Weekly 20/100/200; Daily 50/100/200/365; 4H 200).
3. Choose `Alert Mode` (Intrabar vs Confirmed).
4. Style colors/widths to taste and set alerts on the lines you care about.
---
Good practice
* Combine HTF MAs with price action (swings, structure, liquidity grabs) rather than using them in isolation.
* Always validate signals in your execution TF and use a risk plan tailored to volatility.
* Protect your capital: position sizing, stops, and disciplined risk management matter more than any single line on the chart.
---
Disclaimer
For educational/informational purposes only; not financial advice. Trading involves riskโmanage it responsibly.
Fibonacci levels MTF 2WEEK KKKKA Fibonacci arc trading strategy uses circular arcs drawn at Fibonacci retracement levels (38.2%, 50%, 61.8%) to identify potential support and resistance zones, often intersecting with a trend line. This strategy helps traders anticipate price reversals or pullbacks, and it should be used in conjunction with other indicators
Fibonacci Retracement MTF/LOG 3 WEEK KKKKA Fibonacci arc trading strategy uses circular arcs drawn at Fibonacci retracement levels (38.2%, 50%, 61.8%) to identify potential support and resistance zones, often intersecting with a trend line. This strategy helps traders anticipate price reversals or pullbacks, and it should be used in conjunction with other indicators
Fibonacci Retracement MTF/LOG 2WEEK KKKKFibonacci retracment should be used to create a line of lines to justify the rest of indicators to reduce stress in indicators because we should not shout
DG Market Structure (Inspired By Deadcat)MS Indicator taken from Deadcat and enhanced a little bit
I added CHoCH and BOS to better tell the story of why price is moving a certain way. Also made a lot more of the values Input based for testing.
I tried to add in retracement values on the MTF chart but I don't think the math is right, maybe someone can figure out the math.
Ichimoku MultiTF WillyArt v1.0.0What this indicator does
Ichimoku WillyArt turns the Ichimoku lines into angle-based momentum across multiple timeframes (W, D, 4H, 1H, 30m, 5m).
For each TF it computes the slope (angle in degrees) of:
Tenkan-sen
Kijun-sen
Senkou Span A
Senkou Span B
Angles are normalized so theyโre comparable across assets and scales. You get a table with the angle per line and a quick emoji direction (โ, โ, โ), optional plots of the chosen line, and ready-to-use alerts.
Why angle?
Slope-as-degrees is an intuitive proxy for momentum/impulse:
Positive angle โ line rising (bullish impulse).
Negative angle โ line falling (bearish impulse).
Near zero โ flat/indecisive.
Two normalization modes
ATR (default): slope / ATR. Robust across instruments; less sensitive to price level.
%Price: slope / price. More sensitive; can highlight subtle turns on low-volatility symbols.
Inputs youโll actually care about
Timeframes: W, D, 4H, 1H, 30m, 5m (all fetched MTF, independent of chart TF).
Ichimoku lengths: Tenkan (9), Kijun (26), Span B (52) โ standard defaults.
Bars for slope (ฮN): How many bars back the slope is measured. Higher = smoother, slower.
Threshold (ยฐ) for โstrongโ: Angle magnitude that qualifies as strong โ/โ.
What youโll see
Matrix/Table (top-right): For each TF, the angle (ยฐ) of Tenkan, Kijun, Span A, Span B + an emoji:
โ above threshold, โ below โthreshold, โ in between.
Optional plots: Toggle โPlot anglesโ to visualize the chosen seriesโ angle across TFs.
Alerts included (ready to pick in โCreate Alertโ)
Sustained state: e.g., โKijun 4H: strong โ angleโ triggers while angle > threshold.
Threshold cross (one-shot): e.g., โKijun 1H: upward threshold crossโ fires on crossing.
Consensus (multi-TF): โKijun consensus โ (D/4H/1H/30m/5m)โ when all selected TFs align up (and the symmetric down case).
Messages are constant strings (TradingView requirement), so they compile cleanly. If you want dynamic text (current angle, threshold value, etc.), enable your own alert() callsโthis script structure supports adding them.
How to use it (workflow)
Add to chart. No need to switch chart TF; the script pulls W/D/4H/1H/30m/5m internally.
Pick normalization. Start with ATR. Switch to %Price if you want more sensitivity.
Set ฮN & threshold.
Intraday momentum: try ฮN = 3โ5 and threshold โ 4โ8ยฐ.
Swing/position: ฮN = 5โ9 and threshold โ 3โ6ยฐ (with ATR).
Scan the table. Look for alignment (multiple TFs with โ or โ on Kijun/Spans).
Kijun + Span A up together โ trending push.
Span B up/down โ cloud baseline tilting (trend quality).
Turn on alerts that match your style: reactive cross for entries, sustained for trend follow, consensus to filter noise.
Reading tips
Kijun angle: great โtrend backbone.โ Strong โ on several TFs = higher-probability pullback buys.
Span A vs. Span B:
Span A reacts faster (momentum).
Span B is slower (structure).
When both tilt the same way, the cloud is genuinely rotating.
Mixed signals? Use higher TFs (W/D/4H) as bias, lower TFs (1H/30m/5m) for timing.
Good to know (limits & best practices)
Angles measure rate of change, not overbought/oversold. Combine with price structure and risk rules.
Extremely low volatility or illiquid symbols can produce tiny anglesโ%Price mode may help.
ฮN and thresholds are contextual: adapt per market (crypto vs FX vs equities).
Want me to bundle a โpro templateโ of alert presets (intraday / swing) and a heatmap color scale for the table? Happy to ship v2. ๐
Fib OscillatorWhat is Fib Oscillator and How to Use it?
๐ถ 1. Conceptual Overview
The Fib Oscillator is a Fibonacci-based relative position oscillator.
Instead of measuring momentum (like RSI or MACD), it measures where price currently sits between the recent swing high and swing low, expressed as a percentage within the Fibonacci range.
In other words:
It answers: โWhere is price right now within its most recent dynamic range?โ
It visualizes retracement and extension zones numerically, providing continuous feedback between 0% and 100% (and beyond if extended).
๐ถ 2. What the Script Does
The indicator:
Automatically detects recent high and low levels using an adaptive lookback window, which depends on ATR volatility.
Calculates the current priceโs position between those levels as a percentage (0โ100).
Plots that percentage as an oscillator โ showing visually whether price is near the top, middle, or bottom of its recent range.
Overlays Fibonacci retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) as reference zones.
Generates alerts when the oscillator crosses key Fib thresholds โ which can signal retracement completion, breakout potential, or pullback exhaustion.
๐ถ 3. Technical Flow Breakdown
(a) Inputs
Input Description Default Notes
atrLength ATR period used for volatility estimation 14 Used to dynamically tune lookback sensitivity
minLookback Minimum lookback window (candles) 20 Ensures stability even in low volatility
maxLookback Maximum lookback window 100 Limits over-expansion during high volatility
isInverse Inverts chart orientation false Useful for inverse markets (e.g. shorts or inverse BTC view)
(b) Volatility-Adaptive Lookback
Instead of using a fixed lookback, it calculates:
lookback
=
SMA(ATR,10)
/
SMA(Close,10)
ร
500
lookback=SMA(ATR,10)/SMA(Close,10)ร500
Then it clamps this between minLookback and maxLookback.
This makes the oscillator:
More reactive during high volatility (shorter lookback)
More stable during calm markets (longer lookback)
Essentially, it self-adjusts to market rhythm โ you donโt have to constantly tweak lookback manually.
(c) High-Low Reference Points
It takes the highest and lowest points within the dynamic lookback window.
If isInverse = true, it flips the candle logic (useful if viewing inverse instruments like stablecoin pairs or when analyzing bearish setups invertedly).
(d) Oscillator Core
The main oscillator line:
osc
=
(
close
โ
low
)
(
high
โ
low
)
ร
100
osc=
(highโlow)
(closeโlow)
โ
ร100
0% = Price is at the lookback low.
100% = Price is at the lookback high.
50% = Midpoint (balanced).
Between Fibonacci percentages (23.6%, 38.2%, 61.8%, etc.), the oscillator indicates retracement stages.
(e) Fibonacci Levels as Reference
It overlays horizontal reference lines at:
0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%
These act as support/resistance bands in oscillator space.
You can read it similar to how traders use Fibonacci retracements on charts, but compressed into a single line oscillator.
(f) Alerts
The script includes built-in alert conditions for crossovers at each major Fibonacci level.
You can set TradingView alerts such as:
โOscillator crossed above 61.8%โ โ possible bullish continuation or breakout.
โOscillator crossed below 38.2%โ โ possible pullback or correction starting.
This allows automated monitoring of fib retracement completions without manually drawing fib levels.
๐ถ 4. How to Use It
๐ธ Visual Interpretation
Oscillator Value Zone Market Context
0โ23.6% Deep Retracement Potential exhaustion of a down-move / early reversal
23.6โ38.2% Shallow retracement zone Possible continuation phase
38.2โ50% Mid retracement Neutral or indecisive structure
50โ61.8% Key pivot region Common trend resumption zone
61.8โ78.6% Late retracement Often โlast pullbackโ area
78.6โ100% Near high range Possible overextension / profit-taking
>100% Range breakout New leg formation / expansion
๐ธ Practical Application Steps
Load the indicator on your chart (set overlay = false, so itโs below the main price chart).
Observe oscillator position relative to fib bands:
Use it to determine retracement depth.
Combine with structure tools:
Trend lines, swing points, or HTF market structure.
Use crossovers for timing:
Crossing above 61.8% in an uptrend often confirms breakout continuation.
Crossing below 38.2% in a downtrend signals renewed downside momentum.
For range markets, oscillator swings between 23.6% and 78.6% can define accumulation/distribution boundaries.
๐ถ 5. When to Use It
During Retracements: To gauge how deep the pullback has gone.
During Range Markets: To identify relative overbought/oversold positions.
Before Breakouts: Crossovers of 61.8% or 78.6% often precede impulsive moves.
In Multi-Timeframe Contexts:
LTF (15Mโ1H): Detect intraday retracement exhaustion.
HTF (4Hโ1D): Confirm major range expansions or key reversal zones.
๐ถ 6. Ideal Companion Indicators
The Fib Oscillator works best when contextualized with structure, volatility, and trend bias indicators.
Below are optimal pairings:
Companion Indicator Purpose Integration Insight
Market Structure MTF Tool Identify active trend direction Use Fib Oscillator only in trend direction for cleaner signals
EMA Ribbon / Supertrend Trend confirmation Align oscillator crossovers with EMA bias
ATR Bands / Volatility Envelope Validate breakout strength If oscillator >78.6% & ATR rising โ valid breakout
Volume Oscillator Confirm retracement strength Volume contraction + oscillator under 38.2% โ potential reversal
HTF Fib Retracement Tool Combine LTF oscillator with HTF fib confluence Powerful multi-timeframe setups
RSI or Stochastic Measure momentum relative to position RSI divergence while oscillator near 78.6% โ exhaustion clue
๐ถ 7. Understanding the Settings
Setting Function Practical Impact
ATR Period (14) Controls volatility sampling Higher = smoother lookback adaptation
Min Lookback (20) Smallest window allowed Lower = more reactive but noisier
Max Lookback (100) Largest window allowed Higher = smoother but slower to react
Inverse Candle Chart Flips oscillator vertically Useful when analyzing bearish or inverse scenarios (e.g. short-side fib mapping)
Recommended Configs:
For scalping/intraday: ATR 10โ14, lookback 20โ50
For swing/position trading: ATR 14โ21, lookback 50โ100
๐ถ 8. Example Trade Logic (Practical Use)
Scenario: Uptrend on 4H chart
Oscillator drops to below 38.2% โ retracement zone
Price consolidates โ oscillator stabilizes
Oscillator crosses above 50% โ pullback ending
Entry: Long when oscillator crosses above 61.8%
Exit: Near 78.6โ100% zone or upon divergence with RSI
For Short Bias (Inverse Setup):
Enable isInverse = true to visually flip the oscillator (so lows become highs).
Use the same thresholds inversely.
๐ถ 9. Strengths & Limitations
โ
Strengths
Dynamic, self-adapting to volatility
Quantifies Fib retracement as a continuous function
Compact oscillator view (no clutter on chart)
Works well across all timeframes
Compatible with both trending and ranging markets
โ ๏ธ Limitations
Doesnโt define trend direction โ must be used with structure filters
Can whipsaw during choppy consolidations
The โlookback auto-adjustโ may lag in sudden volatility shifts
Shouldnโt be used standalone for entries without structural confluence
๐ถ 10. Summary
The โFib Oscillatorโ is a dynamic Fibonacci-relative positioning tool that merges retracement theory with adaptive volatility logic.
It gives traders an intuitive, quantified view of where price sits within its recent fib range, allowing anticipation of pullbacks, reversals, or breakout momentum.
Think of it as a "Fibonacci RSI", but instead of momentum strength, it shows positional depth โ the vibrational location of price within its natural swing cycle.
Multi-Timeframe EMA Trend Dashboard with Volume and RSI Filtersโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
MULTI-TIMEFRAME EMA TREND DASHBOARD
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
OVERVIEW
This indicator provides a comprehensive view of trend direction across multiple timeframes using the classic EMA 20/50 crossover methodology, enhanced with volume confirmation and RSI filtering. It aggregates trend information from six timeframes into a single dashboard for efficient market analysis.
The indicator is designed for educational purposes and to assist traders in identifying potential trend alignments across different time horizons.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
FEATURES
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
MULTI-TIMEFRAME ANALYSIS
โข Monitors 6 timeframes simultaneously: 1m, 5m, 15m, 1H, 4H, 1D
โข Each timeframe analyzed independently using request.security()
โข Non-repainting implementation with proper lookahead settings
โข Calculates overall trend strength as percentage of bullish timeframes
EMA CROSSOVER SYSTEM
โข Fast EMA (default: 20) and Slow EMA (default: 50)
โข Bullish: Fast EMA > Slow EMA
โข Bearish: Fast EMA < Slow EMA
โข Neutral: Fast EMA = Slow EMA (rare condition)
โข Visual EMA plots with optional fill area
VOLUME CONFIRMATION
โข Optional volume filter for crossover signals
โข Compares current volume against moving average (default: 20-period SMA)
โข Categorizes volume as: High (>1.5x average), Normal (>average), Low (70), oversold (<30), and neutral zones
โข Used in quality score calculation
โข Optional display toggle
SUPPORT & RESISTANCE DETECTION
โข Automatic detection using highest/lowest over lookback period (default: 50 bars)
โข Plots resistance (red), support (green), and mid-level (gray)
โข Step-line style for clear visualization
โข Optional display toggle
QUALITY SCORING SYSTEM
โข Rates trade setups from 1-5 stars
โข Considers: MTF alignment, volume confirmation, RSI positioning
โข 5 stars: 4+ timeframes aligned + volume confirmed + RSI 50-70
โข 4 stars: 4+ timeframes aligned + volume confirmed
โข 3 stars: 3+ timeframes aligned
โข 2 stars: Exactly 3 timeframes aligned
โข 1 star: Other conditions
VISUAL DASHBOARD
โข Clean table display (position customizable)
โข Color-coded trend indicators (green/red/yellow)
โข Extended statistics panel (toggleable)
โข Shows: Trends, Strength, Quality, RSI, Volume, Price Distance
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
TECHNICAL SPECIFICATIONS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
CALCULATIONS
Trend Determination per Timeframe:
โข request.security() fetches EMA values with gaps=off, lookahead=off
โข Compares Fast EMA vs Slow EMA
โข Returns: 1 (bullish), -1 (bearish), 0 (neutral)
Trend Strength:
โข Counts number of bullish timeframes
โข Formula: (bullish_count / 6) ร 100
โข Range: 0% (all bearish) to 100% (all bullish)
Price Distance from EMA:
โข Formula: ((close - EMA) / EMA) ร 100
โข Positive: Price above EMA
โข Negative: Price below EMA
โข Warning when absolute distance > 5%
ANTI-REPAINTING MEASURES
โข All request.security() calls use lookahead=barmerge.lookahead_off
โข Dashboard updates only on barstate.islast
โข Historical bars remain unchanged
โข Crossover signals finalize on bar close
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
USAGE GUIDE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
INTERPRETING THE DASHBOARD
Timeframe Rows:
โข Each row shows individual timeframe trend status
โข Look for alignment (multiple timeframes same direction)
โข Higher timeframes generally more significant
Strength Indicator:
โข >66.67%: Strong bullish (4+ timeframes bullish)
โข 33.33-66.67%: Mixed/choppy conditions
โข <33.33%: Strong bearish (4+ timeframes bearish)
Quality Score:
โข Higher stars = better confluence of factors
โข 5-star setups have strongest multi-factor confirmation
โข Lower scores may indicate weaker or conflicting signals
SUGGESTED APPLICATIONS
Trend Confirmation:
โข Check if multiple timeframes confirm current chart trend
โข Higher agreement = stronger trend confidence
โข Use for position sizing decisions
Entry Timing:
โข Wait for EMA crossover on chart timeframe
โข Confirm with higher timeframe alignment
โข Volume above average preferred
โข RSI not in extreme zones
Divergence Detection:
โข When lower timeframes diverge from higher
โข May indicate trend exhaustion or reversal
โข Requires additional confirmation
CUSTOMIZATION
EMA Settings:
โข Adjust Fast/Slow lengths for different sensitivities
โข Shorter periods = more responsive, more signals
โข Longer periods = smoother, fewer signals
โข Common alternatives: 10/30, 12/26, 50/200
Volume Filter:
โข Enable for higher-quality signals (fewer false positives)
โข Disable in always-liquid markets or for more signals
โข Adjust MA length based on typical volume patterns
Display Options:
โข Toggle EMAs, S/R levels, extended stats as needed
โข Choose dashboard position to avoid chart overlap
โข Adjust colors for visibility preferences
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ALERTS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
AVAILABLE ALERT CONDITIONS
1. Bullish EMA Cross (Volume Confirmed)
2. Bearish EMA Cross (Volume Confirmed)
3. Strong Bullish Alignment (4+ timeframes)
4. Strong Bearish Alignment (4+ timeframes)
5. Trend Strength Increasing (>16.67% jump)
6. Trend Strength Decreasing (>16.67% drop)
7. Excellent Trade Setup (5-star rating)
Alert messages use standard placeholders:
โข {{ticker}} - Symbol name
โข {{close}} - Current close price
โข {{time}} - Bar timestamp
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
LIMITATIONS & CONSIDERATIONS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
KNOWN LIMITATIONS
โข Lower timeframe data may not be available on all symbols
โข 1-minute data typically limited to recent history
โข request.security() subject to TradingView data limits
โข Dashboard requires screen space (may overlap on small screens)
โข More complex calculations may affect load time on slower devices
NOT SUITABLE FOR
โข Highly volatile/illiquid instruments (many false signals)
โข News-driven markets during announcements
โข Automated trading without additional filters
โข Markets where EMA strategies don't perform well
DOES NOT PROVIDE
โข Exact entry/exit prices
โข Stop-loss or take-profit levels
โข Position sizing recommendations
โข Guaranteed profit signals
โข Market predictions
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
BEST PRACTICES
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
RECOMMENDED USAGE
โ Combine with price action analysis
โ Use appropriate risk management
โ Backtest on historical data before live use
โ Adjust settings for specific market characteristics
โ Wait for higher-quality setups in important trades
โ Consider overall market context and fundamentals
NOT RECOMMENDED
โ Using as standalone trading system without confirmation
โ Trading every signal without discretion
โ Ignoring risk management principles
โ Trading without understanding the methodology
โ Applying to unsuitable markets/timeframes
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
EDUCATIONAL BACKGROUND
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
EMA CROSSOVER STRATEGY
The Exponential Moving Average crossover is a classical trend-following technique:
โข Golden Cross: Fast EMA crosses above Slow EMA (bullish signal)
โข Death Cross: Fast EMA crosses below Slow EMA (bearish signal)
โข Widely used since the 1970s in various markets
โข More responsive than SMA due to exponential weighting
MULTI-TIMEFRAME ANALYSIS
Analyzing multiple timeframes helps traders:
โข Identify alignment between short and long-term trends
โข Reduce false signals from single-timeframe noise
โข Understand market context across different horizons
โข Make informed decisions about trade duration
VOLUME ANALYSIS
Volume confirmation adds reliability:
โข High volume suggests institutional participation
โข Low volume signals may indicate false breakouts
โข Volume precedes price in many market theories
โข Helps distinguish genuine moves from noise
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
TECHNICAL IMPLEMENTATION
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
CODE STRUCTURE
โข Organized in clear sections with proper commenting
โข Uses explicit type declarations (int, float, bool, color, string)
โข Constants defined at top (BULLISH=1, BEARISH=-1, etc.)
โข Functions documented with @function, @param, @returns
โข Follows PineCoders naming conventions (camelCase variables)
PERFORMANCE OPTIMIZATION
โข var keyword for table (created once, not every bar)
โข Calculations cached where possible
โข Dashboard updates only on last bar
โข Minimal redundant security() calls
SECURITY IMPLEMENTATION
โข Proper gaps and lookahead parameters
โข No future data leakage
โข Signals finalize on bar close
โข Historical bars remain static
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
VERSION INFORMATION
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Current Version: 2.0
Pine Script Version: 5
Last Updated: 2024
Developed by: Zakaria Safri
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SETTINGS REFERENCE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
EMA SETTINGS
โข Fast EMA Length: 1-500 (default: 20)
โข Slow EMA Length: 1-500 (default: 50)
VOLUME & MOMENTUM
โข Use Volume Confirmation: true/false (default: true)
โข Volume MA Length: 1-500 (default: 20)
โข Show RSI Levels: true/false (default: true)
โข RSI Length: 1-500 (default: 14)
PRICE ACTION FEATURES
โข Show Price Distance: true/false (default: true)
โข Show Key Levels: true/false (default: true)
โข S/R Lookback Period: 10-500 (default: 50)
DISPLAY SETTINGS
โข Show EMAs on Chart: true/false (default: true)
โข Fast EMA Color: customizable (default: cyan)
โข Slow EMA Color: customizable (default: orange)
โข EMA Line Width: 1-5 (default: 2)
โข Show Fill Between EMAs: true/false (default: true)
โข Show Crossover Signals: true/false (default: true)
DASHBOARD SETTINGS
โข Position: Top Left/Right, Bottom Left/Right
โข Show Extended Statistics: true/false (default: true)
ALERT SETTINGS
โข Alert on Multi-TF Alignment: true/false (default: true)
โข Alert on Trend Strength Change: true/false (default: true)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
RISK DISCLAIMER
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
This indicator is provided for educational and informational purposes only. It should not be considered financial advice or a recommendation to buy or sell any security.
IMPORTANT NOTICES:
โข Past performance does not indicate future results
โข All trading involves risk of capital loss
โข No indicator guarantees profitable trades
โข Always conduct independent research and analysis
โข Use proper risk management and position sizing
โข Consult a qualified financial advisor before trading
โข The developer assumes no liability for trading losses
By using this indicator, you acknowledge that you understand these risks and accept full responsibility for your trading decisions.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SUPPORT & CONTRIBUTIONS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
FEEDBACK WELCOME
โข Constructive comments appreciated
โข Bug reports help improve the indicator
โข Feature suggestions considered for future versions
โข Share your experience to help other users
OPEN SOURCE
This code is published as open source for the TradingView community to:
โข Learn from the implementation
โข Modify for personal use
โข Understand multi-timeframe analysis techniques
If you find this indicator useful, please consider:
โข Leaving a thoughtful review
โข Sharing with other traders who might benefit
โข Following for future updates and releases
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ADDITIONAL RESOURCES
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
RECOMMENDED READING
โข TradingView Pine Script documentation
โข PineCoders community resources
โข Technical analysis textbooks on moving averages
โข Multi-timeframe trading strategy guides
โข Risk management principles
RELATED CONCEPTS
โข Trend following strategies
โข Moving average convergence/divergence
โข Multiple timeframe analysis
โข Volume-price relationships
โข Momentum indicators
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Thank you for using this indicator. Trade responsibly and continue learning!
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ






















