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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
ChartTrader-X
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
ChartTrader-X
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。