OPEN-SOURCE SCRIPT

T Minus 4 Hours

45
Support and Resistance is a large part of price structure. However many complicate it with increasing exotic (and often valueless) derivatives and permutations.

This is very simple, it plots the high and low of the first 4 hours of the day. Think of it as a frame of reference, if the day is mean reversion or neutral (about 70% of the time) price bounces around these levels quite frequently.
If price travels to the bottom of the box, and moves below, and then re-enters the box, hit the buy button. If price travels to the top of the box, and moves above, and then re-enters the box, hit the sell button.
If price travels down to the bottom of the box, and moves below, and then tests the box, if that test fails and price continues down - hit the sell button.
If price travels up to the top of the box, and move above, and then tests the box, if that test fails and price continues up - hit the buy button.

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.