The following suggestion: Plot if Sum(cond1,cond2,cond3, cond4, cond5, cond6) = 6 then ??????? else ?????; does not work with the current version of thinkscript because it accepts only 2 parameters. It is really difficult to simplify complex scripts :( and I haven't found any good approach to this.