PROTECTED SOURCE SCRIPT
Bull-Bear Power ZScore - by Trading Pine Lab

🇬🇧
The Bull-Bear Power ZScore Strategy is an advanced trading framework that integrates Bull-Bear Power (BBP) with a statistical Z-Score model.
BBP measures the relative strength of buyers vs. sellers against an EMA baseline, while the Z-Score standardizes this relationship to detect statistically significant breakouts.
This dual-layer approach provides early trend detection while reducing noise from raw momentum signals.
Entries are triggered when the Z-Score crosses above or below its threshold (long above +T, short below –T). Exits occur when the Z-Score crosses back to zero, ensuring trades close when momentum fades.
A dynamic multi-level take-profit system is integrated, using ATR-based targets (TP1, TP2, TP3) that automatically adapt to **volume context** (high/medium/low) and **percentile analysis** (distribution of price and volume).
This ensures profit targets stretch in strong environments and tighten in weaker conditions, optimizing both risk and reward.
All parameters are fully configurable:
-Bull-Bear Power Settings: EMA length, Z-Score length, Z-Score threshold.
-Take Profit Settings: enable/disable TP system, ATR period, TP1–TP3 multipliers, TP1–TP3 position sizes.
-Volume Analysis: volume MA period, high/medium/low multipliers, adjustment factors.
-Percentile Analysis: percentile lookback period, high/medium/low thresholds, adjustment factors.
The Bull-Bear Power ZScore Strategy is an advanced trading framework that integrates Bull-Bear Power (BBP) with a statistical Z-Score model.
BBP measures the relative strength of buyers vs. sellers against an EMA baseline, while the Z-Score standardizes this relationship to detect statistically significant breakouts.
This dual-layer approach provides early trend detection while reducing noise from raw momentum signals.
Entries are triggered when the Z-Score crosses above or below its threshold (long above +T, short below –T). Exits occur when the Z-Score crosses back to zero, ensuring trades close when momentum fades.
A dynamic multi-level take-profit system is integrated, using ATR-based targets (TP1, TP2, TP3) that automatically adapt to **volume context** (high/medium/low) and **percentile analysis** (distribution of price and volume).
This ensures profit targets stretch in strong environments and tighten in weaker conditions, optimizing both risk and reward.
All parameters are fully configurable:
-Bull-Bear Power Settings: EMA length, Z-Score length, Z-Score threshold.
-Take Profit Settings: enable/disable TP system, ATR period, TP1–TP3 multipliers, TP1–TP3 position sizes.
-Volume Analysis: volume MA period, high/medium/low multipliers, adjustment factors.
-Percentile Analysis: percentile lookback period, high/medium/low thresholds, adjustment factors.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.