OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.