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.
Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?