shardison

D-VaR position sizing

shardison 已更新   
The D-VaR position sizing method was created by David Varadi. It's based on the concept of Value at Risk (VaR) - a widely used measure of the risk of loss in a portfolio based on the statistical analysis of historical price trends and volatilities. You can set the Percent Risk between 1 (lower) and 1.5 (higher); as well as, cap the % of Equity used in the position. The indicator plots the % of equity recommended based on the parameters you set.
版本注释:
Fixed error in percentile_rank formula where it was not accounting for rolling returns. Added a cap of 200% of max equity to position size to limit plot size run-up and reduce exposure to large DVAR calculation when tail-size is extremely small number (i.e. 0.0001, etc.).

Need seasonals for futures data on NQ, ES, YM, or other commodities. Check out www.agresticresearch.com.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?