The sine wave oscillates with a frequency determined by frequency. Its amplitude (amplitude) and vertical offset (offset) are adjustable. Moving Averages:
Includes options for different types of moving averages: SMA (Simple Moving Average). EMA (Exponential Moving Average). WMA (Weighted Moving Average). HMA (Hull Moving Average). The user can choose the type (ma_type) and the length (ma_length) via inputs. Horizontal Lines:
highest_hype and lowest_hype are horizontal levels drawn at the user-specified values. Quarter Markers:
Vertical lines and labels (Q1, Q2, etc.) are drawn at the start of each quarter. Customization Options Moving Average Type: Switch between SMA, EMA, WMA, and HMA using the dropdown menu. Sine Wave Frequency: Adjust the number of oscillations per year. Amplitude and Offset: Control the height and center position of the sine wave. Moving Average Length: Change the length for any selected moving average. Output This indicator plots:
A sine wave that oscillates smoothly over the year, divided into quarters. A customizable moving average calculated based on the chosen price (e.g., close). Horizontal lines for the highest and lowest hype levels. Vertical lines and labels marking the start of each quarter. Let me know if you need additional features! 😊
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
للوصول السريع إلى الرسم البياني، أضف هذا النص البرمجي إلى مفضلاتك - تعرف على المزيد هنا.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
للوصول السريع إلى الرسم البياني، أضف هذا النص البرمجي إلى مفضلاتك - تعرف على المزيد هنا.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.