OPEN-SOURCE SCRIPT
تم تحديثه SMA crossover candle mark

This indicator marks the SMA crossover candles.
Which I tend to use as my entry model.
Usually when this occurs within my marked supply or demand zone you could end up with a price explosion heading toward the next weak high / low or even toward the daily high / low.
I personally use it on the 2-3 min chart within a supply or demand zone.
I've chosen voor de 100 SMA based on the 2 hour timeframe to determine the trend which will be displayed in the right top corner. The markers aligned to the trend will be shown to prevent counter trend trading.
I've created a similar indicator for MetaTrader 5: https://www.mql5.com/en/market/product/122703?source=Unknown
Which I tend to use as my entry model.
Usually when this occurs within my marked supply or demand zone you could end up with a price explosion heading toward the next weak high / low or even toward the daily high / low.
I personally use it on the 2-3 min chart within a supply or demand zone.
I've chosen voor de 100 SMA based on the 2 hour timeframe to determine the trend which will be displayed in the right top corner. The markers aligned to the trend will be shown to prevent counter trend trading.
I've created a similar indicator for MetaTrader 5: https://www.mql5.com/en/market/product/122703?source=Unknown
ملاحظات الأخبار
Check if the candle close crosses the SMA line.ملاحظات الأخبار
Edit the SMA input textملاحظات الأخبار
Add new logic to determine the trend and only display markers aligned with the HTF trend. ملاحظات الأخبار
Changed the higher timeframe SMA to the length of 100 based on the 2 hour timeframe. ملاحظات الأخبار
Plot the 100 SMA based of the 2 hour timeframe on the chart. ملاحظات الأخبار
Updated the bias table in the right top corner to display the intraday and daily trend.ملاحظات الأخبار
Changed the text style of the tableملاحظات الأخبار
Hide the crossover markers on the higher timeframes.Only timeframes smaller then 15m will display the markers
ملاحظات الأخبار
Calculate the timeframe based of the minutes for the top corner table.ملاحظات الأخبار
Hide markers on the higher timeframesملاحظات الأخبار
Refactored the codeملاحظات الأخبار
Added the Period enumملاحظات الأخبار
Moved the methods, types and enums to a libraryملاحظات الأخبار
Made the SMA lengths adjustable ملاحظات الأخبار
Changed the settings textsملاحظات الأخبار
Made the table text variable so it will be visible on all background color. ملاحظات الأخبار
Added the setting to override the intraday trend following markers plotting. ملاحظات الأخبار
Fix the intraday trend text bug ملاحظات الأخبار
Updated to PineScript v6ملاحظات الأخبار
Hide the trend table in the right top corner when the option to disable the trend following markers is checked. ملاحظات الأخبار
Display the markers on the seconds timeframeملاحظات الأخبار
Removed the HTF SMA line from the chartملاحظات الأخبار
Always show the trend tableملاحظات الأخبار
Select the timeframe in minutes where you want to be able to display the cross over markers.It defaults to the 15 min timeframe.
ملاحظات الأخبار
Dispatch an alert when the SMA cross over is marked.ملاحظات الأخبار
Updated the default alert condition textملاحظات الأخبار
Update the alert condition textملاحظات الأخبار
Added the color inputs for the SMA line and the SMA cross over markers.The color must be confirmed when you place the indicator on the chart, after it's placed on the chart you will be able to adjust the colors again through the settings of the indicator.
ملاحظات الأخبار
Added an extra setting to plot the intraday SMA line on the chartملاحظات الأخبار
Change the text to enable ملاحظات الأخبار
Do not display all the configuration setting values on the chartsملاحظات الأخبار
Added the table position ملاحظات الأخبار
Check for engulfing candles to filter out some useless crossovers. ملاحظات الأخبار
Update the nameنص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.