TOS-and-Thinkscript-Snippet-Collection
                                
                                 TOS-and-Thinkscript-Snippet-Collection copied to clipboard
                                
                                    TOS-and-Thinkscript-Snippet-Collection copied to clipboard
                            
                            
                            
                        Sum() function use to simplify code
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.