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.
WEEKLY ENGULFING . help needed
Hello
I am looking to create a scan to analyse weekly data and scan Engulfing patterns showing on weekly charts.
It's predefined as daily , but I cannot find the commands to do to it on weekly.. Thanks for the help
0
Comments
On the scan workbench, select the the pattern you want from the Candlestick Pattern drop down and add the modifier "weekly" in front of it:
// begin scan
[group is sp500]
and [weekly Bullish Engulfing is true]
rank by PctRelative(189,$SPX)
// end scan
The last line is optional. It puts the results in order by their relative strength vs. the sp500 index over the last nine months (189 days if you assume 21 days in a month; you can change that number to your preference; however, PctRelative doesn't seem to work on a weekly time frame, so you have to use a daily parameter, e.g. 30 for six weeks (5 days times 6 weeks).
For more on modifying expressions, see this page, about half way down (the rest of the page is interesting, too):
https://stockcharts.com/docs/doku.php?id=scans:advanced_scan_syntax
But maybe some one else here knows where you can find something useful.