Here is a weird one.
I have t6 file containing data starting on the 7th September this year. I have a script that compiles ok, but when run gives the following error 055 binEURUSD 2016 (binEURUSD_2016.bar) history missing.
I move the bar period slider to 1, and press test. Same error, and the slider jumps back to 60.
I add BarPeriod = 1; to the script and press test. Hey presto, no error, the script works fine.
Question: why did it try running the script with period 60 when I had explicitly set the period slider to 1?
Similar question: why do I need to run a script once before I can set any custom sliders? Until I have successfully run the script the sliders are all called "SliderX" where X is 1, 2 or 3.