OPEN-SOURCE SCRIPT
已更新

Blood Moons

1 013
Blood Moon Dates
Description:
This indicator overlays vertical lines on your chart to mark the dates of total lunar eclipses (commonly known as "Blood Moons") from December 2010 to May 2040. Designed with cryptocurrency traders in mind, it’s perfect for analyzing potential correlations between these celestial events and price movements. The lines are drawn on the first bar and extend across the chart, making it easy to spot these dates on any timeframe.
Features:
Plots vertical lines for 19 Blood Moon events (2010–2040).

Customizable line color, style (solid, dotted, dashed), and width.

Option to toggle lines on/off for a cleaner chart.

Lines extend both ways for maximum visibility across your chart.

Settings:
Show Lines: Enable or disable the lines (default: enabled).

Line Color: Choose your preferred color (default: red).

Line Style: Select solid, dotted, or dashed (default: dotted).

Line Width: Adjust thickness from 1 to 5 (default: 2).

Usage:
Add this indicator to your chart to visualize Blood Moon dates alongside price action. Customize the appearance to suit your analysis style. Note: Lines are plotted based on timestamps and extend across the chart, so they’re best viewed on daily or higher timeframes for clarity.
Disclaimer:
This is an educational tool and not financial advice. Past performance does not guarantee future results. Use at your own risk.

版本注释
quality of life with auto scaling issues
would prefer vertical lines but pinescript is too picky with those
opting for shapes instead
版本注释
script name fix from BM Balls to Blood Moons
版本注释
fixed bug
will have to check in a couple days whether that blood moon date prints a shape
版本注释
updating default color/transp
版本注释
reverting to near original, pinescript sucks btw
版本注释
updated future dates

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。