Earnings Price Move Cheat Sheet [KT]

ที่อัปเดต:
Hello!
This script looks to distinguish replicable sequences and correlations between earnings releases and price. The indicator calculates the average 1-session to 20-session performance of an asset prior to an earnings release, and the 1-session to 20-session performance of an asset subsequent an earnings release.

You can select the number of sessions the script calculates for asset performance.

สแนปชอต

In the image above the script calculates the average 1-session performance following an earnings surprise, earnings miss, and in general. 20 sessions is the maximum value!

Also measured is the average performance of an asset before and after earnings, in addition to the average performance following an earnings surprise "green earnings" and the average performance following an earnings miss "red earnings".

I included VaR and CVaR calculations - using the historical method - in the script. For those of you unfamiliar with the metrics, both look to quantify the risk of financial loss for a portfolio, or even a particular position.

The script also calculates the 1st - 5th percentile for earnings losses. A more comprehensive explanation of the metrics is stored in tooltips in the user input tab.

The script also calculates the highest high and lowest low following an earnings release, up to 20 sessions, and calculates the difference between the two.

Keep in mind that a company might not have a significant number of earnings misses, or may have only traded publicly for a short while. If true, the resulting earnings/price calculations *will* be misleading - there is an insufficient sample size; no correlations are ascertainable.

I will be working on this script more, so let me know if there is anything you would like included!

เอกสารเผยแพร่
Fixed a label size issue
เอกสารเผยแพร่
Got a bit creative with plots - added a diamond line to help visualize the VaR price level and the corresponding CVaR price level.

สแนปชอต
เอกสารเผยแพร่
Improved VaR and CVaR plot
เอกสารเผยแพร่
สแนปชอต

Made use of Pine's new table.merge_cells feature to spice up the table!

Included an option to plot VaR and CVaR lines across all historical price data.
เอกสารเผยแพร่
Color additions
เอกสารเผยแพร่
Included fundamental ratios/statistics. These labels, and accompanying lines, can be hidden in the user inputs tab!
เอกสารเผยแพร่
สแนปชอต
เอกสารเผยแพร่
สแนปชอต

Added a few volume measures
เอกสารเผยแพร่
Added more fundamental statistics. There is an options to hide the blue labels in the user input tab
เอกสารเผยแพร่
สแนปชอต

Added calculations for Q1, Q2, Q3, and Q4 earnings releases.
เอกสารเผยแพร่
Fixed a dashed line
เอกสารเผยแพร่
Added some cool features in the top right corner of the chart!

Fiscal quarters are highlighted during the period, in addition to a description - "surprise" or "miss" - of the company's earnings performance during that quarter.
เอกสารเผยแพร่
Added earnings actual and earnings estimate number in the top right.
เอกสารเผยแพร่
The script will now stamp the year/month/day that earnings occur!
เอกสารเผยแพร่
Worked on aesthetics - a checkmark appear when a company exceeds earnings estimates; an "X" appears when a company underperforms estimates.
เอกสารเผยแพร่
Included additional volume measures for ER sessions, and sessions within close proximity of ER sessions, which can be adjusted in the user input tab!
เอกสารเผยแพร่
Compliant with memory calculation changes
Earnings

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

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

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


•Access to Next-Gen Optimization Tools: kiosefftrading.com

•Discord Server: discord.gg/3cKVU28Z9Z
และใน:

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