gorx1

Rolling summary

gorx1 ที่อัปเดต:   
Statistical methods based on mean cannot be effective all the time when attributed to financial data since it doesn't usually follow normal distribution, the data can be skewed or/and have extreme values which can be described as outliers.

In order to deal with this problem it is appropriate to use median-based techniques.

The most common one is called five-number summary/box plot, which plots median of the dataset, 25th (Q1) & 75th (Q3) percentiles (the medians of lower & upper parts of the original dataset divided by the original median), and whiskers calculated by taking range between Q1 and Q3, multiplying it by 1.5 and adding it to Q3 and subtracting it from Q1. The values which are outside the whiskers are considered outliers. Default settings of the script correspond to the classic box plot.

Seven-number summary can be also plotted by this script, by turning on 4 additional percentiles/Bowley’s seven-figure summary by turning on first 2 additional percentiles and changing their values to 10 and 90 respectively.

P.S.: Mean can be also turned in just to check the difference.
เอกสารเผยแพร่:
Logarithmic calculations are now available
Long story short, while using logarithmic scale on your chart/you realize the volatility starts to follow exponential law, "log-space" should be checked.

Wanned to change the color scheme a bit but decided to leave it like that for now
เอกสารเผยแพร่:
Changed the colors a bit after all
เอกสารเผยแพร่:
Midpoint statistic (disabled by default) was added for research purposes. It's generally advised to use midpoint instead of other central tendency measures when the sample size is too small
เอกสารเผยแพร่:
The proper name of the thing I've just addes is "Mid-range", fixed
เอกสารเผยแพร่:
New:
- All data switch;
- OTF functionality.
เอกสารเผยแพร่:
New:
- Whiskers multiplier (defaults are 1.5 and 3).

สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?