This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
technical_indicators:price_relative [2019/09/07 00:08] betseyp |
technical_indicators:price_relative [2019/09/10 21:19] betseyp [Using with SharpCharts] |
||
---|---|---|---|
Line 20: | Line 20: | ||
</code> | </code> | ||
- | The Price Relative indicator is simply the base security divided by the comparative security. Typically, the underlying security is a stock and the benchmark is the S&P 500. For example, chartists can use the Price Relative to show the performance of Starbucks (SBUX) relative to the S&P 500 ($SPX). This would simply be the price of Starbucks divided by the S&P 500. Starbucks is part of the consumer discretionary sector. Chartists could also view the performance of Starbucks relative to the Consumer Discretionary SPDR (XLY) with the appropriate [[docs>data#ratio_symbols_relative_strength|ratio symbol]] (SBUX:XLY). Chartists could also view sector performance relative to the S&P 500 (XLY:$SPX). | + | The Price Relative indicator is simply the base security divided by the comparative security. Typically, the underlying security is a stock and the benchmark is the S&P 500. For example, chartists can use the Price Relative to show the performance of Starbucks (SBUX) relative to the S&P 500 ($SPX). This would simply be the price of Starbucks divided by the S&P 500. Starbucks is part of the consumer discretionary sector. Chartists could also view the performance of Starbucks relative to the Consumer Discretionary SPDR (XLY) with the appropriate [[https://support.stockcharts.com/doku.php?id=data#ratio_symbols_relative_strength|ratio symbol]] (SBUX:XLY). Chartists could also view sector performance relative to the S&P 500 (XLY:$SPX). |
{{:technical_indicators:price_relative:prel-1-sbuxsheet.png|Price Relative - Spreadsheet 1}} | {{:technical_indicators:price_relative:prel-1-sbuxsheet.png|Price Relative - Spreadsheet 1}} | ||
Line 60: | Line 60: | ||
===== Using with SharpCharts ===== | ===== Using with SharpCharts ===== | ||
- | The Price Relative is available in SharpCharts by using the "Price" indicator with [[https://stockcharts.com/docs/doku.php?id=data#ratio_symbols_relative_strength|a "Ratio" ticker symbol]] (e.g., "IBM:$SPX"). First, select the "Price" indicator. Second, in the parameter box, enter the symbol for the base security followed by a colon (":") and then the symbol for the comparative security. | + | The Price Relative is available in SharpCharts by using the "Price" indicator with [[https://support.stockcharts.com/doku.php?id=data#ratio_symbols_relative_strength|a "Ratio" ticker symbol]] (e.g., "IBM:$SPX"). First, select the "Price" indicator. Second, in the parameter box, enter the symbol for the base security followed by a colon (":") and then the symbol for the comparative security. |
Note that you can also use the "$SECTOR" and "$INDUSTRY" pseudo-symbols inside a ratio symbol. We will automatically replace those symbols with the appropriate sector or industry ETF/index. For example, "IBM:$SECTOR" is the same as "IBM:XLK" inside of a SharpChart. | Note that you can also use the "$SECTOR" and "$INDUSTRY" pseudo-symbols inside a ratio symbol. We will automatically replace those symbols with the appropriate sector or industry ETF/index. For example, "IBM:$SECTOR" is the same as "IBM:XLK" inside of a SharpChart. | ||
Line 70: | Line 70: | ||
{{:technical_indicators:price_relative:prel-6-shch.png|Price Relative - SharpCharts}} | {{:technical_indicators:price_relative:prel-6-shch.png|Price Relative - SharpCharts}} | ||
- | |||
===== Further Study ===== | ===== Further Study ===== | ||