OPEN-SOURCE SCRIPT
تم تحديثه Annual Performance Table with Average Peformance

An indicator that displays annual performance in a table format, providing a quick overview of yearly returns with historical context.
It calculates the performance based on the first and last monthly close prices of each year. It displays returns chronologically from left to right, concluding with an average performance column.
Features:
Performance calculation method:
Performance = ((December Close - January Close) / January Close) × 100%
Usage:
Note: The indicator will display an error message if applied to any timeframe other than monthly.
It calculates the performance based on the first and last monthly close prices of each year. It displays returns chronologically from left to right, concluding with an average performance column.
Features:
- Works exclusively on monthly timeframes
- Customizable number of years to display (1-50 years)
- Shows year-by-year performance percentages
- Color-coded returns (green for positive, red for negative)
- Includes average performance across displayed years
- Semi-transparent overlay design for better chart visibility
Performance calculation method:
Performance = ((December Close - January Close) / January Close) × 100%
Usage:
- Apply to any chart on monthly timeframe
- Adjust the "Number of Years to Display" parameter as needed
- Table appears as an overlay with years, individual performances, and average
Note: The indicator will display an error message if applied to any timeframe other than monthly.
ملاحظات الأخبار
indicator that displays annual returns based on year-over-year price changes. The indicator uses first trading day prices of consecutive years to calculate returns, following standard industry practice.How Returns Are Calculated:
- Starting Point: First trading day's close price of Year X
- Ending Point: First trading day's close price of Year X+1
- Formula: ((End Price - Start Price) / Start Price) × 100%
Usage:
- Apply to any chart using daily timeframe
- Select desired number of years for historical context (default to 10)
- Table appears as an overlay showing year-by-year performance plus
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
للوصول السريع إلى الرسم البياني، أضف هذا النص البرمجي إلى مفضلاتك - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
للوصول السريع إلى الرسم البياني، أضف هذا النص البرمجي إلى مفضلاتك - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.