INVITE-ONLY SCRIPT

Value at Risk (VAR)

已更新
Value at Risk (VAR) is a measure of risk metric in finance used to quantify the potential loss in the value of a portfolio of assets or a single investment in a specific time horizon, given a certain level of confidence.

For instance, lets say there is a VAR of $1000000 at the 95% confidence level in a daily time horizon period, that means that there is a 5% chance that the portfolio will decrease by more than a million within a single day.

Indicator Overview
This indicator calculates the Value at Risk (VAR) using the Variance - Covariance method. On the settings of the indicator you can also determine what significance level you want for the indicator.
Confidence level = 1 - α
α is the significance level.
Basically a 5% significance level will have a 95% Confidence level.

There is also a information tab that displays the Value at Risk (VAR), the Confidence level of the significant level you selected, and an Estimated Range. This is just an estimated range because this is based on returns which follow a normal distributions, unlike price which follows a log normal distribution. So this range will only be obeyed here and then.

Calculation method: Variance - Covariance Method
This method involves the expected return and the standard deviation (volatility). It is based on the assumption that returns follow a normal distribution. For more information on this calculation check this link out.
https://www.investopedia.com/articles/04/092904.asp

Applications:
  • If the calculated Value at Risk (VAR) is high then, that means the risk is high and if the trader has a low risk tolerance then the trader might want to reconsider the trade.
  • The indicator also lets you see what the potential losses (Long and Short) of the asset can be with the confidence level of your choice.


快照
版本注释
Description Update
riskstatisticsvalueatriskVARVolume

仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请联系Traders_Endeavors了解更多信息,或按照以下作者的说明操作。

TradingView不建议付费使用脚本,除非您100%信任作者并了解脚本的工作原理。在许多情况下,您可以在我们的社区脚本免费找到不错的开源替代方案。

作者的说明

想在图表上使用此脚本?

警告:请在申请访问权限之前阅读

更多:

免责声明