OPEN-SOURCE SCRIPT
Cycle Grid

CYCLE GRID
Cycle Grid takes the same Gann-style time projections as the Cycles indicator and lays them out as a clean grid in its own pane, one row per method. Instead of lines on your price chart, each method becomes a row of cells: every cell is one cycle interval, so you can read the rhythm of each cycle and see the countdown to the next turn at a glance, without cluttering price.
WHAT YOU SEE
A stacked grid, one row per enabled method (Gann, Harmonics, Anniversaries, Square-the-Range, and the three intraday methods). Reading left to right along a row, each cell is one cycle interval; the number in a cell is the cycle count that closed it. The right edge of each row shows the running total and a countdown to the next turn. Cell fill is green / pink / blue depending on whether price closed above, below, or level across that interval. A dotted anchor line marks the origin. An optional info table reports the cycle unit, bars-per-unit, the anchor bar, and the measured Master Time Factor.
HOW IT WORKS
From one swing (auto-detected, or highest-high / lowest-low) on the Cycle Timeframe, it projects each method's turning points and tiles the space between them into cells. Method numbers are unit counts, and the Cycle Unit setting makes them timeframe-adaptive: 1 unit = 1 chart bar on intraday, 1 calendar day on daily and above, so the grid stays readable on everything from 1m to weekly.
READING IT
This is a timing map, not a signal. A row's countdown tells you how far to its next turn; when several rows are due to close near the same date, that is the higher-odds window. Cells are context: the rhythm and the run-up to the next turn, while price direction still comes from your own structure.
NOTES
Runs in its own pane and does not require the Cycles overlay (they share the same method engine). Redraws on the last bar. Cell borders share a single colour (set in Colour > Border Color); turn off Single Border Color to give each method its own colour. Timeframe-adaptive across 1m to Weekly.
THE CYCLES EXPLAINED
Every method below starts from the same origin: one swing (an anchor high or low) found on the Cycle Timeframe. From that anchor it projects forward the dates the market is "due" to turn again, each method using a different Gann or Jenkins principle. Numbers are counted in UNITS, and the Cycle Unit setting decides what one unit is: one chart bar on intraday charts, one calendar day on daily and higher. That is what keeps the same geometry meaningful whether you are scalping or swing trading.
TIME METHODS
Anniversaries (45 / 90 / 144 / 180 / 270 / 360 / 720 / 1080)
The market's tendency to return to a turning point at natural time anniversaries of a prior high or low. 360 is one full time cycle; 180 is the half-cycle; 90 and 270 are the quarter turns; 45 the eighth. 144 is Gann's "square of 12" (12 x 12), one of the strongest time counts he used. 720 and 1080 extend the same rhythm out two and three cycles. When price arrives at one of these anniversaries of the anchor, it is a natural window for a change in trend.
Harmonic Angles (30 / 45 / 60 / 72 / 120 / 144 / 216 / 288 degrees)
The 360-degree cycle divided into its harmonic fractions, each degree read as one unit of time. 90 is a quarter of the circle, 120 a third, 72 a fifth, 60 a sixth, 45 an eighth, 30 a twelfth. These are the same angular divisions Gann drew on the Square of Nine and the circle chart, applied here to time rather than price. Turns tend to cluster where several harmonics of the anchor line up.
Gann Doubly-Strong Circle Levels (22.5-degree steps: 22.5, 45, 67.5, 90, 112.5, 135, 157.5, 180)
Gann called the 22.5-degree increments the "doubly strong" angles because they mark both an eighth and a sixteenth division of the circle at once, so both scales reinforce the same point. Counting these steps in time from the anchor gives the dates where the time-wheel returns to a doubly-supported angle. 90 (a square) and 180 (an opposition) are the strongest of the set.
Square the Range (price converted into time)
Gann's core idea that price and time are the same thing measured on two axes: a market "squares out" when the amount of time elapsed equals the size of the price range. Cycle Grid measures the anchor swing's high-to-low range, reduces it to natural units with an automatic price scale, and projects that many time units forward at 1/4, 1/2, 1x and 2x. When time catches up to the range (the 1x turn), the swing has squared and is prone to reverse.
INTRADAY METHODS (Jenkins)
Square of Nine Time
Michael Jenkins' method of running the Gann Square of Nine on time instead of price. The measured time swing (the bar count between the anchor high and low) is placed on the wheel, and each turn is one rotation around the square: a full 360-degree rotation adds 2.0 to the SQUARE ROOT of the count (so 180 adds 1.0, 90 adds 0.5, 45 adds 0.25). Because the base is measured in chart bars, it self-scales to any timeframe with no calendar conversion, which makes it well suited to intraday work.
Price Spins Out Time
Jenkins' price-into-time rule: a price magnitude "spins out" an equal number of time units. A market that made a 50 high spins out 50 units of time; a 17 low spins out 17. The anchor price is reduced to natural units with the same automatic scale Square the Range uses, then projected forward at 1/2, 1x, 2x and 3x. Unlike Square the Range, which uses the high-to-low RANGE, this uses the anchor PRICE itself.
Master Time Factor
Jenkins' dominant measured cycle: rather than a fixed number, it reads the market's own current rhythm. It takes the bar distance between the last two confirmed pivot highs and the last two confirmed pivot lows, averages them, and projects that cycle forward at 1/2, 1x, 1.5x, 2x and 3x from the anchor. Measured directly in bars, it adapts to whatever the market is doing right now, and is often the most useful of the three on scalp charts.
HOW TO USE THEM TOGETHER
Each method is a different lens on the same swing. Where several methods project a turn onto the same date, that clustering is the higher-odds timing window. Trade the cluster, not any single line, and confirm direction with your own price structure - these methods time the WHEN, not the which-way.
Cycle Grid takes the same Gann-style time projections as the Cycles indicator and lays them out as a clean grid in its own pane, one row per method. Instead of lines on your price chart, each method becomes a row of cells: every cell is one cycle interval, so you can read the rhythm of each cycle and see the countdown to the next turn at a glance, without cluttering price.
WHAT YOU SEE
A stacked grid, one row per enabled method (Gann, Harmonics, Anniversaries, Square-the-Range, and the three intraday methods). Reading left to right along a row, each cell is one cycle interval; the number in a cell is the cycle count that closed it. The right edge of each row shows the running total and a countdown to the next turn. Cell fill is green / pink / blue depending on whether price closed above, below, or level across that interval. A dotted anchor line marks the origin. An optional info table reports the cycle unit, bars-per-unit, the anchor bar, and the measured Master Time Factor.
HOW IT WORKS
From one swing (auto-detected, or highest-high / lowest-low) on the Cycle Timeframe, it projects each method's turning points and tiles the space between them into cells. Method numbers are unit counts, and the Cycle Unit setting makes them timeframe-adaptive: 1 unit = 1 chart bar on intraday, 1 calendar day on daily and above, so the grid stays readable on everything from 1m to weekly.
READING IT
This is a timing map, not a signal. A row's countdown tells you how far to its next turn; when several rows are due to close near the same date, that is the higher-odds window. Cells are context: the rhythm and the run-up to the next turn, while price direction still comes from your own structure.
NOTES
Runs in its own pane and does not require the Cycles overlay (they share the same method engine). Redraws on the last bar. Cell borders share a single colour (set in Colour > Border Color); turn off Single Border Color to give each method its own colour. Timeframe-adaptive across 1m to Weekly.
THE CYCLES EXPLAINED
Every method below starts from the same origin: one swing (an anchor high or low) found on the Cycle Timeframe. From that anchor it projects forward the dates the market is "due" to turn again, each method using a different Gann or Jenkins principle. Numbers are counted in UNITS, and the Cycle Unit setting decides what one unit is: one chart bar on intraday charts, one calendar day on daily and higher. That is what keeps the same geometry meaningful whether you are scalping or swing trading.
TIME METHODS
Anniversaries (45 / 90 / 144 / 180 / 270 / 360 / 720 / 1080)
The market's tendency to return to a turning point at natural time anniversaries of a prior high or low. 360 is one full time cycle; 180 is the half-cycle; 90 and 270 are the quarter turns; 45 the eighth. 144 is Gann's "square of 12" (12 x 12), one of the strongest time counts he used. 720 and 1080 extend the same rhythm out two and three cycles. When price arrives at one of these anniversaries of the anchor, it is a natural window for a change in trend.
Harmonic Angles (30 / 45 / 60 / 72 / 120 / 144 / 216 / 288 degrees)
The 360-degree cycle divided into its harmonic fractions, each degree read as one unit of time. 90 is a quarter of the circle, 120 a third, 72 a fifth, 60 a sixth, 45 an eighth, 30 a twelfth. These are the same angular divisions Gann drew on the Square of Nine and the circle chart, applied here to time rather than price. Turns tend to cluster where several harmonics of the anchor line up.
Gann Doubly-Strong Circle Levels (22.5-degree steps: 22.5, 45, 67.5, 90, 112.5, 135, 157.5, 180)
Gann called the 22.5-degree increments the "doubly strong" angles because they mark both an eighth and a sixteenth division of the circle at once, so both scales reinforce the same point. Counting these steps in time from the anchor gives the dates where the time-wheel returns to a doubly-supported angle. 90 (a square) and 180 (an opposition) are the strongest of the set.
Square the Range (price converted into time)
Gann's core idea that price and time are the same thing measured on two axes: a market "squares out" when the amount of time elapsed equals the size of the price range. Cycle Grid measures the anchor swing's high-to-low range, reduces it to natural units with an automatic price scale, and projects that many time units forward at 1/4, 1/2, 1x and 2x. When time catches up to the range (the 1x turn), the swing has squared and is prone to reverse.
INTRADAY METHODS (Jenkins)
Square of Nine Time
Michael Jenkins' method of running the Gann Square of Nine on time instead of price. The measured time swing (the bar count between the anchor high and low) is placed on the wheel, and each turn is one rotation around the square: a full 360-degree rotation adds 2.0 to the SQUARE ROOT of the count (so 180 adds 1.0, 90 adds 0.5, 45 adds 0.25). Because the base is measured in chart bars, it self-scales to any timeframe with no calendar conversion, which makes it well suited to intraday work.
Price Spins Out Time
Jenkins' price-into-time rule: a price magnitude "spins out" an equal number of time units. A market that made a 50 high spins out 50 units of time; a 17 low spins out 17. The anchor price is reduced to natural units with the same automatic scale Square the Range uses, then projected forward at 1/2, 1x, 2x and 3x. Unlike Square the Range, which uses the high-to-low RANGE, this uses the anchor PRICE itself.
Master Time Factor
Jenkins' dominant measured cycle: rather than a fixed number, it reads the market's own current rhythm. It takes the bar distance between the last two confirmed pivot highs and the last two confirmed pivot lows, averages them, and projects that cycle forward at 1/2, 1x, 1.5x, 2x and 3x from the anchor. Measured directly in bars, it adapts to whatever the market is doing right now, and is often the most useful of the three on scalp charts.
HOW TO USE THEM TOGETHER
Each method is a different lens on the same swing. Where several methods project a turn onto the same date, that clustering is the higher-odds timing window. Trade the cluster, not any single line, and confirm direction with your own price structure - these methods time the WHEN, not the which-way.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.