Price Block Chart (PBC)Overview: Price Block Chart (PBC) is a custom indicator that visualizes price blocks in a Renko-style step-line format directly on your chart. It helps you identify trends, block formations, and potential support and resistance levels.
Features: Customizable starting price allows you to use the first available chart price or set a manual starting price. Adjustable block size lets you define the size of each block according to your trading preference. Color-coded blocks indicate direction: green for upward moves and red for downward moves. Real-time updates ensure blocks are drawn as new prices form. Alerts notify you whenever a new block is formed at a specific price.
Compatibility: Works on any timeframe and all symbols.
Disclaimer: Values are approximate and intended for visualization and analysis purposes only. Use alongside your trading strategy. This indicator is for analysis purposes only and does not constitute financial advice.
Analisis Trend
80% win-rate 30 second NASDAQ ES 5 micros HIGH-PROFIT-FACTORLong term back testing shows 1.3 profit factor over years of data! Best used on 30 second chart for scalping strategy. Although it works on 1min for free access it is less accurate. 30 second chart has high win rate, big profit factor, tight ATR filtered profit target that is trailing the price as it goes in profit and stoploss is static 2.5 ATR (14 period) on 30 second chart. longer period RSI + EMA CROSS has proven to work well with the algorithms. If you follow the strategy and trade NQ/ES, you will be pleasantly surprised. Be patient and if there is no signal don't take any trades that day! This has a lot of potential to be the best strategy I have ever made. Long term back testing shows 1.3 profit factor over years of data! It is resilient to choppy markets so don't be afraid of false signals. Expect some losses but they are all within reason if you size accordingly. On fresh prop accounts with 2000 drawdown use 5 micros until you scale your account to 5000 worth of capital. I have worked tirelessly to make sure there are minimal number of false signals by utilizing quad RSIs and 3 EMAs with short and long periods so that the strategy utilizes higher time frames for higher probability trades. If the day is choppy the strategy might not take any trades that day saving you capital. If you use this strategy with a trading bot, be aware that there still can be out of norm volatility spikes during news events that can blow your trading account if you don't size properly. This strategy is best if utilized with 2000 drawdown prop accounts and 5 micros max. USE AT YOUR OWN RISK. If you found this strategy useful please keep it for yourself as this can be a blessing if it doesn't experience huge exposure and algorithm get accosted to it as with any other strategy that experiences decay. HIGH VOLOTILITY DAYS IS WHERE THIS STRATEGY SHINES. CHOPPY RANGEY DAYS, ON THE OTHER HAND, THE STRAT CAN BE LESS ACURATE OR NOT TAKE ANY TRADES AT ALL.
Price Percent Chart (PPC)Price Percent Chart (PPC) is a percentage-based price visualization indicator inspired by the Renko concept. Instead of using fixed price blocks, PPC forms blocks based on a configurable percentage movement, allowing users to adjust the settings according to their preference and market conditions.
This indicator focuses on price movement rather than time and can be used on any timeframe or market. It helps visualize market structure, directional flow, and relevant price levels with greater clarity.
A new block is formed when price moves up or down by the selected percentage. The block size adjusts dynamically as price changes, filtering minor price fluctuations and highlighting meaningful movement.
The information panel displays the block size in percentage, the approximate block value in price, the current active block price, the next upward level, and the next downward level. All price values shown are approximate and depend on the current price and selected settings.
Key characteristics include percentage-based price blocks, a Renko-inspired but non-traditional structure, time-independent price visualization, user-configurable parameters, compatibility with any market or timeframe, and a clean, minimal visual design.
This indicator does not provide buy or sell signals and should not be used as standalone trading advice. It is intended strictly for educational and analytical purposes and should be combined with proper risk management and personal analysis.
This indicator is provided for educational and informational purposes only and does not constitute financial or investment advice.
Ehlers ITL, Adaptive Alpha,Regime,PhaseThis indicator is an advanced extension of John Ehlers’ Instantaneous Trendline (ITL),
designed to provide market context rather than direct entry signals.
Instead of relying on simple crossovers, the script models market state using:
• Adaptive ITL (alpha adjusts to dominant cycle length)
• Hilbert-based phase analysis
• Cycle vs trend regime detection
• Phase locking to reduce noise and signal repetition
• Directional confirmation via ITL slope
The plotted markers represent phase shifts (context changes), not trade entries.
They indicate when bullish or bearish conditions become statistically favorable,
allowing traders to align discretionary or systematic strategies
(e.g. SMC, market structure, pullbacks, or execution models) with the dominant market phase.
This tool is intended for contextual analysis and decision support.
It does not predict price, does not repaint signals,
and should be used as a directional and regime filter, not as a standalone system.
© 2025 — All rights reserved.
Unauthorized redistribution or commercial use is prohibited.
DT 20 200 VWAP Combo v2• Short term momentum with the 20 EMA
• Higher time frame trend with the 200 EMA
• Value with a flexible anchored VWAP
Use it to quickly answer three questions:
What is the bigger picture trend?
Where is price trading relative to value?
Is my entry idea trading with or against that structure?
What this indicator does:
Plots a 20 EMA for short term momentum
Plots a 200 EMA for overall trend bias
Plots a VWAP that you can anchor in different ways:
Session
Daily
Weekly
Monthly
Yearly
Colors the background when price and EMAs agree with the selected VWAP
Bull zone when 20 EMA is above 200 EMA and price is above VWAP
Bear zone when 20 EMA is below 200 EMA and price is below VWAP
Optionally prints labels when
20 EMA crosses above or below 200 EMA
Price crosses above or below the chosen VWAP
This is not a complete trading system by itself!
It is a context and confluence tool that works best when combined with your own price action and liquidity model such as structure shifts, sweeps, or a pattern based entry.
Nothing in this script is financial advice!
Always test and refine any idea in a demo environment and in a written plan before risking real capital!
N Days Back Session DividerThis Pine Script acts as a smart vertical marker that identifies exactly where a trading day began a specific number of sessions ago. It is designed to ignore "dead time" (like weekends or holidays) by focusing on actual market activity.
Slope Averages
📊 Indicator Overview: Three Moving Averages Slope Table
This indicator is designed to calculate and display the slopes and averages of three different moving averages (MAs) in a table format. It helps traders quickly visualize the direction and strength of multiple moving averages, as well as their combined averages, across different timeframes.
⚙️ Inputs and Configuration
• MA Type 1, 2, 3: Choose the type of moving average for each line. Options:
• (Exponential Moving Average)
• (Simple Moving Average)
• (Weighted Moving Average)
• (Volume-Weighted Moving Average)
• (a custom smoother using multiple EMAs)
• Length 1, 2, 3: Periods for each moving average (e.g., 20, 50, 100).
• Source: The price source used (default = ).
• Extra Timeframes (optional): You can configure up to 3 additional timeframes (e.g., 1h, 4h, Daily) to compare the combined average across different chart periods.
🔧 Functions Explained
1. tilson(src, length)
• A custom moving average that smooths price using 8 sequential EMAs.
• Produces a smoother line than a standard EMA.
2. getMA(src, length, maType)
• Selects the correct moving average type based on user input.
• Returns the chosen MA value.
3. Slope Calculation
• Each slope is calculated as:
• This converts the difference between current and previous MA values into an angle in degrees.
• Positive slope = upward trend, negative slope = downward trend.
4. Combined Slopes
• : Average slope of all three MAs.
• , , : Average slopes of pairs of MAs.
5. Combined Averages
• : Average of MA1 and MA2.
• : Average of MA2 and MA3.
• : Average of MA1 and MA3.
• : Average of all three MAs.
6. Color Function
• : Returns green if value ≥ 0, red if value < 0.
• Used to color table cells for quick visual feedback.
📋 Table Output
The table shows:
1. Individual slopes of MA1, MA2, MA3.
2. Average slope of all three.
3. Combined averages (M1+M2, M2+M3, M1+M3).
4. Combined slopes of pairs.
5. Overall average .
6. Optional: RSI or multi-timeframe averages can also be added.
Each value cell is colored green if positive, red if negative, making it easy to spot bullish or bearish conditions.
🎯 How to Use It
• Trend Strength: Look at the slope values. Steeper positive slopes = stronger uptrend; steep negative slopes = stronger downtrend.
• Confluence: When all three MAs and their combined averages point in the same direction, it signals strong trend alignment.
• Multi-Timeframe Analysis: Configure extra timeframes to see if short-term and long-term averages agree. If they align, confidence in the trend increases.
• RSI Integration (optional): Add RSI to confirm momentum. For example, bullish slope + RSI > 50 = stronger buy signal.
✅ Practical Example
• MA1 = EMA(20), MA2 = SMA(50), MA3 = WMA(100).
• If slope1, slope2, slope3 are all positive and green, and is also green → strong bullish trend.
• If slopes are mixed (some green, some red), the market is consolidating.
• If all slopes are red and is red → strong bearish trend.
Dynamic Multi-Timeframe SMAs (Brian Shannon Style)Overview : This indicator implements the logic of Brian Shannon's "Multi-Timeframe Analysis" on intraday charts. It automatically calculates the correct length for the 5-Day and 50-Day Simple Moving Averages (SMA), regardless of the timeframe (e.g., 5m, 15m, 1h) you are viewing.
How it works Standard SMAs only count bars. A "50 SMA" on a 5-minute chart only looks back ~4 hours. This script dynamically calculates how many bars represent full trading days.
Features:
Asset Class Selector : Choose between Crypto (24/7) and Stocks (6.5h US Session) to ensure correct minute-per-day calculations.
Info Table : Displays exactly how many bars are being used for the calculation in real-time.
Trend Quality Score (Options-Friendly)Trend Quality Score for options entry that signals with background coloring for good movement or chop, to avoid theta burn. Toggle for conservative, balanced or aggressive with triggers.
Trend Break Targets [MarkitTick]Trend Break Targets
Trend Break Targets is a technical analysis tool designed to assist traders in identifying trendline breakouts and projecting potential price targets based on market geometry. Unlike fully automated indicators that guess trendlines, this tool provides you with precise control by allowing you to manually Pivot Point the trendline to specific points in time, while automating the complex math of target projection and structure mapping.
Theoretical Basis & Concepts
This indicator is grounded in classic technical analysis principles found in foundational trading literature. It automates the following methodology:
Drawing a trend line between two key points to represent dynamic support or resistance.
Identifying a breakout when the price closes above or below this line, potentially signaling a change in trend.
Calculating a price target by measuring the vertical distance between the breakout line and the last high/low (pivot), then projecting that same distance in the direction of the breakout.
This concept is based on methods and "Measured Move" theories explained in classic books such as "Technical Analysis of Stock Trends" by Edwards & Magee, "Technical Analysis of the Financial Markets" by John Murphy, and in Thomas Bulkowski's Price Pattern Studies.
How It Works
Pivot Pointed Trendline Construction The script draws a trendline between two user-defined points in time (Start Date and End Date). It calculates the slope between these points and extends the line infinitely to the right, allowing you to define the exact structure (e.g., a resistance trendline on a wedge).
Breakout Detection The script monitors the "Price Source" (High, Low, or Close) relative to the extended trendline.
A Bullish Breakout (BC) occurs when the Close crosses above a bearish trendline.
A Bearish Breakout (BC) occurs when the Close crosses below a bullish trendline.
Dynamic Target Projection (The Math) Upon a confirmed breakout, the script automatically calculates three distinct targets by identifying the most significant "Swing Point" (Pivot) prior to the breakout.
Distance (D): The vertical distance between the Trendline and the Pivot Price at the specific bar where the pivot occurred.
Target 1 (T1): The Breakout Price +/- (Distance × 1.0). This represents a classic 1:1 measured move.
Target 2 (T2): The Breakout Price +/- (Distance × 1.618). Based on the Golden Ratio extension.
Target 3 (T3): The Breakout Price +/- (Distance × 2.618).
Market Structure (CHOCH) The script includes an optional Change of Character (CHOCH) module. This runs independently of the trendline logic, identifying local Swing Highs and Swing Lows based on the "Swing Detection Length." It plots dashed lines and labels to visualize immediate shifts in market structure.
How to Use This Tool
This is an interactive tool that requires user input to define the setup.
Identify a Setup: Locate a clear trend, wedge, or flag pattern on your chart.
Set Pivot Points: Go to the Indicator Settings. Input the exact Start Date and End Date corresponding to the two main touches of your trendline.
Monitor for Breakout: The script will extend the line. Wait for a "BC" label to appear.
Trade Management: Once "BC" prints, the T1, T2, and T3 lines will instantly render. These can be used as potential take-profit zones or areas to tighten stop-losses.
Settings & Configuration
Indicator Settings
Start/End Date: The timestamp Pivot Points for your trendline.
Price Source: Determines what price (High or Low) Pivot Points the line and triggers the breakout.
Pivot Left/Right: Adjusts the sensitivity for finding the "Pivot Before Break" used for target calculations.
Extend Target Line: How far forward the target lines are drawn.
Visual Style
Colors: Fully customizable colors for the Trendline, Breakout Labels, and each Target level (T1, T2, T3).
Gold Bullish Reversal
This analysis dissects a confirmed bullish reversal on Gold using a custom Trend Break system. The setup identifies a transition from a bearish corrective phase to bullish momentum, validated by a structural break and a geometric target projection.
Trend Identification (The Pivot Points) The descending white trendline serves as the primary dynamic resistance, defining the bearish correction.
Pivot Points: The line is drawn connecting two significant swing highs, marked by Label 1 and Label 2.
Logic: These points represent the "lower highs" characteristic of the previous downtrend. As long as price remained below this trajectory, the bearish bias was intact.
The Trigger: Breakout & Confirmation The transition occurs at the candle marked BC (Breakout Candle).
Breakout Criteria: The indicator logic dictates that a signal is only valid when the bar closes above the trendline. This filters out intraday wicks and ensures genuine buyer commitment.
CHOCH Confluence: Immediately following the breakout, a CHOCH (Change of Character) label appears. This signals a shift in market structure, indicating that the internal lower-high/lower-low sequence has been violated, adding probability to the reversal.
Target Projection: The Measured Move The vertical green lines (T1, T2) represent profit objectives derived from the depth of the prior move. The logic calculates the distance between the breakout line and the lowest pivot prior to the break.
T1 (Standard Target): This is a 1:1 projection of the pre-breakout volatility. We see price action initially stalling near this level, confirming it as a zone of interest.
T2 (Golden Ratio Extension): The second target is calculated as the initial distance multiplied by 1.618 (Fibonacci Golden Ratio). The chart shows the price rallying aggressively through T1 to tap the T2 zone, often considered an exhaustion or major take-profit level in harmonic extensions.
Conclusion Gold has successfully invalidated the 4-hour bearish trendline. The confluence of a confirmed close above resistance (BC) and a structural shift (CHOCH) provided a high-probability long setup. The price has now fulfilled the T2 (1.618) extension, suggesting traders should watch for consolidation or a reaction at this key Fibonacci resistance level.
Bearish Trendline Breakdown
The image displays a Bearish Trendline Breakdown on the Gold (XAUUSD) 4-hour chart. The indicator is actually functioning in "Low" mode here (connecting swing lows to form support), which triggers the bearish logic found in the code. Here is the step-by-step breakdown:
The Setup: Pivot Points & Trendline
Visual: The Blue Labels "1" and "2" connected by a white diagonal line.
Code Logic: These are the user-defined start and end points.
Pivot Point 1 (startDate): The starting pivot of the trendline.
Pivot Point 2 (endDate): The ending pivot.
Trendline: The code draws a line between these two points and extends it to the right (extend.right). In this specific image, the line acts as a Support Trendline.
The Trigger: Break Candle (BC)
Visual: The Red Label "BC" appearing just below the white trendline.
Code Logic: This is the execution signal. The code detects a "Down Break" (dnBreak) because the Price Source was likely set to "Low" and the candle's Close was lower than the Trendline Price at that specific bar (close < currLinePrice). This confirms the support level has been breached.
The Projection: Targets (T1 & T2)
Visual: The Green Labels "T1" and "T2" with dotted horizontal lines projected downward.
Code Logic: These are profit targets based on a "Measured Move."
Pivot Calculation: The script looks back for a recent "Pivot High" (the peak before the crash) to calculate the volatility/distance (dist) between that peak and the trendline.
T1 (Conservative): The price is projected downward by 1x that distance (currLinePrice - dist).
T2 (Extended): The price is projected downward by 1.618x that distance (Golden Ratio extension).
Market Context: CHOCH
Visual: The small Red/Orange "CHOCH" labels appearing above the price action.
Code Logic: This is a secondary confirmation system running independently of the trendline. It detects a Change of Character (structural shift). The red labels indicate a "Bearish CHOCH," meaning the price broke below a significant prior swing low (last_swing_low). This supports the bearish bias of the trendline break.
Disclaimer This tool is for educational and technical analysis purposes only. Breakouts can fail (fake-outs), and past geometric patterns do not guarantee future price action. Always manage risk and use this tool in conjunction with other forms of analysis.
VP + Fib + AVWAP + Graded Signals An indicator for the discretionary trader
Avwap, Fib and VP is all you need.
Graded signals for conviction.
FreeSisters - System v1.8System v1.8
Marks out high time frame levels.
Market Structure defined by quarters theory, based on the lowest price within a 12 month period.
RSI WMA Crossover Momentum w/ HighlightRSI WMA Crossover Momentum
This is a momentum indicator that tracks the RSI. Its principle is to use the WMA line to determine the trend of the RSI, and from the RSI, the price trend can be determined.
Volume-Gated Trend Ribbon [QuantAlgo]🟢 Overview
The Volume-Gated Trend Ribbon employs a selective price-updating mechanism that filters market noise through volume validation, creating a trend-following system that responds exclusively to significant price movements. The indicator gates price updates to moving average calculations based on volume threshold crossovers, ensuring that only bars with significant participation influence the trend direction. By interpolating between fast and slow moving averages to create a multi-layered visual ribbon, the indicator provides traders and investors with an adaptive trend identification framework that distinguishes between volume-backed directional shifts and low-conviction price fluctuations across multiple timeframes and asset classes.
🟢 How It Works
The indicator first establishes a dynamic baseline by calculating the simple moving average of volume over a configurable lookback period, then applies a user-defined multiplier to determine the significance threshold:
avgVol = ta.sma(volume, volPeriod)
highVol = volume >= avgVol * volMult
The gated price mechanism employs conditional updating where the close price is only captured and stored when volume exceeds the threshold. During low-volume periods, the indicator maintains the last qualified price level rather than tracking every minor fluctuation:
var float gatedClose = close
if highVol
gatedClose := close
Dual moving averages are calculated using the gated price input, with the indicator supporting various MA types. The fast and slow periods create the outer boundaries of the trend ribbon:
fastMA = volMA(gatedClose, close, fastPeriod)
slowMA = volMA(gatedClose, close, slowPeriod)
Ribbon interpolation creates intermediate layers by blending the fast and slow moving averages using weighted combinations, establishing a gradient effect that visually represents trend strength and momentum distribution:
midFastMA = fastMA * 0.67 + slowMA * 0.33
midSlowMA = fastMA * 0.33 + slowMA * 0.67
Trend state determination compares the fast MA against the slow MA, establishing bullish regimes when the faster average trades above the slower average and bearish regimes during the inverse relationship. Signal generation triggers on state transitions, producing alerts when the directional bias shifts:
bullish = fastMA > slowMA
longSignal = trendState == 1 and trendState != 1
shortSignal = trendState == -1 and trendState != -1
The visualization architecture constructs a three-tiered opacity gradient where the ribbon's core (between mid-slow and slow MAs) displays the highest opacity, the inner layer (between mid-fast and mid-slow) shows medium opacity, and the outer layer (between fast and mid-fast) presents the lightest fill, creating depth perception that emphasizes the trend center while acknowledging edge uncertainty.
🟢 How to Use This Indicator
▶ Long and Short Signals: The indicator generates long/buy signals when the trend state transitions to bullish (fast MA crosses above slow MA) and short/sell signals when transitioning to bearish (fast MA crosses below slow MA). Because these crossovers only reflect volume-validated price movements, they represent significant level of participation rather than random noise, providing higher-conviction entry signals that filter out false breakouts occurring on thin volume.
▶ Ribbon Width Dynamics: The spacing between the fast and slow moving averages creates the ribbon width, which serves as a visual proxy for trend strength and volatility. Expanding ribbons indicate accelerating directional movement with increasing separation between short-term and long-term momentum, suggesting robust trend development. Conversely, contracting ribbons signal momentum deceleration, potential trend exhaustion, or impending consolidation as the fast MA converges toward the slow MA.
▶ Preconfigured Presets: Three optimized parameter sets accommodate different trading styles and market conditions. Default provides balanced trend identification suitable for swing trading on daily timeframes with moderate volume filtering and responsiveness. Fast Response delivers aggressive signal generation optimized for intraday scalping on 1-15 minute charts, using lower volume thresholds and shorter moving average periods to capture rapid momentum shifts. Smooth Trend offers conservative trend confirmation ideal for position trading on 4-hour to weekly charts, employing stricter volume requirements and extended periods to filter noise and identify only the most robust directional moves.
▶ Built-in Alerts: Three alert conditions enable automated monitoring: Bullish Trend Signal triggers when the fast MA crosses above the slow MA confirming uptrend initiation, Bearish Trend Signal activates when the fast MA crosses below the slow MA confirming downtrend initiation, and Trend Change alerts on any directional transition regardless of direction. These notifications allow you to respond to volume-validated regime shifts without continuous chart monitoring.
▶ Color Customization: Six visual themes (Classic, Aqua, Cosmic, Ember, Neon, plus Custom) accommodate different chart backgrounds and display preferences, ensuring optimal contrast and visual clarity across trading environments. The adjustable fill opacity control (0-100%) allows fine-tuning of ribbon prominence, with lower opacity values create subtle background context while higher values produce bold trend emphasis. Optional bar coloring extends the trend indication directly to the price bars, providing immediate directional reference without requiring visual cross-reference to the ribbon itself.
PMax - Asymmetric MultipliersDescription: This script is an enhanced version of the popular PMax (Profit Maximizer) indicator, originally developed by KivancOzbilgic. It has been converted into a full strategy with advanced customization options for backtesting and trend following.
Key Features & Modifications:
Asymmetric ATR Multipliers: Unlike the standard version, this script allows you to set different ATR multipliers for Upper (Short/Resistance) and Lower (Long/Support) bands.
Default Upper: 1.5 (Tighter trailing for Short positions)
Default Lower: 3.0 (Wider trailing for Long positions to avoid whipsaws)
Expanded MA Types: Added HULL (HMA) and VAR (Variable Index Dynamic Average) options.
VAR is highly recommended for filtering out noise in ranging markets.
HULL is ideal for scalping and faster reactions.
Built-in Risk Management: A fixed 5% Stop Loss mechanism is integrated into the strategy. It protects your capital by closing positions if the price moves 5% against you, even if the trend hasn't reversed yet.
Visibility Fix: Solved the issue where the PMax line would disappear or start at zero in the initial bars.
How to Use:
Use the VAR MA type for trend following in volatile markets.
Adjust the "Stop Loss Percent" input to fit your risk appetite.
The strategy employs an "Always In" logic (Long/Short) but respects the hard Stop Loss.
Credits: Original PMax logic by KivancOzbilgic.
Sideways Zone Breakout 📘 Sideways Zone Breakout – Indicator Description
Sideways Zone Breakout is a visual market-structure indicator designed to identify low-volatility consolidation zones and highlight potential breakout opportunities when price exits these zones.
This indicator focuses on detecting periods where price trades within a tight range, often referred to as sideways or consolidation phases, and visually marks these zones directly on the chart for clarity.
🔍 Core Concept
Markets often spend time moving sideways before making a directional move.
This indicator aims to:
Detect price compression
Visually highlight the sideways zone
Signal when price breaks above or below the zone boundaries
Instead of predicting direction, it simply reacts to range expansion after consolidation.
⚙️ How the Indicator Works
1️⃣ Sideways Zone Detection
The indicator looks back over a user-defined number of candles
It calculates the highest high and lowest low within that window
If the total price range remains within a defined percentage of the current price, the market is considered sideways
This helps filter out trending and highly volatile conditions.
2️⃣ Visual Zone Representation
When a sideways condition is detected:
A clear price zone is drawn between the recent high and low
The zone is displayed using a soft gradient fill for better visibility
Outer borders are added to enhance zone clarity without cluttering the chart
This makes consolidation areas easy to spot at a glance.
3️⃣ Breakout Identification
Once a sideways zone is active:
A bullish breakout is marked when price closes above the upper boundary
A bearish breakout is marked when price closes below the lower boundary
Directional arrows and labels are plotted directly on the chart to indicate these events.
📊 Visual Elements Included
Sideways consolidation zones with gradient fill
Upper and lower zone boundaries
Buy and Sell arrows on breakout
Optional text labels for clear interpretation
All visuals are designed to remain lightweight and readable on any chart theme.
🔧 User Inputs
Sideways Lookback (candles): Controls how many past candles are used to define the range
Max Range % (tightness): Determines how tight the range must be to qualify as sideways
Adjusting these inputs allows users to adapt the indicator to different instruments and timeframes.
📈 Usage Guidelines
Can be applied to any market or timeframe
Works well as a context or confirmation tool
Best used alongside volume, trend, or risk management tools
Signals should be validated with proper trade planning
⚠️ Disclaimer
This indicator is provided as open-source for educational and analytical purposes only.
It does not generate trade recommendations or guarantee outcomes.
Market conditions vary, and users are responsible for their own trading decisions.
SB - Ultimate Clean Trend Pro Uses dynamic Moving colour coding for spotting chage of bias. Use set up with keeping VWAP in reference.
Stepped Multi Timeframe MAs with PDH PDL TDH TDL Dynamic Labels
Plots stepped (blocky) higher‑timeframe moving averages and VWAP on the current chart (HMA/EMA/VWMA/SMA/VWAP toggles).
Automatically switches MA source to the chart’s timeframe on Daily/Weekly/Monthly (e.g., Weekly chart shows weekly MAs), while intraday charts can use a user-selected higher timeframe.
Draws Previous Day High/Low (PDH/PDL) anchored from the exact candle that formed the level, then extends the line across the chart up to the latest bar.
Draws Today’s High/Low (TDH/TDL) the same way, and updates dynamically as new intraday highs/lows are made (the anchor shifts to the new wick candle).
Keeps labels readable by placing them above/below each line with no background and a clean grey style, and repositions label X based on the visible chart window (so labels stay at a consistent % from the right edge while you pan/zoom)
Prev TF CLOSE EMA Box (Resets Every TF)⚙️ Key Features
✅ Custom reset timeframe (independent of chart TF)
✅ Uses previous CLOSED EMA (no lookahead)
✅ Box instead of line (clearer structure)
✅ Optional “disrespected → gray” logic
✅ Wick-based or close-based validation
✅ Works on futures, crypto, forex, equities
📈 How to Use
Treat the box as a dynamic support / resistance zone
Best used for:
Trend continuation
Mean reversion
Bias filtering (above = bullish, below = bearish)
When the box turns gray, the EMA level has lost structural validity
❗ Important Notes
This is not a signal indicator
No entries or exits are generated
Designed for context, bias, and structure
Combine with price action, liquidity, or session logic
🧩 Inputs Explained
Reset / EMA TF → timeframe used for EMA calculation & box reset
EMA Length → standard EMA length (default 9)
Box Height → thickness of the EMA zone
Disrespect Logic → optional invalidation behavior
Hicham tight/wild rangeHere’s a complete Pine Script indicator that draws colored boxes around different types of ranges!
Main features:
📦 Types of ranges detected:
Tight Range (30–60 pips): Gray boxes
Wild Range (80+ pips): Yellow boxes
Auto Trend [theUltimator5]The Auto Trend indicator was designed to be a unique pattern detection indicator without the use of standard pivot point logic or high/low lines. It is a study in pattern detection by using iterative best-fit logic.
The indicator automatically identifies and draws trend channels by analyzing price action across configurable lookback periods. It finds optimal high and low trendlines that contain price movement, with a middle line marking the trend's center.
Key Features:
Automatic Pattern Detection - Intelligently searches for the best lookback period where price stays within the channel boundaries
Dual Pattern Modes - Choose between Short (20-66 bars) for quick patterns or Long (50-500 bars) for extended trends. Note - the long pattern is fully configurable and can be set anywhere up to 5000 bars.
Smart Caching - Optimized performance that only recalculates when necessary
Customizable Starting Point - Click directly on the chart to set where the trend channel begins
Flexible Lookback Range - Set minimum and maximum lookback periods to match your trading style
Visual Debugging - Optional label displays the active lookback period and violation count
How It Works:
The indicator divides the lookback period into thirds, finds the highest and lowest closes in the first and last thirds, then draws trendlines connecting these points. It can automatically search through different lookback periods to find the one with the fewest price violations (closes outside the channel).
Settings:
Use Auto Lookback - Enable automatic optimal lookback detection
Pattern Length - Short (faster, 1-bar increments) or Long (broader, 5-bar increments)
Min/Max Lookback - Define the search range for the Long pattern
Manual Lookback - Override auto-detection with a fixed period
Custom Colors - Personalize the high, low, and middle line colors
Starting Point - Select where the trend analysis begins
Use Cases:
Identify dominant trend channels across different timeframes
Spot potential support and resistance levels
Determine trend strength and consistency
Time entries and exits based on channel position
The indicator supports up to 5000 bars of historical data for comprehensive trend analysis.
First 5-Min Candle DetectorHighlights the high and low of the first 5-minute candle of the regular trading session, beginning at 9:30am EST.






















