OPEN-SOURCE SCRIPT
Parabolic SAR MTF Lines

The indicator shows the Parabolic SAR sign (price above or below the indicator) for several timeframes at once. You can see at a glance how the price is trending across higher and lower timeframes.
Note that, for lower timeframes, the line becomes yellow to the left because history is limited and there are not enough bars to calculate.
Other features (can be enabled in settings):
* each line can be enabled or disabled individually, so that unused ones can be hidden.
* simple trend detection based on the number of bullish and bearish timeframes; threshold can be changed in Settings.
* "Score" output: counting the net number of bullish and bearish timeframes
* "Trend" output: changes to bullish or bearish as the score goes over or under the threshold
* background color (green or red according to trend).
* alert for trend change.
* another alert with a separate threshold score for flexibility.
* score weights for further customization of trend detection and alerts. Input parameters are set in terms of score values instead of number of lines.
* input options to choose alert modes for trend and extra alerts. The options are "once per bar close" (default), "once per bar", "every time".
This indicator was based on MACD MTF Lines where all the logic and features came from.
Note that, for lower timeframes, the line becomes yellow to the left because history is limited and there are not enough bars to calculate.
Other features (can be enabled in settings):
* each line can be enabled or disabled individually, so that unused ones can be hidden.
* simple trend detection based on the number of bullish and bearish timeframes; threshold can be changed in Settings.
* "Score" output: counting the net number of bullish and bearish timeframes
* "Trend" output: changes to bullish or bearish as the score goes over or under the threshold
* background color (green or red according to trend).
* alert for trend change.
* another alert with a separate threshold score for flexibility.
* score weights for further customization of trend detection and alerts. Input parameters are set in terms of score values instead of number of lines.
* input options to choose alert modes for trend and extra alerts. The options are "once per bar close" (default), "once per bar", "every time".
This indicator was based on MACD MTF Lines where all the logic and features came from.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.