netarchitech
Well-known member
I have an issue with the TOS Scanner...Essentially, no matter what I do, the Scanner returns the same result set...and none of the returned results meet the criteria specified...
Given the following setup below:
Here is a sample of the result set:
Here is the custom script I am scanning with:
Am I missing something, is the Scanner broken? Any help would be greatly appreciated...Thanks in advance...
Given the following setup below:
Here is a sample of the result set:
Here is the custom script I am scanning with:
Code:
def length = 2;
def price = close;
def averageType = AverageType.WILDERS;
def NetChgAvg2 = MovingAverage(averageType, price - price[1], length);
def TotChgAvg2 = MovingAverage(averageType, AbsValue(price - price[1]), length);
def ChgRatio2 = if TotChgAvg2 != 0 then NetChgAvg2 / TotChgAvg2 else 0;
def RSI = 50 * (ChgRatio2 + 1);
plot scan = RSI < 10;
Am I missing something, is the Scanner broken? Any help would be greatly appreciated...Thanks in advance...