OPEN-SOURCE SCRIPT
Ghost Candle with Shadow Rail Px

Ghost Candle with Shadow Rail draws smoothed "ghost" candles beside your real price and pairs them with an adaptive trailing line called the Shadow Rail. It marks where a new buy or sell trend starts.
What's inside
1. Ghost Candles
*Double-smoothed Heikin Ashi-style candles drawn next to the real candles, so the noise is filtered out and the trend is easier to read.
*They sit below price in an uptrend and above it in a downtrend.
*You can set the gap between them and price, force them above or below, and choose how smoothly they glide across when the trend flips.
*A soft glow (halo) surrounds them. It gets brighter when the trend is clean and fades when the market is choppy.
2. Shadow Rail
*An adaptive trailing line that sits under price in an uptrend and over it in a downtrend.
It adjusts to volatility, how clean the move is, and buying versus selling volume.
*When price closes through the rail, the trend flips
3. Buy Start / Sell Start labels
A green BUY START label appears where a new uptrend begins, and a red SELL START label where a new downtrend begins.
4. Optional filters
*Higher Timeframe filter: Only confirms buys when the higher timeframe is above its EMA, and sells when it is below. Flips that disagree get no label.
*Minimum Trend Quality %: Skips flips that happen in choppy conditions.
*A flip can change while the current candle is still open, so wait for the candle to close before treating a label as final.
*This is a trend-reading tool.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
ChartTrader-X
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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
ChartTrader-X
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.