Skip to main content

MACD OSMAX VertexFX Indicator

is a powerful VertexFX client-side indicator based on the Moving Average Convergence Divergence (MACD) indicator.

The Moving Average Convergence Divergence (MACD) indicator is provides information about the current trend and its strength. When the MACD bottoms out and starts rising it implies the market is in bullish mode, whereas when it tops out and starts falling it implies that the market is in bearish mode. However, one of the drawbacks of the MACD indicator is that it introduces lag and introduces whipsaws when the market turns sideways. The primary reason for the lag is the use of Simple Moving Average (SMA) in the calculation of the MACD.
The MACD OSMAX indicator overcomes the drawbacks of the MACD indicator by using Exponential Moving Average (EMA) instead of SMA. In addition to using the EMA, it also uses a weightage co-efficient OSMAX to give more weightage to the recent signal.
In the first step we calculate the EMA of the PERIOD_FAST and the PERIOD_SLOW. The MACD is calculated by subtracting the slower EMA from the faster EMA. The MACD signal is derived by computing the EMA of the MACD using the PERIOD_SIGNAL. Finally the OSMAX is calculated by subtracting the Signal from the MACD and multiplying it by the OSMAX co-efficient. The OSMAX is plotted as an histogram.
When both the OSMAX and MACD are rising the histogram is plotted BLUE. When both OSMAX and MACD are falling the histogram is plotted RED. The histogram is plotted GRAY when OSMAX and MACD are diverging. When the OSMAX turns BLUE from RED or GRAY it implies that the trend has turned bullish. Likewise, when the OSMAX turns RED from BLUE or GRAY it implies the trend is bearish. It has been studied that OSMAX generates better results when traders enter LONG when OSMAX turns BLUE below the zero level, and enter SHORT when OSMAX turns RED above the zero level.
As compared to the standard MACD, the MACD OSMAX indicator reduces the lag and responds to price movements quickly, thus enabling the trader to enter trades earlier and exit trades before it is too late.

BUY / EXIT SHORT - Enter LONG (or exit SHORT) at the close of the candle when the indicator histogram turns BLUE below the zero level either from RED or GRAY. The stop-loss can be placed below the nearest Swing Low.
SHORT / EXIT LONG - Enter SHORT (or exit LONG) at the close of the candle when the indicator histogram turns RED above the zero level either from BLUE or GRAY. The stop-loss can be placed above 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...