OPEN-SOURCE SCRIPT
J&C Indicator 20/40 MA

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.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.