shaggydoo

BKSqueeze

shaggydoo Telah dikemas kini   
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.
Nota Keluaran:
Improved in-squeeze calculation - now works for all symbols including forex
Nota Keluaran:
Updated for consistency
Nota Keluaran:
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.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?