JSterz

Realized Volatility

JSterz ที่อัปเดต:   
Realized / Historical Volatility
Calculates historical, i.e. realized volatility of any underlying. If frequency is not the daily, but for example 6h, 30min, weeks or months, it scales the initial setting to be suitable for the different time frame.

Examples with default settings (30 day volatility, 365 days per year):

A) Frequency = Daily:
Returns 30 day historical volatility, under the assumption that there are 365 trading days in a year.

B) Frequency = 6h:
Still returns 30 day historical volatility, under the assumption that there are 365 trading days in a year. However, since 6h granularity fits 4 times in 24 hours, it rescales the look back period to rather 30*4 = 120 units to still reflect 30 day historical volatility.
เอกสารเผยแพร่:
- there is originally by TradingView a mean adjustment in the stdev function (normal mean adjusted std deviation), now we use absolute variance
- now it is possible to use EWMA vol, which introduces a decay factor, this reduces the weight of price jumps in the past
เอกสารเผยแพร่:
Changed color and chart
เอกสารเผยแพร่:
Implemented multiple design and default changes. In particular now it selects basis = 365 automatically if the underlying is "crypto" and else uses a basis of 255. Please let me know if you want any other changes.
เอกสารเผยแพร่:
Minor bugfix
เอกสารเผยแพร่:
Changed default plot and added a tooltop.

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

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

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

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

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