Scan for stocks making six month low


Category:
0
0

Hello, I’m new to thinkscript. Would like to know how to combine the following where the 1 bar ago being the new 6 months low?  Thank you in advance.

WilliamsPercentR(“length” = 10).”WR” is less than -80 within 2 bars AND
WilliamsPercentR(“length” = 260).”WR” is less than -80 within 2 bars AND
low is greater than low from 1 bars ago AND
close is greater than high from 1 bars ago

RESOLVED
Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on June 1, 2020 3:36 am
140 views
0
Private answer

The title of your question was updated to reflect the context of your request. Posting a question in the "Stock Scanner" topic and using the title of "Scanner" is the epitome of redundancy and vagueness. Please consider this when posting questions in the future.

There is no need to modify the existing code of your scan. Study Filters are cumulative. So if you add a new Study Filter it will function as an additional scan criteria. The following can be added as a new Study Filter to any scan to filter it's results to stocks making a new 6 month low on the previous bar:

plot scan = low[1] < Lowest(low[2], 126);

The average month provides approximately 21 trading days. So to cover a period of 6 calendar months we use a lookback period of 126 daily bars. (this means the Study Filter you add that line of code to must be set to daily time frame).

Marked as spam
Posted by (Questions: 37, Answers: 4084)
Answered on June 1, 2020 7:57 am
0
Thank you so much. Noted on the subject heading. Had tried to edit but the page is blank even though pop-up windows is allowed for this website per Safari's setting.
( at June 1, 2020 8:58 am)