Gann Octogram - Sacred Geometry Confluence Ver 1.0📐 Gann Octogram - Sacred Geometry Confluence Ver 1.0
Overview
Advanced Gann analysis tool combining W.D. Gann's Square of Nine principles with sacred geometry and multi-factor confluence signals. This indicator automatically detects swing highs/lows and projects octogram grids forward in time and price, identifying high-probability trading opportunities where multiple factors align.
Understanding Gann Octograms
W.D. Gann believed markets move in geometric patterns through time and price. The octogram (8-sided figure) represents the square of nine principle where:
Price divisions (1/8ths) create natural support/resistance
Time cycles mark potential reversal points
Diagonal angles show dynamic price-time relationships
Confluence zones where geometry aligns offer highest probability trades
This indicator makes these complex calculations automatic and visual.
Key Features
🎯 Intelligent Auto-Detection
Auto Gann Number Selection: Automatically chooses optimal Gann period (11, 22, 44, 88, 176) based on timeframe and data availability
Adaptive Half-Period Mode: Uses Gann/2 for faster swing detection while validating with full period
Smart Grid Projection: Projects octagrams near current price action for relevance
📊 Sacred Geometry Visualization
Octogram Grids: Complete octagonal geometry with inner square, angled square, and connecting lines
Gann Angles: 1×1 and 2×1 diagonal support/resistance angles
Time Cycles: Quarter, half, and three-quarter cycle markers
Price Levels: Automatic 1/8th division levels (0%, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, 100%)
⚡ Advanced Confluence System
Adjustable 4-Factor Confluence (Levels 0-4):
Price Level Touch: Precise detection of key support/resistance levels
Time Cycle Alignment: Major (25%, 50%, 75%) and minor (1/8th divisions) cycles
Octogram Geometry: Proximity to vertices and diagonal angles
Price Action: Bullish/bearish candle confirmation
Confluence Levels:
Level 0: Signals on price touch only (most signals)
Level 1: Minimum 1 factor required
Level 2: Minimum 2 factors (⭐ recommended - balanced)
Level 3: Minimum 3 factors (strict quality)
Level 4: All 4 factors required (highest quality, fewer signals)
🛡️ Signal Quality Controls
Max Signals Per Cell: Limit signals to 1-10 per grid cell
Cooldown Period: Minimum bars between consecutive signals
Cell Signal Tracking: Automatic reset when entering new time cells
Adjustable Tolerances: Fine-tune price and geometry sensitivity
How It Works
Swing Detection: Identifies significant market swings using pivot highs/lows
Grid Construction: Builds octogram grid from swing high to swing low
Multi-Grid Projection: Projects multiple cells forward (time) and vertically (price)
Confluence Analysis: Monitors all 4 factors continuously
Signal Generation: Fires BUY/SELL when confluence threshold is met
BUY Signals trigger when:
Price touches LOW zones (0%-50%)
At key time cycle points
Near octogram geometry
Bullish candle forms
SELL Signals trigger when:
Price touches HIGH zones (50%-100%)
At key time cycle points
Near octogram geometry
Bearish candle forms
Settings Guide
Structure Settings
Auto Gann Number: Enable for automatic period selection (recommended)
Manual Gann Number: 11, 22, 44, 88, or 176 bars
Use Half Period: Faster detection using Gann/2 lookback
Grid Stability: Adaptive (1/8th) / Strict (1/4th) / Relaxed (1/16th)
Signal Settings ⚙️
Confluence Level: 0-4 (start with 2)
Price Tolerance: 1-8% (default 3%)
Geometry Tolerance: 0.5-5% (default 2.5%)
Min Bars Between Signals: 1-20 (default 3)
Max Signals Per Cell: 1-10 (default 4-6)
Display Options
Toggle grid squares, octagrams, triangles, Gann angles
Customizable colors for all elements
Time cycle visualization
Swing high/low markers
Info panel with swing statistics
Best Practices
For Day Trading (5min-15min charts):
Confluence Level: 2
Auto Gann: ON
Grid Stability: Adaptive
Max Signals Per Cell: 4-6
For Swing Trading (1H-4H charts):
Confluence Level: 3
Auto Gann: ON
Grid Stability: Strict
Max Signals Per Cell: 2-4
For Position Trading (Daily charts):
Confluence Level: 3-4
Manual Gann: 88 or 176
Grid Stability: Strict
Max Signals Per Cell: 2-3
Alert Setup
Built-in alert conditions:
Gann Octogram Buy - Fires on BUY signal
Gann Octogram Sell - Fires on SELL signal
Configure alerts using TradingView's alert system to get notified when confluence zones trigger.
Backtesting Tips
Start with Confluence Level 2 (balanced approach)
Increase level to 3-4 if too many signals
Decrease to 1 if missing opportunities
Adjust tolerances based on asset volatility
Test different Gann numbers for your specific market
Credits & Theory
Based on W.D. Gann's principles:
Square of Nine
Time-Price Geometry
Sacred Geometry (Octograms)
Natural Market Cycles
Developed with modern Pine Script for reliability, efficiency, and user control.
Version History
Ver 1.0 - Initial Release
4-factor confluence system
Auto Gann number selection
Adjustable confluence levels (0-4)
Sacred geometry visualization
Signal quality controls
Support
For questions, suggestions, or issues:
Comment on this indicator
Check the code (open source)
Experiment with settings for your trading style
Happy Trading! 📈
Disclaimer
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose. Backtest thoroughly before live trading.
Timecycles
PyraTime Harmonic 369Concept and Methodology PyraTime Harmonic 369 is a quantitative time-projection tool designed to apply Modular Arithmetic to market analysis. Unlike linear time indicators, this tool projects non-linear integer sequences derived from Digital Root Summation (Base-9 Reduction).
The core logic utilizes the mathematical progression of the 3-6-9 constants. By anchoring to a user-defined "Origin Pivot," the script projects three distinct harmonic triads to identify potential Temporal Confluence—moments where mathematical time cycles align with price action.
Technical Features This script focuses on the Standard Scalar (1x) projection of the Digital Root sequence:
The Root-3 Triad (Red): Projects intervals of 174, 285, 396. (Mathematical Sum: 1+7+4=12→3)
The Root-6 Triad (Green): Projects intervals of 417, 528, 639. (Mathematical Sum: 4+1+7=12→3, inverted)
The Root-9 Triad (Blue): Projects intervals of 741, 852, 963. (Mathematical Sum: 7+4+1=12→3... completion to 9)
How to Use
Set Anchor: Input the time of a significant High or Low in the settings.
Select Resolution: This tool is optimized for 1-minute (Micro-Harmonics) and 15-minute (Intraday Harmonics) charts.
Analyze Clusters: The vertical lines represent calculated harmonic intervals. Traders look for "Clusters" where a Root-3 and Root-9 cycle land on adjacent bars, indicating a high-probability pivot.
System Architecture & Version Comparison This script represents the foundational layer of the PyraTime ecosystem.
This Script (PyraTime Harmonic 369):
Scalar: Standard 1x Multiplier only.
Focus: Intraday & Micro-structure (1m, 15m).
Engine: Core Digital Root Integers.
PyraTime Harmonic Matrix (Advanced Edition):
Scalar Engine: Unlocks Quad-Fractal (4x), Tri-Fractal (3x), and Bi-Fractal (2x) multipliers for institutional cycle analysis.
Apex Logic: Auto-detection of the "963" Completion Sequence (Gold Highlight).
Event Horizon: Includes a live Predictive Dashboard that calculates the time-delta to the next harmonic event across all scalar groups.
Disclaimer This tool is for the educational analysis of Number Theory in financial markets. It projects time intervals and does not predict price direction. Past performance does not guarantee future results.
PyraTime Intraday Cycles**Concept and Methodology**
PyraTime Intraday Cycles is a technical analysis tool designed to introduce the concept of **Temporal Cycle Projection**. While most indicators analyze price action (Y-axis), this tool focuses exclusively on the X-axis (Time).
By anchoring to a specific "Origin Pivot" (a user-defined High or Low), the script projects harmonic time intervals into the future. These vertical vectors serve as a grid, helping traders identify moments where time-based cycles may align with price structure.
**Technical Features**
This edition is optimized for **Multi-Timeframe Harmonic Flows**, utilizing a fixed algorithm for key intervals:
* **Anchor Point Logic:** The user manually selects a significant market pivot. The script calculates forward projections from this exact timestamp.
* **Standard Rhythms:** This version renders the **5-minute**, **15-minute**, **1-hour**, and **Daily** harmonic sequences. This allows for analysis across scalping, intraday, and swing trading structures.
* **Visual Confluence:** The indicator draws vertical lines to highlight potential zones of temporal exhaustion or acceleration.
**How to Use**
1. **Identify a Pivot:** Locate a significant High or Low on the chart.
2. **Set the Origin:** Open the settings and input the date/time of that pivot.
3. **Analyze Confluence:** Watch how price behaves when it approaches a vertical line. If price hits a key support/resistance level *at the same time* it hits a PyraTime vertical line, this is considered a high-probability "Time/Price" intersection.
**Version Comparison**
This script represents the foundational layer of the Great Pyramid system (PyraTime Apex).
* **PyraTime Intraday Cycles (This Script):** Focuses on Standard Timeframes (5m, 15m, 1h, Daily).
* **GPM Architecture (Advanced):** The full methodology extends these calculations to Esoteric Sequences (33, 144, 108), includes 3x Cycle Extensions, and features a Predictive Dashboard for complex multi-timeframe analysis.
**Disclaimer**
This tool is for educational and analytical purposes only. It identifies time cycles, not price direction. Past performance of a time cycle does not guarantee future results.
Sessions [New_ProfitEfex]This script is use for displaying session in a very attractive an clarity way
You can give it a try for free
Timeframe Marker - know when timeframes start/end
When you're on a lower timeframe, it's important to know which timeframes are starting/ending.
Timeframe Marker will display a bars that stack notifying you of your chosen timeframes.
For example, if you're on the one minute chart or another low timeframe, you'll be aware of the larger timeframes are about to begin or start.
It's always good to select the lowest timeframe first in ascending order so that the lowest bar is the lowest timeframe and bars that stack on top are larger timeframes.
The default timeframes are:
• 5 minutes (green)
• 15 minutes (yellow)
• 1 hour (orange)
• 4 hour (red)
• daily (blue)
• weekly (purple)
• monthly (gray)
If your chart's timeframe is higher than the timeframe marker you've selected, then it won't display a bar stack for that timeframe as it would normally display on every bar (this is to avoid clutter).
The future timeframe marks basically will offset to future timeframes. Set how many bars forward you'd like to see.
Time Cycles IndicatorThis script is used to analyze the seasonality of any asset (commodities, stocks, indices).
To use the script select a timeframe D or W and select the months you are interested in the script settings. You will see all the candles that are part of those months highlighted in the chart.
You can use this script to understand if assets have a cyclical behavior in certain months of the year.
Market Time Cycle (Expo)█ Time Cycles Overview
Time cycles are a fascinating and powerful concept in the world of trading and investing. They are all about understanding and predicting the timing of market moves based on the premise that market events and price movements are not random, but instead occur in repeatable, cyclical patterns.
The Concept of Time Cycles: The foundation of time cycles lies in the belief that historical market patterns tend to repeat themselves over specific periods. These periods or cycles could be influenced by a myriad of factors like economic data releases, earnings reports, geopolitical events, or even natural human behavior. For example, some traders observe increased market activity around the start and end of a trading day, which is a form of intraday time cycle.
Understanding time cycles can provide traders with a roadmap, helping them anticipate potential trend shifts and make more informed decisions about when to buy or sell.
█ Indicator Overview
The Market Time Cycle (Expo) is designed to help traders track and analyze market cycles and generate signals for potential trading opportunities. It uses mathematical techniques to analyze market cycles and detect possible turning points. It does this by projecting the estimated cycle timeline and providing visual indications of cyclical phases through the use of color-coded lines and sine wave cycles.
Time cycles offer a compelling way to forecast market trends and time your trades better. By adding time cycles to your trading toolbox, you could potentially gain a new perspective on market movements and refine your trading strategy further. The indicator generates trading signals based on the sine wave's behavior. When the sine wave crosses certain thresholds, the indicator generates a signal suggesting a potential trading opportunity based on cycle behavior.
█ How to use
This indicator can be a valuable tool to help traders understand and predict market trends and time their trades more accurately. By visualizing the cyclic nature of markets, traders can better anticipate potential turning points and adjust their trading strategies accordingly. It helps traders to spot ideal entry and exit points based on the cyclical nature of financial markets.
█ Settings
You can customize the number of bars (NumbOfBars) that are taken into consideration for the cycle. Including a higher number of bars will provide more data, which can be helpful for analyzing long-term trends.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
timing marketIntraday time cycle . it is valid for nifty and banknifty .just add this on daily basis . ignore previous day data
Highlight Trading Window (Simple Hours / Time of Day Filter)As the name says this is a straightforward way to highlight the times of day that you are interested in studying.
Like to trade just a market open, or highlight a full session?
Could also be used negatively to "block out" a window of time each day.
Usage:
Just set your preferred time zone and then your time window (start and end).
Hope you find it useful! 😁








