A selling climax is when a stock makes a 52-week high and then closes down for the week (i.e., the close for this week is lower than the close for the previous week).
I created the following script for the Selling Climax using variables:
However, when doing a scan and then spot checking the list of stocks that resulted from the scan, this script is not correct.
I’ve looked through the Knowledge Base, the Forum and viewed the relevant Scripting tutorials, but have not yet this figured out. Any help would be greatly appreciated.
The green line is the 52 week high, and the shaded green section is the bar that passes (New 52 week high set, Close is lower than previous weeks close).