Although the filter script uses an artificial price curve, it's otherwise just a normal script and will throw the usual error when you selected an asset with missing history - just as any other script.