PROTECTED SOURCE SCRIPT
Aggiornato

Morning Range

93
Overview
The Morning Range Indicator highlights the high and low of the market session from 6 AM to 10AM, providing key levels for potential breakout trades. The box dynamically updates in real-time, extending until 4 PM, and adjusts color based on price action.

This tool is ideal for traders looking to identify breakout opportunities and visualize key intraday price ranges.

How It Works
Session High & Low (6 AM - 10 AM)

The indicator tracks the highest high and lowest low within this time window.
Once 10 AM passes, the high and low are locked in and will not change.
Box Extends Until 4 PM

The session box remains visible throughout the trading day.
It provides a visual reference for potential breakout zones.
Dynamic Box Coloring

Gray (Neutral): Neither high nor low is broken.
Green: Only the high is broken before 4 PM.
Red: Only the low is broken before 4 PM.
Yellow: Both high and low are broken before 4 PM.
Live Updating Box

The box appears as soon as the session begins at 6 AM.
It dynamically updates the high and low until 10 AM.
Alerts for Breakouts
This indicator includes built-in alert conditions, so you can set up TradingView alerts without modifying the script.

Morning Range High Broken → Triggers when price breaks above the morning high.
Morning Range Low Broken → Triggers when price breaks below the morning low.
To set alerts:

Click the Alerts (⏰) icon in TradingView.
Select Condition → "Morning Range High Broken" or "Morning Range Low Broken".
Choose your preferred notification method (popup, email, webhook, etc.).
Click Create to activate the alert.
Who This Is For
✔ Intraday & Scalp Traders – Identify key breakout levels for short-term trades.
✔ Futures & Forex Traders – Works great for markets like NQ, ES, Gold, and FX pairs.
✔ Breakout & Reversal Traders – Use the high/low boundaries as support & resistance levels.

Customization
This indicator automatically updates every day and requires no manual input.
You can change alert settings via TradingView’s built-in alert system.

How to Use This Indicator
Watch for breakouts above/below the morning range as potential trade opportunities.
Combine with volume, momentum indicators, or footprint charts for confirmation.
Use the box color to visually assess whether price action is bullish (green), bearish (red), or ranging (gray).
Note di rilascio
Overview
The Morning Range Indicator highlights the high and low of the market session from 5 AM to 9 AM, providing key levels for potential breakout trades. The box dynamically updates in real-time, extending until 3 PM, and adjusts color based on price action.

This tool is ideal for traders looking to identify breakout opportunities and visualize key intraday price ranges.

How It Works
Session High & Low (5 AM - 9 AM)

The indicator tracks the highest high and lowest low within this time window.
Once 9 AM passes, the high and low are locked in and will not change.
Box Extends Until 3 PM

The session box remains visible throughout the trading day.
It provides a visual reference for potential breakout zones.
Dynamic Box Coloring

Gray (Neutral): Neither high nor low is broken.
Green: Only the high is broken before 3 PM.
Red: Only the low is broken before 3 PM.
Yellow: Both high and low are broken before 3 PM.
Live Updating Box

The box appears as soon as the session begins at 5 AM.
It dynamically updates the high and low until 9 AM.
Alerts for Breakouts
This indicator includes built-in alert conditions, so you can set up TradingView alerts without modifying the script.

Morning Range High Broken → Triggers when price breaks above the morning high.
Morning Range Low Broken → Triggers when price breaks below the morning low.
To set alerts:

Click the Alerts (⏰) icon in TradingView.
Select Condition → "Morning Range High Broken" or "Morning Range Low Broken".
Choose your preferred notification method (popup, email, webhook, etc.).
Click Create to activate the alert.
Who This Is For
✔ Intraday & Scalp Traders – Identify key breakout levels for short-term trades.
✔ Futures & Forex Traders – Works great for markets like NQ, ES, Gold, and FX pairs.
✔ Breakout & Reversal Traders – Use the high/low boundaries as support & resistance levels.

Customization
This indicator automatically updates every day and requires no manual input.
You can change alert settings via TradingView’s built-in alert system.

How to Use This Indicator
Watch for breakouts above/below the morning range as potential trade opportunities.
Combine with volume, momentum indicators, or footprint charts for confirmation.
Use the box color to visually assess whether price action is bullish (green), bearish (red), or ranging (gray).
Note di rilascio
🆕 What's New?
✅ Live Box Now Extends to 4 PM at 6 AM:

Previously, the live box dynamically extended over time.
Now, as soon as the box starts at 6 AM, it immediately extends to 4 PM for better visualization.
✅ Session End Time Set at 6 AM:

The script now pre-sets the session end time at 6 AM using timestamp(year, month, day, 15, 0), ensuring the box remains visible for the entire trading session.
✅ Historical Boxes Still Function Properly:

Historical morning range boxes still store correctly at 4 PM, maintaining accurate session records.
✅ Live Box High/Low Updates Until 10 AM:

The high/low of the morning range continues updating until 10 AM, ensuring accurate session data collection.
✅ Alerts & Bias Logic Remain Unchanged:

Price break alerts for high/low breaches still work as expected.
Bias conditions (bullish, bearish, neutral, indecisive) remain unchanged.
🐞 Bug Fixes & Optimizations
Fixed potential issues with box updates.
Improved script efficiency by setting sessionEndTime at 6 AM, reducing unnecessary updates.
Ensured proper tracking of historical data without interference from live box behavior.
🎯 How This Helps You:
✔ Clearer visualization of the morning range throughout the session.
✔ No more waiting for the box to extend—it's fully visible at 6 AM.
✔ Accurate tracking of session bias and breakouts.
✔ More efficient script performance with optimized calculations.
Note di rilascio
Updated chart example

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.