Lunar Time Cycle
Lunar Time Cycle
Lunar Time Cycle is a dedicated astronomical market-timing research application for traders, cycle researchers, and students of W.D. Gann. The updated edition features a standalone PySide6 interface, automatic HIGH/LOW cycle projections, integrated market-data downloads, and graphical overlays on daily price charts.
The application is based on a lunar sequence I decoded from W.D. Gann’s mystery book, The Tunnel Thru the Air. Numerical clues in that work led me to a repeating geocentric Moon-longitude sequence of 73°, 79°, 83°, 89°, and 97°. The software advances the Moon through these increments, in order, starting from a date selected by the user.
This timing method is not tied to any one market. It can be applied to the S&P 500, stocks, ETFs, Forex, and continuous futures series, allowing users to compare calculated lunar timing dates with historical or subsequent price action.
New Standalone PySide6 Interface
The main screen combines lunar-cycle inputs and market-data controls. Set an anchor date and time, choose an ending date, select a U.S. time zone, and designate the anchor as a HIGH or LOW. The application then calculates the subsequent alternating projected HIGH and LOW dates and shows them in a scrollable results table.

Figure 1 — Updated Lunar Time Cycle Main Menu. Set the anchor, end date, time zone, inversion alert, and price-data source; compute the schedule and export the results.
Key Functions
- Astronomical calculations: Uses Skyfield and the JPL ephemeris to calculate the Moon’s tropical geocentric ecliptic longitude instead of relying on fixed calendar-day intervals.
- Repeating longitude sequence: Projects 73°, 79°, 83°, 89°, and 97° steps repeatedly through the selected ending date.
- Flexible anchor controls: Enter a start date/time, end date, and anchor HIGH/LOW designation.
- Four time zones: Eastern (New York), Central (Chicago), Mountain (Denver), and Pacific (Los Angeles), including local calendar dates and times.
- Alternating HIGH/LOW projections: Each successive lunar transit receives a projected HIGH or LOW designation; the first projection is opposite the selected anchor polarity.
- 0° Aries inversion-zone alerts: Set the alert orb in degrees. Alerts flag possible inversion conditions, but do not automatically reverse the HIGH/LOW sequence.
- Detailed results table: Displays sequence number, individual and cumulative longitude increments, target longitude, local date/time, weekday, lunar latitude, HIGH/LOW classification, and inversion alerts.
- CSV export: Save the calculated lunar schedule for further research and comparison with actual market behavior.
Multi-Market Data and Custom CSV Creation
The updated software provides the same essential market-data workflow used in the Gann Cycle Master Launcher. In addition to its built-in SPX option, users can create or import daily OHLC price files for their own instruments.
- Stocks and ETFs: Enter symbols such as AAPL, SPY, or QQQ.
- Forex: Enter currency pairs such as EURUSD or GBPUSD. An optional chart-price multiplier, commonly 1000, makes small decimal price movements easier to view alongside cycle projections.
- Continuous futures contracts: Enter a futures root such as ES, NQ, GC, or CL to request an available provider-continuous daily series.
- Create Market CSV: Specify the symbol and date range, download available daily price data, and save the results in Date,Open,High,Low,Close format.
- External CSV: Open an existing daily OHLC file instead of downloading data. The newly created CSV is automatically selected for charting.
Data note: Market-data downloads require an internet connection and depend on provider availability. Continuous futures data reflect the provider’s available series and are not guaranteed to be back-adjusted across contract rolls. The Moon’s timing calculations are separate from the selected price-data source.
Charting the Lunar Time Cycle Against Price
After computing the lunar schedule, click Plot Lunar Cycle to overlay the projected turning dates on daily price data. A bright yellow timing line connects the labeled HIGH and LOW markers, making the sequence easier to compare visually with market highs, lows, and trend changes.

Figure 2 — Lunar Time Cycle on a Daily Price Chart. Bright yellow projected HIGH/LOW markers and connecting lines appear over the market’s daily price bars.
Charting controls include candlestick or OHLC-bar display, hover information for the selected trading bar (date, open, high, low, and close), a horizontally scrollable view of approximately 100 bars, and the ability to save charts as 600 DPI PNG images for publications or research reports.
Research Output
The program provides two complementary research outputs: a dated table of astronomical lunar-transit projections that can be exported to CSV, and a price chart showing where those projected dates occur relative to actual market activity. Users can change the starting pivot, market, historical period, or anchor polarity to investigate how the timing sequence behaves under different conditions.
The goal is to identify potential future turning windows and evaluate them against market evidence. This is a science of probability and not an exact science. A projected HIGH or LOW is a research signal, not a guarantee of the market’s next direction.