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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
ChartTrader-X
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
ChartTrader-X
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.