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

📊 Advisor CORE + Momentum (Weekly)
This indicator provides a rule-based portfolio management view, clearly separating long-term structure, risk monitoring, and entry timing, with a logic designed to support position review decisions, not mechanical trading.
It answers a single question:
Is this asset still justified at its current portfolio weight?
🔹 CORE — Structure & Risk Review
The CORE layer evaluates structural trend and long-term cycle, with an explicit review state to detect early deterioration:
Weekly price relative to a long-term EMA
Long-term Rate of Change (ROC) strength and direction
Long-term EMA slope
CORE states:
BUY / HOLD
Structure intact, long-term momentum strong.
HOLD
Structure still valid, but losing strength or under pressure.
REVIEW
Price below the long-term EMA and long-term momentum weakening.
Signals that the position should be actively reviewed.
REDUCE
Long-term momentum turned negative, indicating structural deterioration.
This allows risk to be addressed before a full trend break occurs.
🔹 MOMENTUM — CANSLIM Timing Discipline
The MOMENTUM layer applies strict CANSLIM entry rules, explicitly blocking any buy condition without valid 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 trend conditions failing.
This ensures that structure alone never justifies a buy, enforcing discipline between trend quality and entry timing.
🔗 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 translates structure and timing into clear, portfolio-oriented guidance.
⚠️ Important Notes
This is not a trading system.
It does not generate entry or exit signals.
It does not define position size or timing.
Its purpose is to standardize portfolio review decisions, reduce emotional bias, and maintain discipline across changing market regimes.
This indicator provides a rule-based portfolio management view, clearly separating long-term structure, risk monitoring, and entry timing, with a logic designed to support position review decisions, not mechanical trading.
It answers a single question:
Is this asset still justified at its current portfolio weight?
🔹 CORE — Structure & Risk Review
The CORE layer evaluates structural trend and long-term cycle, with an explicit review state to detect early deterioration:
Weekly price relative to a long-term EMA
Long-term Rate of Change (ROC) strength and direction
Long-term EMA slope
CORE states:
BUY / HOLD
Structure intact, long-term momentum strong.
HOLD
Structure still valid, but losing strength or under pressure.
REVIEW
Price below the long-term EMA and long-term momentum weakening.
Signals that the position should be actively reviewed.
REDUCE
Long-term momentum turned negative, indicating structural deterioration.
This allows risk to be addressed before a full trend break occurs.
🔹 MOMENTUM — CANSLIM Timing Discipline
The MOMENTUM layer applies strict CANSLIM entry rules, explicitly blocking any buy condition without valid 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 trend conditions failing.
This ensures that structure alone never justifies a buy, enforcing discipline between trend quality and entry timing.
🔗 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 translates structure and timing into clear, portfolio-oriented guidance.
⚠️ Important Notes
This is not a trading system.
It does not generate entry or exit signals.
It does not define position size or timing.
Its purpose is to standardize portfolio review decisions, reduce emotional bias, and maintain discipline across changing market regimes.
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.