maksumit

Speed Indicator

maksumit Cập nhật   
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.
Phát hành các Ghi chú:
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.
Phát hành các Ghi chú:
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.
Phát hành các Ghi chú:
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.
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?