OPEN-SOURCE SCRIPT
MACD SMI PNR Pro Ver.2 [dDy879]

1. Core Oscillators
MACD: Serves as the primary trend bias and momentum indicator. A crossover signifies the potential start of a new price cycle.
SMI (Stochastic Momentum Index): This is more stable than a standard Stochastic. It helps identify "optimal" entry points (buying dips in an uptrend / selling rallies in a downtrend) using double smoothing to eliminate market noise.
2. Precision Filters
PNR (Percentile Near Range): A statistical tool that calculates the median price range over the last 21 bars. If the price is above the PNR line, the system focuses exclusively on BUY setups.
DMI (DI+ / DI-): Used to verify whether "Buyers" or "Sellers" are truly in control. The signal arrow only appears if the dominant force's strength is above 20 (DMI/ADX threshold).
3. Visuals & Signals
Dots: Represent a "Warning" signal when a basic MACD crossover occurs.
Triangles (Filtered Arrows): These are "Confirmation" signals. They only appear when MACD, SMI, PNR, and DMI conditions are all aligned simultaneously.
Dashboard: Provides a Multi-Timeframe (MTF) summary, ensuring that the current trade direction is supported by the trend in higher timeframes.
Summary: This code doesn't just look at price crossovers; it ensures that Trend, Momentum, Statistical Value, and Volume Strength are all pointing in the same direction before suggesting a trade.
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.