High/Low last 1-3 candlesHere you can display the high and low of the last 1, 2 or 3 candles. The whole thing is updated with every new candle. you can also switch the lines on or off as you wish and adjust the colour of the lines. have fun with it
รูปแบบชาร์ต
Multi Session LQ Tracker by DeadcatDisplays session ranges and identifies when price sweeps session highs/lows (liquidity) . Shows up to 5 sessions with customizable times.
Setup
Timezone - Must match your chart timezone
Sessions - 2 active by default (Asia and London), add up to 5 total
LQ Trigger Session - Time window for liquidity detection (default: 0800-1600), If LQ sweeps happen before this time, they will not be marked.
Key Features
Session Boxes: Visual range of each session high/low
Extended Lines: Continue until price breaks level
LQ Markers: Red "LQ" circles when session levels swept during trigger hours
Liquidity Toggle: Turn off to use as standard session indicator.
Customize it according to your needs. If LQ detection is off, it will function as a normal session indicator.
Very useful for ICT traders who often track session highs/lows to make trading decisions, or for someone who just wants to use a session indicator.
Malama's market chopMalama's Market Chop is a technical analysis indicator designed to help traders quickly identify periods of market "choppiness"—that is, when price action is range-bound, lacking clear direction, and prone to false breakouts. By highlighting these sideways, indecisive market conditions, the indicator enables traders to avoid entering trend-following trades during unfavorable environments, or to adapt their strategies for range trading.
Problem Solved:
Many trading strategies perform poorly in choppy, non-trending markets, leading to whipsaws and false signals. This indicator provides a clear, visual method to detect such conditions, allowing traders to filter out low-probability setups and improve their overall decision-making.
While the Choppiness Index is a known concept, this script offers a streamlined, user-friendly implementation with several enhancements:
Custom Summation Function: The script uses a custom function to calculate the sum of bar ranges, ensuring precise control over the calculation and compatibility with Pine Script v6.
Visual Alerts: It provides immediate, on-chart visual cues (background highlights and triangle markers) to signal choppy conditions, making it easy to spot at a glance.
Real-Time Labeling: The current Choppiness Index value is displayed directly on the chart, keeping traders informed of the latest market state.
User Customization: Key parameters such as the lookback period and threshold are fully adjustable, allowing adaptation to different assets and timeframes.
Usefulness:
This indicator is especially valuable for:
Trend-following traders who want to avoid entering trades during sideways markets.
Range traders seeking to identify optimal periods for mean-reversion strategies.
Algorithmic/systematic traders who wish to use choppiness as a filter in their strategies.
How It Works: Detailed Methodology
1. Choppiness Index Calculation
Range Summation:
The script calculates the sum of the absolute price ranges (high minus low) for each bar over a user-defined period (chopPeriod).
Total Range:
It also computes the difference between the highest high and the lowest low over the same period.
Choppiness Index Formula:
The Choppiness Index is then calculated as:
Choppiness Index = 100 × log10(rangeSum / rangeTotal) / log10(chopPeriod)
This normalizes the value, making it comparable across different assets and timeframes.
Division by Zero Protection:
If the total range is zero (i.e., no price movement), the index is set to zero to avoid errors.
2. Choppy Market Detection
Threshold Comparison:
The indicator compares the current Choppiness Index value to a user-defined threshold (chopThreshold).
If the index is above the threshold, the market is considered "choppy" (sideways).
If below, the market is likely trending.
3. Visual and Signal Logic
Background Highlight:
When a choppy condition is detected, the chart background is softly highlighted in yellow, making it easy to spot periods of indecision.
Triangle Marker:
A small blue triangle is plotted below each bar where the market is choppy, providing a clear, bar-by-bar signal.
Current Value Label:
On the most recent bar, a blue label displays the current Choppiness Index value, keeping traders informed in real time.
Strategy Results and Risk Management
Note:
This script is an indicator and does not generate buy/sell signals or execute trades. Therefore, it does not include backtesting, position sizing, or risk management features. However, it is designed to be used as a filter within broader trading strategies, helping traders avoid entering positions during choppy conditions.
Guidance for Use:
Trend Strategies: Consider pausing or reducing position size when the indicator signals a choppy market.
Range Strategies: Consider activating mean-reversion or range-bound strategies during choppy periods.
User Settings and Customization
The indicator provides the following user-adjustable inputs:
Choppiness Period (chopPeriod):
Default: 14
Description: The number of bars used to calculate the Choppiness Index.
Effect: Shorter periods make the indicator more sensitive to recent price action; longer periods smooth out short-term noise.
Choppiness Threshold (chopThreshold):
Default: 61.8
Description: The Choppiness Index value above which the market is considered choppy.
Effect: Lowering the threshold will classify more periods as choppy; raising it will make the filter stricter.
These settings allow traders to tailor the indicator to different assets, timeframes, and personal trading styles.
Visualizations and Chart Setup
The indicator plots the following elements directly on the price chart:
Background Color:
Yellow (semi-transparent): Highlights periods where the Choppiness Index exceeds the threshold, signaling a choppy market.
Triangle Markers:
Blue triangles below bars: Mark each bar where a choppy condition is detected.
Current Value Label:
Blue label on the latest bar: Displays the current Choppiness Index value for quick reference.
Clarity:
Only elements relevant to the indicator’s function are plotted, ensuring a clean and focused chart presentation.
Elliott Wave + Fib Levels w/Alerts [Enhanced]Elliott Wave + Fibonacci Levels with Alerts
This powerful TradingView indicator combines Elliott Wave detection with customizable Fibonacci retracement levels to help identify key price zones and potential trade opportunities. It automatically detects bullish and bearish waves based on recent highs and lows, with an optional EMA filter to improve trend accuracy.
Key features include:
Dynamic detection of Elliott Waves based on configurable wave length.
Visualization of Fibonacci retracement levels on detected waves, with customizable percentage levels and optional labels for clarity.
ATR-based automatic calculation of stop loss and take profit levels with adjustable multipliers.
Real-time alerts triggered on new wave formations, indicating bullish or bearish setups with precise entry price details.
Clean plotting of entry signals, stop loss, and take profit zones directly on the chart.
User-friendly input controls to tailor the indicator to your trading style, including options to toggle EMA filtering, Fibonacci level display, and alert activation.
Ideal for traders looking to combine classic wave analysis with Fibonacci support/resistance levels and actionable trade alerts, this indicator streamlines technical analysis and trade management in one easy-to-use tool.
EMA 200 Price Deviation Alerts (1H Only)This script monitors the price deviation from the 200-period Exponential Moving Average (EMA) exclusively on the 1-hour chart. It generates alerts when the absolute difference between the current price and the EMA 200 exceeds a user-defined threshold (default: 65).
Features:
Works only on 1-hour (60-minute) charts to avoid false signals on other timeframes.
Customizable deviation threshold via script input.
Visual display of the 200 EMA on the chart.
Alert system to notify when price deviates significantly above or below the EMA.
Buy/Sell arrows shown when conditions are met:
Sell arrow appears when price is above the EMA and deviation exceeds threshold.
Buy arrow appears when price is below the EMA and deviation exceeds threshold.
Use this tool to identify potential overextended price moves relative to long-term trend support or resistance on the 1H timeframe.
Consolidation BoxesConsolidation Boxes — Indicator
Overview :
This indicator automatically detects and highlights periods of market consolidation, drawing shaded boxes around tight price ranges where the market is temporarily indecisive. It’s designed to help traders easily identify when price is moving sideways — a key phase that often precedes a breakout.
Key Features :
-Automatic Consolidation Detection: Recognizes when a series of candles close within a defined range and marks the area as a consolidation zone.
-Customizable Parameters: Set how many candles must consolidate before a box is drawn.
-Breakout Alerts: Notifies you when price breaks out above or below a consolidation box — a potential signal for trade entries.
-Clean Chart Management: Optional setting to automatically remove old zones when new consolidations form.
-Dynamic Box Extension: As long as price stays within the box, the zone will continue to extend until a breakout occurs.
Inputs :
- Minimum Consolidation Candles : Define how many candles must fit within a range to confirm a consolidation zone.
- Terminate Old Zones : Automatically delete the previous zone when a new one is formed (optional).
How to use :
1. Add the Indicator: Apply it to any chart — works across all timeframes and markets (e.g., crypto, stocks, forex).
2. Adjust Parameters: Choose how many candles must consolidate to form a valid box. Enable or disable zone termination to fit your preference.
3. Watch the Boxes: The indicator draws a shaded box once it detects a valid consolidation zone. The box will continue to extend as long as price stays within the range.
4. Look for Breakouts: When price breaks above or below the box, a breakout is confirmed and an alert (if enabled) will trigger — great for breakout trading strategies.
5. Use in Strategy: Combine with volume, momentum indicators, or price action to validate breakouts and filter false signals.
Ideal For :
Traders who want to visually identify consolidation areas and trade breakout setups with minimal manual analysis. Especially useful for scalpers, day traders, and swing traders looking to anticipate volatility after quiet periods.
Indicator: Volatility Candle Based 📊 Volatility Candle-Based Indicator (Pine Script v6)
This custom TradingView indicator is designed for futures traders who want to analyze volatility, candle patterns, and support/resistance zones within specific market hours. It overlays price charts and provides visual signals that help determine potential momentum shifts, trend continuations, or reversals.
🔧 Core Features
⏰ Futures Time Filter
The indicator activates only during specific trading hours, customized per futures contract (e.g., NQ, ES, GC).
Time is adjusted to the New York (EST) timezone.
This ensures the logic only runs during relevant futures market sessions.
💹 Contract-Specific Multipliers
Applies custom point multipliers for futures contracts (e.g., GC = 30, ES = 24).
Supports three types of multipliers:
Trailing Stop
Trailing Plot Stop
Stop Loss
Ensures accurate backtesting and risk modeling for each contract.
📈 Trendline Support & Resistance
Uses pivot high/low logic to dynamically plot:
Central pivot zones
Step-like support/resistance lines
These trendlines update based on price behavior and can indicate bullish or bearish control.
🔍 Candle Momentum Analysis
Evaluates each candle's:
Body-to-range ratio (e.g., Marubozu, Doji)
Shadow dominance (upper/lower wicks)
Detects important reversal or continuation patterns such as:
Bullish/Bearish Inside Candles
Doji Star formations
Uses a custom moving average to confirm directional bias.
🕯️ Plotter Candle Signals
Identifies BullishPlotter and BearishPlotter candles:
Highlights candles likely to signal upcoming momentum.
Also accounts for neutral signals when no clear bias is detected.
Tracks the high/low of recent signal candles for reference.
📌 Visual Elements (not shown in snippet but implied by logic)
Signal arrows, dashed current levels, and filled support/resistance zones can be plotted to provide real-time feedback.
These are useful for both manual trading and strategy development.
🎯 Use Case
Perfect for intraday or short-term futures traders on instruments like:
🟡 Gold (GC), 🟠 Silver (SI)
📉 Nasdaq (NQ/MNQ), S&P 500 (ES/MES)
This script provides both structural context (trendlines, pivots) and price action signals (candle formations, momentum shifts), helping traders align their decisions with the underlying market flow.
Multi-Period ChartsThis Pine Script v6 indicator is titled "Multi-Period Charts" and is designed to provide traders with dynamic support/resistance levels, momentum-based trendlines, and shaded areas representing higher timeframes—all layered over the current chart to offer multi-timeframe market context.
🔍 Overview
The script offers a comprehensive view of market structure, combining:
Pivot-based support and resistance
Momentum-driven trendlines
MACD-style candle coloring
Higher-timeframe box overlays
Each element is modular and can be customized through inputs for different strategies and timeframes.
🧱 Key Features
1. Pivot-Based Support & Resistance Lines
Uses ta.pivothigh and ta.pivotlow to detect significant swing highs/lows.
A dynamic centerline is calculated from recent pivots.
Generates TUp and TDown bands that evolve with price action.
Determines the trend direction based on whether the price is above or below these bands.
2. Trendline Signal Support
Based on moving averages of high/low and close prices across a long period.
Draws a support line with a slope-check to determine if the market is bullish or bearish.
Support lines are color-coded to reflect the directional bias (bullish, bearish, or neutral).
3. Candle Coloring Logic
Candles are categorized into:
LongCandles (above both trend and support lines)
ShortCandles (below both lines)
NeutralCandle (between them)
Candles can also be shaded differently when they are downward candles, even within a bullish setup.
4. Multi-Timeframe Box Overlays
Automatically selects a higher timeframe (HTF) based on the current chart.
Draws boxes that represent the range of the selected HTF bar (e.g., day, week, month).
Boxes are colored based on whether price closed up or down.
Supports multiple methods to determine the top/bottom of the box:
High/Low Range (HLR)
True Range (TR)
Heikin Ashi Range (HAR)
5. Period Line
Calculates a smoothed line from the average of each HTF box’s top/bottom.
Useful for identifying long-term trend alignment.
⚙️ Inputs & Customizations
Pivot settings: Number of bars to look back and forward, factor, and spread.
Trendline settings: Moving average lengths and slope sensitivity.
HTF box settings: Resolution (manual or auto), color options, calculation method.
📈 Visual Output
Trendline and support line (optional display).
HTF range boxes (highlighting bullish or bearish sessions).
Color-coded candles indicating alignment or divergence from trend.
Invisible PeriodLine for advanced strategy developers.
💡 Use Case
This indicator is ideal for:
Swing and intraday traders who want to trade in the direction of larger trends.
Traders who rely on multi-timeframe analysis to find confluence.
Users looking to combine price structure (pivot-based) and momentum (moving average-based) for trend validation.
Super Arma Institucional PRO v6.3Super Arma Institucional PRO v6.3
Description
Super Arma Institucional PRO v6.3 is a multifunctional indicator designed for traders looking for a clear and objective analysis of the market, focusing on trends, key price levels and high liquidity zones. It combines three essential elements: moving averages (EMA 20, SMA 50, EMA 200), dynamic support and resistance, and volume-based liquidity zones. This integration offers an institutional view of the market, ideal for identifying strategic entry and exit points.
How it Works
Moving Averages:
EMA 20 (orange): Sensitive to short-term movements, ideal for capturing fast trends.
SMA 50 (blue): Represents the medium-term trend, smoothing out fluctuations.
EMA 200 (red): Indicates the long-term trend, used as a reference for the general market bias.
Support and Resistance: Calculated based on the highest and lowest prices over a defined period (default: 20 bars). These dynamic levels help identify zones where the price may encounter barriers or supports.
Liquidity Zones: Purple rectangles are drawn in areas of significantly above-average volume, indicating regions where large market participants (institutional) may be active. These zones are useful for anticipating price movements or order absorption.
Purpose
The indicator was developed to provide a clean and institutional view of the market, combining classic tools (moving averages and support/resistance) with modern liquidity analysis. It is ideal for traders operating swing trading or position trading strategies, allowing to identify:
Short, medium and long-term trends.
Key support and resistance levels to plan entries and exits.
High liquidity zones where institutional orders can influence the price.
Settings
Show EMA 20 (true): Enables/disables the 20-period EMA.
Show SMA 50 (true): Enables/disables the 50-period SMA.
Show EMA 200 (true): Enables/disables the 200-period EMA.
Support/Resistance Period (20): Sets the period for calculating support and resistance levels.
Liquidity Sensitivity (20): Period for calculating the average volume.
Minimum Liquidity Factor (1.5): Multiplier of the average volume to identify high liquidity zones.
How to Use
Moving Averages:
Crossovers between the EMA 20 and SMA 50 may indicate short/medium-term trend changes.
The EMA 200 serves as a reference for the long-term bias (above = bullish, below = bearish).
Support and Resistance: Use the red (resistance) and green (support) lines to identify reversal or consolidation zones.
Liquidity Zones: The purple rectangles highlight areas of high volume, where the price may react (reversal or breakout). Consider these zones to place orders or manage risks.
Adjust the parameters according to the asset and timeframe to optimize the analysis.
Notes
The chart should be configured only with this indicator to ensure clarity.
Use on timeframes such as 1 hour, 4 hours or daily for better visualization of liquidity zones and support/resistance levels.
Avoid adding other indicators to the chart to keep the script output easily identifiable.
The indicator is designed to be clean, without explicit buy/sell signals, following an institutional approach.
This indicator is perfect for traders who want a visually clear and powerful tool to trade based on trends, key levels and institutional behavior.
MestreDoFOMO MACD VisualMasterDoFOMO MACD Visual
Description
MasterDoFOMO MACD Visual is a custom indicator that combines a unique approach to MACD with stochastic logic and simulated Renko-based direction signals. It is designed to help traders identify entry and exit opportunities based on market momentum and trend changes, with a clear and intuitive visualization.
How It Works
Stylized MACD with Stochastic: The indicator calculates the MACD using EMAs (exponential moving averages) normalized by stochastic logic. This is done by subtracting the lowest price (lowest low) from a defined period and dividing by the range between the highest and lowest price (highest high - lowest low). The result is a MACD that is more sensitive to market conditions, magnified by a factor of 10 for better visualization.
Signal Line: An EMA of the MACD is plotted as a signal line, allowing you to identify crossovers that indicate potential trend reversals or continuations.
Histogram: The difference between the MACD and the signal line is displayed as a histogram, with distinct colors (fuchsia for positive, purple for negative) to make momentum easier to read.
Simulated Renko Direction: Uses ATR (Average True Range) to calculate the size of Renko "bricks", generating signals of change in direction (bullish or bearish). These signals are displayed as arrows on the chart, helping to identify trend reversals.
Purpose
The indicator combines the sensitivity of the Stochastic MACD with the robustness of Renko signals to provide a versatile tool. It is ideal for traders looking to capture momentum-based market movements (using the MACD and histogram) while confirming trend changes with Renko signals. This combination reduces false signals and improves accuracy in volatile markets.
Settings
Stochastic Period (45): Sets the period for calculating the Stochastic range (highest high - lowest low).
Fast EMA Period (12): Period of the fast EMA used in the MACD.
Slow EMA Period (26): Period of the slow EMA used in the MACD.
Signal Line Period (9): Period of the EMA of the signal line.
Overbought/Oversold Levels (1.0/-1.0): Thresholds for identifying extreme conditions in the MACD.
ATR Period (14): Period for calculating the Renko brick size.
ATR Multiplier (1.0): Adjusts the Renko brick size.
Show Histogram: Enables/disables the histogram.
Show Renko Markers: Enables/disables the Renko direction arrows.
How to Use
MACD Crossovers: A MACD crossover above the signal line indicates potential bullishness, while below suggests bearishness.
Histogram: Fuchsia bars indicate bullish momentum; purple bars indicate bearish momentum.
Renko Arrows: Green arrows (upward triangle) signal a change to an uptrend; red arrows (downward triangle) signal a downtrend.
Overbought/Oversold Levels: Use the levels to identify potential reversals when the MACD reaches extreme values.
Notes
The chart should be set up with this indicator in isolation for better clarity.
Adjust the periods and ATR multiplier according to the asset and timeframe used.
Use the built-in alerts ("Renko Up Signal" and "Renko Down Signal") to set up notifications of direction changes.
This indicator is ideal for day traders and swing traders who want a visually clear and functional tool for trading based on momentum and trends.
Pin Bar Highlighter OnlyAbsolutely — here’s a full **description and breakdown** of what the script does:
---
## 📜 Script Name:
**"Pin Bar Highlighter Only"**
---
## 🎯 Purpose:
This script **detects and highlights classic pin bar reversal candles** directly on the chart — without plotting any entry, stop loss, or take profit levels.
It’s designed for traders who:
* Want to manually assess trades
* Prefer a clean chart
* Use pin bar price action as a signal for potential reversals
---
## ✅ What It Does:
* **Scans each candle** to check if it qualifies as a **bullish** or **bearish pin bar**
* If valid:
* Plots a **green triangle below** bullish pin bars
* Plots a **red triangle above** bearish pin bars
* Keeps your chart **minimal and uncluttered**
---
## 📌 How It Detects a Pin Bar:
### 🔹 1. Candle Structure:
* Measures the total candle range: `high - low`
* Calculates the **body size**: `abs(close - open)`
* Calculates the **upper and lower wick sizes**
### 🔹 2. Pin Bar Criteria:
* The **wick (nose)** must be at least **2/3 of the total candle length**
* The **body** must be small — **≤ 1/3** of the total range
* The **body** must be located at **one end** of the candle
* The wick must **pierce the high/low** of the previous candle
---
## 📍 Bullish Pin Bar Requirements:
* Close > Open (green candle)
* Lower wick ≥ 66% of candle range
* Body ≤ 33% of range
* Candle **makes a new low** (current low < previous low)
### 📍 Bearish Pin Bar Requirements:
* Close < Open (red candle)
* Upper wick ≥ 66% of candle range
* Body ≤ 33% of range
* Candle **makes a new high** (current high > previous high)
---
## 🖼️ Visual Output:
* 🔻 Red triangle **above** bearish pin bars
* 🔺 Green triangle **below** bullish pin bars
---
## 🛠️ Example Use Cases:
* Identify **reversal points** at support/resistance
* Confirm signals with **VWAP**, supply/demand zones, or AVWAP (manually plotted)
* Use in **conjunction with other strategies** — without clutter
---
Sabbz Golden indicatorIndicator Name: Sabbz Golden Indicator
Short Title: Sabbz
Purpose: A comprehensive trading indicator designed for multiple trading styles (scalping, day trading, and trend following) by combining technical analysis tools such as EMAs, VWAP, support/resistance levels, order blocks, supply/demand zones, RSI, MACD, and volume analysis. It provides visual signals, trend analysis, and a dashboard for real-time decision-making.
Key Features
Exponential Moving Averages (EMAs):
Calculates four EMAs (Fast: 9, Medium: 21, Slow: 50, Trend: 200) to assess short, medium, and long-term trends.
Dynamic coloring based on trend direction:
Fast EMA: Lime (bullish), Red (bearish), Yellow (neutral).
Medium EMA: Blue (bullish), Orange (bearish), Gray (neutral).
Slow EMA: Green (bullish), Red (bearish), Purple (neutral).
Trend EMA: Green (bullish), Red (bearish).
Volume-Weighted Average Price (VWAP):
Plots VWAP with ±1σ deviation bands to identify dynamic support/resistance.
VWAP trend direction (bullish if close > VWAP and VWAP rising, bearish if close < VWAP and VWAP falling) informs trading signals.
Multi-Timeframe Analysis:
Incorporates 5-minute and 15-minute EMA (9 and 21) data to confirm trends across timeframes, enhancing signal reliability.
Support and Resistance Levels:
Detects key support/resistance levels using fractal-based pivot points (5-bar left/right lookback).
Tracks touches of levels (minimum 3 touches required) within a 50-bar lookback.
Levels are filtered to stay within ±0.5% of the current price to avoid clutter.
Break of structure (BoS) signals are generated when price breaks key levels by a user-defined threshold (default: 0.1%).
Order Blocks:
Identifies bullish and bearish order blocks based on strong price reversals with high volume.
Visualized as green (bullish) or red (bearish) boxes on the chart.
Supply and Demand Zones:
Detects fresh demand zones (price drops to a 10-bar low, bounces with high volume) and supply zones (price reaches a 10-bar high, reverses with high volume).
Plotted as blue (demand) or orange (supply) boxes, adjusted by ±0.5 ATR for width.
Scalping Signals:
Generates scalp long/short signals for 1-5 minute timeframes based on:
Short-term EMA trend (9 > 21 for long, 9 < 21 for short).
RSI oversold (<30, rising) for longs or overbought (>70, falling) for shorts.
MACD momentum (histogram positive and rising for longs, negative and falling for shorts).
Volume spike (volume > 1.5x 20-period SMA).
Price above/below VWAP.
Day Trading Signals:
Generates day trading long/short signals for 5-15 minute timeframes based on:
Medium-term trend (EMA 9 > 21 and 21 > 50 for long, opposite for short).
Break of key resistance (long) or support (short).
Multi-timeframe EMA confirmation (5m and 15m).
Volume spike.
Trend Following Signals:
Generates swing/position trading signals based on:
Strong trend (short, medium, long-term EMAs aligned, VWAP trend, and multi-timeframe confirmation).
Presence of fresh demand/supply zones or order blocks.
RSI not overextended (<60 for longs, >40 for shorts).
Volume Analysis:
Uses a 20-period SMA of volume to detect spikes (>1.5x SMA) and high volume (>2x SMA) for signal confirmation.
Dashboard:
Displays real-time data in a top-right table with:
Timeframe: Scalping, Day Trading, Trend Following.
Trend: Bullish, Bearish, Neutral, or Strong Bull/Bear based on EMA and VWAP conditions.
Signal: Long, Short, or Wait based on entry conditions.
Levels: Key support, resistance, VWAP, and RSI values with status (Overbought, Oversold, Neutral).
Color-coded for quick interpretation.
Visual Elements:
Plots EMAs, VWAP, support/resistance levels, order blocks, and supply/demand zones.
Entry signals are marked with triangles (up for long, down for short) of varying sizes (small for scalping, normal for day trading, large for trend following) and colors (e.g., aqua for scalp long, purple for scalp short).
Background coloring indicates trend strength (green for bullish, red for bearish, gray for neutral).
Alerts:
Configurable alerts for:
Scalping Long/Short entries.
Day Trading Long/Short entries.
Trend Following Long/Short entries.
Resistance/Support breaks.
Input Parameters
EMAs:
Fast EMA (default: 9), Medium EMA (21), Slow EMA (50), Trend EMA (200).
Support/Resistance:
Lookback (50 bars), Minimum Touches (3), Break Threshold (0.1%).
Scalping:
RSI Length (14), Overbought (70), Oversold (30), Volume MA (20).
Display Options:
Toggle signals, support/resistance levels, supply/demand zones, and order blocks (all default to true).
Usage
Scalping: Use on 1-5 minute charts for quick entries/exits based on scalp signals.
Day Trading: Use on 5-15 minute charts for break-of-structure trades with multi-timeframe confirmation.
Trend Following: Use on higher timeframes (e.g., 1H, 4H) for swing/position trades aligned with strong trends.
Dashboard: Monitor trend and signal status for all timeframes in real-time.
Alerts: Set up alerts to automate trade notifications.
Notes
Performance: The indicator is computationally intensive due to multi-timeframe calculations and array-based support/resistance logic. Test on your platform to ensure smooth performance.
Customization: Adjust input parameters (e.g., EMA lengths, RSI thresholds) to suit specific markets or trading styles.
Limitations: Signals are based on historical data and technical conditions; always combine with risk management and market context.
RSI.TrendContext
The Relative Strength Index (RSI) is one of the most widely used classical indicators in technical analysis, typically employed to identify overbought or oversold market conditions. It reflects the degree of upside or downside dominance within a specified period. However, in its standard form, RSI is not particularly effective as a standalone entry trigger.
The RSI.Trend indicator enhances the RSI to provide a more reliable method for distinguishing between bullish and bearish market regimes and offers specific entry triggers. It adds supplementary value to the pure RSI read.________________________________________
Concept
In trending markets, an Exponential Moving Average (EMA) of the price is often smoother and more stable than raw price data. As a result, the RSI calculated on this smoothed price (i.e., the EMA) tends to react earlier and more consistently than the standard RSI. Specifically:
• In uptrends, the RSI of the EMA tends to exceed the RSI of the original price.
• In downtrends, it tends to lag behind.
The difference between these two RSI readings provides a stable and less noisy measure of market bias—positive in uptrends, negative in downtrends. The crossing points can serve as entry triggers. This is, what the RSI.Trend is trying to capture.
________________________________________
The RSI.Trend indicator operates as follows:
• It first computes the 5-period EMA of the price series of the underlying ("EMA5").
• It calculates the 14-period RSI of the original price series ("RSI") as well as the 14-period RSI of EMA5 ("RSIEMA").
• It then determines the 14-period EMA of RSI ("RSI.MA") and RSIEMA ("RSIEMA.MA").
These values are used to define a Baseline and a Trigger Line:
• Baseline: The average of RSI and RSI.MA.
• Trigger Line: The average of RSIEMA and RSIEMA.MA.
Essentially, the baseline represents a smoother version of the RSI of the original price series, while the trigger line is a smoother version of the RSI on the EMA5 of the original price series.
Additionally, the RSI.Trend Background Value is calculated as the difference between the Trigger Line and the Baseline, slightly accelerated by incorporating the current bias of this difference. This acceleration causes the Background Value to react somewhat faster than the pure difference between the two lines.
How to use the RSI.Trend:
• As mentioned in the introductory context, during uptrends, the trigger line remains above the baseline; in downtrends, it stays below the baseline.
• A crossover of the baseline by the trigger line indicates a regime shift from bearish to bullish and can signal avoiding adding short positions, closing short positions, or adding long positions.
• A crossunder of the baseline by the trigger line indicates a regime shift from bullish to bearish and can signal avoiding adding long positions, closing long positions, or adding short positions.
• The level of the Trigger Line can serve as a confidence indicator; for instance, if the trigger line crosses under the baseline coming from very high values, it implies high confidence.
• The Background Value indicates the accelerated difference between the two lines:
o > 0 (Green background): Indicates a Bullish regime.
o < 0 (Red background): Indicates a Bearish regime.
The Background Value reacts slightly faster than line crossings due to its acceleration relative to the difference of the two lines.
Including these lines in the script besides the Background Value, provides insight into their levels and their origins, aiding in formulating confidence in an entry trigger, which the background value alone cannot provide. The change in slope of the trigger Line can also be used as an early and fast position-trigger.
Finally, the Background Value can be utilized in continuous trading scenarios (i.e., no entry points, always engaged) as a multiplier on a predefined max-exposure value, representing the current exposure as a fraction of that max-exposure.
The usage of RSI.Trend is also exemplified in the introductory chart.________________________________________
Final Notes
As with all indicators, the RSI.Trend is most effective when used in conjunction with other technical tools and market context. It does not predict future price movements; rather, it reflects current market dynamics and recent directional tendencies. Use it with discretion and as part of a broader trading strategy.
Auto FaustAuto Faust – Intraday Market Context & Structure
Auto Faust is a visual market overlay designed for intraday traders who want fast context without relying on signals or automation. It combines classic price tools — VWAP, EMAs, RSI, Chop Score, and market structure trendlines — into a single glanceable dashboard.
🔍 What It Does:
VWAP (Volume Weighted Average Price): Shows the day's fair value price anchor.
EMAs (3, 21, 113, 200): Map short-term to long-term trend alignment. Crossovers can be used for confluence or caution.
RSI (10): Monitors local momentum. Displayed in a compact table.
Chop Score: Measures how directional price action is. High chop = ranging conditions; low = trending.
Session High/Low Tracker: Tracks the daily extremes in real-time.
Volume Monitor: Shows current candle volume, color-coded vs previous bar (green = higher, red = lower).
Dynamic Support & Resistance Lines: Plotted from pivot highs/lows (not static levels).
Automatic Trendlines: Drawn from swing structure, updating live.
📊 How to Use:
Use EMAs + VWAP alignment to assess directional bias.
Confirm clean trends with low Chop Score and RSI support.
Watch for price interaction around dynamic S/R lines and trendline breaks.
Use volume coloring to assess if momentum is increasing or fading.
No buy/sell signals are generated — this is a trader-facing tool to guide discretionary decision-making.
MTF Candle Direction Forecast + Breakdown🧭 MTF Candle Direction Forecast + Breakdown 🔥📈🔼
This script is a multi-timeframe (MTF) price action dashboard that helps traders assess real-time directional bias across five customizable timeframes — with a focus on candle behavior, trend alignment, and confidence strength.
📌 What It Does
For each timeframe, this dashboard summarizes:
Current direction → Bullish, Bearish, or Neutral
Confidence score (0–100) → How strongly price is likely to continue in that direction
Candle strength → 🔥 icon appears if the current candle has a large body relative to its range
Trend alignment:
📈 = EMA9 is above EMA20
🔼 = Price is above VWAP
Color-coded background to visually reinforce directional state
Each row gives you a visual “at-a-glance” readout of what price is doing right now — not in the past.
💡 Why It’s Useful
✅ Direction forecasting based on price action
Instead of lagging indicators, this script prioritizes:
Candle body-to-range ratio (momentum)
Real-time VWAP/EMA structure
Immediate price positioning
✅ Confidence is quantified
The score (0–100) helps you judge how reliable each directional signal is:
90+ → Strong conviction
50–70 → Mixed but potentially valid
<40 → Weak move or early signal
✅ Timeframe confluence at a glance
See whether multiple timeframes are aligning directionally — helpful for scalping, day trading, or waiting for multi-timeframe breakout setups.
✅ Visual & intuitive
Icons, colors, and layout make it easy to scan your dashboard instead of deciphering charts or code.
🛠️ Adjustable Settings
Setting Description
Timeframe 1–5 Choose any timeframes to monitor (e.g., 5m, 15m, 1h, 4h)
Candle Display Mode Show trend color via emoji (🟢/🔴) or background shading
Strong Candle Threshold Adjust the body-to-range % needed to trigger 🔥 strength
Bullish/Bearish Background Customize label color coding
Neutral Background (opacity) Set transparency or styling for flat/consolidating zones
Table Location Place the dashboard anywhere on the chart
🎯 Use Cases
Scalpers: Confirm trend across 1m/5m/15m before entering
Day Traders: Use confidence score to avoid low-momentum setups
Swing Traders: Monitor higher timeframes for trend shifts while tracking intraday noise
VWAP/EMA traders: Quickly see when price is reclaiming or losing critical trend levels
🧠 What Makes It Unique?
Unlike generic trend meters or mashups of standard indicators, this script:
Uses live candle dynamics (not just closes or lagging values)
Computes directional bias and confidence together
Visualizes strength and structure in a compact, readable interface
Let’s you filter by price action, not just indicator alignment
💥 Why Traders Love Will Love It
✅ Instant clarity on which timeframes agree
✅ No more guessing candle strength or trend health
✅ Confidence score keeps you out of weak trades
✅ Works with any strategy — trend following, VWAP reclaim, EMA scalps, even breakouts
✅ Keeps your chart clean — all the context, none of the clutter
⚠️ Transparency🧬 Under the Hood
Powered by live candle body analysis, trend structure (EMA9 vs EMA20), and VWAP placement.
All scores are generated in real-time — No repainting or lookahead bias: all values are computed with lookahead=barmerge.lookahead_on
Confidence scores reflect the current candle only — they do not predict future moves but measure momentum and alignment in real-time
Labels update per bar and respond to subtle shifts in candle structure and trend indicators
✅ MTF Trend Snapshot (Live Output Example Shown in Chart Above)
This dashboard gives you a fast, visual summary of market trend and momentum across 5 timeframes. Here's what it's telling you right now:
🕔 5 Minute (5m)
📉 EMA Trend: Down
🔼 Price: Above VWAP
Direction: Bearish (42)
🟥 Weak bearish bias. Short-term pullback against a stronger trend. Use caution — lower confidence and mixed structure.
⏱️ 15 Minute (15m)
📈 EMA Trend: Up
🔼 Price: Above VWAP
Direction: Bullish (73)
🟩 Clean bullish structure with growing momentum. Solid for intraday confirmation.
🕧 30 Minute (30m)
📈 EMA Trend: Up
🔼 Price: Above VWAP
Direction: Bullish (77)
🟩 Stronger trend forming. Above VWAP and EMAs — building conviction.
🕐 1 Hour (1h)
📈 EMA Trend: Up
🔼 Price: Above VWAP
Direction: Bullish (70)
🟩 Confident, clean trend. Good alignment across indicators. Ideal timeframe for swing entries.
🕓 4 Hour (4h)
🔥 Strong Candle
📈 EMA Trend: Up
🔼 Price: Above VWAP
Direction: Bullish (100)
🟩 Full trend alignment with max momentum. Strong body candle + structure — high confidence continuation.
🧠 Quick Takeaway
🔻 5m is pulling back short term
✅ 15m through 4h are fully aligned Bullish
🔥 4h has max confidence — big-picture trend is intact
📈 Ideal setup for momentum traders looking to ride trend with multi-timeframe confirmation
Try pinning this dashboard to your chart during live trading to read price like a story across timeframes, and filter out weak setups with low-confidence noise.
Liquidity LinesLiquidity Lines Indicator
This advanced TradingView indicator identifies key liquidity zones on your price chart by detecting bullish and bearish engulfing candles, which often signify areas where liquidity accumulates. It helps traders visually spot potential support and resistance levels created by market participants’ stop-loss orders or pending orders.
Key Features :
-Aggregated Bars Option : Smooth out price data by grouping bars together, enabling clearer liquidity zone identification on higher timeframes or noisy charts.
-Upper Liquidity Lines : Displays dashed lines at recent highs where bearish engulfing patterns indicate potential resistance or supply zones.
-Lower Liquidity Lines : Displays dashed lines at recent lows where bullish engulfing patterns suggest potential support or demand zones.
-Customizable Colors : Choose your preferred colors for bullish (default black) and bearish (default white) liquidity lines for better visual distinction.
-Automatic Line Cleanup : Maintains chart clarity by automatically removing old liquidity lines after a configurable limit.
-Dynamic Alerts : Trigger alerts when price breaches upper or lower liquidity lines, signaling potential breakout or reversal opportunities.
Use Cases :
Algo Structure [ValiantTrader_]Explanation of the "Algo Structure" Trading Indicator
This Pine Script indicator, created by ValiantTrader_, is a multi-timeframe swing analysis tool that helps traders identify key price levels and market structure across different timeframes. Here's how it works and how traders can use it:
Core Components
1. Multi-Timeframe Swing Analysis
The indicator tracks swing highs and lows across:
The current chart timeframe
A higher timeframe (weekly by default)
An even higher timeframe (monthly by default)
2. Swing Detection Logic
Current timeframe swings: Identified when price makes a 3-bar high/low pattern
Higher timeframe swings: Uses the highest high/lowest low of the last 3 bars on those timeframes
3. Visual Elements
Horizontal lines marking swing points
Labels showing the timeframe and percentage distance from current price
An information table summarizing key levels
How Traders Use This Indicator
1. Identifying Key Levels
The indicator draws recent swing highs (red) and swing lows (green)
These levels act as potential support/resistance areas
Traders watch for price reactions at these levels
2. Multi-Timeframe Analysis
By seeing swings from higher timeframes (weekly, monthly), traders can:
Identify more significant support/resistance zones
Understand the broader market context
Spot confluence areas where multiple timeframes align
3. Measuring Price Distance
The percentage display shows how far current price is from each swing level
Helps assess potential reward/risk at current levels
Shows volatility between swings (wider % = more volatile moves)
4. Table Summary
The info table provides a quick reference for:
Exact price levels of swings
Percentage ranges between highs and lows
Comparison across timeframes
5. Trading Applications
Breakout trading: When price moves beyond a swing high/low
Mean reversion: Trading bounces between swing levels
Trend confirmation: Higher highs/lows in multiple timeframes confirm trends
Support/resistance trading: Entering trades at swing levels with other confirmation
Customization Options
Traders can adjust:
The higher timeframes analyzed
Whether to show the timeframe labels
Whether to display swing levels
Whether to show the info table
The indicator also includes price alerts for new swing highs/lows on the current timeframe, allowing traders to get notifications when market structure changes.
This tool is particularly valuable for traders who incorporate multi-timeframe analysis into their strategy, helping them visualize important price levels across different time perspectives
Liquidity Pools [ValiantTrader_]Liquidity Pools Indicator Explanation
This "Liquidity Pools" indicator by ValiantTrader is designed to help traders visualize potential areas of liquidity in the market. Here's how it works and how traders use it:
Core Functionality
Anchor Price: The indicator uses the opening price of each new bar as its anchor point (base reference price).
Liquidity Levels: It creates multiple price levels above and below this anchor price based on:
User-defined number of levels (default 24)
User-defined price range percentage (default 2%)
Liquidity Size Calculation: For each level, it calculates a "size" value (between 100-500) based on the distance from the anchor price.
How Traders Use It
Identifying Potential Support/Resistance: The horizontal lines mark price levels where liquidity might pool, which can act as support or resistance zones.
Order Placement: Traders may place limit orders near these levels anticipating price reactions.
Breakout Trading: When price breaks through multiple levels with conviction, it may signal a strong trend.
Mean Reversion: The indicator helps identify how far price has moved from its anchor point, which can be useful for mean-reversion strategies.
Size Interpretation: The numeric labels show relative "size" values - higher numbers indicate levels farther from anchor, potentially representing stronger liquidity zones.
Visualization
The indicator draws horizontal lines at each liquidity level
On the last bar, it displays numeric size values at each level
A table at the bottom right summarizes the levels and their sizes
Key Settings
Liquidity Levels: Controls how many levels to display (more levels show a wider price range)
Price Range: Determines how far apart the levels are spaced (percentage from anchor)
This tool is particularly useful for traders who incorporate liquidity concepts into their trading strategies, helping them visualize where resting orders might cluster in the market
Enhanced TEMA with Decimal PeriodsImagine you have a special type of moving average line called a TEMA (Triple
Moving Average). A TEMA is designed to be even quicker to react to price changes than a regular EMA (Exponential Moving Average), helping traders spot trends faster.
What this script does:
Super-Precise TEMA Length:
Normally, when you set the "length" or "period" for a moving average, you use whole numbers (like 10 days, 20 days).
This script lets you be more precise and use decimal numbers for the TEMA's length (like 26.0 days, or even 26.7 days). This allows for very fine-tuning.
How it gets the "Decimal" EMA part (if you choose to use it):
If you want a TEMA with a length of, say, 26.7:
The script first needs to calculate EMAs with a length of 26.7.
To do this, it cleverly calculates two regular EMAs: one with a length of 26 and another with a length of 27 (the whole numbers just below and above 26.7).
Then, it blends these two EMAs. Since 26.7 is closer to 27, it takes more from the "27-period EMA" and a bit less from the "26-period EMA." This mix gives you an EMA that acts like it has a 26.7 period.
Building the TEMA:
A TEMA isn't just one EMA. It's made by taking an EMA of an EMA, and then an EMA of that. It's like smoothing the line multiple times, but in a special mathematical way to make it faster.
So, this script:
-Calculates the first "decimal EMA" (e.g., for 26.7).
-Calculates another "decimal EMA" of that first EMA line (again, using 26.7).
-Calculates a third "decimal EMA" of the second EMA line (still using 26.7).
Finally, it combines these three EMAs using a special TEMA formula to get the final, quick-reacting TEMA line.
Option to Switch Off Decimals:
There's a setting ("Use Decimal Periods"). If you turn this off, the script will just use regular whole-number EMAs to build the TEMA (it will round down your decimal input, so 26.7 would become 26).
Plotting:
The final "Enhanced TEMA" line is drawn on your price chart.
In Simple Terms:
This script gives you a TEMA (a fast-moving average) that you can set up with very precise decimal lengths (like 26.7 instead of just 26 or 27).
It does this "decimal magic" by smartly blending two regular EMAs. You can also choose to use it like a normal TEMA with whole numbers if you prefer. The goal is to give traders a very responsive trend-following line that can be fine-tuned to a high degree of precision.
Ranging DetectionRange detection study v 0.1
Trying to find ranges on price charts. looking at H1 on EURUSD, the indicator will mark a line at the low and high of the last 10 candles, and mark the background grey if it detects a range - defined by how many candles since last high/low (default 3)
EMA Cross Strategy + Breakout Entry (Trend Filtered)A High-Probability Trading Strategy Using EMAs and Long-Term Trend Filters in Pine Script
In financial markets, successful trading often depends on identifying high-probability setups with consistent rules and clear confirmations. The Pine Script developed here combines the simplicity of exponential moving average (EMA) crossovers with the robustness of long-term trend filtering, enhancing entry timing and reducing exposure to false signals. This essay explains the strategy’s logic, technical components, strengths, and its potential effectiveness for active traders.
Introduction to the Strategy
This Pine Script trading strategy is built upon two foundational components:
1. EMA Crossovers: A well-established technique where a fast EMA (8-period) and a slower EMA (21-period) are used to detect short-term momentum shifts.
2. Trend Filtering Using SMA: A 100-period simple moving average (SMA) acts as a long-term trend indicator. Only trades in the direction of the dominant trend are considered valid.
These two elements are combined to create a high-probability, trend-following system that aims to capture meaningful price movements while avoiding low-quality entries that typically occur during sideways or choppy markets.
⸻
Core Entry Logic
The script defines two distinct entry conditions designed to complement each other:
1. Standard EMA Crossover Entry (Type A)
This is a classic momentum entry condition. When the 8 EMA crosses above the 21 EMA, it indicates a shift in short-term momentum. However, this signal alone is insufficient in many market conditions, especially when the broader trend is unclear or reversing. To mitigate this risk, the crossover is only accepted when the 100 SMA is in an uptrend, defined as the SMA currently being higher than its value on the previous bar. This ensures the strategy only takes long entries in bullish environments, aligning with the principle of trading with the trend.
2. Breakout Entry After Trend Reversal (Type B)
The second entry condition captures powerful “breakout” opportunities that often follow a fresh trend reversal. Specifically, when the 100 SMA transitions from a downtrend to an uptrend, the script starts a 15-bar lookback window. If, during that window, the price, 8 EMA, and 21 EMA all rise above the long-term SMA, it is considered a confirmation of trend strength and momentum alignment. A long entry is then signaled.
This condition is designed to capitalize on early participation in new uptrends, catching strong price expansions that typically follow a change in market direction.
⸻
Exit Logic
The exit logic is intentionally simple and tied to the same framework as entries. A position is exited when the 8 EMA crosses below the 21 EMA, and the 100 SMA remains in an uptrend. This ensures that exits are aligned with weakening momentum while the larger trend remains bullish. This avoids premature exits during minor pullbacks and focuses on retaining trades during sustained uptrends.
Notably, exits do not occur when the long-term trend has flipped bearish. This design choice prevents “reverse trend” noise from triggering exits too early and instead focuses purely on short-term weakness within a bullish macro backdrop.
⸻
Technical Components of the Script
The Pine Script is structured with clear and logical components:
1. Inputs: The user can customize the periods for the fast EMA, slow EMA, long-term SMA, and the trend-reversal lookback window (defaulted to 15 bars).
2. Trend Detection: The long-term trend is calculated using the slope of the 100 SMA. If the SMA is rising, the trend is marked as bullish and is visually plotted in green; otherwise, it is plotted in red.
3. State Management: The script tracks how many bars have passed since the long-term trend turned bullish. This is managed using a var integer variable that resets upon trend reversal and increments while the trend remains up.
4. Entry and Exit Signals: These are plotted as shape markers on the chart — green triangles for entry and red triangles for exit — providing visual clarity.
Each of these components works in harmony to ensure that trade signals are issued only in favorable environments with multiple confirmations.
⸻
Benefits of the Strategy
There are several key advantages to using this hybrid strategy:
1. Filters Out Choppy Markets
By requiring the long-term SMA to be in an uptrend for any entry or exit signal to be valid, the strategy avoids noisy, sideways price action where EMA crossovers are more likely to produce false signals.
2. Dual Entry Approach
The inclusion of two different entry types allows the strategy to both:
• Capture new trends as they emerge (Breakout Entry).
• Ride existing trends using EMA crossover logic (Standard Entry).
This dual approach balances early participation with trend confirmation, offering flexibility for different market conditions.
3. Clear Exit Criteria
By tying exits to a momentum weakening signal (EMA crossover down), traders are not left guessing when to exit. This supports consistent execution and reduces emotional decision-making.
4. Trend Alignment
Aligning both entry and exit decisions with the broader trend increases the probability that trades will move in the desired direction. This is a cornerstone of successful trend-following strategies.
5. Modular Design
The script’s modularity allows traders to easily expand it with backtesting functions, alerts, or additional filters like RSI, ATR, or volume-based conditions, depending on their individual trading needs.
⸻
Use Cases and Applications
This strategy is particularly well-suited for swing traders and position traders operating on the 4-hour or daily timeframes. It is also effective on trending assets like equity indices, major stocks, or cryptocurrencies with defined directional movement.
Additionally, this script can be used as a signal engine in a larger portfolio of strategies, where only trades with trend confirmation are allowed to proceed. It can also function as a discretionary trading aid, helping traders visually identify when technical conditions align favorably.
⸻
Conclusion
This enhanced EMA crossover strategy, powered by a long-term trend filter and a secondary breakout entry condition, offers a robust and disciplined approach to navigating financial markets. By focusing on trading in the direction of a confirmed uptrend and using both momentum and structural price behavior for entry confirmation, the strategy aims to minimize whipsaw trades and maximize participation in sustained bullish moves.
Its simple logic, visual clarity, and strong filtering mechanisms make it both practical for new traders and a valuable foundation for more advanced systems. Whether used as-is or further expanded with custom features, this Pine Script serves as an excellent tool for executing a structured, high-probability trading plan.
Doji Candle with Horizontal Lines Raja Saien🔰 Doji Candle with Horizontal Lines By Raja Saien
Created by: Wasif Samejo
Script Type: Visual Doji Identifier with Key Level Markers
Overlay: Yes
📌 Description:
This indicator helps you visually identify Doji candles and automatically plots horizontal key levels based on their high, low, and a defined price zone.
A Doji candle is a powerful signal in price action trading that shows indecision in the market, often leading to strong reversals or breakouts. This script is especially useful for traders who want to mark such candles and prepare for possible trade setups.
📈 Features:
✅ Automatic Doji Detection – Based on customizable body size (20.0% of the total range).
✅ Highlights Doji Candle – Visually changes the bar color to yellow when a Doji is found.
✅ High/Low Horizontal Lines – Marks the candle's actual high and low for better visual analysis.
✅ Zone Lines Above/Below – Draws outer levels to form a zone around the Doji, helpful for breakout setups.
Zone Line Color – Set the color for the upper and lower zone lines.
High/Low Line Color – Set the color for the high and low candle levels.
💡 Combine this indicator with trendlines, volume, or Fibonacci tools for better confirmation.
Same Date Last Year PatternThis tool is designed to help you analyze past price patterns from the same date last year to gain insights into potential market behavior today. It’s perfect for traders who want to spot recurring trends or directional cues (buy or sell signals) based on historical candle formations, rather than focusing on exact price levels. Here’s how it works and how to use it:
How It Works
Historical Lookback: The script examines the price action from the same calendar date last year (e.g., May 26, 2024, for today, May 26, 2025). Since markets may be closed on weekends or holidays (like Memorial Day), it automatically finds the nearest trading day with available data.
Pattern Detection: Instead of showing raw prices (which may not match today’s higher or lower price range), it analyzes the candle’s shape and direction. It tells you if the past candle was bullish (closing higher, suggesting a potential buy) or bearish (closing lower, suggesting a potential sell), along with details like wick size and the trend leading up to it.
Contextual Insight: It checks the trend from the previous few days (uptrend, downtrend, or sideways) to give you a sense of the market’s mood back then. This helps you decide if the pattern might repeat.
Prediction Suggestion: Based on last year’s candle direction, it offers a simple guess for the next candle’s potential move (e.g., bullish or bearish), though this is for reference only and not a guaranteed signal.
Key Features
Customizable Asset Type: You can set it for "Traditional" markets (e.g., stocks, forex) or "Crypto" (e.g., Bitcoin), adjusting how it searches for data based on whether the market runs 24/7.
Visual Cues: Labels appear on your chart showing the pattern and prediction, with colors (green for bullish, red for bearish, blue for prediction) to make it easy to read.
Range Consideration: This tool works best when the chart’s price range is around 1000 (e.g., stocks trading near $1000 or crypto pairs with similar values). Outside this range, the label positioning might not align perfectly due to scaling differences.
How to Use
Add to Chart: Load this script into TradeLocker’s indicator section on a daily chart for best results.
Select Asset Type: In the settings, choose "Traditional" for stocks or forex, or "Crypto" for 24/7 markets like Bitcoin.
Check Data: On the same date each year (e.g., May 26), it will display the pattern from last year’s nearest trading day. Ensure your chart has at least 455 days of historical data loaded to cover the search range.
Interpret Results: Look at the label to see the pattern (e.g., "Bullish Candle, Potential Buy"), trend context, and prediction. Use this to inform your trading decisions, but combine it with other tools for confirmation.
Important Notes
Limitations: It may show "No Data Found" if historical data isn’t available within its search window (up to 90 days around the target date for traditional markets). This is more likely for weekends or holidays. For best results, test it on assets trading around the 1000 price range.
Not a Guarantee: The prediction is based solely on last year’s candle and trend, not a definitive signal. Use it as a guide alongside your strategy and market analysis.
Customization: If you need it to work outside the 1000 range or add more pattern details (e.g., specific candlestick types), let the community know, and we can refine it!
This tool was crafted to help traders explore historical patterns in a user-friendly way. Share your feedback or suggestions in the TradeLocker community to make it even better!
EMA 9/21 Cross + Volume FilterThis indicator plots fast (9-period) and slow (21-period) EMAs and highlights bullish or bearish crossovers only when volume exceeds its 20-period average, filtering out low-participation whipsaws. It places “UP”/“DN” triangles on qualifying crosses and includes built-in alertcondition() triggers plus a single alert() call, so one “Any alert() function call” alert delivers real-time push, e-mail, or webhook notifications. Adjustable inputs: EMA lengths, volume-SMA length, and a toggle to show/hide signal labels. Ideal for trend-following scalps or swing entries on any timeframe and ticker.