shaggydoo

BKSqueeze

shaggydoo Uppdaterad   
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.
Versionsinformation:
Improved in-squeeze calculation - now works for all symbols including forex
Versionsinformation:
Updated for consistency
Versionsinformation:
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.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?