marcohenning

Multi Timeframe Bar Replay Fix

This indicator fixes the issue of TradingView showing the price too early when using bar replay and switching to a higher timeframe. It works on any timeframe and allows you to switch to any higher timeframe from any candle you want, without showing you what is going to happen next. Everything is done automatically.

Essentially, what you are doing is hiding the original candles from your chart and enabling the indicator, which redraws them without price jumping forward. This is done by hiding the last candle on any timeframe. The indicator should only be used when using bar replay since the last candle on any timeframe is hidden and you don't want to have that in live markets.


Step 1: Go to your chart settings and untick the checkboxes for "Body", "Borders", "Wick", "Last price line" and "Symbol last price label" (This hides the candles, price line and price label from you chart and is needed since they can't be modified with an indicator)

Step 2: Enable the indicator on your chart and customize the candle colors to your liking (The indicator draws the candles back onto the chart and can now modify them to hide the candles which would be jumping forward)

Step 3: Click on the 3 dots next to the indicator name and click on "Visual order -> Bring to front" (This puts the candles in front of all other drawings on the chart)


To go back to normal, simply remove the indicator from your chart and enable the things you previously hid when setting it up.
Skrip dilindungi
Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.
Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?