OPEN-SOURCE SCRIPT
Updated CAT Month Opening Range

A trading range which is formed during the first three trading day of any month sets an important "Month Opening Range".
The lowest price made during the first three trading days can be considered the Monthly Support level (see the green line drawn by the indicator).
The highest price made during the first three trading days can be considered the Monthly Resistance level (see the red line drawn by the indicator).
In an Up trending market price tends to break over the upper edge of the Month Opening Range and keep moving higher at the very least until the middle of that month.
In an Up trending market once price broke out of the Month Opening Range, the Monthly Resistance level tends to work as a support.
In a Down trending market price tends to break under the lower edge of the Month Opening Range and keep moving higher at the very least until the middle of that month.
In a Down trending market once price broke under the Month Opening Range, the Monthly Support level tends to work as a resistance
There are may ways to use that instrument:
(1) Trend Confirmation.
The first three days of a month tends to bring volatile trading. The market sets boundaries for the following four trading weeks.
Once the range has been set, swing traders may wait for the market to break out of the range and consider that direction of the prevailing trend direction.
(2) Short "Failed Breakout" setup
Quite often price breaks out of the Month Opening Range on the fourth or fifth trading day of a month but then drops back into the range.
That failed breakout quite often is followed by decline back down to the Month Support level (the lower edge of the Month Opening Range).
(3) Long "Failed Breakdown" setup
Quite often price breaks down under the Month Support on the fourth or fifth trading day of a month but then pops back up over the Monthly Support.
That failed breakdown quite often is followed by a rally targeting to retest the Monthly Resistance (the red line).
The indicator generates signals, trade set-ups and alerts that are for educational and hypothetical purposes only and shall not be considered trade recommendations.
Any signals or trading setups drawn by the indicator is not to be construed as an offer to sell or the solicitation of an offer to buy, nor is it to be construed as a recommendation to buy, hold or sell (short or otherwise) any security. All users of the indicator must determine for themselves what specific investments to make or not make and are urged to consult with their own independent financial advisors with respect to any investment decision.
The lowest price made during the first three trading days can be considered the Monthly Support level (see the green line drawn by the indicator).
The highest price made during the first three trading days can be considered the Monthly Resistance level (see the red line drawn by the indicator).
In an Up trending market price tends to break over the upper edge of the Month Opening Range and keep moving higher at the very least until the middle of that month.
In an Up trending market once price broke out of the Month Opening Range, the Monthly Resistance level tends to work as a support.
In a Down trending market price tends to break under the lower edge of the Month Opening Range and keep moving higher at the very least until the middle of that month.
In a Down trending market once price broke under the Month Opening Range, the Monthly Support level tends to work as a resistance
There are may ways to use that instrument:
(1) Trend Confirmation.
The first three days of a month tends to bring volatile trading. The market sets boundaries for the following four trading weeks.
Once the range has been set, swing traders may wait for the market to break out of the range and consider that direction of the prevailing trend direction.
(2) Short "Failed Breakout" setup
Quite often price breaks out of the Month Opening Range on the fourth or fifth trading day of a month but then drops back into the range.
That failed breakout quite often is followed by decline back down to the Month Support level (the lower edge of the Month Opening Range).
(3) Long "Failed Breakdown" setup
Quite often price breaks down under the Month Support on the fourth or fifth trading day of a month but then pops back up over the Monthly Support.
That failed breakdown quite often is followed by a rally targeting to retest the Monthly Resistance (the red line).
The indicator generates signals, trade set-ups and alerts that are for educational and hypothetical purposes only and shall not be considered trade recommendations.
Any signals or trading setups drawn by the indicator is not to be construed as an offer to sell or the solicitation of an offer to buy, nor is it to be construed as a recommendation to buy, hold or sell (short or otherwise) any security. All users of the indicator must determine for themselves what specific investments to make or not make and are urged to consult with their own independent financial advisors with respect to any investment decision.
Release Notes
v.2 fixed a bug, a shortened holiday sessions and shortened Sunday sessions should not be taken into consideration when we calculate the Month Opening RangeRelease Notes
v.2 published on Jan 9, 2025added labels for Monthly Resistance and Monthly Support
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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 TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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 TradingView. Read more in the Terms of Use.