Only Constants Expected Here

T

Toolman93

New member
I have a recursive variable that is working correctly but need to make it into a constant as a parameter for input into another function but getting "Only constants expected here". I've read something about using getvalue but no success. Any advice to get this to work?
 
S

Samus Aran

New member
Hi everyone, I keep getting this message: "Only constants expected here:" when I used the Highest() function. Could I be given insight on how to code my own Highest() function to be able to receive a dynamic length of the number of previous bars that I choose for.

sincerely
 

Similar threads

Top