OPEN-SOURCE SCRIPT

Urika Trend Strength

Updated
The Urika Directional Strength (UDS) indicator calculates and visualizes the strength of the directional trend in the price data. It helps traders see the strength and direction of the trend and allows them to make informed trading decisions based on trend changes.

Calculation:
The Simple Moving Average is used to determine the upper and lower directional bands by adding and subtracting the product of the standard deviation of the price data and the multiplier of the moving average.

Direction: The upward directional trend and downward directional trend are calculated by taking the absolute value of the difference between the price data and the upper and lower directional bands, divided by the product of the standard deviation and the multiplier.

Strength: It is calculated by taking the absolute value of the difference between the price data and the moving average, divided by the product of the standard deviation and the multiplier.

Interpretation:
Direction: The position of the long and short lines at the top indicates the direction of the ticker. Long line for long position and Short line for short position.

Strength: When the Strength line is below the directional lines, it is a weak trend or consolidating. If it stays in between the two directional lines, it is a strong trend.
Release Notes
The Urika Trend Strength (UTS) indicator calculates and visualizes the strength of the directional trend in the price data. It helps traders see the strength and direction of the trend and allows them to make informed trading decisions based on trend changes.

Calculation:
The Simple Moving Average is used to determine the upper and lower directional bands by adding and subtracting the product of the standard deviation of the price data and the multiplier of the moving average.

Direction: The upward directional trend and downward directional trend are calculated by taking the absolute value of the difference between the price data and the upper and lower directional bands, divided by the product of the standard deviation and the multiplier.

Strength: It is calculated by taking the absolute value of the difference between the price data and the moving average, divided by the product of the standard deviation and the multiplier.

Interpretation:
Direction: The position of the long and short lines at the top indicates the direction of the ticker. Long line for long position and Short line for short position.

Strength: When the Strength line is below the directional lines, it is a weak trend or consolidating. If it stays in between the two directional lines, it is a strong trend.
Release Notes
I updated the name in the description to reflect that with the code.
Bollinger Bands (BB)Moving AveragesTrend Analysis

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