OPEN-SOURCE SCRIPT

US Market Support & Resistance

Updated
US Market Support & Resistance Indicator (For 5-30 Minute Timeframes)
[Illustrative image of the Support & Resistance indicator on a chart, with shaded area between levels and trend identification]snapshot

This indicator plots key support and resistance levels for the US market based on the high and low of the first candle at the market open. It also shades the area between these levels with a color that dynamically changes to indicate the current trend:
snapshot
* Green: Price is above the resistance level, suggesting a potential uptrend.
* Red: Price is below the support level, suggesting a potential downtrend.
* Gray: Price is trading between the support and resistance levels, suggesting a sideways trend.
Additionally, the indicator displays a small dashboard in the top right corner of the chart showing the current trend ("Upward", "Downward", or "Sideways") in the corresponding color.
snapshot
Key Features:
* US Market Time Identification: Accurately identifies US market open and close times in UTC and colors candles red during these times.
* Support & Resistance Plotting: Plots support and resistance lines at the high and low of the first candle at the market open and extends them infinitely on the chart.
* Shaded Area Between Levels: Shades the area between the support and resistance lines with a color that dynamically changes based on the current price location relative to these levels.
* Trend Display: Displays a dashboard showing the current trend based on the shaded area's color.
* Open Alert: Issues an alert when the US market opens.
* Supported Timeframes: Works on timeframes less than 30 minutes and greater than 5 minutes.
* Economic News: Not recommended for use during periods of sporadic economic news releases, as sudden price fluctuations may cause false signals.
How to Use:
* Add the indicator to your chart, ensuring the timeframe is between 5 and 30 minutes.
* Wait for the US market to open.
* Observe the shaded area's color and the dashboard to identify the current trend.
* Use the support and resistance levels to make trading decisions, keeping in mind not to rely solely on it during news releases.
[Illustrative image of the dashboard showing the current trend]
Caution: This indicator relies on support and resistance levels drawn at the US market open and may not always be accurate, especially during periods of high volatility. It should be used in conjunction with other technical analysis tools to confirm the trend and make informed trading decisions.
Note: This description is designed to be compliant with TradingView's policies on indicator publishing.
Release Notes

"A new feature has been introduced to maintain the marking of the previous American market open candle. This enhancement aims to provide a clearer view for users and improve the accuracy of price direction predictions.".



forecastingoptions

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer