PROTECTED SOURCE SCRIPT
تم تحديثه BVC - Optimized Trend Strength

Overview
BVC-Optimized Trend Strength is a next-generation trend evaluation system designed specifically for the Casablanca Stock Exchange (BVC).
It measures the true strength of bullish and bearish pressure using a combination of advanced technical filters:
• Trend structure via MM20 & MM50
• Market momentum via RSI
• Breakout confirmation using Donchian levels
• Volume validation based on BVC liquidity characteristics
• Slope strength of the fast moving average
• Weighted scoring engine (0 → 100)
• Non-repainting BUY/SELL signals
• Background regime detection (Bull / Bear / Neutral)
It is engineered to be highly configurable, lightweight, and fully adapted to BVC market behavior, where liquidity, breakout reliability, and trend confirmation behave differently from US or European markets.
⸻
How It Works
At every bar, the script evaluates 6 categories of trend evidence.
Each category contributes a configurable weight to a final Bull Score and Bear Score, each ranging from 0 to 100.
Bull Score Components
• Price above MM20
• MM20 above MM50
• Positive MA slope
• RSI above bullish threshold
• Donchian bullish breakout (non-repainting)
• Volume confirmation
Bear Score Components
Exact mirror of the bullish setup.
The result is a quantitative trend strength meter that reflects the true pressure behind the market.
⸻
Non-Repainting BUY & SELL Signals
Signals only trigger when the calculated score crosses your minimum threshold (default: 60).
Labels fire once, at the close of the candle, using:
MM crossovers
RSI regime shifts
Donchian breakouts
Trend structure & volume validation
All signals are non-repainting, meaning what you see historically is exactly what was printed live.
Labels include:
BUY • Very Strong (85/100)
SELL • Strong (65/100)
⸻
Background Regime Detection
The chart background automatically adapts to market conditions:
• Green → confirmed bullish regime
• Red → confirmed bearish regime
• Gray → mixed or transition phase
You may customize transparency and behavior.
⸻
Top-Right Dashboard
A clean summary panel displays:
• Price
• MM20
• MM50
• RSI
• Bull/Bear scores
• Recommended Action: BUY / HOLD, SELL / AVOID or WAIT
This gives traders an instant, objective view of market conditions.
⸻
Alerts
Built-in TradingView alerts:
• BUY Signal
• SELL Signal
Customize them directly through the TradingView alerts panel.
⸻
Ideal For
Swing traders
Position traders
Portfolio managers
Trend-followers
BVC investors wanting objective confirmation
Traders who hate repainting signals
⸻
Why It Works on the BVC
The BVC behaves differently from high-frequency markets.
Breakouts often require confirmation, low volume distorts momentum, and many assets move in structured waves.
This script integrates all these insights into a single, powerful and unified indicator—built for Morocco, by someone who trades Morocco.
⸻
Disclaimer
This indicator does not guarantee profits and should be combined with market structure, liquidity evaluation, and proper risk management. Past performance does not guarantee future results.
BVC-Optimized Trend Strength is a next-generation trend evaluation system designed specifically for the Casablanca Stock Exchange (BVC).
It measures the true strength of bullish and bearish pressure using a combination of advanced technical filters:
• Trend structure via MM20 & MM50
• Market momentum via RSI
• Breakout confirmation using Donchian levels
• Volume validation based on BVC liquidity characteristics
• Slope strength of the fast moving average
• Weighted scoring engine (0 → 100)
• Non-repainting BUY/SELL signals
• Background regime detection (Bull / Bear / Neutral)
It is engineered to be highly configurable, lightweight, and fully adapted to BVC market behavior, where liquidity, breakout reliability, and trend confirmation behave differently from US or European markets.
⸻
How It Works
At every bar, the script evaluates 6 categories of trend evidence.
Each category contributes a configurable weight to a final Bull Score and Bear Score, each ranging from 0 to 100.
Bull Score Components
• Price above MM20
• MM20 above MM50
• Positive MA slope
• RSI above bullish threshold
• Donchian bullish breakout (non-repainting)
• Volume confirmation
Bear Score Components
Exact mirror of the bullish setup.
The result is a quantitative trend strength meter that reflects the true pressure behind the market.
⸻
Non-Repainting BUY & SELL Signals
Signals only trigger when the calculated score crosses your minimum threshold (default: 60).
Labels fire once, at the close of the candle, using:
MM crossovers
RSI regime shifts
Donchian breakouts
Trend structure & volume validation
All signals are non-repainting, meaning what you see historically is exactly what was printed live.
Labels include:
BUY • Very Strong (85/100)
SELL • Strong (65/100)
⸻
Background Regime Detection
The chart background automatically adapts to market conditions:
• Green → confirmed bullish regime
• Red → confirmed bearish regime
• Gray → mixed or transition phase
You may customize transparency and behavior.
⸻
Top-Right Dashboard
A clean summary panel displays:
• Price
• MM20
• MM50
• RSI
• Bull/Bear scores
• Recommended Action: BUY / HOLD, SELL / AVOID or WAIT
This gives traders an instant, objective view of market conditions.
⸻
Alerts
Built-in TradingView alerts:
• BUY Signal
• SELL Signal
Customize them directly through the TradingView alerts panel.
⸻
Ideal For
Swing traders
Position traders
Portfolio managers
Trend-followers
BVC investors wanting objective confirmation
Traders who hate repainting signals
⸻
Why It Works on the BVC
The BVC behaves differently from high-frequency markets.
Breakouts often require confirmation, low volume distorts momentum, and many assets move in structured waves.
This script integrates all these insights into a single, powerful and unified indicator—built for Morocco, by someone who trades Morocco.
⸻
Disclaimer
This indicator does not guarantee profits and should be combined with market structure, liquidity evaluation, and proper risk management. Past performance does not guarantee future results.
ملاحظات الأخبار
OverviewBVC-Optimized Trend Strength is a next-generation trend evaluation system designed specifically for the Casablanca Stock Exchange (BVC).
It measures the true strength of bullish and bearish pressure using a combination of advanced technical filters:
• Trend structure via MM20 & MM50
• Market momentum via RSI
• Breakout confirmation using Donchian levels
• Volume validation based on BVC liquidity characteristics
• Slope strength of the fast moving average
• Weighted scoring engine (0 → 100)
• Non-repainting BUY/SELL signals
• Background regime detection (Bull / Bear / Neutral)
It is engineered to be highly configurable, lightweight, and fully adapted to BVC market behavior, where liquidity, breakout reliability, and trend confirmation behave differently from US or European markets.
⸻
How It Works
At every bar, the script evaluates 6 categories of trend evidence.
Each category contributes a configurable weight to a final Bull Score and Bear Score, each ranging from 0 to 100.
Bull Score Components
• Price above MM20
• MM20 above MM50
• Positive MA slope
• RSI above bullish threshold
• Donchian bullish breakout (non-repainting)
• Volume confirmation
Bear Score Components
Exact mirror of the bullish setup.
The result is a quantitative trend strength meter that reflects the true pressure behind the market.
⸻
Non-Repainting BUY & SELL Signals
Signals only trigger when the calculated score crosses your minimum threshold (default: 60).
Labels fire once, at the close of the candle, using:
MM crossovers
RSI regime shifts
Donchian breakouts
Trend structure & volume validation
All signals are non-repainting, meaning what you see historically is exactly what was printed live.
Labels include:
BUY • Very Strong (85/100)
SELL • Strong (65/100)
⸻
Background Regime Detection
The chart background automatically adapts to market conditions:
• Green → confirmed bullish regime
• Red → confirmed bearish regime
• Gray → mixed or transition phase
You may customize transparency and behavior.
⸻
Top-Right Dashboard
A clean summary panel displays:
• Price
• MM20
• MM50
• RSI
• Bull/Bear scores
• Recommended Action: BUY / HOLD, SELL / AVOID or WAIT
This gives traders an instant, objective view of market conditions.
⸻
Alerts
Built-in TradingView alerts:
• BUY Signal
• SELL Signal
Customize them directly through the TradingView alerts panel.
⸻
Ideal For
Swing traders
Position traders
Portfolio managers
Trend-followers
BVC investors wanting objective confirmation
Traders who hate repainting signals
⸻
Why It Works on the BVC
The BVC behaves differently from high-frequency markets.
Breakouts often require confirmation, low volume distorts momentum, and many assets move in structured waves.
This script integrates all these insights into a single, powerful and unified indicator—built for Morocco, by someone who trades Morocco.
⸻
Disclaimer
This indicator does not guarantee profits and should be combined with market structure, liquidity evaluation, and proper risk management. Past performance does not guarantee future results.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.