MACD Objective Breakouts + Alerts

Alerts can be toggled on or off in the settings but will not work if the alert is not added to your chart. Alerts can be added by selecting the "Alert" button on TradingView then selecting "MOB Alerts" as the condition
Alerts will trigger when price closes above or below the indicated levels.
Please let me know if you find any bugs!
+ Added additional style options: Can now toggle shapes on or off. Can now change the width of the lines.
+ Added new alert feature: Toggle the "Plot Shapes" checkbox if you only want to be notified on the close first breakout candle. If unchecked, you will be notified on the close of every breakout candle.
+ Added regular and hidden divergence detection: Will indicate breakouts after a divergence has been detected if toggled on. Divergence breakouts will be indicated with a white diamond on the first candle instead of the usual red/green.
+ Added checkbox to only receive alerts if there is a divergence breakout.
~ Changed some text to make the settings more clear.
+ Added "Only On Close Outside of Level" checkbox under "Alert Settings". When enabled, a candle will need to close outside of a key level to receive an alert. When disabled, you will receive an alert as soon as price touches a key level.
+ Added checkbox to enable/disable the lines without needing to go to the "Style" tab.
~ Changed various tooltips to accommodate for new additions.
+ Added new setting to confirm the lows/highs based on the number of histogram bars needed to display a high or a low. (ex. Minimum Histogram Bars = 3, you will need at least 3 green MACD histogram bars in a row for the indicator to consider this a new resistance level)
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.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
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.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.