shaggydoo

BKSqueeze

shaggydoo Atualizado   
This is a price volatility compression and expansion indicator that uses the ratio of the Bollinger Band and Keltner Ratio.
Red segments indicate extreme price volatility compression that can be ideal entry points for stock/futures/forex and/or options positions.
Aqua segments indicate price volatility is expanding.
Blue segments indicate price volatility is compressing - can be used as an exit point or partial scale out point.
Note that the indicator doesn't indicate direction. One suggestion is to use the DMI indicator for this purpose - really depends on how early you enter the trade.
Suggest using a time period of 15 bars for volatile stocks, such as TSLA for example, otherwise a period of 20 bars suits most stocks/futures/forex symbols.
Notas de Lançamento:
Improved in-squeeze calculation - now works for all symbols including forex
Notas de Lançamento:
Updated for consistency
Notas de Lançamento:
Overlayed a momentum indicator for direction:
Aqua bar indicates uptrend momentum is increasing.
Blue bar indicates uptrend momentum is decreasing.
Red bar indicates downtrend momentum is increasing.
Yellow bar indicates downtrend momentum is decreasing.

Also added early indication of BKRatio squeeze break out:
Orange: BKRatio in squeeze and rising - indicates potential of breakout - early indication to enter prior to breakout.
Red: BKRatio in squeeze and falling or flat - indicates still in squeeze - lower potential of breakout.
Aqua: BKRatio out of squeeze and volatility increasing - initial Aqua segment can be effective entry - depends if using stock, futures or options.
Blue: BKRatio out of squeeze and volatility decreasing - can indicate a potential exit point or scale out point.
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?