OPEN-SOURCE SCRIPT
Telah dikemas kini 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
Nota Keluaran
Check if the candle close crosses the SMA line.Nota Keluaran
Edit the SMA input textNota Keluaran
Add new logic to determine the trend and only display markers aligned with the HTF trend. Nota Keluaran
Changed the higher timeframe SMA to the length of 100 based on the 2 hour timeframe. Nota Keluaran
Plot the 100 SMA based of the 2 hour timeframe on the chart. Nota Keluaran
Updated the bias table in the right top corner to display the intraday and daily trend.Nota Keluaran
Changed the text style of the tableNota Keluaran
Hide the crossover markers on the higher timeframes.Only timeframes smaller then 15m will display the markers
Nota Keluaran
Calculate the timeframe based of the minutes for the top corner table.Nota Keluaran
Hide markers on the higher timeframesNota Keluaran
Refactored the codeNota Keluaran
Added the Period enumNota Keluaran
Moved the methods, types and enums to a libraryNota Keluaran
Made the SMA lengths adjustable Nota Keluaran
Changed the settings textsNota Keluaran
Made the table text variable so it will be visible on all background color. Nota Keluaran
Added the setting to override the intraday trend following markers plotting. Nota Keluaran
Fix the intraday trend text bug Nota Keluaran
Updated to PineScript v6Nota Keluaran
Hide the trend table in the right top corner when the option to disable the trend following markers is checked. Nota Keluaran
Display the markers on the seconds timeframeNota Keluaran
Removed the HTF SMA line from the chartNota Keluaran
Always show the trend tableNota Keluaran
Select the timeframe in minutes where you want to be able to display the cross over markers.It defaults to the 15 min timeframe.
Nota Keluaran
Dispatch an alert when the SMA cross over is marked.Nota Keluaran
Updated the default alert condition textNota Keluaran
Update the alert condition textNota Keluaran
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.
Nota Keluaran
Added an extra setting to plot the intraday SMA line on the chartNota Keluaran
Change the text to enable Nota Keluaran
Do not display all the configuration setting values on the chartsNota Keluaran
Added the table position Nota Keluaran
Check for engulfing candles to filter out some useless crossovers. Nota Keluaran
Update the nameSkrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.