OPEN-SOURCE SCRIPT
ที่อัปเดต: MSTR-BTC Premium

This custom indicator, “MSTR-BTC Premium with High, Average, and Low Levels,” helps you analyze the premium of MicroStrategy Incorporated’s (MSTR) stock price in relation to its Bitcoin holdings. By comparing the market capitalization of MSTR to the value of its Bitcoin holdings (using BTCUSD from Coinbase), this indicator calculates a premium that reflects how much the stock price deviates from its Bitcoin-related value.
Key Features:
• Premium Line: The primary feature is the “Premium,” which shows the ratio of MSTR’s market cap relative to its Bitcoin holdings and the BTCUSD price.
• High, Average, and Low Levels: The indicator calculates the highest, lowest, and average premium values over a user-defined period (default is 14 bars). These levels help identify overbought and oversold conditions relative to the stock’s Bitcoin valuation.
• Visual Shading: The area between the premium line and the average is shaded, making it easier to see when the premium is above or below its typical level. Optional shading is also available between the high and low levels to visualize the price range.
How to Use:
• Overbought/Undervalued Conditions: When the premium line rises significantly above the average, it may indicate that MSTR stock is overbought compared to its Bitcoin holdings. Conversely, when the premium falls below the average or approaches the low line, it might signal an undervalued opportunity.
• Trend and Mean Reversion: The high and low lines provide insight into extreme levels. Monitoring these alongside the average can assist in identifying potential mean reversion trades.
Customization:
• Calculation Period: The period for calculating the high, low, and average values can be adjusted to suit your trading strategy (default is 14).
• Shading Options: By default, the area between the premium and its average is shaded. You can enable or disable the shading between the high and low as needed.
This indicator is particularly useful for traders and investors following MicroStrategy (MSTR) and its Bitcoin strategy, providing a deeper understanding of the stock’s relationship to its underlying Bitcoin assets. It can assist in identifying key levels for decision-making based on deviations from historical norms.
How to Add the Indicator:
1. Adjust the calculation period (default is 14) to customize the analysis according to your preferred timeframe.
2. Watch for significant deviations of the premium line from its average to identify potential overbought/oversold conditions.
3. Use the high and low levels to help gauge extreme premium values and possible mean reversion opportunities.
Enjoy the analysis and make more informed decisions with the MSTR-BTC Premium Indicator!
This description should be clear and informative for anyone considering using your indicator. It highlights the functionality, purpose, and customization options in a straightforward way. Let me know if you’d like to tweak or adjust any part of it!
Key Features:
• Premium Line: The primary feature is the “Premium,” which shows the ratio of MSTR’s market cap relative to its Bitcoin holdings and the BTCUSD price.
• High, Average, and Low Levels: The indicator calculates the highest, lowest, and average premium values over a user-defined period (default is 14 bars). These levels help identify overbought and oversold conditions relative to the stock’s Bitcoin valuation.
• Visual Shading: The area between the premium line and the average is shaded, making it easier to see when the premium is above or below its typical level. Optional shading is also available between the high and low levels to visualize the price range.
How to Use:
• Overbought/Undervalued Conditions: When the premium line rises significantly above the average, it may indicate that MSTR stock is overbought compared to its Bitcoin holdings. Conversely, when the premium falls below the average or approaches the low line, it might signal an undervalued opportunity.
• Trend and Mean Reversion: The high and low lines provide insight into extreme levels. Monitoring these alongside the average can assist in identifying potential mean reversion trades.
Customization:
• Calculation Period: The period for calculating the high, low, and average values can be adjusted to suit your trading strategy (default is 14).
• Shading Options: By default, the area between the premium and its average is shaded. You can enable or disable the shading between the high and low as needed.
This indicator is particularly useful for traders and investors following MicroStrategy (MSTR) and its Bitcoin strategy, providing a deeper understanding of the stock’s relationship to its underlying Bitcoin assets. It can assist in identifying key levels for decision-making based on deviations from historical norms.
How to Add the Indicator:
1. Adjust the calculation period (default is 14) to customize the analysis according to your preferred timeframe.
2. Watch for significant deviations of the premium line from its average to identify potential overbought/oversold conditions.
3. Use the high and low levels to help gauge extreme premium values and possible mean reversion opportunities.
Enjoy the analysis and make more informed decisions with the MSTR-BTC Premium Indicator!
This description should be clear and informative for anyone considering using your indicator. It highlights the functionality, purpose, and customization options in a straightforward way. Let me know if you’d like to tweak or adjust any part of it!
Release Note
MicroStrategy Bitcoin Holding update.Release Note
MicroStrategy Bitcoin Holding update.Release Note
MicroStrategy Shares Ourstanding update.Release Note
MSTR shares outstanding update.Release Note
MSTR Bitcoin Holding and Share Outstanding update.Release Note
MSTR Bitcoin Holding Change.Release Note
MicroStrategy Bitcoin Holding and Total Shares update.Release Note
MSTR Bitcoin Holding & Shares Outstanding update.Release Note
MSTR Bitcoin Holding Update.Release Note
Microstrategy BTC Holding and Share Outstanding update.Release Note
pine scripy code version updated and typo fixed.Release Note
MicroStrategy Bitcoin Holding update.Release Note
MSTR Bitcoin Held and Share UpdateRelease Note
MSTR Bitcoin Holding UpdateRelease Note
MSTR Bitcoin Holding Updates.Release Note
MSTR Bitcoin UpdateRelease Note
MSTR Bitcoin Held Update.Release Note
MSTR Bitcoin Holding UpdateRelease Note
MSTR Bitcoin Held Updates.Release Note
MSTR Bitcoin Held Update.Release Note
MicroStrategy Bitcoin Held UpdateRelease Note
MSTR Bitcoin Held Update.Release Note
MSTR Bitcoin Held Update.Release Note
MSTR Bitcoin Held Update.Release Note
MSTR Bitcoin Held Update.Release Note
MSTR Bitcoin Held UpdateRelease Note
MSTR Bitcoin Held UpdateRelease Note
MSTR Bitcoin Held UpdateRelease Note
Date UpdateRelease Note
MSTR Bitcoin Held UpdateRelease Note
MSTR Bitcoin Held Update.Release Note
MSTR Bitcoin Held Update.Release Note
Strategy has acquired 6,220 BTC for ~$739.8 million at ~$118,940 per bitcoin and has achieved BTC Yield of 20.8% YTD 2025. As of 7/20/2025, we hodl 607,770 Release Note
Strategy has acquired 21,021 BTC for ~$2.46 billion at ~$117,256 per bitcoin and has achieved BTC Yield of 25.0% YTD 2025. As of 7/29/2025, we hodl 628,791 Release Note
STRATEGY REPORTS BITCOIN PURCHASE OF 21,021 COINS FOR $2.46 BILLIONMSTR acquired 21,021 bitcoin between July 28 and August 3, 2025, for an aggregate purchase price of $2.46 billion at an average price of $117,256 per bitcoin
Release Note
Holding Error Correct.Release Note
Strategy has acquired 155 BTC for ~$18.0 million at ~$116,401 per bitcoin and has achieved BTC Yield of 25.0% YTD 2025. As of 8/10/2025, we hodl 628,946 Release Note
Strategy has acquired 430 BTC for ~$51.4 million at ~$119,666 per bitcoin and has achieved BTC Yield of 25.1% YTD 2025. As of 8/17/2025, we hodl 629,376 Release Note
Strategy has acquired 3,081 BTC for ~$356.9 million at ~$115,829 per bitcoin and has achieved BTC Yield of 25.4% YTD 2025. As of 8/24/2025, we hodl 632,457 Release Note
Strategy has acquired 1,955 BTC for ~$217.4 million at ~$111,196 per bitcoin and has achieved BTC Yield of 25.8% YTD 2025. As of 9/7/2025, we hodl 638,460 Release Note
Strategy has acquired 525 BTC for ~$60.2 million at ~$114,562 per bitcoin and has achieved BTC Yield of 25.9% YTD 2025. As of 9/14/2025, we hodl 638,985 Release Note
Strategy has acquired 850 BTC for ~$99.7 million at ~$117,344 per bitcoin and has achieved BTC Yield of 26.0% YTD 2025. As of 9/21/2025, we hodl 639,835 Release Note
Strategy has acquired 196 BTC for ~$22.1 million at ~$113,048 per bitcoin. As of 9/28/2025, we hodl 640,031 Release Note
Strategy has acquired 220 BTC for ~$27.2 million at ~$123,561 per bitcoin and has achieved BTC Yield of 25.9% YTD 2025. As of 10/12/2025, we hodl 640,250 Release Note
Strategy has acquired 168 BTC for ~$18.8 million at ~$112,051 per bitcoin and has achieved BTC Yield of 26.0% YTD 2025. As of 10/19/2025, we hodl 640,418 Release Note
Strategy has acquired 397 BTC for ~$45.6 million at ~$114,771 per bitcoin and has achieved BTC Yield of 26.1% YTD 2025. As of 11/2/2025, we hodl 641,205 Release Note
Strategy has acquired 487 BTC for ~$49.9 million at ~$102,557 per bitcoin and has achieved BTC Yield of 26.1% YTD 2025. As of 11/9/2025, we hodl 641,692 Release Note
Strategy has acquired 8,178 BTC for ~$835.6 million at ~$102,171 per bitcoin and has achieved BTC Yield of 27.8% YTD 2025. As of 11/16/2025, we hodl 649,870 Release Note
Strategy has acquired 10,624 BTC for ~$962.7 million at ~$90,615 per bitcoin and has achieved BTC Yield of 24.7% YTD 2025. As of 12/7/2025, we hodl 660,624 Release Note
Add timestamp(2025, 12, 29)Add timestamp(2025, 12, 15)
Release Note
Strategy has acquired 1,287 BTC to increase its BTC Reserve to ₿673,783 and has increased its USD Reserve by $62 million to $2.25 billion.Release Note
Strategy has acquired 22,305 BTC for ~$2.13 billion at ~$95,284 per bitcoin. As of 1/19/2026, we hodl 709,715 Strategy has acquired 13,627 BTC for ~$1.25 billion at ~$91,519 per bitcoin. As of 1/11/2026, we hodl 687,410
Release Note
02/02/26 ₿85501/26/26 ₿2,932
Release Note
Strategy has acquired 2,486 BTC for ~$168.4 million at ~$67,710 per bitcoin. As of 2/16/2026, we hodl 717,131 Release Note
Mar. 9 2026: Update recent BTC acquiresRelease Note
Strategy has acquired 22,337 BTC for ~$1.57 billion at ~$70,194 per bitcoin. As of 3/15/2026, we hodl 761,068 Release Note
Add Recently Bitcoin Purchases.Release Note
Update with latest 3 purchases.Release Note
Data points updates.Release Note
Visual Update.สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน