OPEN-SOURCE SCRIPT
Aggiornato DMA Buy & Sell Signal with Alerts

This script identifies **BUY** signals when the 20 DMA crosses **below** the 50 DMA, with the alignment: `200 DMA > 50 DMA > 20 DMA > Price`.
It also plots **SELL** signals when the 20 DMA crosses **above** the 50 DMA, with the alignment: `Price > 20 DMA > 50 DMA > 200 DMA`.
Each signal is plotted on the chart with green "BUY" and red "SELL" labels.
The script includes alert conditions for both signals.
It uses simple moving averages (SMA) of 20, 50, and 200 periods.
It also plots **SELL** signals when the 20 DMA crosses **above** the 50 DMA, with the alignment: `Price > 20 DMA > 50 DMA > 200 DMA`.
Each signal is plotted on the chart with green "BUY" and red "SELL" labels.
The script includes alert conditions for both signals.
It uses simple moving averages (SMA) of 20, 50, and 200 periods.
Note di rilascio
This script identifies **BUY** signals when the 20 DMA crosses **below** the 50 DMA, with the alignment: `200 DMA > 50 DMA > 20 DMA > Price`.It also plots **SELL** signals when the 20 DMA crosses **above** the 50 DMA, with the alignment: `Price > 20 DMA > 50 DMA > 200 DMA`.
Each signal is plotted on the chart with green "BUY" and red "SELL" labels.
The script includes alert conditions for both signals.
It uses simple moving averages (SMA) of 20, 50, and 200 periods.
Note di rilascio
This script identifies **BUY** signals when the 20 DMA crosses **below** the 50 DMA, with the alignment: `200 DMA > 50 DMA > 20 DMA > Price`.It also plots **SELL** signals when the 20 DMA crosses **above** the 50 DMA, with the alignment: `Price > 20 DMA > 50 DMA > 200 DMA`.
Each signal is plotted on the chart with green "BUY" and red "SELL" labels.
The script includes alert conditions for both signals.
It uses simple moving averages (SMA) of 20, 50, and 200 periods.
Note di rilascio
This script identifies **BUY** signals when the 20 DMA crosses **below** the 50 DMA, with the alignment: `200 DMA > 50 DMA > 20 DMA > Price`.It also plots **SELL** signals when the 20 DMA crosses **above** the 50 DMA, with the alignment: `Price > 20 DMA > 50 DMA > 200 DMA`.
Each signal is plotted on the chart with green "BUY" and red "SELL" labels.
The script includes alert conditions for both signals.
It uses simple moving averages (SMA) of 20, 50, and 200 periods.
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.
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.