OPEN-SOURCE SCRIPT
Spread 2.0

Spread is the difference in price between the high and the low of the candle or bar. The spread is considered wide if it is above 1 to 2 standard deviations (n=14) or low if it is below.
If the spread is wide, then buyers are reaching out to seek sellers (or vice versa) as they are not encountering them very easily. If the spread is low then buyers are easily encountering sellers and vice versa.
I use this indicator together with volume. For example, if the volume is very high, but the spread is low, that suggests large buyers are easily encountering large sellers. It could be a footprint of institutions offloading significant holdings, or institutions mopping up significant holdings, or one or more institutions mopping up holdings from another who is distributing.
If the volume is high and the spread is wide, it indicates panic selling if prices are falling, or lots of desire if prices are rising. It could also be the induction of greed if the rising prices do not remain at the high of the wide spread (e.g. to catch out buy stops above resistance). Or it could be the induction of fear if the falling prices do not remain at the low of the wide spread (e.g. to flush out supply to mop up).
My previous version "Spread" violated the Pine Code house rules, so it got shielded from public view. This is my first experience with writing in Pine Code and publishing. I suspect it was because I didn't publish with a clean chart without other indicators added. My apologies in advance if version 2.0 is again another violation, which will then get shielded again. I am only publishing out of good will to share that's all.
If the spread is wide, then buyers are reaching out to seek sellers (or vice versa) as they are not encountering them very easily. If the spread is low then buyers are easily encountering sellers and vice versa.
I use this indicator together with volume. For example, if the volume is very high, but the spread is low, that suggests large buyers are easily encountering large sellers. It could be a footprint of institutions offloading significant holdings, or institutions mopping up significant holdings, or one or more institutions mopping up holdings from another who is distributing.
If the volume is high and the spread is wide, it indicates panic selling if prices are falling, or lots of desire if prices are rising. It could also be the induction of greed if the rising prices do not remain at the high of the wide spread (e.g. to catch out buy stops above resistance). Or it could be the induction of fear if the falling prices do not remain at the low of the wide spread (e.g. to flush out supply to mop up).
My previous version "Spread" violated the Pine Code house rules, so it got shielded from public view. This is my first experience with writing in Pine Code and publishing. I suspect it was because I didn't publish with a clean chart without other indicators added. My apologies in advance if version 2.0 is again another violation, which will then get shielded again. I am only publishing out of good will to share that's all.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.