Skip to content
StatePath
Tool Atlasinterpretor.astro_line

Tool

Astro Line Cross

interpretor.astro_line

InterpretorAstrology

Inputs

lineScalar

The planetary price line as a single SCALAR value, usually from calc.longitude_to_price.

priceBuffer (time series)

A per-bar price series (like close) compared against the line each bar.

Outputs

Boolean

A boolean that is true on each bar price matches the chosen relationship to the planetary line.

Astro Line Cross compares the current price to a planetary price line and tells you the relationship: above, below, just crossing, or sitting within a small band of it. It's the partner tool for calc.longitude_to_price, which produces that line, and turns it into a true/false trigger.

Astro Line Cross overview diagramplanet line

How it works

It takes a planetary price line (a SCALAR, usually from calc.longitude_to_price) and a per-bar price series (like close), then outputs a BOOL based on the mode you pick. The orb setting sets how close price must get to count as 'within orb'.

Modes

Aboveabove

Fires on every bar where price sits above the planetary line.

Above diagramplanet line

When to use: Use this as a bullish-bias filter while price trades over the line.

Belowbelow

Fires on every bar where price sits below the planetary line.

Below diagramplanet line

When to use: Use this as a bearish-bias filter while price trades under the line.

Cross upcross_up

Fires on the bar where price breaks from below the line to above it.

Cross up diagramplanet line

When to use: Use this as a long trigger when price breaks up through a planetary line.

Cross downcross_down

Fires on the bar where price breaks from above the line to below it.

Cross down diagramplanet line

When to use: Use this as a short trigger when price breaks down through a planetary line.

Within orbwithin_orb

Fires while price is within orb price-units of the line, hugging it on either side.

Within orb diagramplanet line +/- orb

When to use: Use this as a filter for when price is sitting on a planetary line as support or resistance.

Configuration

modeenum

Picks the test: price above the line, below it, crossing up, crossing down, or within orb of it.

Choices:abovebelowcross_upcross_downwithin_orb
orbscalar

How close (in price units) price must be to the line to count as 'within orb'; only used in within_orb mode.

orb diagramline

Connects to

Reads from
Feeds into

Examples

  • Use cross_up mode as a signal trigger when close breaks above a Saturn price line.
  • Use within_orb with a small orb as a filter for when price is hugging a planetary line.

Common mistakes

  • Leaving orb at 0 in within_orb mode, so price almost never registers as being on the line.
  • Wiring a per-bar series into the line input — the line should be the SCALAR from calc.longitude_to_price.

See also