seancsnm

Unfilled Gap Detector

This indicator displays gaps on a chart within a specified range which have not been filled. It offers the ability to set the minimum gap size to detect as a multiple of the average true range (ATR), as well as the allowed distance from a gap fill for the gap to be considered filled. The use of ATR allows the gap threshold to dynamically change as the stock price and volatility change over time. Lastly, it offers the ability to show gaps which have been filled in addition to unfilled gaps.

The following describes each input's effect on the indicator.
  • Bars to Search Back: specifies how many bars back in the chart to search for gaps and gap fills (maximum 5000).
  • ATR Length: specifies the length of the ATR() function used for thresholding
  • Minimum ATR Multiple For Gap Detection: The minimum gap size as a multiple of the ATR
  • Minimum ATR Multiple For Gap Fill: The minimum distance between a bar high/low and a gap for it to be considered "filled" as a multiple of ATR

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?