OPEN-SOURCE SCRIPT

Commodity Channel Index

3 346
buy when a bullish crossover occurs below the 0 level and sell when the blue line reaches the 100 level.

Started coding yesterday so, please let me know what can i improve.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.