This is my thank you to the TradingView community, for the people who are sharing their scripts, which allowed me to learn Pine Script. So here is my first creation, feel free to experiment, modify and use it as you wish. It is a CCI(default value is 100, can be changed), combined with an EMA of that CCI(default 21,changeable) that then colors the background according to the strength of the signal(if selected to do so). To generate strong signals, it also uses Bollinger Bands to prevent whipsaws in high volatility situations. The best signals are generated when the CCI crosses the limits set by the user (default is 100/-100), and is above/belov its EMA. Exit signals are indicated, when the CCI crosses its EMA. Unfortunately in strong trends, this exit signal is sometimes premature, using a 3x resolution of the indicator will improve this, maybe I will implement this in a later version. I use it mostly in 15min charts and higher, I found in shorter timeframes still a lot of whipsaws, maybe experimenting with different lengths and levels will improve this. As the Indicator allows the user to experiment with different lenghts and levels, and the colors will change according the setting, I find it a nice tool to search for the best mixture for different securities and timeframes. See below an example of a nice signal. I do suggest to use it in combination with other indicators.
릴리즈 노트
Removed BB criteria Added option to select different resoulutions Added option to select source Added titles to plots Added overbought and oversold critria options Bug fix (removed minval on lower limit)
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.