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"
Replace lines 8 and 9 with:
g=(a+b+c)*100
i=(d+e+f)*100
NEXT is a keywords reserved for loops. Can’t figure out why it’s been used like that.
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
i=(d+e+f)*100
myroc = (g)
myroc1 = (i)
return myroc as "TRO", myroc1 as "TRT"
It’s me I don’t know what I’m doing even when I take that away it’s still not working
Could you check it all out for me again please and see what else is wrong
There is nothing wrong in your last code, what is not working please?
Please next time use a more meaningful topic title! I will change it for you..
It is working now you are right
I will try and make the titles more meaningful and future thank you