prashanthraju

Body Gap Detector

prashanthraju Telah dikemas kini   

This script was inherited from "GAP DETECTOR" by Asch- and the modified version is being published with consent of the author.

This script identifies gap up or gap down between candle bodies (for the selected time frame). The original script has been reworked to consider Open/Close instead of the High/Low. It identifies "Gap" up/down and indicates them with markers drawn from "Open/Close" of one candle to the "Close/Open" of another.

The default setting is to consider the last 1500 candles. "Gap Up" is indicated by Green bars and "Gap Down" is indicated with Red bars.
Nota Keluaran:
Name change.
Nota Keluaran:
Performance update. Can traverse up to 5000 candles in history (depending on system capabilities). Resolves the "Script took more than 200ms" error for most of the charts.
Nota Keluaran:
Performance fix to save time in loops. Can traverse up to 5000 candles in history (depending on system capabilities). Resolves the "Script took more than 200ms" error for most of the charts.
Nota Keluaran:
Performance enhancements. Moved default candle count to 3000 (max: 5000).

Note: Observed on a couple of occasions (w.r.t stock indexes), the script missed a couple of recent gaps. Please (re)validate your charts visually.
Nota Keluaran:
Bug fixes to accurately detect gaps. Added few more comments for clarity.
Nota Keluaran:
Fixing chart display.
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?