llost275

we need refresh indicator candle by candle in multi timeframe

llost275 Updated   
BINANCE:BTCUSDT   Bitcoin / TetherUS
PS version 5 introduced very powerful features in the script heading - timeframe & timeframe_gaps - which allow to lookup into the higher or lower TFs. Unfortunately, the information they bring lives only one candle and one has to manually refresh the chart to see an update. It will be very awesome if the PS language would have one more feature in the heading - refresh=true - or some sort of a macro functionality to refresh the chart by the script.

For instance, the main chart is painted in 15M tf, and the indicator below, using the header statement indicator(..., timeframe='', timeframe_gaps=true), is set to 15M tf. As a result, the latter indicator will be producing correct results only during the current bar (or the time period it was drawn on the screen), and the indicator lines during all consequent bars will be painted incorrectly producing wrong signals. This problem can only be overcome by setting that indicator manually to a different tf and then back again to 30M tf.
Comment:
who can solve the problem with the idea or use program or plugin for chrome?
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.