OPEN-SOURCE SCRIPT
Performance Comparator

This indicator allows to compare the performance (% change) of a given symbol with the larger market (
SPY) and/or with a custom symbol, which defaults to
XLK (an ETF tracking technology companies from the S&P 500).
The performance for the current symbol is displayed as a blue histogram, while performance for the
SPY and the custom symbol are respectively displayed as orange and white lines, making it easy to spot when the symbol outperformed the market.
Features:
The performance for the current symbol is displayed as a blue histogram, while performance for the
Features:
- Configurable time resolution (default: same as chart)
- Comparison using change percentage or its EMA/WMA/SMA (default: EMA)
- Configurable moving average length
- Optionally hide
SPY or the custom symbol from the chart
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。