TradingView

3 Weeks Tight Indicator for TradingView

3 weeks tight is a bullish continuation pattern first documented 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.

Head over to TradingView to install the Three Weeks Tight indicator

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 indicates 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.

Continue reading

RS Line Indicator for TradingView

I’m a huge fan of Investors.com MarketSmith charting application. Their implementation of a Relative Strength Line (RS Line) is my go-to indicator.

In MarketSmith, the RS Line represents a stock’s performance versus the S&P 500. If you are looking at a weekly chart, the RS Line is the performance of the stock over the past week versus the S&P 500 over that same time frame. The same logic applies to the daily and monthly charts, only the time frames are different.

If a stock moves up for the day/week/month and the S&P 500 does not, the RS Line will move up. If a stock ends the day/week/month flat, yet the S&P 500 moves up, the RS Line will go down.

Continue reading

Webby’s RSI for TradingView in Pine Script

Webby’s RSI (really simple indicator) is a technical indicator to gauge the health of an uptrend. The concept of Webby’s RSI and the original implementation was created by Mike Webster. In this post I’ll share a Pine Script version of Webby’s RSI that you can use on TradingView.

Webby’s RSI, most often used with the Nasdaq Composite, is the percentage of the low vs. the 21-day moving average. At the beginning of a bull market, the higher the value, the better.

If you are familiar with TradingView and would like to install the indicator, you can find Webby’s RSI here.

Before we get into the code, here’s how Webby’s RSI looks as originally developed by Mike:

Continue reading

Percent Above or Below Moving Average in thinkscript

The track price in MarketSmith can be used to view a stock’s price in relation to various moving averages. The downside is that the information is not displayed directly on the chart, you must right click for each symbol to view the stats.

I’ve written thinkscript that will display the distance above or below either the 21-day exponential moving average or the 10-week simple moving average. If you are viewing a daily chart you’ll see the former, when on a weekly chart, the latter.

I’ve also added information that indicates the price for a specific percentage below the moving average. The percent below can be configured using the Inputs and Options dialog in thinkorswim.

Continue reading