New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
I am trying to scan for stocks where the Coppock curve was negative last week and is positive for this week. Something like
[last week's 10-period WMA of 14-period RoC + 11-perod RoC < 0] and [this week's 10-period WMA of 14-period RoC + 11-perod RoC > 0]
The scanner will not approve this syntax. Any suggestion is appreciated.
0
Comments
Summary of links:
https://stockcharts.com/docs/doku.php?id=scans
Syntax reference:
https://stockcharts.com/docs/doku.php?id=scans:reference
Indicator syntax:
https://stockcharts.com/docs/doku.php?id=scans:indicators
Note: indicators are also explained in Chart School, many with scanning examples:
https://stockcharts.com/school/doku.php?id=chart_school:technical_indicators
Alternatively, you can select the indicators you want from the Technical Indicators drop down on the Advanced Scan workbench (in syntactically correct form) and edit them to your needs.
The default time frame for all indicators is daily. If you want weekly, you have to put the word "weekly" in front of the indicator itself AND in front of any parameters that might have a time frame. For instance
weekly sma(10, weekly close)
would be a 10 period simple moving average in the weekly time frame.