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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。