OPEN-SOURCE SCRIPT
Infinity Silver Cycle Map - 9-Point Programmable

Infinity Silver Cycle Map — 9-Point Programmable + Inversion + 4MA is a time-structure overlay built to help visualize repeating rhythm in Silver by mapping a fixed-length cycle (default 42 bars) into 9 programmable pivot zones (P1–P9).
This script does not predict price or claim performance. Its purpose is to make cycle timing visible and testable in replay by plotting consistent time-based reference points that traders can compare against historical swing behavior.
What this script does
Draws a repeating cycle framework
You define a Cycle Length (bars) and 9 point offsets inside that cycle.
The script then draws:
Past cycles (faded)
The current cycle
The next cycle (projection)
Highlights timing windows (optional)
Each pivot can display a ± bar tolerance window so you can treat pivots as zones instead of exact “one-bar” events.
Plots 4MA and 4MA[1] (optional)
A 4-period moving average and its prior value are plotted as a compact trend/inflection reference.
This is included as context, not as a standalone entry/exit system.
Displays a small status table
Shows the script name, cycle settings, directional bias label, inversion state, and the anchor value.
Optional symbol-lock
If enabled, outputs can be hidden unless the chart symbol looks like Silver (e.g., XAG / SI), preventing accidental use on unrelated tickers.
How it works (concepts behind the calculations)
A) Cycle mapping (bar-count time structure)
This indicator uses bar-based cycle segmentation:
A “cycle” is treated as a repeating span of N bars (default 42).
Pivot points are expressed as bar offsets inside that cycle (P1–P9).
Each pivot is then projected backward (past cycles) and forward (next cycle) to create a repeating time grid.
This is a time alignment tool: it measures where we are in the cycle and makes those timing landmarks visible.
B) Directional state (minimal / stable)
The Bias label (LONG / SHORT / STAND ASIDE) is derived from simple agreement checks:
Price relative to a short mean (SMA of close)
A smoothed RSI line vs its signal line
If both conditions align bullish → LONG
If both align bearish → SHORT
Otherwise → STAND ASIDE
C) Inversion toggle (presentation switch)
“Invert Bias” flips LONG ↔ SHORT.
This is provided to support alternative interpretations or testing workflows; it does not change the cycle map itself.
How to use it
Start by calibrating the cycle
Set Cycle Length and P1–P9 offsets to match the time structure you observe in Silver.
Use Past Cycles to visually verify whether swings tend to cluster near certain pivot zones.
Treat pivots as timing zones
Enable ± Timing Window and set tolerance (± bars) to account for real-world variation.
Use pivots as “attention zones” where trend continuation or reversal is more likely to occur in time.
Use 4MA as context
The 4MA and 4MA[1] lines help you see whether price is accelerating, flattening, or inflecting as a pivot zone approaches.
Use Bias as a filter, not a promise
Bias is best used as a lightweight “state label” when reviewing cycle behavior, not as a standalone trade trigger.
Notes & limitations
This is a time-based framework, so behavior will differ across timeframes and Silver tickers.
Pivot placement is intentionally user-controlled; the script does not auto-optimize points.
This tool provides structure and context; it does not place trades and does not provide financial advice.
This script does not predict price or claim performance. Its purpose is to make cycle timing visible and testable in replay by plotting consistent time-based reference points that traders can compare against historical swing behavior.
What this script does
Draws a repeating cycle framework
You define a Cycle Length (bars) and 9 point offsets inside that cycle.
The script then draws:
Past cycles (faded)
The current cycle
The next cycle (projection)
Highlights timing windows (optional)
Each pivot can display a ± bar tolerance window so you can treat pivots as zones instead of exact “one-bar” events.
Plots 4MA and 4MA[1] (optional)
A 4-period moving average and its prior value are plotted as a compact trend/inflection reference.
This is included as context, not as a standalone entry/exit system.
Displays a small status table
Shows the script name, cycle settings, directional bias label, inversion state, and the anchor value.
Optional symbol-lock
If enabled, outputs can be hidden unless the chart symbol looks like Silver (e.g., XAG / SI), preventing accidental use on unrelated tickers.
How it works (concepts behind the calculations)
A) Cycle mapping (bar-count time structure)
This indicator uses bar-based cycle segmentation:
A “cycle” is treated as a repeating span of N bars (default 42).
Pivot points are expressed as bar offsets inside that cycle (P1–P9).
Each pivot is then projected backward (past cycles) and forward (next cycle) to create a repeating time grid.
This is a time alignment tool: it measures where we are in the cycle and makes those timing landmarks visible.
B) Directional state (minimal / stable)
The Bias label (LONG / SHORT / STAND ASIDE) is derived from simple agreement checks:
Price relative to a short mean (SMA of close)
A smoothed RSI line vs its signal line
If both conditions align bullish → LONG
If both align bearish → SHORT
Otherwise → STAND ASIDE
C) Inversion toggle (presentation switch)
“Invert Bias” flips LONG ↔ SHORT.
This is provided to support alternative interpretations or testing workflows; it does not change the cycle map itself.
How to use it
Start by calibrating the cycle
Set Cycle Length and P1–P9 offsets to match the time structure you observe in Silver.
Use Past Cycles to visually verify whether swings tend to cluster near certain pivot zones.
Treat pivots as timing zones
Enable ± Timing Window and set tolerance (± bars) to account for real-world variation.
Use pivots as “attention zones” where trend continuation or reversal is more likely to occur in time.
Use 4MA as context
The 4MA and 4MA[1] lines help you see whether price is accelerating, flattening, or inflecting as a pivot zone approaches.
Use Bias as a filter, not a promise
Bias is best used as a lightweight “state label” when reviewing cycle behavior, not as a standalone trade trigger.
Notes & limitations
This is a time-based framework, so behavior will differ across timeframes and Silver tickers.
Pivot placement is intentionally user-controlled; the script does not auto-optimize points.
This tool provides structure and context; it does not place trades and does not provide financial advice.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.