TradingView - The Study references too many candles in history

TradingView - The Study references too many candles in history

If you receive this message on your TradingView Chart "The study references too many candles in history". Please see:



(You can see the error message by clicking on the explanation mark).

Then the study is trying to calculate too far back in history on your chart. I.e. it is trying to use too many Bars back in history. The solution is to change the Date in the study to a date nearer today (or ideally today) As you can see in this example, the date is from nearly a month ago:

‚Äč

To do this please click on the Properties of the Script:



Then change the Date and time to a point today that lands on the current Chart:



Then the Script should plot correctly.

    Need more help ?

    If you need additional help, then please open a new Support Ticket