I'm new to ThinkScript but have some programming background. My questions:
1. I'm not interested in writing code that would generate a chart. I'm only interested in a scanner that would generate a list of symbols that meet the criteria as defined in the code. Do I still need a plot statement at the end even though my interest is only in a scanner?
2. Why is my code for defining a variable (with a Def statement) invalid. All I'm trying to do is to define a range of values for which RSI is true:
def Rnghi = (35 < RSI[5] =< 60) ;
I've tried Between function with the same result (invalid code)
Appeciate ANY comments. Anything at all will be gratefully received. Thanks!
1. I'm not interested in writing code that would generate a chart. I'm only interested in a scanner that would generate a list of symbols that meet the criteria as defined in the code. Do I still need a plot statement at the end even though my interest is only in a scanner?
2. Why is my code for defining a variable (with a Def statement) invalid. All I'm trying to do is to define a range of values for which RSI is true:
def Rnghi = (35 < RSI[5] =< 60) ;
I've tried Between function with the same result (invalid code)
Appeciate ANY comments. Anything at all will be gratefully received. Thanks!
Last edited by a moderator: