OPEN-SOURCE SCRIPT
Bullish/Bearish Movement Sum

This indicator calculates and displays the cumulative sum of bullish and bearish price movements over a specified period.
Features:
- Green line: Cumulative sum of all bullish movements
- Red line: Cumulative sum of all bearish movements (absolute value)
- Blue area: Net difference (bullish - bearish)
- Information table showing current values and bull/bear ratio
Settings:
- Calculation Period: Choose rolling window size (default: 100 bars) or 0 for cumulative from start
- Calculation Mode: Choose between "Points" (absolute price changes) or "Percentage" (% changes)
Use Cases:
- Identify market directional strength
- Compare bullish vs bearish pressure
- Spot divergences between price and directional momentum
- Ratio > 1 indicates more bullish than bearish movement
Developed with assistance from Claude (Anthropic)
Features:
- Green line: Cumulative sum of all bullish movements
- Red line: Cumulative sum of all bearish movements (absolute value)
- Blue area: Net difference (bullish - bearish)
- Information table showing current values and bull/bear ratio
Settings:
- Calculation Period: Choose rolling window size (default: 100 bars) or 0 for cumulative from start
- Calculation Mode: Choose between "Points" (absolute price changes) or "Percentage" (% changes)
Use Cases:
- Identify market directional strength
- Compare bullish vs bearish pressure
- Spot divergences between price and directional momentum
- Ratio > 1 indicates more bullish than bearish movement
Developed with assistance from Claude (Anthropic)
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.