Volume Point of Control with Fib Based Profile🍀Description:
This indicator is a comprehensive volume profile analysis tool designed to identify key price levels based on trading activity within user-defined timeframes. It plots the Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL), along with dynamically calculated Fibonacci levels derived from the developing period's range. It offers extensive customization for both historical and developing levels.
🍀Core Features:
Volume Profiling (POC, VAH, VAL):
Calculates and plots the POC (price level with the highest volume), VAH, and VAL for a selected timeframe (e.g., Daily, Weekly).
The Value Area percentage is configurable. 70% is common on normal volume profiles, but this script allows you to configure multiple % levels via the fib levels. I recommend using 2 versions of this indicator on a chart, one has Value Area at 1 (100% - high and low of lookback) and the second is a specified VA area (i.e. 70%) like in the chart snapshot above. See examples at the bottom.
Historical Levels:
Plots POC, VAH, and VAL from previous completed periods.
Optionally displays only "Unbroken" levels – historical levels that price has not yet revisited, which can act as stronger magnets or resistance/support.
The user can manage the number of historical lines displayed to prevent chart clutter.
Developing Levels:
Shows the POC, VAH, and VAL as they form in real-time during the current, incomplete period. This provides insight into intraday/intra-period value migration.
Dynamic Fibonacci Levels:
Calculates and plots Fibonacci retracement/extension levels based dynamically on the range between the developing POC and the developing VAH/VAL.
Offers 8 configurable % levels above and below POC that can be toggled on/off.
Visual Customization:
Extensive options for colors, line styles, and widths for all plotted levels.
Optional gradient fill for the Value Area that visualizes current price distance from POC - option to invert the colors as well.
Labels for developing levels and Fibonacci levels for easy identification.
🍀Characteristics:
Volume-Driven: Levels are derived from actual trading volume, reflecting areas of high participation and price agreement/disagreement.
Timeframe Specific: The results are entirely dependent on the chosen profile timeframe.
Dynamic & Static Elements: Developing levels and Fibs update live, while historical levels remain fixed once their period closes.
Lagging (Historical) & Potentially Leading: Historical levels are based on the past, but are often respected by future price action. Developing levels show current dynamics.
🍀How to Use It:
Identifying Support & Resistance: Historical and developing POCs, VAHs, and VALs are often key areas where price may react. Unbroken levels are particularly noteworthy.
Market Context & Sentiment: Trading above the POC suggests bullish strength/acceptance of higher prices, while trading below suggests bearishness/acceptance of lower prices.
Entry/Exit Zones: Interactions with these levels (rejections, breakouts, tests) can provide potential entry or exit signals, especially when confirming with other analysis methods.
Dynamic Targets: The Fibonacci levels calculated from the developing POC-VA range offer potential intraday/intra-period price targets or areas of interest.
Understanding Value Migration: Observing the movement of the developing POC/VAH/VAL throughout the period reveals where value is currently being established.
🍀Potential Drawbacks:
Input Sensitivity: The choice of timeframe, Value Area percentage, and volume resolution heavily influences the generated levels. Experimentation is needed for optimal settings per instrument/market. (I've found that Range Charts can provide very accurate volume levels on TV since the time element is removed. This helps to refine the accuracy of price levels with high volume.)
Volume Data Dependency: Requires accurate volume data. May be less reliable on instruments with sparse or questionable volume reporting.
Chart Clutter: Enabling all features simultaneously can make the chart busy. Utilize the line management inputs and toggle features as needed.
Not a Standalone Strategy: This indicator provides context and key levels. It should be used alongside other technical analysis tools and price action reading for robust decision-making.
Developing Level Fluctuation: Developing POC/VA/Fib levels can shift considerably, especially early in a new period, before settling down as more volume accumulates and time passes.
🍀Recommendations/Examples:
I recommend have this indicator on your chart twice, one has the VA set at 1 (100%) and has the fib levels plotted. The second has the VA set to 0.7 (70%) to highlight the defined VA.
Here is an example with 3 on a chart. VA of 100%, VA of 80%, and VA of 20%
Pontos e níveis de pivô
Session RangeThis Indicator Shows you the high, low and the midpoint for a chosen session and displays them on the chart.
You can make the following inputs:
Timezone: Choose your time zone (in UTC) to display the session correctly
Session Time: Choose the start time and end time of the session you want to have displayed.
Show Session Midpoint: Choose between displaying or not displaying the midpoint of the sessions high and low.
Extend Session Values until next Session: Choose this option if you want to display the sessions range until the next session starts. The midpoint will only be displayed if you chose "yes" at "Show Session Midpoint?"
Maximum number of bars between sessions: This is needed to ensure the correct display of the extended lines. Also this will affect the running speed of the script.
Limitations:
A higher number between bars slows down the script. What does that mean practically? If you choose to not have the sessions values displayed until the next session you can set this to 1 and the script will run as fast as it can. If you choose to display all the values until the next session you have to make sure that the number you put in is higher than the number of bars between the sessions. Otherwise the lines will be displayed backwards. As this affects the calculation speed you want to keep the number as low as possible. The default setting is 300 which is fine for 5 minute charts. On a 1 minute chart you will have to use something around 5000 depending on how long your session is.
Also the script will only run correctly if the start time of your session can be divided by the timeframe you are using. Example: you can use a 1min, 3min, 5min, or 15min chart on all sessions as they can only start every 15 minutes and 15 can be divided by all these numbers. A 2 minute timeframe will only work on sessions that start at minute 00 or 30, as 15 and 45 can not be divided by 2.
Customization and Alerts:
You can change the color of the sessions high, low, midpoint and background filling. The line style can also be changed but this might lead to a faulty display of the session.
The style of the extension lines can not be altered.
Alerts can be added for crossing the sessions high or low (after the session is finished). You do not have to display the extension lines in order to set an alert.
credit: The inspiration (especially for the look of this indicator) comes from the Asian Range by Nico948 indicator.
LANZ Strategy 4.0 [Backtest]🔷 LANZ Strategy 4.0 — Strategy Execution Based on Confirmed Structure + Risk-Based SL/TP
LANZ Strategy 4.0 is the official backtesting engine for the LANZ Strategy 4.0 trading logic. It simulates real-time executions based on breakout of Strong/Weak Highs or Lows, using a consistent structural system with SL/TP dynamically calculated per trade. With integrated risk management and lot size logic, this script allows traders to validate LANZ Strategy 4.0 performance with real strategy metrics.
🧠 Core Components:
Confirmed Breakout Entries: Trades are executed only when price breaks the most recent structural level (Strong High or Strong Low), detected using swing pivots.
Dynamic SL and TP Logic: SL is placed below/above the breakout point with a customizable buffer. TP is defined using a fixed Risk-Reward (RR) ratio.
Capital-Based Risk Management: Lot size is calculated based on account equity, SL distance, and pip value (e.g. $10 per pip on XAUUSD).
Clean and Controlled Executions: Only one trade is active at a time. No new entries are allowed until the current position is closed.
📊 Visual Features:
Automatic plotting of Entry, SL, and TP levels.
Full control of swing sensitivity (swingLength) and SL buffer.
SL and TP lines extend visually for clarity of trade risk and reward zones.
⚙️ How It Works:
Detects pivots and classifies trend direction.
Waits for breakout above Strong High (BUY) or below Strong Low (SELL).
Calculates dynamic SL and TP based on buffer and RR.
Computes trade size automatically based on risk per trade %.
Executes entry and manages exits via strategy engine.
📝 Notes:
Ideal for evaluating the LANZ Strategy 4.0 logic over historical data.
Must be paired with the original indicator (LANZ Strategy 4.0) for live trading.
Best used on assets with clear structural behavior (gold, indices, FX).
📌 Credits:
Backtest engine developed by LANZ based on the official rules of LANZ Strategy 4.0. This script ensures visual and logical consistency between live charting and backtesting simulations.
Previous Two Days HL + Asia H/L + 4H Vertical Lines📊 Indicator Overview
This custom TradingView indicator visually marks key market structure levels and session data on your chart using lines, labels, boxes, and vertical guides. It is designed for traders who analyze intraday and multi-session behavior — especially around the New York and Asia sessions — with a focus on 4-hour price ranges.
🔍 What the Indicator Tracks
1. Previous Two Days' Ranges (6PM–5PM NY Time)
PDH/PDL (Day 1 & Day 2): Draws horizontal lines marking the previous two trading days’ highs and lows.
Midlines: Calculates and displays the midpoint between each day’s high and low.
Color-Coded: Uses strong colors for Day 1 and more transparent versions for Day 2, to help differentiate them.
2. Asia Session High/Low (6 PM – 2 AM NY Time)
Automatically tracks the high and low during the Asia session.
Extends these levels until the following day’s NY close (4 PM).
Shows a midline of the Asia session (optional dotted line).
Highlights the Asia session background in gray.
Labels Asia High and Low on the chart for easy reference.
3. Last Closed 4-Hour Candle Range
At the start of every new 4H candle, it:
Draws a box from the last closed 4H candle.
Box spans horizontally across a set number of bars (adjustable).
Top and bottom lines indicate the high and low of that 4H candle.
Midline, 25% (Q1) and 75% (Q3) levels are also drawn inside the box using dotted lines.
Helps traders identify premium/discount zones within the previous 4H range.
4. Vertical 4H Time Markers
Draws vertical dashed lines to mark the start and end of the last 4H candle range.
Based on the standard 4H bar timing in NY (e.g. 5:00, 9:00, 13:00, 17:00).
⚙️ Inputs & Options
Line thickness, color customization for all levels.
Option to place labels on the right or left side of the chart.
Toggle for enabling/disabling the 4H box.
Adjustable box extension length (how far to extend the range visually).
✅ Ideal Use Cases
Identifying reaction zones from prior highs/lows.
Spotting reversals during Asia or NY session opens.
Trading intraday setups based on 4H structure.
Anchoring scalping or swing entries off major session levels.
12H Midpoint Lines [Dire]**Overview:**
This indicator is designed to precisely identify and plot key intra-candle levels from 12-hour candles, projecting them onto your current chart. By visualizing the midpoints of the body, top wick, and bottom wick of these 12-hour candles, traders can gain insights into potential areas of support, resistance, or significant price activity from this higher timeframe.
**How It Works & Key Levels:**
For each 12-hour candle, this script calculates and draws up to three distinct horizontal lines:
1. **Body Midpoint:** The exact center of the candle's body `(Open + Close) / 2`.
* *Color Scheme:* Typically green (configurable).
2. **Top Wick Midpoint:** The midpoint of the upper wick, calculated as `(High + Top of Body) / 2`. This line only appears if a top wick exists.
* *Color Scheme:* Typically blue (configurable, shared with Bottom Wick Midpoint).
3. **Bottom Wick Midpoint:** The midpoint of the lower wick, calculated as `(Low + Bottom of Body) / 2`. This line only appears if a bottom wick exists.
* *Color Scheme:* Typically blue (configurable, shared with Top Wick Midpoint).
**Features:**
* **Comprehensive Midpoint Analysis:** Get a detailed view with three distinct levels per 12H candle.
* **Customizable Appearance:**
* **Colors:** Individually set colors for "Naked" (untouched) and "Touched" lines for Body midpoints and Wick (Top/Bottom) midpoints.
* **Line Thickness:** Adjust the visual weight of all lines.
* **Line Style:** Choose between "Solid," "Dashed," or "Dotted" line styles.
* **Dynamic Line Behavior:**
* **Naked Line Extension (Optional):** Untouched lines can be configured to extend indefinitely to the right, helping you anticipate future interactions.
* **Touched Line Termination:** Once a price level is touched by a subsequent candle, the line automatically stops at the point of intersection, clearly marking this event. If not extended, naked lines will draw to the current bar.
* **Optional Price Labels:**
* Display the precise price level of each line as a text label at its current endpoint.
* Customize label text color and size. (Note: Enabling labels for many lines may impact chart performance).
* **Higher Timeframe Insights:** Seamlessly overlay these significant 12-hour levels onto any active chart timeframe.
* **Historical Data & Performance:** The indicator plots lines for historical 12-hour candles and includes a mechanism to limit the maximum number of displayed lines to maintain optimal chart performance.
**How to Use:**
1. Add the "12H Midpoint Lines V4" indicator to your TradingView chart.
2. Access the indicator's settings (⚙️ icon) to customize colors, line appearance, label visibility, and the naked line extension feature.
3. Observe how price interacts with these dynamically drawn 12-hour midpoint levels, which can act as valuable reference points.
**Development Status:**
Please note that this indicator is a **work in progress.** I am continuously looking to refine its features and functionality. Your feedback and suggestions are highly welcome and can help improve future versions!
ZigZag Levels (Polytrends Method)Overview
This is a comprehensive technical analysis indicator that identifies price trends, support/resistance levels, and containment patterns on trading charts. It uses advanced zigzag analysis to detect trend reversals and automatically draws key levels that traders can use for decision-making.
Key Features
Trend Analysis
Zigzag Pattern Detection: Automatically identifies significant highs and lows to create a clean trend visualization
Multi-Timeframe Support: Analyze trends from any timeframe while viewing on your preferred chart timeframe
Trend Direction Alerts: Real-time notifications when trend direction changes
Support & Resistance Levels
Automatic Level Detection: Identifies key horizontal support and resistance levels based on historical price action
Smart Level Filtering: Option to show only the most relevant levels to avoid chart clutter
Customizable Level Count: Control how many support and resistance levels are displayed
Containment Analysis
Range-Bound Detection: Highlights when price is trading within defined boundaries
Visual Containment Alerts: Color-coded system to show when price breaks out of or remains within established ranges
How to Use
Getting Started
Add the Indicator: Apply Polytrends Free to your chart from the indicators menu
Configure Basic Settings: Start with the main toggle switches to enable the features you want
Customize Appearance: Adjust colors, line styles, and sizes to match your chart preferences
Essential Settings
Trend Display
Display Trend: Master toggle to show/hide all trend analysis elements
Target Time Frame: Select which timeframe to use for trend analysis (leave blank for chart timeframe)
Containment: Enable to highlight when price is contained within previous ranges
Level Settings
Enable Levels: Master toggle for support/resistance level display
Above/Below: Set how many resistance levels (above price) and support levels (below price) to show
Filter Levels: When enabled, shows only the most significant levels without intermediary ones
Max Levels: Maximum number of levels the indicator will track (reduce if experiencing performance issues)
Understanding the Visual Elements
Trend Lines
Yellow Lines: Current active trend connections
Red Lines: Contained price action (when containment is enabled)
Dotted Lines: Most recent trend segment
Support & Resistance Levels
Horizontal Lines: Key price levels where price has previously reacted
Price Labels: Exact price values displayed on the right side of levels (when enabled)
Timeframe Labels: Shows which timeframe generated each level (when enabled)
Advanced Configuration
Visual Customization
Line Styles: Choose between solid, dashed, or dotted lines for trends and levels
Line Width: Adjust thickness from 1-50 pixels
Colors: Customize colors for different trend states and level types
Label Sizes: Set font size for price and timeframe labels
Performance Optimization
Relevance Factor: Controls how far back the indicator looks for levels (higher values = more historical data)
Max Levels: Limit the total number of levels tracked to improve performance
Price Offset: Adjust horizontal position of price labels
Practical Applications
For Day Traders
Use lower timeframes (15m, 1H) for intraday support/resistance levels
Enable containment detection to identify breakout opportunities
Set alerts for trend direction changes
For Swing Traders
Analyze daily or 4-hour timeframes for major trend direction
Focus on key support/resistance levels for entry and exit points
Use level filtering to see only the most significant price levels
For Position Traders
Use weekly or monthly timeframes for long-term trend analysis
Identify major support/resistance zones for portfolio allocation decisions
Monitor containment patterns for market structure changes
Alert System
The indicator provides three types of alerts:
Direction Changed: Triggers when trend direction changes (either bullish to bearish or vice versa)
Bullish Direction: Specifically triggers when trend changes from bearish to bullish
Bearish Direction: Specifically triggers when trend changes from bullish to bearish
To set up alerts, use TradingView's alert system and select the appropriate Polytrends alert condition.
Best Practices
Setup Recommendations
Start with default settings and gradually customize based on your trading style
Use higher timeframes for trend direction and lower timeframes for precise entries
Enable containment analysis during ranging markets
Reduce max levels if chart becomes cluttered
Interpretation Tips
Treat support/resistance levels as zones rather than exact prices
Look for confluence between multiple timeframe levels
Use containment patterns to identify potential breakout setups
Confirm trend changes with other technical indicators
Troubleshooting
Performance Issues
Reduce the "Max Levels" setting
Lower the "Relevance Factor"
Disable features you're not actively using
Too Many/Few Levels
Adjust "Above" and "Below" settings to control level quantity
Use "Filter Levels" to show only the most significant levels
Modify "Relevance Factor" to change how far back the indicator looks
Visual Clarity
Adjust line width and colors for better visibility
Use different line styles to distinguish between trend types
Modify label sizes based on your screen resolution
Limitations
The indicator works best on liquid markets with clear trend patterns
Very choppy or low-volume markets may produce less reliable signals
Performance may be affected on lower-end devices with very high "Max Levels" settings
Historical levels are based on past price action and don't predict future movements
SDR Market Structure (liv3) 1.0🧠 SDR Market Structure (LIV3) v1.0
Precision-Based Market Structure & Momentum Scalping
Strategy Type: Market Structure-Based Scalping
Built For: Intraday, Scalping, Trend-Following or Reversal entries with confirmation filters
Assets: All (optimized for FX and indices)
Timeframes: 1min to 15min (ideal for scalping); higher TFs can be used for structure alignment
🎯 Strategy Overview
SDR Market Structure is a robust scalping strategy that combines structural market context (Change-of-Character, Break of Structure) with a modular system of technical filters that advanced traders can toggle on/off. The strategy is adaptable and surgical, designed to find high-probability trade entries during momentum shifts, liquidity grabs, and trend continuations.
This script supports fine-tuned risk management, multiple confirmation layers, and intraday session filtering, allowing experienced traders to tailor it for precision-based trading in varying volatility regimes.
🔍 Core Logic: CHoCH and Market Structure
At the heart of SDR Scalper is Change-of-Character (CHoCH) detection:
Bullish CHoCH: Occurs when price breaks above a recent swing high (pivot) after making a lower low, implying a potential reversal or continuation.
Bearish CHoCH: Triggers when price breaks below a recent swing low after making a higher high.
Once a CHoCH is identified:
Entry is confirmed only if all selected filters pass, ensuring high-confidence setups.
SL is placed at the most recent swing low/high or an optional looser SL based on fractals.
Break-even logic moves SL to entry upon hitting 1R.
Risk-Reward ratio is fully customizable.
🛠️ Advanced Filter Modules
Each filter module below can be toggled independently, allowing for custom filtering strategies based on trading conditions.
1️⃣ HTF EMA Filter
Purpose: Confirms trend bias using a higher timeframe EMA (e.g., 55 EMA on 15-min TF).
Logic:
Longs: Entry only allowed if price > HTF EMA
Shorts: Entry only allowed if price < HTF EMA
Why Use It: Prevents counter-trend trades. Excellent when used during trending sessions.
Best Paired With: EMA crossover filter or RSI for intraday trend alignment.
2️⃣ EMA Crossover Filter
Inputs: Fast EMA (default 10), Slow EMA (default 50)
Logic:
Longs: Fast EMA must be above Slow EMA
Shorts: Fast EMA below Slow EMA
Enhancement: Adds a moving average structure filter to CHoCH. Good for filtering false breakouts during sideways markets.
Combo Tip: Use alongside RSI/MACD filters to confirm trend momentum.
3️⃣ RSI Filter
Default Period: 14
Logic:
Longs: RSI > threshold (default 50)
Shorts: RSI < threshold
Edge: Useful for momentum confirmation in trending conditions.
Advanced Use:
Raise thresholds to 60/40 in strong trends.
Combine with MACD to filter momentum exhaustion.
4️⃣ MACD Histogram Filter
MACD Histogram > 0: Long entries only
MACD Histogram < 0: Short entries only
Purpose: Measures positive/negative momentum shifts, helpful in volatile breakouts.
Pro Tip: Combine with ROC filter in fast-moving markets for maximum edge.
5️⃣ Rate of Change (ROC) Filter
Default: 9-period
Logic:
Longs: ROC > threshold (default 0.0)
Shorts: ROC < threshold
Why It Works: Captures short bursts of momentum often missed by other lagging indicators.
Combos That Work:
MACD + ROC: Double momentum filter
ROC + EMA crossover: Catch high-speed trend continuations
6️⃣ Stochastic RSI Filter
Parameters: Customizable %K and %D smoothing
Logic:
Longs: StochRSI > threshold and K > D
Shorts: StochRSI < threshold and K < D
Use Case: Effective for mean-reversion and momentum crossovers near S/R zones.
Advanced Tip: Use in ranging markets or to fade extended trends.
7️⃣ Time Filter
Customize Start/End Time: Default is 09:30 - 16:00 (New York session)
Supports Time Zones: Input via string (e.g., GMT+0, EST, etc.)
Visual Aid: Background shading for valid sessions.
Benefits:
Avoids low-liquidity or overnight trading periods.
Prevents false signals in pre/post-market sessions.
8️⃣ Loose Stop-Loss Option
If Enabled: SL placed 1 fractal beyond the last pivot.
Why: Helps in volatile assets like crypto where swing points are commonly breached before reversals.
Note: Should be used with tight risk controls or lower position sizing.
💼 Risk Management & Break-Even Logic
Risk-to-Reward Ratio: Adjustable via input
Auto TP & SL: Based on defined RR and recent structure
Break-Even Feature: Moves SL to entry after 1R is reached to protect capital
📈 Strategy Display Elements
CHoCH & BoS Labels: Visual confirmation of structure breaks
Liquidity Sweep (✖): Optional display for potential stop hunts
Trend Color Candles: Highlights bullish or bearish candle clusters
Session Overlay: Displays active time window on chart
⚙️ Recommended Configurations
Objective Suggested Filters
Trend Scalping HTF EMA + EMA Crossover + RSI
Volatility Breakouts ROC + MACD Histogram + Time Filter
Mean Reversion Stochastic RSI + RSI
Structure-Only Mode Disable all filters except Time Filter
Conservative Mode Enable all filters with tightened thresholds
📌 Final Notes
This script is highly modular and is not a one-size-fits-all strategy. It is a framework that allows advanced traders to apply contextual judgment and optimize entries based on confluence. Extensive backtesting per asset and timeframe is highly recommended.
🛠️ Strategy Parameters Summary
✅ Market Structure Entry (CHoCH)
✅ Smart SL & Break-Even Logic
✅ Modular Momentum Filters (RSI, MACD, ROC, StochRSI)
✅ Trend Filters (HTF EMA, EMA Cross)
✅ Session Filtering & Visualization
✅ Liquidity Sweeps (optional)
pinescript version5
Last Week's APM & Daily % Move(Corrected)Last Week's Average Price Movement + Daily Percentage Move (based on NY time)
This indicator accurately displays last week's Average Pip Movement (APM) consistently across all timeframes and tracks the true daily percentage move relative to that APM in a clear table in the top-right corner.
Key Features:
-Consistent Last Week's APM: Calculates the average pip movement from Monday to Friday of the previous trading week (based on daily wick-to-wick ranges, divided by 5). This APM value is now stable and the same across all chart timeframes.
-Accurate Live Daily % Move: Tracks the maximum percentage the price has moved (either up or down) since the 5 PM New York time daily open, compared to last week's APM. The percentage holds the maximum value reached during the day and resets at the next 5 PM NY open.
-NY Time Alignment: All time-based calculations are aligned with the New York time zone
Pip Adjustment: Automatically adjusts for JPY pairs.
⚠️ Important: For the intended display and relevance of the daily percentage move, this indicator is best used on timeframes 4-hour and under. On Daily and Weekly timeframes, the APM display will show a message indicating this.
We hope this indicator enhances your trading analysis.
TrendMaster Pro 2.3 with Alerts
Hello friends,
A member of the community approached me and asked me how to write an indicator that would achieve a particular set of goals involving comprehensive trend analysis, risk management, and session-based trading controls. Here is one example method of how to create such a system:
Core Strategy Components
Multi-Moving Average System - Uses configurable MA types (EMA, SMA, SMMA) with short-term (9) and long-term (21) periods for primary signal generation through crossovers
Higher Timeframe Trend Filter - Optional trend confirmation using a separate MA (default 50-period) to ensure trades align with broader market direction
Band Power Indicator - Dynamic high/low bands calculated using different MA types to identify price channels and volatility zones
Advanced Signal Filtering
Bollinger Bands Volatility Filter - Prevents trading during low-volatility ranging markets by requiring sufficient band width
RSI Momentum Filter - Uses customizable thresholds (55 for longs, 45 for shorts) to confirm momentum direction
MACD Trend Confirmation - Ensures MACD line position relative to signal line aligns with trade direction
Stochastic Oscillator - Adds momentum confirmation with overbought/oversold levels
ADX Strength Filter - Only allows trades when trend strength exceeds 25 threshold
Session-Based Trading Management
Four Trading Sessions - Asia (18:00-00:00), London (00:00-08:00), NY AM (08:00-13:00), NY PM (13:00-18:00)
Individual Session Limits - Separate maximum trade counts for each session (default 5 per session)
Automatic Session Closure - All positions close at specified market close time
Risk Management Features
Multiple Stop Loss Options - Percentage-based, MA cross, or band-based SL methods
Risk/Reward Ratio - Configurable TP levels based on SL distance (default 1:2)
Auto-Risk Calculation - Dynamic position sizing based on dollar risk limits ($150-$250 range)
Daily Limits - Stop trading after reaching specified TP or SL counts per day
Support & Resistance System
Multiple Pivot Types - Traditional, Fibonacci, Woodie, Classic, DM, and Camarilla calculations
Flexible Timeframes - Auto-adjusting or manual timeframe selection for S/R levels
Historical Levels - Configurable number of past S/R levels to display
Visual Customization - Individual color and display settings for each S/R level
Additional Features
Alert System - Customizable buy/sell alert messages with once-per-bar frequency
Visual Trade Management - Color-coded entry, SL, and TP levels with fill areas
Session Highlighting - Optional background colors for different trading sessions
Comprehensive Filtering - All signals must pass through multiple confirmation layers before execution
This approach demonstrates how to build a professional-grade trading system that combines multiple technical analysis methods with robust risk management and session-based controls, suitable for algorithmic trading across different market sessions.
Good luck and stay safe!
Key Levels with Alerts
Introducing the "Key Levels with Alerts" Indicator
This powerful and fully customizable indicator for the TradingView platform helps you easily identify and monitor crucial **daily, weekly, and monthly price levels** directly on your chart. Beyond just visual representation, the indicator offers advanced alert capabilities to notify you of any price breaks at these significant areas.
Key Levels Identified by the Indicator
This indicator calculates and displays six vital price levels based on the previous day's, week's, and month's closed candles:
1. **PDH (Previous Day High):** The highest price of the previous day.
2. **PDL (Previous Day Low):** The lowest price of the previous day.
3. **PWH (Previous Week High):** The highest price of the previous week.
4. **PWL (Previous Week Low):** The lowest price of the previous week.
5. **PMH (Previous Month High):** The highest price of the previous month.
6. **PML (Previous Month Low):** The lowest price of the previous month.
Core Features
* **Visual Line Display:** Each of these six levels is plotted as a **horizontal line** on your chart. These lines start from the current candle and extend forward for a specified number of candles (defaulting to 20 candles).
* **Complete Style Customization:** For every level (PDH, PDL, PWH, PWL, PMH, PML), you can **independently customize** the line's color, width, and style (solid, dashed, dotted) directly through the indicator's settings. This feature allows you to easily differentiate between the various levels.
* **Toggleable Labels:** You can choose whether to display text labels like "PDH", "PDL", "PWH", "PWL", "PMH", "PML" at the end of each line. The style of these labels will also automatically match their corresponding line colors.
* **Line Visibility Control:** Beyond just labels, you can also independently **show or hide the lines themselves** for PDH, PDL, PWH, PWL, PMH, and PML.
* **Price Break Alerts:** This is one of the indicator's most important features. You can set up alerts for each of these levels:
* **PDH Break Alert:** Triggers when the price moves above the **Previous Day High**.
* **PDL Break Alert:** Triggers when the price moves below the **Previous Day Low**.
* **PWH Break Alert:** Triggers when the price moves above the **Previous Week High**.
* **PWL Break Alert:** Triggers when the price moves below the **Previous Week Low**.
* **PMH Break Alert:** Triggers when the price moves above the **Previous Month High**.
* **PML Break Alert:** Triggers when the price moves below the **Previous Month Low**.
* **Clear Alert Messages:** Each alert message includes the **symbol or ticker name** (e.g., ` `) so you can quickly identify which asset the alert pertains to and which level has been broken.
* **Enable/Disable Alerts:** You have the flexibility to enable or disable each PDH, PDL, PWH, PWL, PMH, and PML alert independently via the indicator's settings.
Why This Indicator Is Useful
Daily, weekly, and monthly High and Low levels often act as **key support and resistance areas**. Traders use these levels to identify potential entry and exit points, set stop-loss and take-profit targets, and understand overall market sentiment. This indicator, with its clear visualization and timely alerts, helps you effectively leverage this crucial information in your trading strategies.
Candle Range 915Candle Range 915 (CR915) is a multi-session visualization tool designed for traders applying Candle Range Theory to intraday decision-making.
This script highlights key range zones formed by the following session-specific candles (based on New York time):
• 9:00 PM – Asia session
• 1:00 AM – London expansion candle
• 5:00 AM – NY continuation/reversal candle
• 8:00 AM – CRT staging candle
• 9:00 AM – CRT decision candle
• 5:00 PM – CBDR (Central Bank Dealers Range)
For each session, the high, low, and optional equilibrium (EQ) levels are plotted with customizable extensions. Labels are placed at the end of each range, and breakout alerts are available for the 8:00 AM and 5:00 PM CRT zones.
The script also includes:
Previous Day High/Low reference lines
EQ toggle per session
Dynamic Daylight Saving Time (DST) adjustment
Optional labeling and color control
This tool is built with a time-based narrative in mind and supports traders analyzing structure, order flow, and key liquidity windows across intraday sessions.
Note: This is a visualization tool only. It does not generate signals or make buy/sell recommendations.
FX Fix with Adjustable TimezoneFX Fix Time Highlighter
This indicator visually highlights candlesticks at a user-defined time and timezone to help traders easily identify when the FX fix occurs. Simply set your preferred timezone and the exact time you want to mark on the chart, and the indicator will automatically highlight the corresponding candlesticks.
Ideal for forex traders who want a clear visual reference of the FX fix window, aiding in analysis of price behavior during this key market event.
Features:
Customizable timezone selection
Adjustable highlight time (hour and minute)
Automatic candlestick highlighting at the chosen time
Supports all timeframes
Use this tool to better understand market dynamics around the FX fix and improve your trading decisions.
XAU/USD Custom Levels
XAU/USD Dynamic Support & Resistance Levels
This indicator automatically draws horizontal support and resistance levels for Gold (XAU/USD) based on the current market price, eliminating the need for manual price range adjustments.
**Key Features:**
- **Dynamic Price Range**: Automatically calculates levels above and below the current price using a customizable percentage range (default 5%)
- **Multi-Tier Level System**: Four distinct level types with different visual styling:
- Major Levels (100s) - Blue, thick lines
- Sub Levels (50s) - Red, medium lines
- Sub-Sub Levels (25s) - Yellow, thin lines
- Mini Levels (12.5s) - Gray, dotted lines
- **Fully Customizable**: Adjust range percentage, step size, colors, and line history through input settings
- **Universal Compatibility**: Works at any gold price level - whether $1800, $2500, $3300 or beyond
**How It Works:**
The script centers the level grid around the current closing price and extends lines from a specified number of bars back to the right edge of the chart. The hierarchical level system helps identify key psychological price points and potential support/resistance zones commonly used in gold trading.
**Settings:**
- Price Range %: Control how far above/below current price to draw levels (1-20%)
- Level Step Size: Adjust spacing between levels (1.0-50.0)
- Bars Back: Set how far back in history to start the lines
- Color Customization: Personalize colors for each level type
Perfect for gold traders who need clean, automatically-updating support and resistance levels without manual configuration.
Daily Fibonacci Levels [Asa]This indicator plots dynamic daily Fibonacci levels based on the overnight session high and low, helping traders identify key price zones for potential reversals, breakouts, and pullbacks during the regular trading session.
Key Features:
Overnight Session High/Low Detection: Automatically captures the high and low between user-defined hours (default 16:00–09:30 EST).
Day Session Levels: Fibonacci retracement and extension levels are calculated once the regular session begins (default 09:30–16:00 EST).
Proximity Filter: Only plots levels that are within a customizable threshold of the current price to reduce chart clutter.
Custom Styling: Choose from solid lines, crosses, or circles, and customize the line width for a personalized look.
Mirrored Extensions: Includes both upside and downside Fibonacci extensions beyond the 100% level (up to 300%).
Labels: Clearly marks the overnight high and low with labeled points at session start.
Use Case:
Ideal for intraday and swing traders who rely on overnight price action to map out key Fibonacci levels before and during the trading day. This tool helps quickly identify zones of confluence, potential resistance/support, and continuation levels.
Customization Options:
Session hours and timezone
Line width and style
Proximity threshold for level visibility
Trapper Support & ResistanceOverview
Trapper Support & Resistance Zones is a precision-based tool designed to automatically identify key horizontal levels where price has historically shown reaction. These levels often serve as critical decision zones for traders assessing trend continuation or reversal potential.
Functionality
Plots support and resistance zones using recent swing highs and lows.
Optional retest confirmation before zones are validated.
Works dynamically across timeframes and asset types.
Zones adapt in real time as price action evolves.
Levels are clearly extended and priced for immediate use on the chart.
Designed for confluence with supply/demand, breakouts, and trend reversal strategies.
Who It’s For
This indicator is useful for traders seeking structured visual guidance to navigate consolidation, breakouts, and pullback areas. It serves scalpers, swing traders, and long-term investors alike across crypto, equities, forex, or indices.
How to Use the “Trapper Support & Resistance Zones” Indicator
Apply to Any Chart or Timeframe.
Works best on 5m to Daily charts, but dynamically adapts to any timeframe.
Zone Interpretation
Green lines = Support zones (bottom of prior candle bodies).
Red lines = Resistance zones (top of prior candle bodies).
These zones highlight key levels where price historically reacted.
Retest Filter (Optional)
Enable “Retest Filter” in settings to only show levels that have been respected again after formation.
Customization
Use the input panel to adjust pivot strength and retest logic.
Set line thickness or duration (extend right) for better visual clarity.
Trade Ideas
Zones can be used for breakout confirmation or mean reversion setups.
Combine with volume or momentum indicators for higher-confidence trades.
Disclaimer
This tool is intended solely for educational and informational purposes. It does not constitute financial advice, and no outcome or profitability is guaranteed. By using this script, you acknowledge that the author makes no claim of investment performance and assumes no liability. The script is not exclusively for qualified or institutional investors.
Essa - Multi-Timeframe LevelsEnhanced Multi‐Timeframe Levels
This indicator plots yearly, quarterly and monthly highs, lows and midpoints on your chart. Each level is drawn as a horizontal line with an optional label showing “ – ” (for example “Apr 2025 High – 1.2345”). If two or more timeframes share the same price (within two ticks), they are merged into a single line and the label lists each timeframe.
A distance table can be shown in any corner of the chart. It lists up to five active levels closest to the current closing price and shows for each level:
level name (e.g. “May 2025 Low”)
exact price
distance in pips or points (calculated according to the instrument’s tick size)
percentage difference relative to the close
Alerts can be enabled so that whenever price comes within a user-specified percentage of any level (for example 0.1 %), an alert fires. Once price decisively crosses a level, that level is marked as “broken” so it does not trigger again. Built-in alertcondition hooks are also provided for definite breaks of the current monthly, quarterly and yearly highs and lows.
Monthly lookback is configurable (default 6 months), and once the number of levels exceeds a cap (calculated as 20 + monthlyLookback × 3), the oldest levels are automatically removed to avoid clutter. Line widths and colours (with adjustable opacity for quarterly and monthly) can be set separately for each timeframe. Touches of each level are counted internally to allow future extension (for example visually emphasising levels with multiple touches).
Previous Highs & Lows (Customizable)Previous Highs & Lows (Customizable)
This Pine Script indicator displays horizontal lines and labels for high, low, and midpoint levels across multiple timeframes. The indicator plots levels from the following periods:
Today's session high, low, and midpoint
Yesterday's high, low, and midpoint
Current week's high, low, and midpoint
Last week's high, low, and midpoint
Last month's high, low, and midpoint
Last quarter's high, low, and midpoint
Last year's high, low, and midpoint
Features
Individual Controls: Each timeframe has separate toggles for showing/hiding high/low levels and midpoint levels.
Custom Colors: Independent color selection for lines and labels for each timeframe group.
Display Options:
Adjustable line width (1-5 pixels)
Variable label text size (tiny, small, normal, large, huge)
Configurable label offset positioning
Organization: Settings are grouped by timeframe in a logical sequence from most recent (today) to least recent (last year).
Display Logic: Lines span the current trading day only. Labels are positioned to the right of the price action. The indicator automatically removes previous drawings to prevent chart clutter.
Opening Range 15 minThis indicator highlights the Opening Range (OR) for the first 15 minutes (9:30–9:45 AM EST). It visually plots high/low lines and a shaded box to define this range, helping traders identify key intraday levels for potential breakout or rejection scenarios. The script also provides optional overlays for the Previous Day’s High/Low and the Extended Hours High/Low, offering a complete context for day trading setups.
Main Features:
Opening Range Detection – Automatically calculates and draws the high/low of the 9:30–9:45 AM session.
Visual Enhancements – Includes customizable lines, shaded boxes, and labels to mark the OR high (ORH) and low (ORL) levels.
Previous Day High/Low (Optional) – Plots and labels the previous day's high and low for reference during current day trading.
Extended Hours High/Low (Optional, when ETH enabled) – Displays overnight session levels for added insight into early volatility (4:00 AM to 9:30 AM EST).
User Customization – Easily adjust colors, label styles, and visibility for all plotted levels and regions.
Breaker Blocks & Unicorns (with Deviations) by RiseBreaker Block and Unicorns (with Deviations) - The Highest Probability ICT Pattern
This advanced indicator identifies and tracks ICT Breaker Blocks, while incorporating powerful supplementary features including Unicorn patterns and customizable deviation levels.
These patterns develop through a precise market structure sequence culminating in structural breaks. Following Breaker Block confirmation, users can optionally enable highly customizable deviation levels. Additionally, the indicator can scan active Breaker Blocks for overlapping Fair Value Gaps (FVGs) and Inverted Fair Value Gaps (IFVGs)-(also known as "Unicorns") that represent high-probability trading opportunities, highly regarded in the ICT community.
This comprehensive tool provides unmatched functionality for traders and analysts seeking to track, backtest, and execute Breaker Block strategies. With its extensive feature set and granular customization options, it delivers capabilities that surpass existing alternatives in the market.
What is an ICT Breaker Block?
To explain this, we must understand the ABC sequence that form this pattern. It consists of:
Initial range (from A -> B)
First break point, commonly called "Manipulation" (C)
Second break, which is when the pattern is formed.
Each of these "points" consist of pivot levels, with an adjustable strength.
Breaker Blocks are invalidated and made inactive if price breaks the "C point", or manipulation.
Unicorns
Unicorns are Fair Value Gaps or Inverted Fair Value Gaps that overlap a Breaker Block. Breakers have their associated Unicorn, which is updated until price retraces into said gap.
Standard Deviations
This indicator has options to display deviations based on Breaker Blocks:
Breaker Deviations -> using the initial range (A -> B).
Manipulation Deviations -> using the manipulation (B -> C).
Input Settings:
This tool offers a lot of customizable options, which could be overwhelming to some users. Below you will find an in-depth definition of every input's purpose, to complement the tooltips that can be found directly in the indicator's settings.
Mode ⚙️
Default -> Displays every Breaker Block pattern found.
Bullish -> Displays every Bullish Breaker Block found.
Bearish -> Displays every Bearish Breaker Block found.
Reversals -> Displays alternate Breaker Blocks (Bearish -> Bullish -> Bearish and so on).
This is paired with a Historical input, to select the amount of previous Breakers to display.
Extend 📏
Last -> This option will extend the most recent Breaker's drawings.
Specified -> Extend Breakers a preset amount of bars.
All -> Extend all active Breakers to the current bar.
None -> Never extend Breaker Blocks.
Each object has it's specific " offset " parameter, which defines the amount of bars to extend drawings past the current bar.
Parameters
This section defines the main parameters used to define the Breaker Block pattern.
Time Filter -> Optional session to filter Breakers based on time of day.
Pivot Strength -> Determines how many consecutive bars to the left of a pivot must be lower (for highs) or higher (for lows) to confirm it as a point.
Range Lookback -> Amount of ranges that the indicator will keep track for each direction.
Breaker Type -> Defines how a Breaker Block is displayed:
Range -> Entire initial range.
Consecutive -> Last consecutive onside candles (upclose for bullish, downclose for bearish).
Last -> Last onside candle.
Breaker Offset -> Amount of bars to extend Breaker Blocks past the current bar.
Use Candle Bodies? -> Use bar open to close rather than high to low.
Require Candle Close? -> Use bar close to form Breaker Blocks.
Remove After Invalidation? -> Remove drawings for invalidated Breakers.
Style
Breaker Block boxes styling based on directions.
Optional Middle Line and styling.
Optional Signals for Breaker Block formation:
Triangle label with adjustable sizing on the formation bar.
Line with custom styling at breakout point to the formation bar.
Unicorn Fair Value Gaps
Checkbox to display Unicorns with adjustable "FVGs", "IFVGs", or "Both" types.
Overlap Threshold -> Distance away from Breaker to still consider an "overlap".
Unicorn Offset -> Amount of bars to extend unicorn gaps past the current bar.
Lines styling.
Optional Middle Line and styling.
Include Volume Imbalances? -> Include adjacent VIs as part of Fair Value Gaps.
Extend until Reached? -> Extend Unicorn drawings until price reaches them.
Deviations
Checkbox to display Standard Deviations with adjustable types and levels.
Lines styling.
Text size and positioning.
Extend until Reached? -> Extend deviation lines until price reaches them.
Text
Label contents:
Default -> "+/- Breaker".
Abbreviation -> "+/- BB".
None -> No text.
Size .
Font (Default or Monospace) and Format (None, Italic or Bold).
Align -> vertical and horizontal positioning.
This indicator is for educational and informational purposes only. Past performance and historical patterns do not guarantee future results. Trading involves substantial risk of loss and is not suitable for all investors. Always conduct your own analysis and consider your financial situation before making any trading decisions. The identification of patterns does not constitute trading advice.
For any additional questions and/or feedback related to this indicator, users can comment below!
[Remora] Previous Day Value This TradingView script plots horizontal lines showing the previous day’s high, low, and midpoint levels on your current chart. These lines help traders identify key support and resistance zones based on the last day’s price range.
🛠️ Features:
Previous Day High Line (🔴 Red):
Shows the highest price from the previous trading day.
Previous Day Low Line (🟢 Green):
Shows the lowest price from the previous trading day.
Previous Day Midpoint Line (🟣 Fuchsia, Dashed):
Shows the average of the previous day’s high and low — a useful reference for intraday bias or fair value.
Customizable Display:
You can turn each of these lines on or off using checkboxes in the settings.
This script will help traders make decisions like:
Watching for price rejection or breakout at these levels.
Identifying areas to take profits or set stops.
5-Day APM for Forex PairsThis script calculates the 5-Day Average Pip Movement (APM) for major Forex pairs.
It displays the average daily range (in pips) over the past 5 trading days using true high-low price movement.
The script is optimized for clarity and minimalism — showing a single floating label on the main chart for pairs like GBPUSD, USDJPY, EURUSD, etc.
Automatically adjusts pip calculation for JPY pairs (×100) and other pairs (×10000).
✅ Great for identifying high-volatility vs low-volatility conditions
✅ Clean design with no clutter
✅ Only works on major FX pairs (whitelisted)
Support and Resistance Logistic Regression | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Logistic Regression Support / Resistance indicator! This tool leverages advanced statistical modeling "Logistic Regressions" to identify and project key price levels where the market is likely to find support or resistance. For more information about the process, please check the "HOW DOES IT WORK ?" section.
Logistic Regression Support / Resistance Features :
Intelligent S/R Identification : The indicator uses a logistic regression model to intelligently identify and plot significant support and resistance levels.
Predictive Probability : Each identified level comes with a calculated probability, indicating how likely it is to act as a true support or resistance based on historical data.
Retest & Break Labels : The indicator clearly marks on your chart when a detected support or resistance level is retested (price touches and respects the level) or broken (price decisively crosses through the level).
Alerts : Real-time alerts for support retests, resistance retests, support breaks, and resistance breaks.
Customizable : You can change support & resistance line style, width and colors.
🚩 UNIQUENESS
What makes this indicator truly unique is its application of logistic regression to the concept of support and resistance. Instead of merely identifying historical highs and lows, our indicator uses a statistical model to predict the future efficacy of these levels. It analyzes underlying market conditions (like RSI and body size at pivot formation) to assign a probability to each potential S/R zone. This predictive insight, combined with dynamic, real-time labeling of retests and breaks, provides a more robust and adaptive understanding of market structure than traditional, purely historical methods.
📌HOW DOES IT WORK ?
The Logistic Regression Support / Resistance indicator operates in several key steps:
First, it identifies significant pivot highs and lows on the chart based on a user-defined "Pivot Length." These pivots are potential areas of support or resistance.
For each detected pivot, the indicator extracts relevant market data at that specific point, including the RSI (Relative Strength Index) and the Body Size (the absolute difference between the open and close price of the candle). These serve as input features for the model.
The core of the indicator lies in its logistic regression model. This model is continuously trained on past pivot data and their subsequent behavior (i.e., whether they were "respected" as support/resistance multiple times). It learns the relationship between the extracted features (RSI, Body Size) and the likelihood of a pivot becoming a significant S/R level.
When a new pivot is identified, the model uses its learned insights to calculate a prediction value—a probability (from 0 to 1) that this specific pivot will act as a strong support or resistance.
If the calculated probability exceeds a user-defined "Probability Threshold," the pivot is designated a "Regression Pivot" and drawn on the chart as a support or resistance line. The indicator then actively tracks how price interacts with these levels, displaying "R" labels for retests when the price bounces off the level and "B" labels for breaks when the price closes beyond it.
⚙️ SETTINGS
1. General Configuration
Pivot Length: This setting defines the number of bars used to determine a significant high or low for pivot detection.
Target Respects: This input specifies how many times a level must be "respected" by price action for it to be considered a strong support or resistance level by the underlying model.
Probability Threshold: This is the minimum probability output from the logistic regression model for a detected pivot to be considered a valid support or resistance level and be plotted on the chart.
2. Style
Show Prediction Labels: Enable or disable labels that display the calculated probability of a newly identified regression S/R level.
Show Retests: Toggle the visibility of "R" labels on the chart, which mark instances where price has retested a support or resistance level.
Show Breaks: Toggle the visibility of "B" labels on the chart, which mark instances where price has broken through a support or resistance level.
Time LevelsTime Levels is a customizable TradingView indicator designed to mark critical intraday price levels based on specific time inputs. This tool helps traders identify significant Open/High/Low/Close (OHLC) levels, support & resistance (S&R) zones, and potential Judas Swing manipulation points—aligned with selected timeframes and adjusted to any time zone via UTC offset.
🔧 Key Features:
OHLC/OLHC Levels: Automatically draws horizontal lines at the candle’s open price for up to four specified time points. Ideal for marking session opens, closes, or key intraday levels.
Support & Resistance Zones: Highlights two time-based S&R levels that can help identify discount and premium pricing zones.
Judas Swing Detection: Marks potential liquidity grab zones (Judas Swings) at three user-defined times, assisting in identifying manipulation and smart money entry points.
Global Timezone Support: Includes a UTC offset input to align levels accurately with your trading session, regardless of your location.
Full Customization: Personalize the color, style (solid, dashed, dotted), and thickness of each line independently for OHLC, S&R, and Judas levels.
🛠️ Use Cases:
New York / London open price tracking
ICT-based SMC level marking
Predefined time-based liquidity level visualizations
Institutional-level price reactions (e.g., during specific market opens)
This indicator is best suited for intraday and short-term (especially ICT) traders looking to bring precision and consistency into their technical analysis framework.
Ensemble Consensus System
The Ensemble Consensus System (ECS) brings a **Random Forest-style ensemble vote** to Pine Script: five orthogonal "expert" strategies each cast a bull/bear vote (+1/-1/0), and only high-confidence consensus moves become signals—dramatically reducing noise while capturing strong directional moves.
## What Makes This Original
ECS is the first Pine Script indicator to implement true machine learning-style ensemble voting. Rather than relying on a single methodology, five independent experts analyze different market dimensions:
• **Trend Expert**: Multi-timeframe EMA alignment analysis
• **Momentum Expert**: RSI/MACD/Stochastic confluence with consistency filters
• **Volume Expert**: Proprietary volume pressure + OBV confirmation
• **Volatility Expert**: Bollinger Band mean reversion opportunities
• **Structure Expert**: Adaptive pivot-based support/resistance detection
## How It Works
The system requires consensus among experts, with an **adaptive threshold** based on market volatility:
| Volatility Regime | ATR/Close | Votes Required |
|-------------------|-----------|----------------|
| Low Volatility | <1% | 2+ |
| Normal Markets | 1-2% | 3+ |
| High Volatility | >2% | 4+ |
This dynamic adjustment prevents overtrading in choppy conditions while maintaining responsiveness during strong trends.
## Key Features
### Signals
• **Visual entry points** with strength percentage (60% = 3/5 experts agree)
• **Adaptive thresholds** that adjust to market conditions
• **Multi-expert consensus** reduces false signals
### Risk Control
• **Dynamic stop-loss/take-profit** based on ATR
• **Regime-adjusted targets** (±50% in volatile markets)
• **Visual SL/TP lines** with exact price labels
### Analytics
• **Real-time vote panel** showing each expert's stance
• **Performance tracking** with win rate and P/L
• **Market regime indicator** (Trending/Ranging/Volatile)
• **Light Mode** for better performance on slower systems
## How to Use
1. **Apply ECS** to a liquid instrument on 15m-4H timeframe (best: 1H)
2. **Wait for signal** - green ▲ for long, red ▼ for short with strength %
3. **Verify votes** - check panel to see which experts agree
4. **Execute trade** using the displayed SL/TP levels
5. **Monitor regime** - be cautious if market regime changes
### Quick Start Settings
• **Standard Trading**: Use defaults (3 votes, adaptive mode ON)
• **Conservative**: Increase to 4 votes minimum
• **Aggressive**: Reduce to 2 votes, tighten stops
## Important Limitations
• **Chart Types**: Not compatible with Renko/Heikin-Ashi
• **Volume Data**: Requires reliable volume (forex pairs may underperform)
• **News Events**: Signals may lag during gaps/major announcements
• **Processing**: Heavy calculations - use Light Mode if needed
## Settings Guide
**Ensemble Controls**
• `Minimum Votes` (default: 3): Base threshold before volatility adjustment
• `Adaptive Mode` (default: ON): Auto-adjusts threshold by market volatility
**Visual Options**
• `Vote Panel`: Live expert voting display
• `Performance Stats`: Win rate and trade tracking
• `Light Mode`: Disables heavy visuals for speed
**Risk Parameters**
• `Stop Multiplier` (default: 2.0): ATR multiple for stop-loss
• `TP Multiplier` (default: 3.0): ATR multiple for take-profit
• `Dynamic TP` (default: ON): Adjusts targets by market regime
## Troubleshooting
**Too few signals?**
→ Lower minimum votes or check if market is ranging
**Indicator running slow?**
→ Enable Light Mode, disable performance tracking
**Weird volume votes?**
→ Verify your symbol has accurate volume data
## Technical Concepts
The ensemble approach mimics **Random Forest algorithms** where multiple decision trees vote on outcomes. By requiring agreement among experts using orthogonal methodologies, ECS filters out signals that would fail under different market lenses. The adaptive threshold addresses fixed-parameter weakness by dynamically adjusting selectivity based on volatility.
• Adaptive pivot lookback for dynamic structure detection
• Safe volume pressure calculation preventing division errors
• Momentum consistency filter reducing choppy false signals
• Unified dashboard merging vote panel + performance stats
• Regime-based dynamic take-profit adjustment
*Educational indicator demonstrating ensemble methods in Pine Script. No guarantee of future performance. Always use proper risk management and position sizing.*