OPEN-SOURCE SCRIPT

CCI Strategy v2

This was a strategy I found based on MT4. It takes CCI readings, then transforms them into a weighted moving average illustration. This is represented as:


Red Line - A six period moving average taken from CCI (NOT PRICE)
Green Line - A sixty-six period moving average taken from CCI (NOT PRICE)
Blue Line - CCI plotted

I have also added some levels and bollinger bands to highlight changes in activity.

The strategy is:

BUY - When the red line crosses upwards over green line.
SELL - When the red line crosses downwards over green line.

Extra confirmation is available by watching the blue line, it should be above red to buy, below red to sell. If the blue line drops in the opposite direction, this may be an opportunity to buy on a pull back.

If you wish for any modications to be applied, please do not hesitate to contact me.
Commodity Channel Index (CCI)Trend AnalysisWeighted Moving Average (WMA)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明