PROTECTED SOURCE SCRIPT

4H SMA+CCI Signal Map - J&C

37
Overview

This TradingView indicator identifies high-timeframe (HTF) trend-confirmation entry signals based on the relationship between two Simple Moving Averages (SMAs) and the Commodity Channel Index (CCI). It provides visual cues (arrows, labels, and background shading) when a new 4-hour bar confirms a long or short setup, even if applied to lower-timeframe charts (like 1H or 15m).

Core Concept

The script monitors higher-timeframe (default: 4H) trend conditions:

Fast SMA (default 20) and Slow SMA (default 40) determine the trend direction.

CCI (default 5-period) acts as a momentum filter.

Signals are generated only when a new 4H candle opens, ensuring cleaner higher-timeframe alignment and avoiding lower-timeframe noise.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。