Bullish Fresh Zone: - This part looks for a specific pattern in the price movement that indicates a potential bullish (upward) trend. - It checks if the current bar's low price is higher than the previous bar's opening price. - It also checks if the previous bar's closing price was higher than its opening price. - Additionally, it checks if the bar before the previous one had a closing price lower than its opening price. - If all these conditions are met, it identifies a bullish fresh zone.
Bearish Fresh Zone: - This part looks for a specific pattern in the price movement that indicates a potential bearish (downward) trend. - It checks if the current bar's high price is lower than the previous bar's opening price. - It also checks if the previous bar's closing price was lower than its opening price. - Additionally, it checks if the bar before the previous one had a closing price higher than its opening price. - If all these conditions are met, it identifies a bearish fresh zone.
Color Coding: - When a bullish fresh zone is identified, it colors the candlestick from two bars ago with a specific yellowish color (`color.rgb(240, 243, 33)`). - When a bearish fresh zone is identified, it colors the candlestick from two bars ago with a specific pink color (`color.rgb(255, 0, 191)`).
Alert: - The script creates an alert condition. - If either a bullish or bearish fresh zone pattern appears, it triggers an alert with the message "A Fresh zone has appeared!".
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.
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.
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.
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.