OPEN-SOURCE SCRIPT
Updated

Spark_ABR

173
Spark_ABR plots the current barโ€™s projected range from the open using a 20-period Average Bar Range (high โˆ’ low, including wicks). It draws short horizontal lines at open + ABR and open โˆ’ ABR on the latest bar only, with a single plain-text ABR value beside the upper line.

Spark_ABR ไปฅๅฝ“ๅ‰ K ็บฟๅผ€็›˜ไปทไธบ่ตท็‚น๏ผŒ็”จ่ฟ‘ 20 ๆ นๅนณๅ‡ๆณขๅน… ABR๏ผˆhigh โˆ’ low๏ผŒๅซไธŠไธ‹ๅฝฑ๏ผ‰ไผฐ็ฎ—ไธŠไธ‹็›ฎๆ ‡ใ€‚ไป…ๅœจๆœ€ๆ–ฐไธ€ๆ น K ็บฟไธŠ็”ปๅ‡บ็Ÿญๆจช็บฟ๏ผšopen + ABR ไธŽ open โˆ’ ABR๏ผŒๅนถๅœจไธŠ่ฝจๆ—็”จ็บฏๆ–‡ๅญ—ๆ˜พ็คบไธ€ๆฌกๅฝ“ๅ‰ ABR ๆ•ฐๅ€ผใ€‚
Release Notes
Spark_ABR projects the current barโ€™s range from the open using a 20-period Average Bar Range (high โˆ’ low, including wicks). It draws short horizontal lines at open + ABR and open โˆ’ ABR on the latest bar only. A single plain-text reading ABR=<value> is placed between the two lines, slightly to the right of the segments.

Spark_ABR ไปฅๅฝ“ๅ‰ K ็บฟๅผ€็›˜ไปทไธบ่ตท็‚น๏ผŒ็”จ่ฟ‘ 20 ๆ นๅนณๅ‡ๆณขๅน… ABR๏ผˆhigh โˆ’ low๏ผŒๅซไธŠไธ‹ๅฝฑ๏ผ‰ไผฐ็ฎ—ไธŠไธ‹็›ฎๆ ‡ใ€‚ไป…ๅœจๆœ€ๆ–ฐไธ€ๆ น K ็บฟไธŠ็”ปๅ‡บ็Ÿญๆจช็บฟ๏ผšopen + ABR ไธŽ open โˆ’ ABRใ€‚ๅœจไธค็บฟไธญ้—ดๅๅณไฝ็ฝฎ๏ผŒไปฅ็บฏๆ–‡ๅญ—ๆ˜พ็คบไธ€ๆฌก ABR=ๆ•ฐๅ€ผ๏ผˆๆ— ๆ ‡็ญพๅบ•ๆก†๏ผ‰ใ€‚
Release Notes
adjust the โ€œABR = โ€ location
่ฐƒๆ•ดโ€œABR = โ€ๅญ—็ฌฆ็š„ไฝ็ฝฎ

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.