OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
Fix spellingNotas de Lançamento
Use v2 of VolTargeting libraryScript de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.