Jump to content

CCI Filter VertexFX Indicator


Guest VinuJohn

Recommended Posts

Guest VinuJohn

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. The method used to calculate the Moving Average is specified by the MA_METHOD parameter. This is the RED component of the indicator.

 

The RED component is used as the filter of the BLUE CCI component to provide the BUY and SELL signals.

 

 

BUY - Place BUY trade when the BLUE indicator component has crossed above the RED indicator component below the zero level at the close of the candle. Do not open the BUY trade if the candle has a gap-up opening. Place stop-loss below the nearest Swing Low or Support level.

SELL - Place SELL trade when the BLUE indicator component has crossed below the RED indicator component above the zero level at the close of the candle. Do not open the SELL trade if the candle has a gap-down opening. Place stop-loss above the nearest Swing High or Resistance level.

 

 

INPUTS :

1) CCI_PERIOD - The period over which the CCI values are calculated.

2) CCI_PRICE - The price field used to calculate the CCI. The permissible values are, 0 = Close, 1 = Open, 2 = High, 3 = Low, 4 = Median, 5 = Typical and 6 = Weighted.

3) MA_PERIOD - The period over which the Moving Average (of the CCI) is calculated.

4) MA_METHOD - The method for calculating Moving Average. The supported values are Simple Moving Average (0), Exponential Moving Average (1), Smoothed Moving Average (2), Linear Weighted Moving Average (3) and Least Squares Moving Average (4).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...