Xuan Kong Da Gua (XKDG) is considered the "Master Key" of the San Yuan school. While other systems look at sectors and stars, XKDG dives into the 64 Hexagrams of the I Ching to achieve a precision of 0.9375 degrees (one Yao line). It is the ultimate system for harmonizing the Three Wonders: Heaven (Time), Earth (Space), and Man (Destiny).

✦ ◆ ✦

Module 1: Theoretical Foundations (理论基础)

The architecture of XKDG is built upon the Early Heaven sequence and the mathematical transformations of the 64 Hexagrams as organized by the Song Dynasty master Shao Yong .

  • The Shao Yong Arrangement: Understanding the Fuxi Square and Circle arrangements as the cosmic blueprint. The Circle represents the dynamic flow of Time (Heaven), while the Square represents the stable structure of Space (Earth).
  • Gua Qi (卦气 - Element Numbers): Every hexagram is assigned a Wu Xing element number (1 to 9, excluding 5) based on the Early Heaven Trigram values:
    • 1 & 6: Water | 2 & 7: Fire | 3 & 8: Wood | 4 & 9: Metal.
    • These are derived from the He Tu Transformations .
  • Gua Yun (卦运 - Period Numbers): The 1-9 period values derived from the Xuan Kong Ai Xing (Flying Star) logic applied to the 64 hexagrams.
  • One Gua Pureness (一卦純清): The ideal state where the Dragon, Mountain, Direction, and Water all belong to the same period or element family.

Module 2: The Logic of Connection (连通法則)

The power of XKDG lies in the "Connection" (Tong) between variables. We seek four primary types of auspicious resonance for ritual and spatial success:

  • Same Kua (同氣): When the Gua Qi or Gua Yun of the time, property, and person are identical. This provides stable, pure energy.
  • Sum of Ten (合十): A perfect balance. When numbers add up to 10 (e.g., 1-9, 2-8, 3-7, 4-6). This is the highest form of alignment for long-term prosperity.
  • He Tu Combinations (合化): Utilizing generative pairs from the He Tu (1-6, 2-7, 3-8, 4-9) to stimulate growth and wealth.
  • Sum of Five/Fifteen: Secondary auspicious combinations for specific directional activations.

Module 3: XKDG Date Selection (择日学)

Date selection in XKDG is considered the "Imperial Method." It converts the Four Pillars into hexagrams to check internal resonance.

  • Establishing the "King" (日主): The Day Pillar hexagram serves as the central authority. All other pillars (Year, Month, Hour) must support or resonant with it.
  • Heaven-Earth-Man Resonance: Ensuring the date hexagrams harmonize with the "Sitting" hexagram of the property and the Personal Ming Gua of the inhabitant.
  • The Two-Hour Window: Pinpointing the exact Shi Chen when the cosmic alignment reaches its peak for ritual activation.
  • Zhen Shan Long Gui Yuan (真山龍歸元): The high-level technique of returning the mountain energy to its primordial source.

Module 4: Altar Fine-tuning & Xie Zi Fa (些子法)

The "Xie Zi Fa" (些子法) is the secret method for transforming energy at the smallest scales. It uses the 384 Yao for surgical altar placement.

  • Inner and Outer Xie Zi (內外些子):
    • Outer: Aligning the property with external landforms and water.
    • Inner: Fine-tuning the Altar (壇位) or Bed to the exact 0.9375-degree window.
  • Chou Yao Huan Xiang (抽爻換象): The technique of "Drawing the Yao and Changing the Image." If a directional sector is unfavorable, the practitioner selects a specific Yao line to "transform" the hexagram into an auspicious one.
  • Avoiding Empty Lines (Kong Wang): Identifying the "Death and Void" lines (0.00 degrees between hexagrams) which cause energy leakage.
  • Ritual Altar Orientation: Placing the Liuren Geographical Immortal Master 's tablet on a "Prosperity Line" (Wang Yao) to maximize spiritual receptivity.

🛠️ Practical Ritual Applications (實戰應用)

XKDG is not mere theory; it is the operative technology used for high-level Liuren ritual work. Below are the standard practical procedures:

1. Establishing the Sacred Hub (安壇安座)

When installing a Liuren Altar (安壇), the practitioner uses a San Yuan Luo Pan to find the Gua Qi of the sitting direction. The goal is to ensure the Altar sits on a "Sheng" (Growth) or "Wang" (Prosperous) line. A deviation of just 1 degree can "flip the Xie Zi" (翻些子), turning a protective altar into a source of instability.

2. Initiation Timing (過教擇日)

For the Guojiao ceremony, the Master selects a date where the Four Pillars' hexagrams form a He Tu Combination (1-6, 2-7, etc.) with the sitting hexagram of the Altar. This "locks" the lineage power into the space and ensures the student's Personal Ming is synchronized with the ancestral transmission.

3. Magical Diagnosis (法術診斷)

If a practitioner feels their "Fa Power" (法力) is weakening, XKDG is used to diagnose if the Altar has been affected by Out-of-Gua (Chu Gua) energies. By adjusting the tablet by a few fractions of a degree—using Chou Yao Huan Xiang —the resonance can be restored instantly.

✦ ◆ ✦

📚 Technical Reference: The Practitioner's Manual

For advanced disciples, the following formulas are the keys to precise metaphysical operation.

A. Calculating Gua Qi (Element Number) / 卦氣計算法

The Gua Qi is derived from the Upper Trigram of the 64 hexagrams, mapped through the He Tu relationships:

  • 1 (Water): Hexagrams with Kun (坤) as the Upper Trigram.
  • 2 (Fire): Hexagrams with Xun (巽) as the Upper Trigram.
  • 3 (Wood): Hexagrams with Li (離) as the Upper Trigram.
  • 4 (Metal): Hexagrams with Dui (兌) as the Upper Trigram.
  • 6 (Water): Hexagrams with Gen (艮) as the Upper Trigram.
  • 7 (Fire): Hexagrams with Kan (坎) as the Upper Trigram.
  • 8 (Wood): Hexagrams with Zhen (震) as the Upper Trigram.
  • 9 (Metal): Hexagrams with Qian (乾) as the Upper Trigram.

B. Calculating Gua Yun (Period Number) / 卦運計算法

The Gua Yun determines the kinship and timeliness. Use the "Yao Transformation" rule from the Parent Hexagram (八純卦):

Transformation RuleResulting Period (Gua Yun)
No lines change (Original Pure Hexagram)Period 1 (The Parent)
Only the 1st Yao changesPeriod 8 (Left Assistant)
Only the 2nd Yao changesPeriod 7 (Broken Army)
Only the 3rd Yao changesPeriod 6 (Military Star)
1st and 2nd Yao both changePeriod 4 (Literary Star)
1st and 3rd Yao both changePeriod 3 (Lucrative Star)
2nd and 3rd Yao both changePeriod 2 (Giant Door)
Inner and Outer Trigrams are opposites (夫妇正配)Period 9 (The Right Assistant)

C. Step-by-Step Altar Alignment / 安壇步驟

  1. Measure: Use the Luo Pan to identify the exact degree of the wall or cabinet where the Altar will sit.
  2. Identify: Locate the 64 Hexagram Ring on the Luo Pan to see which hexagram corresponds to that degree.
  3. Check Resonance: Ensure the Hexagram's Gua Qi is "Sheng/Wang" for the current period (Period 9). For example, Metal (4/9) and Fire (2/7) are strong in Period 9.
  4. Fine-tune (些子法): If the hexagram is not ideal, move the Altar Tablet slightly within the 0.9375-degree window to a specific Yao line .
    • Rule: The 1st, 2nd, and 3rd lines are for "Internal" matters (Health, Harmony).
    • Rule: The 4th, 5th, and 6th lines are for "External" matters (Career, Wealth).

Master the Hidden Degrees. Xuan Kong Da Gua is the hallmark of the elite practitioner, providing the "surgical" precision required for high-stakes Feng Shui and magical operations. Inquire for advanced enrollment.

✦ ◆ ✦

Origin and Relationship to the Yijing (易經)

Xuan Kong Da Gua is rooted directly in the 64 Hexagrams (六十四卦) of the Yijing (易經 — Book of Changes). While the Yijing was originally a divination and philosophical text, Song Dynasty masters — most notably Shao Yong (邵雍, 1011–1077 CE) — decoded its mathematical structure and applied it to spatial analysis.

📜 The Two Arrangements

Shao Yong's breakthrough was organizing the 64 hexagrams into two complementary patterns:

  • The Circular Arrangement (圓圖): 64 hexagrams arranged in a circle representing the flow of Time — the dynamic, ever-changing dimension of Heaven's influence. This maps onto the 360 degrees of the compass.
  • The Square Arrangement (方圖): 64 hexagrams arranged in an 8×8 grid representing the structure of Space — the fixed, stable dimension of Earth's form.

When the Circle (Time/Heaven) is superimposed upon the Square (Space/Earth), the result is a mathematical model of how cosmic energy interacts with physical locations — the theoretical foundation of XKDG.

Key Insight

Unlike Xuan Kong Flying Stars, which works with the 9 Stars in broad 45-degree sectors, Da Gua works with 64 hexagrams across the 360-degree compass. Each hexagram occupies approximately 5.625 degrees, and each individual Yao line covers just 0.9375 degrees. This gives XKDG its legendary precision — often called "surgical" Feng Shui.

✦ ◆ ✦

How Da Gua Maps Hexagrams to the 24 Mountains

The 64 hexagrams are distributed across the 24 Mountains of the Luo Pan compass. Since 24 Mountains × 15 degrees = 360 degrees, and 64 hexagrams need to fit within this ring, the distribution is not uniform — it follows the Early Heaven Trigram logic.

Trigram SectorMountains CoveredNumber of HexagramsArrangement Basis
Qian (乾)Xu (戌), Qian (乾), Hai (亥)8 hexagrams with Qian as lower trigramEarly Heaven: Qian at South
Kun (坤)Wei (未), Kun (坤), Shen (申)8 hexagrams with Kun as lower trigramEarly Heaven: Kun at North
Li (離)Ren (壬), Zi (子), Gui (癸)8 hexagrams with Li as lower trigramEarly Heaven: Li at East
Kan (坎)Bing (丙), Wu (午), Ding (丁)8 hexagrams with Kan as lower trigramEarly Heaven: Kan at West
Zhen (震)Geng (庚), You (酉), Xin (辛)8 hexagrams with Zhen as lower trigramEarly Heaven: Zhen at NE
Xun (巽)Jia (甲), Mao (卯), Yi (乙)8 hexagrams with Xun as lower trigramEarly Heaven: Xun at SW
Gen (艮)Chen (辰), Xun (巽), Si (巳)8 hexagrams with Gen as lower trigramEarly Heaven: Gen at NW
Dui (兌)Chou (丑), Gen (艮), Yin (寅)8 hexagrams with Dui as lower trigramEarly Heaven: Dui at SE

⚠️ Early Heaven vs. Later Heaven

A critical distinction: the 64 Hexagram ring on the Luo Pan uses the Early Heaven (先天) trigram arrangement, while the familiar 24 Mountain ring uses the Later Heaven (後天) arrangement. This "cross-mapping" between the two sequences is what produces the unique power of XKDG — it integrates the timeless (Early Heaven) with the temporal (Later Heaven).

✦ ◆ ✦

The 384 Yao (爻) System

Each of the 64 hexagrams contains 6 Yao lines (爻), giving a total of 384 Yao (64 × 6 = 384). When distributed around the 360-degree compass, each Yao line occupies exactly 0.9375 degrees (360 ÷ 384). This is the finest unit of measurement in classical Feng Shui.

UnitCountDegrees EachPrecision Level
24 Mountains2415°Basic — used by most compass schools
64 Hexagrams645.625°Advanced — XKDG hexagram level
384 Yao Lines3840.9375°Master — finest measurable unit ("surgical precision")

Understanding the Six Lines

Within each hexagram's 5.625-degree sector, the six Yao lines are read from bottom to top:

  • Line 1 (初爻): Foundation — affects physical health and root stability.
  • Line 2 (二爻): Interior — domestic harmony, family relationships.
  • Line 3 (三爻): Transition — the border between internal and external affairs.
  • Line 4 (四爻): Minister — career support, colleagues, and social positioning.
  • Line 5 (五爻): Sovereign — peak authority, wealth, and leadership.
  • Line 6 (六爻): Excess — over-extension, spiritual matters, or retirement.

When placing an altar or adjusting a building's facing, the specific Yao line targeted within the hexagram determines exactly which life domain is activated.

✦ ◆ ✦

Parent-Offspring Hexagram Relationships (父母卦)

The Parent Hexagrams (父母卦 - Fùmǔ Guà) are the eight "pure" hexagrams where the upper and lower trigrams are identical (e.g., Qian over Qian = ☰☰, Kun over Kun = ☷☷). These eight Parent Hexagrams each "give birth" to seven Offspring Hexagrams through systematic line changes, producing the full set of 64.

Parent HexagramSymbolElementOffspring Generation Rule
Qian (乾)☰☰Metal 9Change inner trigram lines to produce 7 offspring hexagrams
Kun (坤)☷☷Water 1Same method applied to Kun's inner trigram
Kan (坎)☵☵Fire 7Offspring created by flipping inner lines of the lower Ki trigram
Li (離)☲☲Wood 3Li generates offspring including Ming Yi, Feng, etc.
Zhen (震)☳☳Wood 8Zhen family includes Yu, Jie, Heng, etc.
Xun (巽)☴☴Fire 2Xun generates offspring through inner trigram changes
Gen (艮)☶☶Water 6Gen family includes Jian, Bo, etc.
Dui (兌)☱☱Metal 4Dui generates offspring through standard line changes

Why Parent-Offspring Matters

In XKDG practice, the ideal alignment is when the Dragon hexagram (incoming mountain energy), Facing hexagram (property orientation), and Water hexagram (water flow direction) all belong to the same Parent family or share the same Gua Qi (element number). This creates "One Family Purity" (一卦純清) — the most powerful configuration for sustained auspiciousness.

✦ ◆ ✦

Dragon-Facing-Water Matching Using Da Gua

The core operational technique of XKDG is the matching of three spatial variables using hexagram mathematics. These variables are called the Three Wonders (三般卦):

1. Dragon (龍) — The Incoming Mountain

Measured from the Luo Pan's 64 hexagram ring: the hexagram occupying the degree of the incoming Dragon vein (the ridge leading to the property). This represents the inherent, fixed energy of the site.

2. Facing (向) — The Property Orientation

The hexagram corresponding to the precise facing direction of the building or grave. This is the variable that practitioners can most readily adjust during construction or renovation.

3. Water (水) — The Water Mouth

The hexagram at the degree where water exits the visible area (the Water Mouth / 水口). This governs wealth dynamics. In urban settings, this is often the point where the main road "disappears" from view.

Matching Criteria (合局法)

Match TypeChineseConditionResult
Sum of Ten合十Gua Yun of Dragon + Facing = 10 (e.g., Period 3 + Period 7)The highest alignment — perfect Yin-Yang balance. Ideal for long-term prosperity.
He Tu Pair河圖合化Gua Qi forms a He Tu generative pair (1-6, 2-7, 3-8, 4-9)Strong generative relationship. Excellent for wealth activation and growth.
Same Qi同氣All three variables share the same Gua Qi or Gua Yun number"One Family Purity." Pure and stable, no internal conflict.
Husband-Wife Pair夫婦正配Inner and outer trigrams are reversed (e.g., Qian-Kun paired)The Period 9 special match — harmonious union of opposites.
✦ ◆ ✦

Castle Gate Theory (城門訣)

The Castle Gate (城門 - Chéngmén) is a critical concept in XKDG referring to the most powerful point of Qi entry into a site. Named after the main gate of a walled city, the Castle Gate is the sector through which the most significant environmental feature — typically a road opening, river bend, or gap between buildings — channels energy into the property.

📜 From the Tian Yu Jing (天玉經)

"城門一訣最為良,識得城門世少雙。"

"The Castle Gate method is the finest of all — those who understand it are unmatched in the world."

Castle Gate Identification

  • The Castle Gate is located at the corner sector (45° from the Facing direction) where there is an opening, gap, or water feature.
  • For a South-facing property, the potential Castle Gates are at the Southeast or Southwest corners.
  • The Castle Gate hexagram must be in a "timely" (得令) period to be activated. In Period 9 (2024–2043), Castle Gates with Period 9 Gua Yun are most potent.
  • An active Castle Gate dramatically amplifies the wealth-generating capability of the property — it is often the single factor that differentiates average sites from exceptional ones.
✦ ◆ ✦

Period Luck and Hexagram Position Shifts

In XKDG, the auspiciousness of a hexagram changes with each Period (運 - Yùn). The San Yuan system divides time into nine 20-year Periods forming a complete 180-year Grand Cycle. Each Period "activates" different hexagrams and renders others dormant.

StatusChinesePeriod 9 (2024–2043)Effect on Site
Current Prosperity當旺Hexagrams with Gua Yun = 9Maximum vitality. Wealth and health flourish. The optimal time for these hexagrams.
Future Prosperity生氣Hexagrams with Gua Yun = 1 (next Period)Growing energy. Sites positioned here will gain momentum moving into Period 1.
Retreating Luck退氣Hexagrams with Gua Yun = 8 (just passed)Fading but still functional. Residual auspiciousness from the previous Period.
Dead Qi死氣Hexagrams with Gua Yun = 5, 6, 7Dormant or harmful. These hexagrams carry stagnation or decline in Period 9.

🔄 Period 9 Implications (2024–2043)

We are currently in Period 9 , governed by the Li (離) trigram — representing fire, illumination, and the middle daughter. Key implications for XKDG practice:

  • Hexagrams with Gua Yun 9 are at peak prosperity — sites aligned with these flourish.
  • Fire element (Gua Qi 2 and 7) holds heightened significance throughout this Period.
  • Properties facing South (Li direction) receive enhanced Period support.
  • The Husband-Wife pairing (Period 9 special) between Li and Kan hexagrams creates unusually powerful configurations.
✦ ◆ ✦

Practical Example: Evaluating a Property Direction

Below is a simplified walkthrough of how a XKDG practitioner evaluates a property. This illustrates the methodology without revealing proprietary formulas.

Scenario

A residential property in Period 9 sits on Zi Mountain (子山), facing Wu direction (午向) . There is a river exiting to the southwest and a mountain ridge arriving from the northeast.

Step 1: Identify the Hexagrams

  • Facing: Measure the precise facing degree on the 64 Hexagram ring. If the facing reads 178.5°, identify which hexagram and which Yao line falls at this degree.
  • Dragon: Measure the incoming mountain ridge. Record its hexagram from the 64 Hexagram ring.
  • Water Mouth: Measure the degree where the river disappears from sight. Record its hexagram.

Step 2: Extract the Numbers

  • Calculate the Gua Qi (element number) for each hexagram using the upper trigram.
  • Calculate the Gua Yun (period number) for each hexagram using the line-change transformation.

Step 3: Check Matching

  • Do the Dragon and Facing form a Sum of Ten ? (e.g., Gua Yun 3 + 7 = 10) ✓ Ideal
  • Do the Facing and Water form a He Tu pair ? (e.g., Gua Qi 3 + 8) ✓ Generative
  • Is the Facing hexagram's Gua Yun = 9 (current Period prosperity)? ✓ Timely

Step 4: Fine-Tune with Yao Lines

  • If the facing is on the boundary between two hexagrams, check that it does not fall on an Empty Line (空亡) — the gap between hexagrams (0°) that causes energy leakage.
  • Select the specific Yao line that best serves the occupant's goals — Line 5 for career authority, Line 2 for family harmony.
  • Adjust the building entrance or furniture alignment by fractions of a degree if necessary.

⚠️ Precision Warning

Da Gua demands extreme precision in compass readings. A deviation of just 1–2 degrees can shift the measurement into a completely different hexagram with different element numbers, period numbers, and auspiciousness. Professional practitioners use high-grade compasses, take multiple readings, and account for magnetic declination. Never attempt XKDG adjustments based on smartphone compass readings.