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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.