Traders_Endeavors

Kalman Momentum

Traders_Endeavors Cập nhật   
Kalman Filter
The Kalman Filter is an algorithm used for recursive estimation and filtering of time-series data. It was developed by Rudolf E. Kálmán in the 1960s and has found widespread applications in various fields, including control systems, navigation, signal processing, and finance.

The primary purpose of the Kalman filter is to estimate the state of a dynamic system based on a series of noisy measurements over time. It operates recursively, meaning it processes each new measurement and updates its estimate of the system state as new data becomes available.

Kalman Momentum Indicator
This indicator implements the Kalman Filter to provide a smoothed momentum indicator using returns. The momentum in this indicator is calculated by getting the logarithmic returns and then getting the expected value.

The Kalman calculation in this indicator is used to filter and predict the next value based on the logarithmic returns expected value.

Here's a simplified explanation of the steps and how they are applied in the Script:
  1. State Prediction: Predict the current state based on the previous state estimate.

    Error Covariance Prediction: Predict the covariance of the prediction error.

  2. Correction Step:

    Kalman Gain Calculation: Calculate the Kalman gain, which determines the weight given to the measurement.

    State Correction: Update the state estimate based on the measurement.

    Error Covariance Correction: Update the error covariance.

In this Script, the Kalman Filter is applied to estimate the state of the system, with two state variables.

When the Kalman Momentum is above 0, there is positive momentum or positive smoothed expected value.

When the Kalman Momentum is below 0, there is negative momentum or negative smoothed expected value.

How to Use:
  1. Trend Identification:
    Positive values of the Kalman Momentum Indicator indicates positive expected value, while negative values suggest negative expected value.
    You can look for changes in the sign of the indicator to identify potential shifts in market direction.

  2. Volatility Analysis:
    Observe the behavior of the indicator during periods of high and low volatility. Changes in the volatility of the Kalman Momentum Indicator may precede changes in market conditions.

  3. Filtering Noise:
    The Kalman Filter is known for its ability to filter out noise in time series data. Use the Kalman Momentum Indicator to filter out the noise in momentum to catch the trend more clearly.

  4. Squeezes:
    At time there may be squeezes, and these are zones with low volatility. What could follow after these zones are expansions and huge trending moves.

Indicator Settings:
  • You can change the source of the calculations.
  • There is also a lookback for the log returns.

Understanding Expected Value in Trading:
The Expected Value is a fundamental concept that shows the potential outcomes of a trading strategy or individual trade over a series of occurrences. It is a measure that represents the average outcome when a particular action is repeated multiple times.

Images of the indicator:



Phát hành các Ghi chú:
Description Update

Tập lệnh chỉ hiển thị cho người được mời

Quyền truy cập vào tập lệnh này bị hạn chế đối với người dùng được tác giả ủy quyền và thường yêu cầu thanh toán. Bạn có thể thêm nó vào mục yêu thích của mình, nhưng bạn sẽ chỉ có thể sử dụng nó sau khi yêu cầu sự cho phép từ tác giả. Liên hệ Traders_Endeavors để thêm thông tin, hoặc làm theo hướng dẫn của tác giả bên dưới.

TradingView không đề xuất trả tiền cho một tập lệnh và sử dụng cho đến khi bạn hoàn toàn tin tưởng tác giả và hiểu cách thức hoạt động của tập lệnh. Trong nhiều trường hợp, bạn có thể tìm thấy một giải pháp thay thế nguồn mở miễn phí trong Thư viện Công cộng của chúng tôi.

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.

Hướng dẫn của tác giả

Get access here: www.patreon.com/user?u=80987417...

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

Cảnh báo: vui lòng đọc trước khi yêu cầu quyền truy cập.