This script visualizes the relative movement of a single OHLC candle compared to an index (or another symbol). The vertical location of the candle indicates the general positive/negative comparison of the bar vs the index. The color of the candle indicates how the candle moved relative to the index. The wick indicates the closing range compared to the index (did the symbol close at lows of the bar while the index closed at highs).
The area graph in the background shows the average relative close over a 10-day simple moving average.
I use this to pop any behavior that is out of line with the market, whether positive or negative. For example, is a red bar day due to the market pullback or something specific to the stock. Or did the market pull back and the stock did the opposite, strong day!
The area graph in the background shows the average relative close over a 10-day simple moving average.
I use this to pop any behavior that is out of line with the market, whether positive or negative. For example, is a red bar day due to the market pullback or something specific to the stock. Or did the market pull back and the stock did the opposite, strong day!
Release Notes
Updates: - Added input.symbol type for Index so it's easier to select the comparative ticker.
- Matched the resolution to the chart, so it can now be used on more than just Daily charts.
This script visualizes the relative movement of a single OHLC candle compared to an index (or another symbol). The vertical location of the candle indicates the general positive/negative comparison of the bar vs the index. The color of the candle indicates how the candle moved relative to the index. The wick indicates the closing range compared to the index (did the symbol close at lows of the bar while the index closed at highs).
The area graph in the background shows the average relative close over a 10-day simple moving average .
I use this to pop any behavior that is out of line with the market, whether positive or negative. For example, is a red bar day due to the market pullback or something specific to the stock. Or did the market pull back and the stock did the opposite, strong day!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Website: drewby.com
Twitter: twitter.com/drewrobbins
All ideas are for information purposes only. I may or may not invest in the stocks discussed. Before investing in any stock, do your research and trade using your rules.
Twitter: twitter.com/drewrobbins
All ideas are for information purposes only. I may or may not invest in the stocks discussed. Before investing in any stock, do your research and trade using your rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Website: drewby.com
Twitter: twitter.com/drewrobbins
All ideas are for information purposes only. I may or may not invest in the stocks discussed. Before investing in any stock, do your research and trade using your rules.
Twitter: twitter.com/drewrobbins
All ideas are for information purposes only. I may or may not invest in the stocks discussed. Before investing in any stock, do your research and trade using your rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.