OPEN-SOURCE SCRIPT
Обновлено Vol-Targeted Position Size

Instructions
Click here for a video demonstration of using the Vol-Targeted Position Size indicator. The link also includes detailed written instructions if you prefer.
Overview
This script calculates position size in units (shares, contracts, etc) given a target volatility contribution of the position and a nominal portfolio size.
The calculation is based on a volatility forecast obtained from the exponentially weighted historical volatility. The user can input the half-life of the exponential weighted scheme.
The indicator also plots the no-trade region - the region around the target position size that defines the limit of the divergence of the target and actual position.
Relevant information for the most recent price data is displayed in a table.
Click here for a video demonstration of using the Vol-Targeted Position Size indicator. The link also includes detailed written instructions if you prefer.
Overview
This script calculates position size in units (shares, contracts, etc) given a target volatility contribution of the position and a nominal portfolio size.
The calculation is based on a volatility forecast obtained from the exponentially weighted historical volatility. The user can input the half-life of the exponential weighted scheme.
The indicator also plots the no-trade region - the region around the target position size that defines the limit of the divergence of the target and actual position.
Relevant information for the most recent price data is displayed in a table.
Информация о релизе
Fix spellingИнформация о релизе
Use v2 of VolTargeting libraryСкрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.