IR% - Intraday Range (% or $)

Shows the percentage difference between the High and Low of the price bar expressed as a percent of the Open of that bar. In the settings, you can change to Price Change instead of percent change. This will show the price change between the High and Low for each price bar.

It can be used on any time frame.

I use it on the daily chart . I note the daily figure, and that lets me know how far the price tends to move during a typical day (no gaps included).

If using on another time frame other than the daily, then it is an intrabar calculation, not intraday.

Apply a moving average to it to see the average intraday movement after the open when using a daily chart .

The IR% of a 1-minute chart tells you the price range of that one-minute price bar, and a weekly chart will show the price range of each weekly price bar.

It only measures high to low versus the candle's open price. It does not include gaps between candles, which makes it different than the ATR. ATR is more useful for swing trading, where the trader may be holding through gaps in price, and thus wants to factor them in.

The IR% is useful for day traders because it shows how much a stock tends to move during the day (intraday range), when using a daily chart . ATR is not as effective for this because it includes gaps, which day traders can't generally capitalize on.

If the IR% is fluctuating between 5% and 10% over the last 50 days or so (on the daily chart ), day traders know that AFTER the open, the price is likely to move 5% to 10% from high point to low point. This can help with establishing profit targets, seeking out stocks that tend to move a lot within the day, or avoid these types of stocks if they are undesirable to you. Seek out low IR% stocks if you prefer lower movement during your selected time frame.

A stock may have an ATR% of 5% but ATR doesn't tell us if that movement occurred after the open or includes a gap. Some stocks are prone to gaps. They may gap 4% most days, and then only move 1% during the day. This will still be a 5% ATR%, but most of that movement ISN'T capturable each day. The IR% for this stock would only be 1%, not 5% like the ATR suggests.

I developed this because I like day trading volatile stocks, and I wanted a measure that ONLY includes movement during the day, and doesn't include price gaps in the calculation. Because as a day trader, gaps don't matter to me. I can only make money on what happens during the day, after the open.

It is similar to another indicator called Average Day Range (ADR). Although most ADR calculations are already calculated as an average (so I don't see each individual value) or plots things on the chart. This may be useful for some people, but I wanted to see the data on each price bar, have the option to add a moving average or not, and not have anything plotted on the price chart. It also nice to be able to flip from % to $ dollar movement if desired.

Cory Mitchell, CMT
Stock and forex trading insights at

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。