OPEN-SOURCE SCRIPT
BTC CYCLES - DEFINITIVE [BETA v1]

This macro analysis indicator is designed to mathematically and visually identify Bitcoin's structural floors throughout its entire history, while also projecting the temporal phases of market cycles (Bull and Bear Markets).
Key Features:
Custom Floor Curve (21 Historical Points): Utilizes a matrix of fixed time and price coordinates meticulously calibrated from October 2010 ($0.01) up to 2030 projections. This high granularity eliminates logarithmic distortion in the early cycles, perfectly tracking real historical price supports.
Variable Cycle Metrics: Allows users to configure the exact estimated duration in days for both bull markets (Dias de Bull, default: 1064 days) and bear markets (Dias de Bear, default: 364 days).
Shaded Zones & Performance Metrics: Automatically renders historical cycle boxes, calculating the exact percentage ROI (+X%) achieved from the absolute bottom to the peak of each cycle, alongside the actual duration of the move.
Visual Synchronicity Alerts: Features explicit on-chart markers (BUY / SELL) and historical Halving milestones calculated precisely using the Madrid time zone (Europe/Madrid).
Future Projections: Includes a predictive visual module that maps out estimated areas for the upcoming cycle (5th Halving, 5th TOP, and 5th Bottom) based on user inputs.
How to Use:
For the best visual experience, it is highly recommended to use this indicator on Weekly (1W) or Daily (1D) timeframes and with the Logarithmic Scale ENABLED on your TradingView chart to properly appreciate the curvature of the purple macro support line.
Key Features:
Custom Floor Curve (21 Historical Points): Utilizes a matrix of fixed time and price coordinates meticulously calibrated from October 2010 ($0.01) up to 2030 projections. This high granularity eliminates logarithmic distortion in the early cycles, perfectly tracking real historical price supports.
Variable Cycle Metrics: Allows users to configure the exact estimated duration in days for both bull markets (Dias de Bull, default: 1064 days) and bear markets (Dias de Bear, default: 364 days).
Shaded Zones & Performance Metrics: Automatically renders historical cycle boxes, calculating the exact percentage ROI (+X%) achieved from the absolute bottom to the peak of each cycle, alongside the actual duration of the move.
Visual Synchronicity Alerts: Features explicit on-chart markers (BUY / SELL) and historical Halving milestones calculated precisely using the Madrid time zone (Europe/Madrid).
Future Projections: Includes a predictive visual module that maps out estimated areas for the upcoming cycle (5th Halving, 5th TOP, and 5th Bottom) based on user inputs.
How to Use:
For the best visual experience, it is highly recommended to use this indicator on Weekly (1W) or Daily (1D) timeframes and with the Logarithmic Scale ENABLED on your TradingView chart to properly appreciate the curvature of the purple macro support line.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน