Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Badges

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.

markd ✭✭✭

About

Username
markd
Joined
Visits
2,417
Last Active
Roles
Full Member
Points
117
Badges
15

Comments

  • In the example above, a reaction would be the down leg - some number of bars - following the up leg that crossed over the 200 MA, or makes the new high.
  • Here's an old answer to a similar question about how to use the scan engine - sort of the Cliff Notes version - but don't skip reading the documentation, too: Basic rules for the scan engine Every statement begins with “and” except the first one Ev…
  • The scan engine is a purpose written language, limited to the needs and abilities of the subscriber base looking for specific stock and indicator characteristics. It strives to be close to a "natural" language, as much as possible. So, it does not s…
  • I don't know of an indicator that measures this directly. I think you would have to test each of the 21 days individually. So it would begin and [range > low *.03] and [1 day ago range > 1 day ago low * .03] etc. That doesn't account for ga…
  • You could try it in Excel. Down load each list as a CSV, save as an Excel file, copy one list to the other sheet. Then for comparison methods, google "excel compare two lists". To download the lists, run a scan against each list that has just the l…
  • Well, you could just do min(126, slow K xx) < 20 (with proper syntax) for six months daily. That will give you stocks where slow K has crossed below 20 at least once, and more likely several times, depending on the parameters.
  • I don't think you can do what your are asking in exactly the way you have specified. However, if your goal is to discover stocks that are outperforming the TSX for 1 year ROC, there are two ways to do it. First, get the TSX ROC value from the TSX…
  • A couple of options, if your subscription allows: Create alternate chart styles that allow you to see the entire day, or more than one day on one chart. Switching between chart styles is pretty quick, or, you can keep two browser windows open, each…
  • To be more precise, it is a calculation *based on* those differences. Here are the steps: Determine the number of values in the sample (i.e., the length of the moving average) Add up the values Divide the sum by the number of values to get the aver…
  • The "close above" operator is "x". Using this symbol is the same as writing out some value yesterday was below/today is above some other value. So in your scan you would write and [ close x sma(10, close) ] Then the same thing for the 50 sma. Yo…
  • and [volume > sma(30, volume)]
  • Well, you are asking for contradictory things. Your wish to lock in gains requires a short term perspective, while your wish to allow your gains to run requires a long term perspective. The question is, how much current profit are you willing to s…
  • Although the syntax checker is pretty good, it doesn't catch everything. I don't think you can have more than one comparison operator ( > ) within one pair of brackets [ ]. You could try re-writing the scan with a separate line for for every pair…
  • As far as I know, you cannot specify the value of the standard deviation. The value of the standard deviation is a result of a calculation of distances between the SMA and prices for each bar in the SMA (in other words, how far prices have wandered…
  • If you want every bar above the band, you have to have a condition for each day. Assuming you want exactly 5 closes above the BB, it would be 6 days ago close < 6 days ago Upper BB, and 5 days ago close > 5 days ago Upper BB, and 4 days ago c…
  • Using scans to capture events in a range is tough. Pretty hard to do in one scan. Not sure you can do the second part at all. The first part is easy if you choose a specific channel length - close above one day ago Upper Price Chan of whatever len…
  • Try this: // the 3 month max monthly high for the 3 months prior to the most recent 3 months is greater than the most recent 3 months max monthly high and [3 months ago monthly max(3, monthly high) > monthly max(3, monthly high)] // vice versa…
  • I like to look for pull backs in an up trend, so I haven't really played with basing patterns. You could try converging price channels - upper channel - lower channel < x days ago upper channel - x days ago lower channel. Or maybe UC - LC < (…
  • I can't find it. But, to assign a chart style to a button: Make the chart style you want to assign to a button the current chart style (select it from the list of chart styles) Click on "Edit Properties" Where it says "Button #", open the drop…
    in chart buttons Comment by markd October 2
  • I think for simplicity, I'd break the scan into two parts. First scan for the squeeze and put the results in a list. Then scan the list for volume breakouts. I don't use BBs, so I'm not sure if the reference to "30 day" squeeze has some particular…
  • As far as I know, the only way to customize the data returned by a scan is the "rank by" statement, but that does not accept the date (because the date would be the same for all symbols). I think you will have to modify the .csv file in some way, or…
  • Look for the "Exchange" heading on this page: https://stockcharts.com/docs/doku.php?id=scans:reference:ticker_properties Your scan looks OK. Try it out. The listing exchange should appear on the chart next to the symbol at the top left.
  • Here's the main documentation page for scanning. You can also access it under the menu option "Chart School". https://stockcharts.com/docs/doku.php?id=scans Follow the links on that page for specific topics. The scan syntax reference is here: ht…
  • See the heading "SCTR Universes" on the link below about 1/3 down the page: https://stockcharts.com/school/doku.php?st=sctr&id=chart_school:technical_indicators:sctr
  • As far as I know, you can only scan for whether a stock has options, but not the specific type. Add this line to get stocks that have any kind of option: and [optionable is true] Here's a link to the CBOE site for weekly options. If you scroll d…
  • I looked at the documentation for PctDiff. It is not explicit about which term is the denominator and which the numerator, or how the result is expressed - as a fraction, e.g. .05 or as a whole number, e.g. 5. Sorry I don't have the time to look int…
  • Good question. I can't get meaningful results with PctDiff. But I did notice your version asks for less than 5 % (<5). Mine asks for greater than 5 % (>.05).
  • This doesn't work because the sma( ) function does not do custom calculations inside the parentheses - in your example "range/close" [SMA(20, [Range/Close])] So I don't think you can do it exactly the way you want, unless you can find and indicato…
  • Change "or" to "and". Biotech is not Pharmaceuticals, so it fits one of your "or" conditions (not Pharmaceuticals), so it's a hit. Same for the other two. Biotech is Biotech, so it violates one of your "and" conditions, so even if any other num…
  • @Scanning_Swan , thanks for that. Good to know.