PROTECTED SOURCE SCRIPT

4H SMA+CCI Signal Map - J&C

42
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.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.