PROTECTED SOURCE SCRIPT

MA 50 / 100 Crossover Candle Only

16
Title:
MA 50 / 100 Crossover Candle Only — Clean Trend Shift Signals

Short Title:
MA50_100Crossover

Tags:
moving-average, crossover, trend, buy-sell, momentum, trend-following, signal, entry

Short Description:
A clean moving average crossover indicator that highlights BUY and SELL signals only on the crossover candle.

Full Description:
The MA 50 / 100 Crossover Candle Only indicator is a classic trend-following tool designed to detect major market direction changes using the crossover between two widely followed moving averages.
It focuses exclusively on the exact crossover candle, helping traders clearly identify trend shifts without cluttering the chart.

By highlighting only the crossover bar, the indicator provides a precise visual cue for potential entry points while maintaining a clean and readable chart layout.

How It Works

The indicator monitors the relationship between a fast and a slow moving average representing medium- and longer-term market behavior.

A BUY signal is generated when the faster average crosses above the slower average.

A SELL signal is generated when the faster average crosses below the slower average.

Only the candle where the crossover occurs is colored and labeled, ensuring clarity and avoiding repetitive signals.

Key Features

Classic MA crossover logic using fixed medium/long-term periods

BUY and SELL signals displayed only on the crossover candle

Clean candle coloring for immediate visual confirmation

Supports multiple MA calculation types (SMA, EMA, WMA, RMA)

Optional on-chart MA labels for clarity

Built-in alerts for both BUY and SELL signals

Compatible with all markets and timeframes

Non-repainting logic

Use Cases

Identifying medium- to long-term trend reversals

Trend-following entry confirmation

Filtering trades in trending markets

Supporting swing and position trading strategies

Confluence tool with price action or support/resistance analysis

Notes

Signals appear only at confirmed crossovers.

The indicator does not attempt to predict price; it reacts to confirmed trend shifts.

Best results are achieved when combined with proper risk management.

Disclaimer

This script is for educational and analytical purposes only and does not constitute financial advice.
Trading involves risk; always confirm signals before executing trades.

Developer

Developed by Abdulrahman Alotaibi — ATA Scripts

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.