Mawhoob (TD - Trend Direction) - v1.1Mawhoob (Trend Direction - TD) Indicator v1.1
Professional Trend Analysis & Market Context Dashboard
----------------------------------------------------
🎯 Overview
----------------------------------------------------
Mawhoob (Trend Direction - TD) is a comprehensive, professional-grade technical analysis tool designed to provide traders with multi-dimensional market insights. This advanced indicator combines a proprietary adaptive trend line with real-time market context data, offering a complete market analysis solution in one elegant package.
✨ Key Features ✨
----------------------------------------------------
📈 Trend Direction Line (TD Line)
----------------------------------------------------
Intelligent Moving Average System: Utilizes a sophisticated blend of EMA, RMA, and WMA with smart adaptive error correction.
1- Dynamic Color Coding:
🟢 Green: Bullish trend (price momentum upward).
🔴 Red: Bearish trend (price momentum downward).
2- Customizable Parameters:
Main Period (1-200): Control long-term vs. short-term sensitivity.
Fast Period (0-50): Fine-tune responsiveness to price changes.
Weighting Factor (0-3): Adjust current price influence on the trend line.
3- Visual Bands: Optional upper and lower bands that create a dynamic channel around the trend line.
----------------------------------------------------
📊 Real-Time Market Dashboard
----------------------------------------------------
A comprehensive information panel displaying multiple technical indicators and market dominance metrics.
Technical Indicators Section:
1- RSI (Relative Strength Index)
Current value with color-coded momentum indication.
Direction status: UP / DOWN / NEUTRAL.
Customizable overbought/oversold levels.
Includes RSI SMA for trend confirmation.
2- MACD (Moving Average Convergence Divergence)
Real-time MACD line value.
Trend direction based on MACD vs. Signal line relationship.
Fully customizable fast, slow, and signal periods.
3- ADX (Average Directional Index)
Trend strength measurement.
Color-coded display: Strong vs. Weak trend.
Adjustable strength threshold.
Market Dominance Section:
1- DXY (US Dollar Index)
Real-time dollar strength tracking.
Direction indicator for forex correlation analysis.
2- BTC.D (Bitcoin Dominance)
Bitcoin market dominance percentage.
Useful for crypto market sentiment analysis.
3- USDT.D (Tether Dominance)
Stablecoin dominance tracking.
Risk-on/risk-off market indicator.
All dominance metrics feature:
Customizable timeframe selection.
UP/DOWN/NEUTRAL directional indicators.
Color-coded values for quick visual assessment.
----------------------------------------------------
🔔 Alert & Signal System
----------------------------------------------------
Price Crossover Alerts: Get notified when price crosses above or below the TD line.
Smart Alert Logic: Filters out neutral/flat market conditions to reduce noise.
Visual Signals: Optional triangle markers on chart (▲ bullish, ▼ bearish).
Once-Per-Bar Frequency: Prevents alert spam while ensuring you don't miss opportunities.
----------------------------------------------------
🎨 Visual Customization
----------------------------------------------------
Candle Color Mode: Option to color candles based on trend direction.
Dashboard Positioning: Choose LEFT, RIGHT, or CENTER placement.
Text Size Options: TINY, SMALL, NORMAL, or LARGE for optimal readability.
Customizable colors for Bullish/Bearish trend lines.
Customizable colors for dashboard backgrounds and borders.
Customizable colors for UP/DOWN/NEUTRAL status indicators.
----------------------------------------------------
📚 Use Cases
----------------------------------------------------
For Day Traders
Quick trend identification with color-coded TD line.
Real-time momentum gauges (RSI, MACD).
Instant crossover alerts for entry/exit timing.
For Swing Traders
Medium-term trend direction with adjustable periods.
ADX strength indicator for high-probability setups.
Market dominance context for broader market analysis.
For Crypto Traders
BTC.D and USDT.D tracking for altcoin season detection.
Integrated multi-indicator analysis.
Customizable timeframes for dominance metrics.
For Multi-Market Analysis
DXY correlation for forex and commodities.
Comprehensive dashboard for quick market scans.
Cross-market sentiment analysis.
----------------------------------------------------
⚙️ Settings & Customization
----------------------------------------------------
Trend Direction Settings
Main TD Period: Adjust overall trend sensitivity.
Fast TD Period: Control responsiveness (0 = no smoothing).
Weighting Factor: Balance between historical and current prices.
Line width and colors for visual preference.
Optional trend bands with adjustable transparency.
Dashboard Settings
Toggle individual indicators on/off.
Customize all indicator periods and thresholds.
Choose timeframe for dominance indices.
Adjust colors, position, size, and borders.
Complete visual control for your trading style.
Alert & Signal Settings
Enable/disable crossover alerts.
Optional visual signals on chart.
Smart built-in filtering to reduce false signals.
----------------------------------------------------
🎓 Best Practices
----------------------------------------------------
Trend Following: Use the TD line as your primary trend filter - trade with the color.
Confirmation: Combine TD direction with RSI and MACD for higher probability setups.
Strength Filter: Use ADX to avoid weak/choppy trends.
Market Context: Check dominance indicators for broader market sentiment.
Alerts: Set alerts to catch reversals without constant chart watching.
----------------------------------------------------
🚀 What Makes This Indicator Special ?
----------------------------------------------------
✅ All-in-One Solution: Multiple professional indicators in one clean package.
✅ Adaptive System: Responds to market conditions, not just static calculations.
✅ Professional Dashboard: Institutional-grade information display.
✅ Real-Time Data: Live updates from multiple markets and assets.
✅ Highly Customizable: Tailor every aspect to your trading style.
✅ Clean Code: Optimized Pine Script v6 for maximum performance.
✅ No Repainting: Uses (barstate.isconfirmed) to ensure calculations only occur on closed bars.
✅ Resource Efficient: Smooth performance even with all features enabled.
----------------------------------------------------
🎯 Perfect For
----------------------------------------------------
Trend identification and following.
Multi-timeframe analysis.
Market sentiment tracking.
Entry and exit timing.
Portfolio management decisions.
Risk assessment through trend strength.
Correlation analysis across markets.
----------------------------------------------------
📝 Notes
----------------------------------------------------
All calculations are performed on confirmed bars to prevent repainting.
Dashboard updates in real-time as market conditions change.
Dominance indices (DXY, BTC.D, USDT.D) require market data access.
Best results achieved when combined with proper risk management.
Suitable for all markets: stocks, forex, crypto, commodities, indices.
----------------------------------------------------
💡 Pro Tips
----------------------------------------------------
Start with default settings and adjust based on your timeframe.
Lower periods (5-10) for scalping, higher (20-50) for swing trading.
Use the dashboard as a quick health check for your current positions.
Combine TD line with support/resistance for confluence.
Watch dominance indicators for early market regime changes.
----------------------------------------------------
⚠️ Important Notes
----------------------------------------------------
This indicator is for educational and informational purposes only.
Always confirm signals with your own analysis before trading.
Use proper risk management and position sizing.
The indicator works on all timeframes and instruments.
Past performance does not guarantee future results.
----------------------------------------------------
🔄 Updates & Support
----------------------------------------------------
Current Version: v1.1
This indicator is actively maintained and updated. Future versions may include additional features and improvements based on user feedback.
----------------------------------------------------
🙏 Acknowledgments
----------------------------------------------------
Created & designed by: @mawhoobx
📝 Remember: The best indicator is the one combined with proper risk management, discipline, and a solid trading plan. This tool is designed to assist your analysis, not replace your judgment.
Trade Smart. Trade Safe. Trade Profitable.
Indikator dan strategi
SMA 20/50/100/200Simple Moving Averages indicator plotting the 20, 50, 100, and 200 SMAs based on the **active chart timeframe**. Designed to adapt dynamically as you change timeframes, it helps visualize short-, medium-, and long-term trend structure, momentum shifts, and dynamic support and resistance. Color-coded for clarity with consistent line thickness for clean, readable trend analysis.
QuantCrawler 5m ORB Pro - Opening Range with Confluence FiltersThis indicator captures the 5-minute Opening Range and generates entry signals using a breakout-then-retest methodology. It includes optional confluence filters to refine entries and reduce false signals.
HOW IT WORKS
1. Captures the 5-minute Opening Range (high, low, midpoint) at your selected session open
2. Waits for price to break beyond OR high or low by your defined distance
3. After breakout, monitors for price to retest the OR midpoint
4. Signals LONG after bullish breakout + midpoint retest
5. Signals SHORT after bearish breakout + midpoint retest
6. Marks invalidated signals with (X) if price breaks through the opposite side
PRE-CONFIGURED SESSIONS
- NYSE - 9:30-9:35 ET
- CME - 8:30-8:35 CT
- London - 3:00-3:05 ET
- Asia - 7:00-7:05 PM ET
- Custom - Define your own session times and timezone
BREAKOUT DISTANCE OPTIONS
Choose between fixed points or percentage-based breakout threshold. Percentage mode automatically scales to the instrument price.
CONFLUENCE FILTERS
Optional filters to add confirmation before signals fire:
- VWAP - Long requires price above VWAP, short requires below
- EMA Slope - Confirms trend direction using 20-period EMA
- Volume - Requires relative volume above 1.5x average
- FVG - Requires a Fair Value Gap supporting trade direction
- ATR - Filters Opening Ranges that are abnormally small or large relative to ATR
When filters block a valid setup, the indicator displays a BLOCKED label so you can see what you missed and why.
STATUS BOX
Real-time display showing:
- Current trade state (Building OR, Watching, Awaiting Retest, Long/Short Active)
- OR High, Low, and Midpoint levels
- Active filters and block reasons
ALERTS
Built-in alerts for Long Entry, Short Entry, or Any Entry.
EMA 9/21/50 BandEMA band indicator plotting the 9, 21, and 50 exponential moving averages based on the **active chart timeframe**. Designed to adapt dynamically as you change timeframes, helping visualize short-term momentum, trend alignment, and dynamic support and resistance. Useful for identifying trend strength, pullbacks, and momentum shifts without anchoring to a fixed higher timeframe.
QuantCrawler ORB Break & Retest 15m - Opening Range StrategyThis indicator automates the 15-minute Opening Range Breakout and Retest strategy. It captures the high, low, and midpoint of the first 15-minute candle, then monitors for confirmed breakouts followed by midpoint retests to generate entry signals.
HOW IT WORKS
1. Captures the high, low, and midpoint of the first 15-minute candle (default 8:00-8:15 premarket)
2. Waits for price to close beyond the OR high or low by your specified breakout distance
3. After breakout confirmation, monitors for price to pull back and touch the midpoint
4. Signals LONG after bullish breakout + midpoint retest
5. Signals SHORT after bearish breakout + midpoint retest
6. Resets after each signal allowing multiple setups per session
WHY 15-MINUTE ORB
The 15-minute Opening Range captures more price action than a 5-minute OR, often providing stronger support/resistance levels. The 8:00 AM default captures premarket activity before the 9:30 open, giving you levels established before the crowd arrives.
WHY BREAKOUT + RETEST
Entering on the initial breakout often results in chop and false signals. This indicator requires confirmation - price must first prove direction by closing beyond the breakout distance, then offer a pullback entry at the midpoint. This filters out many failed breakouts.
SETTINGS
- Breakout Distance - Points beyond OR zone required to confirm breakout
- Timezone - Select your market timezone
- Opening Range Time - Customizable (default 8:00-8:15)
- Session End Time - When to stop monitoring (default 4:00 PM)
VISUAL OUTPUT
- Green line - OR High
- Red line - OR Low
- Orange dotted line - OR Midpoint
- Status box displays current state (Watching, Active, Closed)
ALERTS
Built-in alerts for Long Entry, Short Entry, or Any Entry.
Works on any timeframe chart. The indicator pulls 15-minute data automatically using request.security().
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
Opening Power Bar Strategy (Trade Your Edge)💎 GENERAL OVERVIEW:
The Opening Power Bar Strategy indicator identifies high-momentum “Power Bars” during the first 60 minutes of the New York session and generates Long/Short signals using levels from the pre-market session. The indicator plots Stop-Loss and three Take-Profit levels, manages dynamic trailing stop-loss logic (optional), displays pre-market levels, and supports alerts.
This indicator was developed by Flux Charts in collaboration with Steven Adams (Trade Your Edge).
🔹What is the purpose of the Opening Power Bar Strategy?:
The purpose of the Opening Power Bar Strategy is to trade the most active and meaningful part of the trading day, the opening move. It’s designed to take advantage of the volume and volatility that happens right after the market opens, when traders react to overnight news and pre-market movement. The indicator helps identify when that early move has real strength by looking for a large, decisive candle (a Power Bar) forming around key pre-market levels. Once it detects one, it builds a full trade plan automatically with entry, stop-loss, and take-profits.
🔹Why are signals only during the first 60 minutes?:
Most of the day’s total trading volume happens within the first 60 minutes after the market opens. This period usually sets the high or low of the day and defines the bias: whether the market will trend or stay in a range. After this first hour, volume and volatility typically decrease, and price movement becomes less consistent.
🔹What’s the theory behind the Opening Power Bar Strategy?:
The Opening Power Bar Strategy is built on a simple principle: the first hour after the market open sets the tone for the rest of the day. This period consistently shows the highest trading volume, as traders react to overnight news, economic data releases, pre-market movements, etc.
These early reactions often establish the day’s high/low, revealing where buyers or sellers are strongest. When a large, decisive candle (a Power Bar) forms during this time near the pre-market high or low, it confirms that one side is taking control. The pre-market high and low define the range that institutions and short-term traders had already reacted to before the market open. Thus, when a Power Bar forms near one of these levels during the first hour, it often marks the start of a breakout or rejection that shapes the rest of the session.
🎯 OPENING POWER BAR STRATEGY FEATURES:
The Opening Power Bar Strategy indicator includes 5 main features:
Power Bars
Pre-Market High / Low / Mid Levels
Long / Short Signals + Risk Management
Simple Moving Average (SMA)
Alerts
1️⃣ Power Bars:
🔹What are Power Bars?:
Power Bars are large, high-momentum candles that show strength in one direction of the market. They form when a candle’s body (the distance between open and close) dominates most of the candle’s total range (the distance between high and low), meaning price moved strongly in one direction with little to no pullback. To qualify, the candle must also be large relative to nearby candles. This size difference confirms that the candle is a true burst of momentum. In short, Power Bars reveal where real strength has just entered the market and where momentum is most likely to continue.
🔹How to interpret and use Power Bars:
When a Power Bar forms, it signals that price just made a strong directional move with little to no pullback. Traders can use these bars to identify momentum shifts and potential trade setups during the opening session.
A bullish Power Bar means buyers controlled the entire candle, often marking the start of upward momentum. A bearish Power Bar means sellers were in control the entire candle, often signaling the start of downwards momentum. In the Opening Power Bar Strategy, these candles are only used for signals when they appear within the pre-market high and low range. Their location relative to the pre-market midline determines direction bias:
Bullish Power Bars forming near the pre-market low can signal potential long opportunities.
Bearish Power Bars forming near the pre-market high can signal potential short opportunities.
🔹How are Power Bars identified?:
Power Bars are detected and confirmed only after the candle closes, ensuring that the full candlestick body and range can be measured. The indicator does not repaint or change past bars. Once a Power Bar is confirmed, it stays fixed on the chart. Power Bars can be detected on any timeframe or symbol that produces standard candlestick data. However, since the Opening Power Bar Strategy focuses on the first 60 minutes of the trading session, they’re most meaningful on lower intraday timeframes such as 1-minute to 5-minute charts.
The indicator identifies Power Bars using two user-defined inputs: Sensitivity and Body %.
🔹Sensitivity:
The Sensitivity setting determines how large a candle’s body must be relative to nearby candles. It uses the Average True Range (ATR) to compare the current candle’s size with recent candles, and the Sensitivity value acts as a multiplier of that ATR. A higher Sensitivity value means the candle must be much larger than recent candles to qualify, so fewer Power Bars will form. A lower value makes the filter less strict, allowing more candles to qualify.
🔹Body %:
The Body % setting controls what percentage of the candle’s total range must be body rather than Wick. A higher value requires the body to take up more of the candle’s total range, so fewer candles pass the filter. A lower value allows candles with more wick to qualify, so more Power Bars will form.
Body % Example:
If Body % is set to 50, the candle body must cover at least half of the candle’s total range. For example, if a candle’s high is $11, its low is $10, its open is $10.20, and its close is $10.80, then the total range is $1 ($11 - $10) and the body is $0.60 ($10.80 - $10.20). Body % = (Body / Total Range) * 100 = (0.60 ÷ 1.00 × 100) = 60%. Since 60% is greater than the input of 50%, this candle passes the Body % criteria.
Once a candlestick closes and it meets both the Sensitivity and Body % requirements, it will be plotted in a different color, using barcolor() function. Users can adjust the bullish/bearish colors of Power Bars by adjusting the ‘Candle Coloring’ setting. The Power Bar candle coloring is purely visual and does not affect signal logic or strategy calculations.
🔹Do Power Bars form outside the first 60 minutes?:
Power Bars can technically form at any time of day, but the Opening Power Bar Strategy only uses those formed between 9:30 AM and 10:30 AM ET for trade signals.
2️⃣ Pre-Market Levels
The indicator tracks pre-market price action from 4:10 AM EST until 9:29 AM EST to determine the session’s High and Low. When pre-market ends, both levels are drawn and continuously projected to the right throughout the regular session. A midline is calculated as the midpoint between those levels and is used to determine bullish or bearish bias at the open. This midline is calculated in the indicator’s background and not visually plotted.
Long signals require price to be positioned below the midline before breaking upward, and Short signals require price to be positioned above the midline before breaking downward.
Users can enable retest labels, which appear if price touches the pre-market low, and closes above it, or if price touches the pre-market high, and closes below it. Users can also enable/disable the pre-market levels. If disabled, the pre-market high and pre-market low levels will not be displayed.
3️⃣Long/Short Signals:
Long and Short signals only trigger during the first hour of the New York trading session, between 9:30 AM and 10:30 AM EST. These signals form between the Pre-Market Low (PML) and Pre-Market High (PMH).
▫️ A Long entry requires:
1) A bullish power bar forms
1.a) The candle’s low is < the 50% area or Midpoint of the PML/PMH range
1.b) The candle closes above the PML, but below the PMH
2) If this candle occurs between 09:30 AM and 10:30 AM, a long signal will appear.
▫️ A Short Entry requires:
1) A bearish power bar forms
1a) The candle’s high is > the 50% area or Midpoint of the PML/PMH range
1b) The candle closes below the PMH, but above the PML
2) If this candle occurs between 09:30 AM and 10:30 AM, a short signal will appear.
Only one trade can be active at a time. Users can enable or disable Long Signals and Short Signals independently. Entry markers appear directly on the chart at confirmation.
When a signal is plotted on the Power Bar’s candle close, the indicator automatically builds a rule-based trade structure and plots the following information:
Stop-Loss (SL)
Take-Profit 1 (TP 1)
Take-Profit 2 (TP 2)
Take-Profit 3 (TP 3)
For Long signals, the SL is placed at the low of the bullish Power Bar and TP 1 is placed at the PMH. The distances for TP 2 and TP 3 are then measured using the move from the entry price to TP 1. That same distance is added once above TP 1 to set TP 2, and added again above TP 2 to set TP 3.
For Short signals, the SL is placed at the high of the bearish Power Bar, and TP 1 is placed at the PML. The distances for TP 2 and TP 3 are then measured using the absolute value of the move from the entry price to TP 1. That same distance is subtracted once below TP 1 to set TP 2, and subtracted again below TP 2 to set TP 3.
🔹Trailing Stop-Loss Feature:
When the Trailing Stop-Loss setting is enabled, the Stop-Loss (SL) automatically adjusts as price reaches take-profit levels. This feature helps secure profits while keeping the trade logic completely rule-based and non-discretionary.
Here’s exactly how it works step-by-step:
▫️ Initial Stop-Loss placement:
For a Long trade, the initial SL is set at the low of the Power Bar that triggered the entry.
For a Short trade, the initial SL is set at the high of the Power Bar that triggered the entry.
This level stays fixed until one of the Take-Profit targets is reached.
▫️ After TP 1 is hit:
The SL automatically moves to the entry price (breakeven).
This eliminates all downside risk on the trade.
▫️ After TP2 is hit:
The SL automatically moves to TP 1
This locks in a partial profit while allowing the trade to continue toward TP 3.
▫️ Final exit condition:
The trade is considered complete once either the trailing Stop-Loss or TP 3 is reached.
4️⃣Simple Moving Average (SMA)
In addition to the core trade logic, the indicator includes an optional Simple Moving Average (SMA) that provides extra confirmation and context for interpreting Power Bar signals. The SMA is not related to any of the signal generation logic. It does not influence when or where Power Bars or trade signals appear. Instead, it serves as a contextual confirmation tool and should be used as an additional way to interpret the strength and quality of a setup once a signal is triggered.
There are a few ways the SMA can be used for extra context with the Opening Power Bar Strategy:
▫️ #1 Directional Confirmation:
The SMA is mainly used as a confirmation tool for countertrend Power Bar setups. It helps traders identify when a strong reversal may be developing against the prior trend.
When the SMA is sloping downward but a bullish Power Bar closes above it, that can signal a potential shift from bearish to bullish momentum.
When the SMA is sloping upward but a bearish Power Bar closes below it, that can indicate a possible transition from bullish to bearish conditions.
▫️ #2 Timing Entries
When a large Power Bar prints a signal far away from the SMA, it often indicates that price has moved quickly and temporarily extended away from its average level. In these cases, the SMA can be used as a pullback area where price may retrace before resuming its move. Waiting for this pullback can often lead to a better risk-to-reward trade setup.
For example, in the chart below, a strong bullish Power Bar formed and triggered a Long signal while closing well above the SMA. Entering immediately after the signal would have produced a 0.22 risk-to-reward to TP 1. However, waiting for price to retrace back toward the SMA before entering would have resulted in a much stronger 2.46 risk-to-reward ratio.
The SMA provides a simple way to identify areas for safer pullback entries when a Power Bar signal forms too far from its average level. This helps traders maintain consistency with their risk-to-reward targets and align entries with their trading plan.
▫️ #3 Risk/Trade Management:
During active trades, the SMA can also be used to gauge the healthiness of a trend.
If price continues to respect the SMA after entry, it supports holding the position toward later Take-Profit levels. Additionally, the SMA can highlight areas where traders may consider adding to existing positions if price respects it.
If price closes strongly back through the SMA in the opposite direction, traders may use that as an early exit or a signal that momentum has shifted.
▫️ Optional and Visual Only:
The SMA is an optional visual overlay that can be turned on or off in the indicator’s settings. It is purely there for traders who want an added layer of confirmation and structure when evaluating setups from the Opening Power Bar Strategy.
Users can customize the length of the SMA and the color within the settings.
📢 Alerts:
The indicator supports alerts, so you never miss a key market move. You can choose to receive alerts for each of the following conditions:
Long Signal
Short Signal
TP 1 (Take-Profit 1)
TP 2 (Take-Profit 2)
TP 3 (Take-Profit 3)
SL (Stop-Loss)
Pre-Market Low Retest
Pre-Market High Retest
🚩UNIQUENESS:
This indicator automates a structured opening-range strategy that traders typically manage manually each morning. It identifies valid Power Bars only when they occur inside the pre-market high/low range, confirms direction using pre-market midline context, and automatically builds risk targets using the pre-market range itself. Once a valid trigger occurs during the defined trade window, the indicator immediately generates a complete trade idea (entry/SL/TP 1-3) with built-in trailing logic and alerts.
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
RSI Monitor (High/Low) + MTF & Time FilterDual-Source RSI: Calculates RSI on the candle High (to detect selling pressure/overbought) and Candle Low (to detect buying pressure/oversold) rather than just the Close.
Multi-Timeframe (MTF) Dashboard: An on-screen table displays the Real-Time RSI High and Low values for your current chart plus two user-defined higher timeframes (e.g., 1H, 4H).
Session-Based Alerts: A built-in time filter restricts alerts to a specific trading window (e.g., 09:30–16:00), effectively blocking signals during low-volume overnight sessions.
Independent Alert Timeframe: You can configure alerts to monitor a specific timeframe (e.g., 60-min) regardless of the timeframe you are currently viewing.
Real-Time Execution: Alerts trigger immediately when levels are crossed (no bar-close confirmation required), ensuring you catch moves as they happen.
Statistical Deviation per AssetINDICATOR: STATISTICAL DEVIATION PER ASSET (SDPA)
1. Overview
The Statistical Deviation per Asset (SDPA) is a quantitative analysis tool designed to measure the strength and exhaustion of price movements. Unlike standard oscillators (like RSI ), the SDPA calculates the actual percentage deviation from the most recent pivot point (High or Low) and compares it against historical performance averages specific to each asset.
---
2. Core Logic & Calculation
The script operates on a Mean Reversion principle. It assumes that every asset (Gold, Bitcoin, Ethereum, etc.) has a unique "volatility signature" depending on the timeframe.
* Dynamic Pivot Detection : The indicator identifies recent Swing Highs and Swing Lows using an adaptive lookback period.
* Real-Time Return Calculation : Once a pivot is confirmed, the script calculates the real-time percentage gain (from a Low) or loss (from a High).
* Zero-Indexed Histogram : This return is plotted as an oscillator centered around a Zero Line , representing the current trend's progress since the last reversal.
---
3. Adaptive Intelligence (Multi-Asset & Multi-TF)
The SDPA is pre-loaded with a statistical database. It automatically adjusts its sensitivity and thresholds based on:
1. The Selected Asset : Whether trading XAUUSD , Bitcoin , or Solana , the deviation thresholds adapt to the specific volatility of that instrument.
2. The Timeframe (TF) : The calculation period ( period ) and performance targets ( hausse_perf / baisse_perf ) change dynamically. For example, a 1-minute scalping setup uses a longer lookback (200) compared to a Daily swing setup (10).
---
4. Visual Anatomy
The interface is designed for instant "at-a-glance" interpretation:
* The Histogram :
* Green : Price is trending up since the last Swing Low .
* Red : Price is trending down since the last Swing High .
* Threshold Lines (The Statistical Averages) :
* Thick Line (60% Opacity) : Represents the Average Historical Deviation . When the histogram hits this line, the move is considered "statistically mature."
* Thin Line (70% Opacity) : Represents the Strong Deviation Zone (1.5x the average), indicating extreme momentum or potential exhaustion.
* Background Highlighting : The chart background colors automatically when the price exceeds historical averages, signaling a High-Probability Reversal Zone .
---
5. How to Trade with SDPA
* Trend Maturity : If the histogram exceeds the Bullish Average (Green line), the current move has reached its typical historical limit. Traders should look for take-profit opportunities or wait for a reversal.
* Impulse Strength : A rapid move from the Zero Line toward the thresholds confirms strong institutional interest.
* Mean Reversion : When the histogram reaches the Strong Zone (1.5x), the price is "overextended" statistically, offering a high reward-to-risk ratio for counter-trend setups.
---
6. Technical Parameters
* Asset Choice : Dropdown menu to select the specific asset.
* Colors : Customizable Bullish and Bearish colors to match any UI theme.
* Precision : Set to 4 decimal places to ensure accuracy across all asset types.
Blaster FX ICTBlaster FX ICT
A professional ICT (Inner Circle Trader) based indicator designed to highlight institutional timing, key trading sessions, and the first Fair Value Gap during the New York session.
Features:
Kill Zones (New York Time):
Asia Kill Zone (20:00 – 00:00)
London Kill Zone (02:00 – 05:00)
New York Kill Zone (08:30 – 11:00)
Zones reset daily based on the ICT trading day (6:00 PM NY)
Key Levels:
Previous Day High (PDH)
Previous Day Low (PDL)
Important Opens:
8:30 AM New York Open
00:00 Midnight Open
Fair Value Gap (FVG):
Plots only the first FVG formed during the New York session after 9:30
Clear distinction between bullish and bearish FVGs
Purpose:
Improve entry timing during the New York session
Focus on the first institutional opportunity of the day
Reduce chart clutter and enhance price clarity
Disclaimer:
This indicator is for educational and analytical purposes only and does not constitute financial advice.
SMC Structure & Expectation [WavesUnchained]SMC Structure & Expectation - Professional Context & Confirmation Tool
A sophisticated Smart Money Concepts indicator that combines objective market structure analysis with intelligent expectation logic and professional order block validation. Built for traders who value context over signal spam.
4-LAYER ARCHITECTURE
Layer 1: Market Structure
✓ Objective HH/HL/LH/LL detection based on confirmed pivot swings
✓ Internal structure tracking (micro swings within major legs)
✓ Structure alignment detection (Internal + External agreement)
✓ No predictions - pure price action description
Layer 2: Expectation/Bias
✓ Logical hypotheses derived from current structure
✓ "Expect HL" in bullish structure / "Expect LH" in bearish structure
✓ "Expect Continuation" after BOS events
✓ Expectation ≠ Signal (can be wrong, that's the point)
Layer 3: Confirmation (BOS + Order Blocks)
✓ Break of Structure (BOS) detection with 2 modes:
• Conservative: Close-cross (default)
• Aggressive: High/Low-cross with optional close confirmation
✓ Professional Order Block System with 8 intelligent filters
✓ Only creates OBs when expectation is met
✓ Maximum 1 OB per direction (quality over quantity)
Layer 4: Optional Warnings
✓ Trendline break detection
✓ Early Top/Bottom warnings (volume + volatility divergence)
✓ Can be disabled for clean chart focus
PROFESSIONAL ORDER BLOCK SYSTEM
8 Quality Filters (Cascade Logic):
1. BOS-Only Guard : No OB without confirmed Break of Structure
2. Displacement Filter : Minimum 1.0 ATR momentum (customizable)
3. Location Filter : Must be in Premium (bearish) or Discount (bullish) zone
4. Size Filter : 3 modes available:
• Hard Limit: Reject oversized OBs (strict)
• Score Penalty: Allow but reduce priority (balanced, default)
• Disabled: No size filtering (permissive)
5. Volume Filter : Optional relative volume threshold
6. FVG Filter : Optional Fair Value Gap requirement
7. Mitigation Tracking : 30% penetration = mitigated (score penalty)
8. TTL (Time-To-Live) : Auto-delete after 80 bars (prevents chart clutter)
Priority Scoring System (0-100):
• HIGH Priority (>80) : Bright colors, zero transparency
• MED Priority (50-80) : Normal colors, 30% transparency
• LOW Priority (<50) : Faded colors, 60% transparency
Score Components:
✓ Displacement strength (10-30 points)
✓ FVG confluence (+20 points)
✓ Relative volume (+5-15 points)
✓ Premium/Discount location (+10-20 points)
✓ Structure alignment (+30 points if aligned, -15 if conflict)
✓ Leg strength (+15-25 points for strong impulse vs correction ratio)
✓ Size penalty (-0 to -30 points if oversized, Score Penalty mode only)
BAR COLORING MODES
Choose your preferred visual feedback:
1. Off : No bar coloring
2. Structure : Bullish/Bearish/Neutral structure states
3. Expectation : Continuation zones (green = expect bullish, red = expect bearish)
4. BOS + OB Priority (Default):
• Highlights active Order Blocks by priority
• BOS events in bright neon
• Faded structure colors when no OB active
5. Multi-Layer : Combines structure + priority intensity
6. Alignment : Shows Internal/External structure alignment (orange = conflict warning)
INTELLIGENT LOGGING SYSTEM
Priority-based log filtering to reduce noise:
• All : Every event (debug mode)
• MED+ : Only medium and high priority events
• HIGH Only : Only high priority setups
• Smart (Default): Adaptive filtering based on priority + context
Logs include:
✓ Structure changes (HH/HL/LH/LL)
✓ Expectation updates
✓ BOS events with confirmation status
✓ OB creation with full scoring breakdown
✓ OB reactions (Tap/Deep/Failure classification)
✓ Rejection reasons with "Potential Lost" analysis
CONFIGURATION HIGHLIGHTS
Layer 1: Structure
• Pivot detection length: 5 (left) / 5 (right)
• Internal structure: Optional micro-swing tracking
• Swing confirmation: Closes beyond pivot required
Layer 2: Expectation
• Expectation expiry: 40 bars (auto-reset after timeout)
• Visual feedback: Labels + optional expectation zones
Layer 3: Confirmation
• BOS Mode: Close-cross (conservative) / High/Low-cross (aggressive)
• Close Confirmation: Optional 3-bar window for aggro mode
• Displacement: Min 1.0 ATR (customizable)
• Size Filter Mode: Hard Limit / Score Penalty / Disabled
• OB Location: 38% discount / 62% premium thresholds
• OB Size Range: 0.3-1.2 ATR (customizable)
• TTL: 80 bars default
• Volume Filter: Optional, 1.0x minimum
• FVG Requirement: Optional
Layer 4: Warnings
• Trendline break detection
• Early Top/Bottom signals
• Can be fully disabled
BEST USE CASES
✓ Context Tool : Understand where you are in the market cycle
✓ Confirmation Filter : Validate trade ideas with structure alignment
✓ Order Block Trading : High-probability zones with priority scoring
✓ Educational : Learn SMC concepts with transparent logic
✓ Multi-Timeframe Analysis : Combine with HTF structure for confluence
Optimized for:
• Commodities (NatGas, Gold, Oil)
• 1H - 4H timeframes
• Swing trading / Intraday positioning
KEY FEATURES SUMMARY
✓ Zero signal spam - only high-conviction setups
✓ Transparent scoring system - know why each OB matters
✓ Adaptive to market conditions - structure alignment detection
✓ Flexible filtering - customize to your risk tolerance
✓ Priority-based visuals - instantly identify best opportunities
✓ Professional logging - learn from rejections and acceptances
✓ Clean chart - auto-cleanup with TTL system
✓ Bar coloring modes - choose your visual feedback style
✓ Size Filter Mode - prevent blocking of high-quality oversized setups
PHILOSOPHY
This indicator follows the principle: "Context over signals, quality over quantity"
Expectations can be wrong - that's the point. They help you stay aware of the most likely scenario while remaining open to structure changes. When expectation is met AND confirmed by BOS + quality OB, you get a high-conviction setup.
Not a holy grail. Not a signal service. A professional analysis tool.
Version: 1.0.0
Author: WavesUnchained
Pine Script: v6
Fair Value Gap [Tradeuminati]Fair Value Gap
Fair Value Gap is a clean and rule-based Fair Value Gap indicator for TradingView, designed to display only valid and confirmed Fair Value Gaps (FVGs) and Inverted Fair Value Gaps (iFVGs).
The indicator is built on a strict 3-candle FVG definition and operates exclusively on candle close, ensuring no repainting and no premature signals.
🔹 Key Features
Valid Fair Value Gaps (FVG)
- Detects bullish and bearish Fair Value Gaps using a precise 3-candle structure
- FVGs are only plotted after the confirming candle has closed
- A Fair Value Gap remains visible only as long as it is valid
- Once price closes beyond the FVG, it is removed or converted
Inverted Fair Value Gaps (iFVG)
- When a valid FVG is invalidated by a candle close, it can be converted into an iFVG
- iFVGs retain the original price range and structure
- Only valid iFVGs are displayed
- As soon as price closes through an iFVG, it is automatically removed
Clean & Controlled Visualization
- Only the last N active FVGs are displayed (bullish + bearish combined)
- Only the last N valid iFVGs are shown
- Boxes automatically extend to the current price + configurable bars
- Labels are dynamically positioned at the right edge of each zone
🔹 Technical Notes
- No repainting
- No intrabar signals
- Close-based validation only
- Works on all markets and timeframes
- Lightweight and performance-friendly
⚠️ Disclaimer
This indicator is for technical analysis purposes only and does not constitute trading or investment advice.
Look Back Calculator Custom Lookbacks with Individual Colors (Accurate on All Timeframes)
A clean, monochrome-grey indicator that displays historical closing price levels from user-defined lookback periods.
Key Features:
• 4 Custom Hourly Levels (e.g., 1.5h, 3h, 6h, 9h or any value you choose) – fully accurate on 15-minute and lower timeframes
• 4 Custom Daily Levels (e.g., 20d, 40d, 60d, 90d or any number of days)
• Independent toggle for each level
• Individual color selection for every vertical line
• Table column backgrounds match the selected vertical line colors
• Optional candle highlighting (background/border/both) at lookback bars
• Dashed vertical lines at lookback points (toggleable)
• Current price row with automatic spanning
• Time row shown only for daily levels (cleaner layout for intraday)
• Alerts on price crossing any enabled level (with dynamic messages)
• Compact mode for shorter labels
Perfect for support/resistance analysis, order flow, or ICT/SMC concepts. Works seamlessly on any timeframe, including 15min charts.
Chartmojo Candle Lines ProjectorThis script uses the previous and current candles wicks and top and bottom of candle bodies to project direction at any given moment. It connects upper and lower wicks and candle bodies and projects forward as well. I think of the upper wicks as sells/resistance and the lower ones as buys/support. Same with the candle bodies. I personally use it to scalp and wait for say resistance on a chart, then rather than just selling the level I will short when all the lines turn down/red. it It's just part of a system with other correlation and indicators etc. For me it's easier than looking at the candles for these signals. it's direct graphic direction projection. Use at your own risk of course. It's meant to be used within and complement a broader system
RSI Dual-Source DashboardRelative Strength Index
Table with adjustable positions
Shows:
RSI, 14 Source High (on given TF)
RSI, 14 Source Low (on given TF)
kushjahan - metrics calculatorthese details are vital for EV, regarding your scanning and positioning.
Futures Tick DashboardThis is a simple dashboard that shows the novice future trade the necessary info about the info about the Micro on mini futures contract they are thinking about trading
Market Return Analyzerمؤشر محلل عوائد السوق يعرض أداء الأصل المالي عبر عدة فترات زمنية (يومي، أسبوعي، شهري، سنوي، وطويل الأجل) في جدول واضح وقابل للتخصيص مباشرة على الشارت، لمساعدة المتداول على اتخاذ قرارات أسرع وأكثر دقة
Market Return Analyzer displays multi-timeframe performance (Daily, Weekly, Monthly, YTD, and Long-Term returns) in a clean, customizable table directly on your chart.
Designed for traders and investors who want quick performance insights without clutter






















