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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.