OPEN-SOURCE SCRIPT
Atualizado Price Crossover

The price crossing above or below the moving average signals a potential change in trend.
When the price crosses above the moving average, it is bullish, the color of the zone between the price and the MA is green, a green up arrow emphasizes the crossover.
And when it crosses below the moving average, it is bearish, the color of the zone between the price and the MA is red, a red down arrow emphasizes the crossover.
Trend changes are then easier to spot.

When the price crosses above the moving average, it is bullish, the color of the zone between the price and the MA is green, a green up arrow emphasizes the crossover.
And when it crosses below the moving average, it is bearish, the color of the zone between the price and the MA is red, a red down arrow emphasizes the crossover.
Trend changes are then easier to spot.
Notas de Lançamento
Updated "Price Crossover" IndicatorNew Features:
Three Distinct Alert Conditions:
Price Cross Over MA: Get notified when the price crosses above the moving average (MA).
Price Cross Under MA: Alerts you when the price crosses below the MA.
Price Cross MA (Either Direction): A versatile alert that triggers when the price crosses the MA in either direction – over or under.
Improved Visibility of Signals:
Triangle Indicators: The size of the triangle indicators has been adjusted to improve visibility. Upward green triangles signal a crossover above the MA, while downward red triangles indicate a crossunder.
Usage Tips:
These alerts are designed to assist in identifying key moments where the price crosses the MA, a common strategy for trend-following traders.
To set up alerts, right-click on the indicator or select the 3 dots near the indicator label and select "Add Alert on Price Crossover." Choose the specific condition that suits your trading strategy.
The dynamic color of the MA line and the background fill provide at-a-glance insights into market trends, aiding in quick decision-making.
Conclusion:
The enhanced "Price Crossover" indicator offers improved visualization and alert functionality, making it easier for traders to follow market trends and make informed decisions based on MA crossovers.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.