SetOption("ApplyToRecentBars", 60); error

i either get a no sequence undefined error or i get a missing data error i feel like i would have less erroes with my bots if i got this to work anyone no what i mite be doing wrong in my script to be getting a no sequences undefined error