luminaryfi

Z-Score 'Bollinger Bands'

luminaryfi تم تحديثه   
The following script is an application of the Z-Score (previous script).

Z-Scores can be used in place of standard deviation (sigma) in 'Bollinger Bands'.


The average of the sample (x-bar) over 21 days (N)
21 average trading days per month, fixed value

The average of the population (mu) over 63 days (n)
63 days per quarter, default is set to 63

Z-Score is calculated by formula in previous script, and the absolute value is taken of "Z".

Z-High = absolute value of Z + (x-bar).
Z-Low = absolute value of Z - (x-bar).

Will update with Z from mu and Z from avg (working on UX and visualization details).
ملاحظات الأخبار:
added display options.

can choose from:

Z-Score from sample mean (x-bar)
Z-Score from population mean (mu)
ملاحظات الأخبار:
//hexidecimal color switch
ملاحظات الأخبار:
//test
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟