Skip to main content

KalmanFilterVelocity VertexFX indicator

The KalmanFilterVelocity (KFV) is a powerful VertexFX client-side indicator based on the Kalman Filter (KF) algorithm.
The KalmanFilterVelocity indicator employs the Kalman Filter to estimate the direction and strength of the trend. It is particularly useful in identifying reversal or trends. It enhances the standard Kalman Filter but detecting the velocity (the rate of change) of the base Kalman Filter. A change in the direction of the velocity implies a change a trend.
In the first step we calculate the Kalman Filter also known as Linear Quadratic Estimation for all the prices. We use the change in the closing price of each candle and its predecessor to estimate whether this change is sustainable. Hence, if prices are rising, but at a slower rate it implies that the trend is ending. Likewise, if the price is falling, but at a slower rate it implies that the bearish trend is ending.
When the KFV changes from RED to BLUE below the zero level it implies that a strong bullish trend has started and the trader can enter LONG positions. On the contrary, when the KFV changes from BLUE to RED above the zero level it implies that a strong bearish trend has started and the trader can enter SHORT positions. A change from RED to BLUE above the zero level, or from BLUE to RED below the zero level is ignored because it is identified as weakness or whipsaws. 
BUY / EXIT SHORT - In TREND mode, enter LONG (or exit SHORT) at the close of the candle when the KFV indicator turns BLUE below the zero level. In KALMAN mode, enter LONG (or exit SHORT) when the KFV indicator turns BLUE. The stop-loss should be placed at the nearest Swing Low.
SHORT / EXIT LONG - In KALMAN mode, enter SHORT (or exit LONG) at the close of the candle when the KFV indicator turns RED above the zero level. In KALMAN mode, enter SHORT (or exit LONG) when the KFV indicator turns RED. The stop-loss should be placed at the nearest Swing High.

Comments

Popular posts from this blog

CCI Filter VertexFX Indicator

CCI Filter indicator is VertexFX client-side indicator script based on the Commodity Channel Index -CCI and Moving Average methods. The Commodity Channel Index (CCI) is a powerful indicator that provides important information on the trend. It is cyclical in nature and follows price closely. When the CCI has bottomed out below zero and is rising gradually, it implies that the market is rising and bullish. On the contrary, when the CCI has peaked and is falling gradually, it implies that the market is falling and bearish in nature. This is combined with the Moving Average of the Commodity Channel Index (CCI) which provides crossover signals. To calculate the CCI_Filter indicator, we first calculate the Commodity Channel Index (CCI) over the recent CCI_PERIOD bars. The CCI PRICE specifies the price field to be used to calculate the CCI indicator. This is the BLUE component of the indicator. In the next step, we calculate the Moving Average of the CCI over the recent MA_PERIOD bars. T...

Follow Line VertexFX Indcator

FollowLine is a powerful VertexFX indicator based on the Bollinger Bands (BB) indicator. The Bollinger Bands indicator is a powerful indicator to identify trading ranges. However it cannot identify how far the trend will continue, or when the trend will reverse. The FollowLine indicator employs a combination of Bollinger Bands, Moving Average and Average True Range to identify start and reversal of trend with minimal lag. The FollowLine indicator generates BUY and SELL arrows when the trade setups identified. Likewise, when the trend turns bullish the indicator is displayed in BLUE, and when bearish the indicator is displayed in RED. In the first step, we calculate the upper and lower Bollinger Bands using the BB_PERIOD and BB_DEVIATION parameters. We filter for condition when the price closes above the upper Bollinger Band, or below the lower Bollinger Band. If USE_ATR_FILTER is set to true then the ATR value is added to the upper Bollinger Band, or subtracted from the lower Bollinge...