OPEN-SOURCE SCRIPT
T Minus 4 Hours

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.
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.