OPEN-SOURCE SCRIPT
更新済 Astro Bias Dashboard

🧭 ASTRO BIAS DASHBOARD
A one-glance morning dashboard that combines five classical astronomical cycles into a single daily bias score — and then checks that bias against live price action before suggesting anything.
━━━ HOW IT WORKS ━━━
The script computes real astronomical values using mean-longitude formulas (J2000 epoch):
- Moon phase — waxing or waning, with illumination percent
- Sun-Moon angle — harmony (trine/sextile), tension (square/opposition), or neutral
- Mercury retrograde — approximated from the 115.88-day synodic cycle
- Eclipse season — Sun's proximity to the lunar nodes
- Planetary hour (hora) — Chaldean sequence from a user-set sunrise time
The first four factors are captured once at the start of each session and stay FIXED for the whole day (score out of 4). This is deliberate: a daily bias that flickers intrabar is useless. Only the hora row updates hourly, because it is a timing tool by design — and it is intentionally excluded from the score.
The dashboard then adds a live reality check: price versus EMA 50. A final Verdict row compares the fixed astro bias with the live trend:
- ALIGNED — astro bias and price agree
- CONFLICT — price is moving against the bias. Price always wins; the dashboard tells you to stand aside.
━━━ HOW TO USE ━━━
1. Check the dashboard once at market open — the bias is fixed for the day.
2. Trade only in the Verdict row's direction. On CONFLICT, reduce size or stay flat.
3. Use the hora row for entry timing: benefic horas (Moon, Mercury, Venus, Jupiter) are preferred entry windows.
4. Combine with your own levels and setups — this is a context filter, not an entry signal.
Alerts included: daily bias bullish/caution, hora change, astro-price conflict, astro-price alignment.
━━━ SETTINGS ━━━
Sunrise hour, dashboard position (8 placements), text size, EMA 50 plot toggle and color, trade-plan rows toggle.
━━━ NOTES & ORIGINALITY ━━━
All astronomical values are computed from scratch inside Pine using mean-longitude approximations — no external data, no libraries, no reused code. Accuracy is well within the tolerance needed for cycle-timing work, though exact panchang timings may differ by a few hours.
This tool treats astronomical cycles strictly as a timing reference. It does not predict market direction, and nothing here is financial advice. Always confirm with price action and manage risk.
A one-glance morning dashboard that combines five classical astronomical cycles into a single daily bias score — and then checks that bias against live price action before suggesting anything.
━━━ HOW IT WORKS ━━━
The script computes real astronomical values using mean-longitude formulas (J2000 epoch):
- Moon phase — waxing or waning, with illumination percent
- Sun-Moon angle — harmony (trine/sextile), tension (square/opposition), or neutral
- Mercury retrograde — approximated from the 115.88-day synodic cycle
- Eclipse season — Sun's proximity to the lunar nodes
- Planetary hour (hora) — Chaldean sequence from a user-set sunrise time
The first four factors are captured once at the start of each session and stay FIXED for the whole day (score out of 4). This is deliberate: a daily bias that flickers intrabar is useless. Only the hora row updates hourly, because it is a timing tool by design — and it is intentionally excluded from the score.
The dashboard then adds a live reality check: price versus EMA 50. A final Verdict row compares the fixed astro bias with the live trend:
- ALIGNED — astro bias and price agree
- CONFLICT — price is moving against the bias. Price always wins; the dashboard tells you to stand aside.
━━━ HOW TO USE ━━━
1. Check the dashboard once at market open — the bias is fixed for the day.
2. Trade only in the Verdict row's direction. On CONFLICT, reduce size or stay flat.
3. Use the hora row for entry timing: benefic horas (Moon, Mercury, Venus, Jupiter) are preferred entry windows.
4. Combine with your own levels and setups — this is a context filter, not an entry signal.
Alerts included: daily bias bullish/caution, hora change, astro-price conflict, astro-price alignment.
━━━ SETTINGS ━━━
Sunrise hour, dashboard position (8 placements), text size, EMA 50 plot toggle and color, trade-plan rows toggle.
━━━ NOTES & ORIGINALITY ━━━
All astronomical values are computed from scratch inside Pine using mean-longitude approximations — no external data, no libraries, no reused code. Accuracy is well within the tolerance needed for cycle-timing work, though exact panchang timings may differ by a few hours.
This tool treats astronomical cycles strictly as a timing reference. It does not predict market direction, and nothing here is financial advice. Always confirm with price action and manage risk.
リリースノート
UPDATE — v1.1- New "Text size" options: Normal / Medium / Small / Tiny — the dashboard now scales down cleanly for mobile screens (Small is the new default; use Tiny for the most compact view).
- No changes to bias logic, scoring, or alerts — all calculations remain exactly the same.
Tip for mobile users: set Text size to "Small" or "Tiny" and pick a corner position that keeps your candles clear.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。