There’s a small mistake in the code I obviously don’t know what it is thank you a=ROC[5](close) b=ROC[15](close) c=ROC[25](close) d=ROC[15](close) e=ROC[25](close) f=ROC[39](close) rem calculation of the TRIPLE ROC g=(a+b+c)*100 next i=(d+e+f)*100 myroc = (g) myroc1 = (i) return myroc as "TRO", myroc1 as "TRT"