OPEN-SOURCE SCRIPT

Volatility Adjusted Profit Target

Updated

In my 'Volatility Adjusted Profit Target' indicator, I've crafted a dynamic tool for calculating target profit percentages suitable for both long and short trading strategies. It evaluates the highest and lowest prices over the anticipated duration of your trade, establishing a profit target that shifts with market volatility. As volatility increases, the potential for profit follows, with the target percentage rising accordingly; conversely, it declines with decreasing volatility. As a trader, setting an optimal Take Profit level has always been a challenge. This indicator not only helps in determining that level but also dynamically adjusts it throughout the trade's duration, providing a strategic edge in volatile markets.
Release Notes
Code refactor
Release Notes
Modified the target profit percentage calculation to reflect the delta between the highest and lowest prices SMA in relation to the SMA of the lowest price, enhancing the indicator's sensitivity to range volatility. This adjustment offers a higher profit target, better capturing potential gains when the target is achieved, thereby aligning more closely with market volatility trends.
Release Notes
Updated Profit Target Calculation: The denominator in the profit target percentage calculation now varies based on the direction of the trade. For long trades, the target percentage is calculated using the lowest price (as the base), reflecting potential upward price movement from this point. For short trades, the highest price is used, aligning with expectations of price decline from the peak. This adjustment ensures the profit target more accurately mirrors the volatility range and potential profit avenues specific to each trade direction, aiming for higher precision in setting achievable and strategic profit goals.
profitstatisticstakeprofittargetVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer