OPEN-SOURCE SCRIPT
Aggiornato 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
Note di rilascio
Check if the candle close crosses the SMA line.Note di rilascio
Edit the SMA input textNote di rilascio
Add new logic to determine the trend and only display markers aligned with the HTF trend. Note di rilascio
Changed the higher timeframe SMA to the length of 100 based on the 2 hour timeframe. Note di rilascio
Plot the 100 SMA based of the 2 hour timeframe on the chart. Note di rilascio
Updated the bias table in the right top corner to display the intraday and daily trend.Note di rilascio
Changed the text style of the tableNote di rilascio
Hide the crossover markers on the higher timeframes.Only timeframes smaller then 15m will display the markers
Note di rilascio
Calculate the timeframe based of the minutes for the top corner table.Note di rilascio
Hide markers on the higher timeframesNote di rilascio
Refactored the codeNote di rilascio
Added the Period enumNote di rilascio
Moved the methods, types and enums to a libraryNote di rilascio
Made the SMA lengths adjustable Note di rilascio
Changed the settings textsNote di rilascio
Made the table text variable so it will be visible on all background color. Note di rilascio
Added the setting to override the intraday trend following markers plotting. Note di rilascio
Fix the intraday trend text bug Note di rilascio
Updated to PineScript v6Note di rilascio
Hide the trend table in the right top corner when the option to disable the trend following markers is checked. Note di rilascio
Display the markers on the seconds timeframeNote di rilascio
Removed the HTF SMA line from the chartNote di rilascio
Always show the trend tableNote di rilascio
Select the timeframe in minutes where you want to be able to display the cross over markers.It defaults to the 15 min timeframe.
Note di rilascio
Dispatch an alert when the SMA cross over is marked.Note di rilascio
Updated the default alert condition textNote di rilascio
Update the alert condition textNote di rilascio
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.
Note di rilascio
Added an extra setting to plot the intraday SMA line on the chartNote di rilascio
Change the text to enable Note di rilascio
Do not display all the configuration setting values on the chartsScript open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.