Disliked{quote} THANKS A LOT. YES IT CONTAINS THE OPTIONS LIKE I SAID. DATE FROM DATE TO BUT there is a problem in this, HLOC this script is creating is wrong timeframe or say timedifference is wrong GENERALLY FIRST THREE MONTHS HLOC IT CREATED IN A YEAR OR TWO YEARS COMBINED IS TOTALLY WRONG WHY IT IS WRONG.. DON:T KNOW please check whats the issue.. for example if you select year 2020 from 1 january to 1st january2021 it sarting HLOC from that 31st december 2019 thats ok but the next candles hloc has not accurate time difference upto the next 3 months...Ignored
More likely, you don't have those historical data in your terminal.
Please download historical data first before running scirpt.
I have tested out some pair without old data and it did fail also.
Without those historical data, you won't get correct output.
you can check tools -> history center if you have those data or not. If not, you may have to do download.
Please note that in some case, you won't be able to download all of old data if not available to download.
1