OPEN-SOURCE SCRIPT

J&C Indicator 20/40 MA

82
4H SMA Signal Map (20/40) Strategy
Timeframe: 4-Hour
Overview:
This is a momentum-based trend confirmation system using dual moving averages. The strategy identifies potential entry points when price action aligns with moving average positioning.
LONG Signal:
Triggers when the market demonstrates bullish momentum with price confirming an upside breakout while both moving averages are in a favorable uptrend alignment.
SHORT Signal:
Triggers when the market demonstrates bearish momentum with price confirming a downside breakdown while both moving averages are in a favorable downtrend alignment.
Key Features:

Uses a 20-period and 40-period simple moving average on the 4-hour timeframe
Filters out false signals by requiring multi-factor confirmation
Generates clear visual alerts with background highlighting
Real-time dashboard showing current MA values and trend direction
Sound/notification alerts for immediate signal awareness

Best Used For:
Swing trading on higher timeframes with proper risk management and support from additional confluence factors on your trading setup.

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.