Skip to content
StatePath
Tool Atlascalc.longitude_to_price

Tool

Longitude → Price (planetary line)

calc.longitude_to_price

CalculationAstrology

Inputs

longitudeScalar

The planet’s ecliptic longitude in degrees (0–360), as a single value — typically taken from an astro/ephemeris tool for the bar’s timestamp.

Outputs

Scalar

A single price level — the price that the planet’s longitude maps to under the chosen scale, offset, and anchor.

Longitude to Price converts a planet’s position in the sky (its ecliptic longitude, a 0–360° angle) into a price level on the chart. It’s the bridge tool for planetary-line and Gann-style astro methods, turning ‘where the planet is’ into ‘what price that maps to’.

Longitude → Price (planetary line) overview diagramscalardeg→pscalar

How it works

You feed in a single longitude value (degrees). The tool scales it by `price_per_degree` to get a raw price step, rotates the starting point by `harmonic_offset_degrees` (to align a harmonic or a chosen 0° anchor), and folds the result onto the chart’s price band using `decade_anchor` (the base price the cycle is anchored around). The output is one price level for that planet at that moment — wire it where you’d use any level (a support/resistance, an order’s stop or target).

Configuration

price_per_degreescalar

How much price one degree of longitude is worth — the conversion scale. Larger spreads the 360° cycle across a wider price range; you tune it so a full planetary revolution spans a meaningful slice of the instrument’s range.

price_per_degree diagramscalar× perscalar
harmonic_offset_degreesscalar

A rotation applied to the longitude before conversion, in degrees — it shifts where 0° lands, letting you align a harmonic (e.g. 90°, 120°) or set a custom anchor angle.

decade_anchorscalar

The base price the cycle is folded around — the reference level the converted price is anchored to so the result lands in the chart’s active price band rather than at an arbitrary absolute value.

Connects to

Reads from
Feeds into

Examples

  • Planetary line: convert Mars longitude into a price level each bar and treat it as a dynamic support/resistance the strategy watches for reactions.
  • Astro target: feed the converted price straight into an order’s take-profit so the exit rides a planetary level.

Common mistakes

  • Leaving price_per_degree at a scale mismatched to the instrument, so the 360° cycle maps to a price range far from where price actually trades.
  • Forgetting to anchor with decade_anchor, so the level lands in the wrong price decade and never lines up with the chart.

See also