TradingView
DrZy
27 Th02 2024 17:08

Urika Trend Strength 

Tesla, Inc.NASDAQ

Mô tả

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.

Phát hành các Ghi chú

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.

Phát hành các Ghi chú

I updated the name in the description to reflect that with the code.
Bình luận
apdusp
Very interesting indicator. Reminded me of ADX/DMI, so I decided to add some lines after you code to my copy to make it easier to visualize, just as as I do with ADX.

strengthLineC = plot(strength, color= ((strength > toLong) or (strength > toShort)) ? #ffffff : #ff00f2 , title="Strength", linewidth = 2, style=plot.style_circles) // Trend strength coloring
trendColorX = toLong >= toShort ? color.new(color.green,80) : color.new(color.red,80) // Trend coloring
bgcolor(color.new(trendColorX,85))
Thêm nữa