PulseHub
OPEN-SOURCE SCRIPT

Crypto Intraday Engine

537
Crypto Intraday Engine is a market-structure indicator designed specifically for the continuous, 24-hour nature of cryptocurrency markets.
The script organizes intraday market information and answers three clear questions:
• What is the current market context?
• Where is price located relative to the nearest structural zones?
• What structural event is currently being observed?
The answers are displayed in a compact dashboard:
CONTEXT
LOCATION
STATUS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ ORIGINALITY AND PURPOSE
Crypto Intraday Engine combines four market concepts:
• UTC Daily VWAP;
• UTC Opening Range;
• ATR-adjusted zones based on confirmed pivots;
• closed-bar price-reaction observation.
These elements are not simply placed together on one chart as separate indicators. They operate as one connected analytical sequence.
VWAP defines the direction of the current market context.
Opening Range shows whether that context has gained additional intraday strength.
Confirmed pivot zones define the nearest structural location of price.
The reaction-observation mechanism describes what happens after price interacts with that zone.
The dashboard translates the entire sequence into three intuitive layers:
Context → Location → Status
The purpose of this combination is to help users analyze intraday structure through one consistent framework instead of interpreting several unrelated tools independently.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟡 UTC DAILY VWAP
The script calculates a volume-weighted average price from the beginning of each UTC day.
The calculation uses cumulative values of:
• HLC3 price;
• trading volume;
• time elapsed since 00:00 UTC.
Daily VWAP acts as the central reference for determining market context.
Cryptocurrency markets operate continuously and do not have one universal exchange session. Using 00:00 UTC provides a consistent daily reset that can be applied across different cryptocurrency instruments and exchanges.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌡 ATR-BASED NEUTRAL AREA
Price is not classified as Bullish or Bearish immediately after crossing VWAP.
The indicator creates a neutral area around Daily VWAP using a configurable multiple of Average True Range.
Default value: 0.20 ATR
This area adjusts to current volatility and reduces frequent context changes when price fluctuates close to VWAP.
The dashboard can display the following context states:
• Strong Bullish;
• Bullish;
• Neutral;
• Bearish;
• Strong Bearish.
Bullish context means that the closing price is above Daily VWAP and outside the ATR-based neutral area.
Bearish context means that the closing price is below Daily VWAP and outside the ATR-based neutral area.
Neutral context means that price remains within the volatility-adjusted area surrounding VWAP.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟧 UTC OPENING RANGE
The Opening Range is calculated from the first part of each UTC day.
Available periods:
• 15 minutes;
• 30 minutes;
• 60 minutes.
Default value: 30 minutes
Opening Range adds a second layer of information to the context defined by VWAP.
After the Opening Range is complete:
• Bullish context becomes Strong Bullish when price closes above the Opening Range high;
• Bearish context becomes Strong Bearish when price closes below the Opening Range low.
This makes it possible to distinguish a standard directional context from a situation in which price has also moved beyond the initial range of the UTC day.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 SUPPORT AND 🔴 RESISTANCE ZONES
Support and Resistance zones are created from confirmed pivot lows and pivot highs.
A pivot is confirmed only after the required number of candles has formed on both sides of the pivot point.
Support zones extend upward from confirmed pivot lows.
Resistance zones extend downward from confirmed pivot highs.
The vertical depth of each zone is calculated using ATR rather than a fixed number of price points.
Default zone depth: 0.60 ATR
This allows the zone dimensions to adapt to:
• different cryptocurrency prices;
• changes in market volatility;
• different intraday timeframes.
The script stores recent confirmed zones and displays:
• the nearest valid Support zone at or below the current price;
• the nearest valid Resistance zone at or above the current price.
A zone is removed when a candle closes beyond its outer boundary by more than the configured ATR buffer.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 PRICE LOCATION
The Location row shows where the current candle is positioned relative to the nearest valid structural zones.
Possible values:
• At Support;
• At Resistance;
• Between Zones;
• Compressed Area;
• No Zone.
This row helps users understand where price is located within the current market structure.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
↔️ COMPRESSED AREAS
The indicator measures the distance between the nearest Support and Resistance zones.
When this distance is below the configured ATR threshold, the area is classified as compressed.
Default minimum distance: 0.25 ATR
Overlapping zones are also classified as a compressed area.
The dashboard displays:
Location: Compressed Area
Status: Zones Close Together
This status indicates that the nearest structural boundaries are located within a relatively narrow range adjusted for current volatility.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔎 CLOSED-BAR REACTION OBSERVATION
The script contains a sequential mechanism for observing price behavior after price reaches a structural zone.
Support observation
Observation of a Support zone can begin when:
• the market context is Bullish;
• price reaches the nearest Support zone;
• Support and Resistance are not in a compressed area;
• the zone has not already been evaluated by the algorithm.
A Support Reaction is detected when a subsequent closed candle returns above:
• the upper boundary of the Support zone;
• UTC Daily VWAP.
Resistance observation
The opposite conditions are applied to Resistance zones.
Observation can begin when:
• the market context is Bearish;
• price reaches the nearest Resistance zone;
• Support and Resistance are not in a compressed area;
• the zone has not already been evaluated by the algorithm.
A Resistance Reaction is detected when a subsequent closed candle returns below:
• the lower boundary of the Resistance zone;
• UTC Daily VWAP.
The number of candles available for observation is controlled by the Reaction Observation Window parameter.
Default value: 3 closed candles
Each zone is evaluated once. This prevents the same structural area from repeatedly generating identical states.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 INDICATOR DASHBOARD
The dashboard is designed to be read from top to bottom.
🧭 CONTEXT
Shows the directional relationship between:
• closing price;
• UTC Daily VWAP;
• the ATR-based neutral area;
• the completed Opening Range.
Possible values:
• Strong Bullish;
• Bullish;
• Neutral;
• Bearish;
• Strong Bearish.
📍 LOCATION
Shows the position of price relative to the nearest valid zones.
Possible values:
• At Support;
• At Resistance;
• Between Zones;
• Compressed Area;
• No Zone.
🔎 STATUS
Describes the current structural condition or observation stage.
Possible states include:
• Monitoring Market;
• Monitoring Support;
• Monitoring Resistance;
• Observing Support Reaction;
• Observing Resistance Reaction;
• Support Reaction Detected;
• Resistance Reaction Detected;
• Bullish Context at Resistance;
• Bearish Context at Support;
• Zones Close Together;
• Context Changed;
• Zone Invalidated;
• Reaction Window Expired;
• Support Already Evaluated;
• Resistance Already Evaluated.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 COLOR LOGIC
Dashboard colors are used to visually separate different types of information:
• Green identifies Bullish context or Support;
• Red identifies Bearish context or Resistance;
• Blue identifies active observation or a detected reaction;
• Orange identifies a change, compression, or structural warning;
• Gray identifies a neutral monitoring state.
The color system helps users read the dashboard more quickly and distinguish between different categories of information.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛠 HOW TO USE THE INDICATOR
Crypto Intraday Engine is designed for standard candlestick charts of cryptocurrency pairs.
Recommended timeframe range: 3 to 15 minutes
A 5-minute chart is a practical starting point for observing the complete indicator workflow.
Read the dashboard in the following order:
1. Context shows the broader intraday environment.
2. Location shows where price is positioned relative to the nearest structure.
3. Status describes the structural event currently being observed or already detected.
The chart displays:
• UTC Daily VWAP;
• UTC Opening Range;
• the nearest Support zone;
• the nearest Resistance zone;
• a compact informational dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ INPUTS
OPENING RANGE, MINUTES
Defines the duration of the Opening Range calculated from 00:00 UTC.
Available values:
• 15;
• 30;
• 60.
ATR LENGTH
Defines the Average True Range period used to calculate volatility-adjusted distances and zone dimensions.
PIVOT LEFT AND PIVOT RIGHT
Define how many candles must form to the left and right of a pivot before it is confirmed.
Higher values generally create fewer zones while making them broader and more structurally significant.
Lower values generally create more frequent local zones.
ZONE DEPTH, ATR
Defines the vertical depth of Support and Resistance zones.
ZONE INVALIDATION BUFFER, ATR
Defines how far a candle must close beyond a zone boundary before that zone is removed.
MINIMUM GAP BETWEEN ZONES, ATR
Defines the distance at which the nearest Support and Resistance zones are classified as a compressed area.
VWAP NEUTRAL DISTANCE, ATR
Defines the size of the neutral area surrounding UTC Daily VWAP.
REACTION OBSERVATION WINDOW
Defines the number of closed candles during which a reaction is observed after price reaches a structural zone.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⏱ CONFIRMATION AND REAL-TIME BEHAVIOR
Dashboard values and reaction events are updated using closed candles.
Pivot zones require confirmation.
A zone appears only after the configured number of Pivot Right candles has completed.
The zone is visually anchored to the original pivot candle, but in real time it becomes available only after confirmation.
This is important to consider when reviewing historical charts.
Daily VWAP and Opening Range reset at 00:00 UTC.
Support and Resistance zones do not automatically reset at the beginning of a new UTC day.
They remain available until:
• price invalidates the zone;
• the zone is removed because of the internal zone-storage limit.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS
Crypto Intraday Engine uses mechanical definitions of:
• market context;
• confirmed pivots;
• Support and Resistance zones;
• zone-removal conditions;
• structural reactions.
These definitions may differ from a user’s discretionary interpretation of market structure.
A detected reaction means that the predefined closed-bar conditions have been met.
Subsequent price behavior may differ depending on the instrument, timeframe, liquidity, exchange, and current market volatility.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 INFORMATIONAL ALERTS
Available alerts correspond to structural events:
• price reached a Support zone;
• price reached a Resistance zone;
• Support Reaction Detected;
• Resistance Reaction Detected;
• Context Changed;
• Zone Invalidated;
• Reaction Window Expired;
• Zones Close Together.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📘 SUMMARY
Crypto Intraday Engine brings intraday context, structural price location, and closed-bar reactions together in one consistent, sequential, and visually intuitive framework for analyzing cryptocurrency markets.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.