OPEN-SOURCE SCRIPT

GAP Bands

""
Introduction
Gap trading is a simple and disciplined approach to buying and shorting stocks. Essentially, one finds stocks that have a price gap from the previous close, then watches the first hour of trading to identify the trading range. Rising above that range signals a buy, while falling below it signals a short.

What is a Gap?
A gap is a change in price levels between the close and open of two consecutive days. Although most technical analysis manuals define the four types of gap patterns as Common, Breakaway, Continuation and Exhaustion, those labels are applied after the chart pattern is established. That is, the difference between any one type of gap from another is only distinguishable after the stock continues up or down in some fashion. Although those classifications are useful for a longer-term understanding of how a particular stock or sector reacts, they offer little guidance for trading.""" (Definition from StockCharts)


I plot gaps and add a band to them with volatility to make a decision about how important the current gap in terms of our price movement.





gapbandsgapsVolatility

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal