3 Weeks Tight - CANSLIM Technical Indicator

3 Weeks Tight - Introduction
3 weeks tight is a bullish continuation pattern discovered by IBD's founder, William O'Neil.

The pattern can used as an opportunity to add to an existing position as it often occurs after a breakout above a cup with handle or other technical pattern.

The 3 weeks tight pattern forms when a stock closes within approximately 1% to 1.5% of the prior week's close for at least two weeks. The reason for the bullishness is that it indciates that investors who moved the stock upward in price since the breakout are not taking profits, the price is holding steady.

The buy point is just above the area of resistance formed at the highs of the three weeks plus 10 cents. The ten cent addition to the price is to ensure a push through the resistance at the high of the range.

Key Points:
  • It's preferred that closes for each week are in the upper half of the stock's range.
  • Ideally, volume will increase significantly as the stocks moves past the buy point.
  • This pattern generally performs best when the market is in an uptrend.

  • A configurable horizontal bar that spans the 3 week period.
  • A vertical band that highlights the tightness pattern.
  • A label to show the buy price after 3 week tight pattern.
  • Optional alert when the 3 weeks tight pattern is recognized.
Catatan Rilis: version 2.0

■ The offset of the "Buy price" can be moved up/down.
■ The font size of the "Buy price" can be configured.
Catatan Rilis: version 3.0

■ Percent change calculations have been updated.
■ Settings dialog now groups together similar features.
Skrip open-source

Sejalan dengan semangat TradingView, penulis skrip ini telah mempublikasikannya secara open-source, sehingga para trader dapat memahami dan memverifikasinya. Salut untuk sang penulis! Anda dapat menggunakannya secara gratis, tetapi penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk dapat menggunakannya didalam sebuah chart.

Inggin menggunakan skrip ini pada chart?
30+ years in software dev. Technology author. Growth stock and crypto trader. Technical analysis geek.

If you find my indicators helpful, please consider a donation:

BTC: 36A51Xdi4HVGYxH86kRvQ74Tzp5xWU1HvU


Nicely done! Great easy to read code too, thanks for that!
100 koin
+1 Jawab
JohnMuchow drewby4321
Thanks Drew! And thanks for your thorough market updates.
+1 Jawab
100 koin
+1 Jawab
@FGG5, Thank you very much! I hope you find it helpful.
Can you please check if his script is in working condition ? , I tries this on atleast 50 charts and i didnt see it working.
+2 Jawab
JohnMuchow PhaniNerella
The script is only applicable on a weekly timeframe, so make sure you are viewing a weekly chart. Also, it will only appear when three weeks in a row meet the criteria as defined in Settings.
Hi John, all your scripts are excellent, thanks for sharing them!
Question: when you do an update, do people who have already installed the script need to do anything on their end? Or is it automatically updated?
+1 Jawab
JohnMuchow LanceAtredeis
You're welcome. As far as I know, there is no automatic update to scripts, you'll need to delete the indicator and install the latest version. Although it doesn't solve the issue, if you are interested, you can follow my account and you should be notified when there is an update available.
Do I just copy the code as is? it doesn't seem to work? I get the statement invalid statement: // at 1:1
+1 Jawab
JohnMuchow QMAX1234
Have you installed the indicator? If not, I'd recommended adding to favorites and then adding to your chart via the Indicators menu option.

Also note, you must be on a weekly chart to see the indicator output.