maksumit

Speed Indicator

maksumit Aktualisiert   
The indicator showcases the Speed at which the prices change based on the set length. It does not show trend direction simply because Speed is a scalar quantity. It helps to identify when the prices are racing, slowing down, or in a range.

The formula used for calculation is Speed = Total Distance Travelled / Time.

Time is the period range that can be defined to set the lookback period.

The length is calculated by finding the absolute value of the difference between the current and closing prices one period ago. The lengths are added for the defined Time, and the Total Distance Travelled by the price is calculated. The formula of 'current price' - price 'Time' periods ago is not used, which calculates the displacement of the price used in figuring the velocity.

The Speed is then calculated using the defined formula.

For example, in the last 20 days, a stock price moved a total of 15000 points, then the Speed of the price would be 750 points per day. Therefore the price is expected to be moving around 750 points, either up or down.

There is also an application of the Donchian Channels to the calculated Speed. It helps to define a dynamic range of the Speed and easily visualize if the Speed is increasing, decreasing, or being stable. The range showcases a Speedometer, hence easing the interpretation of the Speed. Speed Range can also be customized for the Donchian channel. The contraction of the channels would occur when the Speed has been steady for some time, which would mean the price has not moved out from its range.

The importance of the indicator is to identify when the prices have slowed down to enter positions safely, since entering positions during higher speeds would be like jumping onto a fast-moving train. Although, it is up to the user's risk appetite if they wish to enter during low speeds or high speeds. The basic strategy is to enter during slow speeds, hold as speed increases, exit as Speed starts to slow down for its highs. That is the basic idea but can be customized as per the user.
Versionshinweise:
There is now an option to convert the speed values to percentages concerning the closing price. The speed percentage helps with a more straightforward interpretation of the volatility in percentage terms rather than points. The formula used to calculate the speed percentage is:

Speed Percentage = Speed / Close Price x 100

The percent value can be interpreted as the expected price move in percent in either direction.
Versionshinweise:
Added an EMA line and Triple Bollinger Band Channels. Made it selectable on the Inputs Page. Updated the default settings to 20 periods for all. Also simplified the code.
Versionshinweise:
Added a new option to select between High/Low range or closing prices. The high/low option also considers any gap up or gap down values between the candles.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?