OPEN-SOURCE SCRIPT
Advisor CORE + MOMENTUM (Weekly) - ROC/EMA

📊 Advisor CORE + Momentum (Weekly)
This indicator provides a rule-based market diagnosis by clearly separating long-term structure from entry timing, following a CANSLIM-consistent logic.
It is designed to answer what is allowed right now, not to generate automatic trade signals.
🔹 CORE — Structural Context
The CORE layer evaluates trend and market cycle, independent of entry timing:
Weekly price relative to a long-term EMA
Long-term Rate of Change (ROC)
It identifies whether the asset’s primary structure is intact, weakening, or deteriorating.
Typical outputs:
CORE: BUY / HOLD → structure and cycle intact
CORE: HOLD → structure alive, under pressure
CORE: REDUCE → structural deterioration
🔹 MOMENTUM — CANSLIM Timing Logic
The MOMENTUM layer applies strict CANSLIM entry rules, clearly separating structure from timing:
BUY
Price above the short-term EMA
Short-term EMA above the long-term EMA
Long-term EMA rising
HOLD / WAIT
Structure intact, but price below the short-term EMA
NO OPERATE
Price below the long-term EMA or structural conditions failing
This ensures that no BUY condition is allowed without valid timing, even if the broader trend remains positive.
🔗 Combined Use
This indicator is designed to be used together with:
ROC Triple (13 / 26 / 52)
The ROC Triple provides visual momentum context, while the Advisor converts structure and timing into clear, rule-based guidance.
⚠️ Important Notes
This is not a signal generator.
It does not define entries, exits, or position size.
Recommendations are contextual, not predictive.
The objective is to standardize market reading, avoid mixed signals, and enforce discipline between structure and timing.
This indicator provides a rule-based market diagnosis by clearly separating long-term structure from entry timing, following a CANSLIM-consistent logic.
It is designed to answer what is allowed right now, not to generate automatic trade signals.
🔹 CORE — Structural Context
The CORE layer evaluates trend and market cycle, independent of entry timing:
Weekly price relative to a long-term EMA
Long-term Rate of Change (ROC)
It identifies whether the asset’s primary structure is intact, weakening, or deteriorating.
Typical outputs:
CORE: BUY / HOLD → structure and cycle intact
CORE: HOLD → structure alive, under pressure
CORE: REDUCE → structural deterioration
🔹 MOMENTUM — CANSLIM Timing Logic
The MOMENTUM layer applies strict CANSLIM entry rules, clearly separating structure from timing:
BUY
Price above the short-term EMA
Short-term EMA above the long-term EMA
Long-term EMA rising
HOLD / WAIT
Structure intact, but price below the short-term EMA
NO OPERATE
Price below the long-term EMA or structural conditions failing
This ensures that no BUY condition is allowed without valid timing, even if the broader trend remains positive.
🔗 Combined Use
This indicator is designed to be used together with:
ROC Triple (13 / 26 / 52)
The ROC Triple provides visual momentum context, while the Advisor converts structure and timing into clear, rule-based guidance.
⚠️ Important Notes
This is not a signal generator.
It does not define entries, exits, or position size.
Recommendations are contextual, not predictive.
The objective is to standardize market reading, avoid mixed signals, and enforce discipline between structure and timing.
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.