#### Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

# Various Monthly Technical Scan Questions

Hi,

I wanted to scan for stocks where Monthly RSI reached an All time high and also for stocks where the Monthly RSI reached an All Time Low.
Also, is there a filter for IPO stocks? (close XX months ago is equal to 0, how do i scan for the condition highlighted) Thank you in advance.

I tried this but received a syntax error
[monthly RSI(14) = monthly max(All Time High, monthly RSI(14))]

Thanks again.

Yes this will give you a syntax error. The first clue is to look at the error, it usually will give you some idea as to the error. Also it helps to understand the format of the function you are using.

This is the error you are getting.

"Your scan syntax is incorrect. Could not parse "ALL TIME HIGH" located in the clause "MONTHLY RSI(14) = MONTHLY MAX(ALL TIME HIGH, MONTHLY RSI(14))" (an integer was expected) "

From the scan documentation on functions.
http://stockcharts.com/docs/doku.php?id=scans:functions

Maximum Value (Max)
The highest value of the expression over the specified time period.

Max(nPeriod, exp)

Parameters
nPeriod - Number of periods
exp - expression

Example
[Max(253,close) > 99.9]

As you can see the function expects to see an integer (the number of periods). I suggest you change "All Time High" to a number, say 36 months.

[monthly RSI(14) = monthly max(36, monthly RSI(14))]
• mod