TOS-and-Thinkscript-Snippet-Collection icon indicating copy to clipboard operation
TOS-and-Thinkscript-Snippet-Collection copied to clipboard

Sum() function use to simplify code

Open bernard01 opened this issue 6 years ago • 0 comments

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.

bernard01 avatar May 21 '19 13:05 bernard01