Liu Yao Glossary: Hexagrams, Shi and Ying, Six Relations, Six Spirits and Eight Palaces
Liu Yao terms are the names you meet when reading a Liu Yao (六爻, “six lines”) chart: the lines you get from six tosses of three coins, the primary and changed hexagrams they form, and everything added when the hexagram is dressed, namely its palace, Shi and Ying, Na Jia, relations, spirits and void branches. This glossary only covers what HeyFate’s Liu Yao engine outputs and what Liu Yao Coin Casting explains. Each entry says what the word is and how it is derived, not how to judge a cast.
Key numbers
- 49 entries: 10 on lines, 5 on hexagrams, 8 palaces, 8 palace positions, 4 on Shi, Ying and Na Jia, 5 relations, 6 spirits, and 3 on the month, day and void branches. Six things the engine does not do are listed separately and not counted.
- 4 line values: 6, 7, 8 and 9 are old yin, young yang, young yin and old yang. Old yin and old yang are the moving lines.
- 8 palaces of 8 hexagrams make 64.
- The “six relations” are five kinds: Parents, Siblings, Offspring, Wealth, and Officials and Ghosts.
- 6 spirits: Azure Dragon, Vermilion Bird, Gou Chen, Flying Serpent, White Tiger and Black Tortoise.
- 2 void branches a day: a ten-day run (旬) pairs its ten stems with ten of the twelve branches and leaves two out. There are six such runs.
Lines
A line (爻) is the basic unit: six lines make a hexagram, counted from the bottom up, and one toss of three coins gives one line.
| Term | Chinese | Meaning |
|---|---|---|
| Old yin | 老阴 | Value 6, three inscribed sides, marked ×. A yin line that moves and becomes yang. |
| Young yang | 少阳 | Value 7, one back and two inscribed sides. A yang line that stays. |
| Young yin | 少阴 | Value 8, two backs and one inscribed side. A yin line that stays. |
| Old yang | 老阳 | Value 9, three backs, marked ○. A yang line that moves and becomes yin. |
| Moving line | 动爻 | Old yin or old yang, the two kinds that change. A cast can have none, or all six. |
| Unchanging line | 静爻 | Young yin or young yang, the two kinds that stay. The app’s table does not print this word; a line without ○ or × is unchanging. |
| Line 1 | 初爻 | The bottom line, from the first toss. |
| Line 6 | 上爻 | The top line, from the sixth toss. Lines 2 to 5 lie between. |
| Inner trigram | 内卦 | Lines 1 to 3, also called the lower trigram. |
| Outer trigram | 外卦 | Lines 4 to 6, also called the upper trigram. |
Hexagrams
A cast has two layers, the primary and the changed hexagram, and the process of adding the other information is called dressing.
| Term | Chinese | Meaning |
|---|---|---|
| Primary hexagram (Original hexagram in the app) | 本卦 | The hexagram the six tosses give directly: young and old yang are drawn as yang lines, young and old yin as yin lines. There are 64 possible hexagrams. |
| Changed hexagram | 变卦 | The hexagram after the moving lines flip: old yang becomes yin, old yin becomes yang, and the rest are copied. With no moving line the cast is usually called an unchanging hexagram (静卦); the app still shows the changed-hexagram row, with the same name as the primary hexagram. |
| Doubled trigram | 八纯卦 | One of the 8 hexagrams whose inner and outer trigrams match, such as 乾为天 or 坎为水. Each heads a palace. |
| Dressing | 装卦 | Adding the palace, Shi and Ying, Na Jia, relations and the rest to the primary hexagram. The dressed hexagram is the chart used for a reading. |
| Five Elements | 五行 | Each line’s branch carries one element: 子亥 Water, 寅卯 Wood, 巳午 Fire, 申酉 Metal, 辰戌丑未 Earth. The relations come from comparing it with the palace element. |
Eight palaces
The 64 hexagrams fall into 8 palaces of 8 each, and the palace element is the baseline for the relations.
| Palace | Image | Element | Head hexagram |
|---|---|---|---|
| 乾 | Heaven | Metal | 乾为天 |
| 震 | Thunder | Wood | 震为雷 |
| 坎 | Water | Water | 坎为水 |
| 艮 | Mountain | Earth | 艮为山 |
| 坤 | Earth | Earth | 坤为地 |
| 巽 | Wind | Wood | 巽为风 |
| 离 | Fire | Fire | 离为火 |
| 兑 | Lake | Metal | 兑为泽 |
Palace positions
The 8 hexagrams in a palace have a fixed order, made by flipping lines of the head hexagram from the bottom up. The app prints this position after the palace name, and it decides where the Shi line sits.
| Term | Chinese | Lines flipped from the head hexagram | Shi line |
|---|---|---|---|
| Head | 本宫 | None | Line 6 |
| 1st generation | 一世 | 1 | Line 1 |
| 2nd generation | 二世 | 1, 2 | Line 2 |
| 3rd generation | 三世 | 1, 2, 3 | Line 3 |
| 4th generation | 四世 | 1, 2, 3, 4 | Line 4 |
| 5th generation | 五世 | 1, 2, 3, 4, 5 | Line 5 |
| Wandering soul | 游魂 | 1, 2, 3, 5 | Line 4 |
| Returning soul | 归魂 | 5 | Line 3 |
Shi, Ying and Na Jia
These words describe a line’s role in the hexagram and the stem and branch it carries.
| Term | Chinese | Meaning |
|---|---|---|
| Shi line | 世爻 | The line marked Shi. Its place comes from the palace position. |
| Ying line | 应爻 | The line marked Ying, always three lines away from Shi: Shi on line 1 means Ying on line 4, Shi on line 2 means Ying on line 5, and so on. |
| Na Jia (Najia in the app) | 纳甲 | The rule that gives each line a stem and a branch, according to which trigram sits inside and outside. It is traditionally credited to Jing Fang of the Western Han. |
| Line shape (Line in the app) | 爻象 | The yang or yin stroke drawn in the app’s table, with ○ or × after a moving line. |
Six relations
The “six relations” (六亲) are really five kinds. Take the palace element as “self” and compare each line’s element with it. The changed hexagram keeps the primary hexagram’s palace for this.
| Term | Chinese | Relation to the palace element | Example in the Metal palace 乾 |
|---|---|---|---|
| Siblings | 兄弟 | Same element | 申, 酉 Metal |
| Offspring | 子孙 | The palace produces it | 亥, 子 Water |
| Wealth | 妻财 | The palace controls it | 寅, 卯 Wood |
| Officials and Ghosts | 官鬼 | It controls the palace | 巳, 午 Fire |
| Parents | 父母 | It produces the palace | 辰, 戌, 丑, 未 Earth |
Six spirits
The six spirits (六神) are placed from line 1 upward, in a fixed order that wraps round, starting from the spirit set by the day stem. This table gives the placement rule only, not what each spirit is said to mean.
| Term | Chinese | Starts on line 1 on these days |
|---|---|---|
| Azure Dragon | 青龙 | 甲 and 乙 days |
| Vermilion Bird | 朱雀 | 丙 and 丁 days |
| Gou Chen | 勾陈 | 戊 days |
| Flying Serpent | 螣蛇 | 己 days |
| White Tiger | 白虎 | 庚 and 辛 days |
| Black Tortoise | 玄武 | 壬 and 癸 days |
Month, day and void branches
These three come from the moment of the cast. The Bazi engine computes them, so they follow the same day-change and month-change rules.
| Term | Chinese | Meaning |
|---|---|---|
| Month (Month pillar in the app) | 月建 | The branch of the month of the cast, changing at the solar terms. The app shows the full pair, such as 戊戌. |
| Day (Day pillar in the app) | 日辰 | The stem-branch pair of the day of the cast. The day changes at 23:00 in the computer’s local standard time, with daylight saving removed. |
| Void branches | 旬空 | The two branches missing from the day’s ten-day run: 甲子 run 戌亥, 甲戌 run 申酉, 甲申 run 午未, 甲午 run 辰巳, 甲辰 run 寅卯, 甲寅 run 子丑. |
What the engine does not do
These words are common in Liu Yao books, but HeyFate’s engine does not output them, so they will not appear on your chart.
| Term | Chinese | Status |
|---|---|---|
| Gua Shen | 卦身 | Not placed by the engine; not on the chart. |
| Hidden spirits | 伏神 | Not placed by the engine; not on the chart. |
| Spirit stars | 神煞 | Not placed in Liu Yao. Bazi’s symbolic stars are a separate system and are not used here. |
| Yong Shen (用神) | 用神 | The engine makes no choice; the model you pick explains its reasoning in the reading. |
| Casting by time or by numbers | 时间起卦、报数起卦 | Not supported. HeyFate casts with three coins only. |
| Results from your own coins | 自己掷的铜钱结果 | Cannot be entered. HeyFate uses only its own locked random result. |
How to use this glossary
Liu Yao has no term-by-term hover text yet, so this page is the reference to keep beside the chart. After the sixth toss the cast appears in the conversation’s Facts panel. As of October 2026, the desktop app works like this:
- Read the rows at the top: the primary hexagram with its palace and position, the changed hexagram, the moving lines, the day, the month and the void branches.
- Read the table: from line 6 down to line 1, it lists spirits, relations, Na Jia, line shape and Shi / Ying.
- Read the changed-hexagram column: only moving lines show the new stem-branch pair and relation.
- Check against this page: look up the palace and position under “Eight palaces” and “Palace positions”, Shi and Ying under “Shi, Ying and Na Jia”, and the relations and spirits in their own sections.
The app’s labels are translated, but the values in the chart stay in Chinese characters, because that is what the engine outputs; the Chinese column above lets you match them.
For where each rule comes from and a full worked example, read Liu Yao Coin Casting. For what Liu Yao suits, read Which Method Fits Your Question. HeyFate is a desktop app for macOS and Windows: charts are built on your computer and read by your own AI subscription or API key. See the install guide.
Terms that are easy to mix up
Many Liu Yao words look alike. The way to tell them apart is to ask what each one is based on.
| Terms | The difference |
|---|---|
| Relations, spirits | The 5 relations come from comparing a line’s element with the palace element. The 6 spirits are placed from line 1 by the day stem. |
| Old yang, young yang | Both are yang lines. Old yang is 9 and moves; young yang is 7 and stays. Old and young yin work the same way. |
| 单, 拆, 重, 交 | Old names for young yang, young yin, old yang and old yin, in that order. |
| Primary hexagram (本卦), head (本宫) | The primary hexagram is what you cast. Head is a palace position, one of the eight doubled trigrams. |
| Palace, inner and outer trigrams | A palace belongs to the whole hexagram; a trigram is three lines. Na Jia reads the trigrams, not the palace. |
| Shi, Ying | Shi’s place comes from the palace position. Ying is always three lines from Shi. |
| Month, day | The month branch and the day pair, both from the moment of the cast. |
| Void branches in Liu Yao and in Bazi | Liu Yao reads them from the day pillar’s run only. Bazi’s Void star has its own lookup. |
| Relations (Liu Yao), Ten Gods (Bazi) | Relations are measured from the palace element and Ten Gods from the Day Master. The two sets of names do not carry across. |
| Azure Dragon, White Tiger, Black Tortoise | Qimen’s eight spirits also include 白虎 and 玄武, and Zi Wei’s Boshi spirits include 青龙. The names match; the placement rules do not. |
These terms come from a traditional divination practice. The explanations here only say what each word refers to; they are offered for cultural interest and self-reflection, and they are not verdicts on anything.
Sources
- Jingshi Yizhuan (京氏易传), Siku Quanshu edition: juan 1 and 2, the eight palaces in order with Shi and Ying and Lu Ji's notes on each line's stem and branch; juan 3, Na Jia and the five kinds of line
- Zengshan Buyi (增删卜易) by Yehe Laoren, revised by Li Wenhui: chapters on Na Jia (浑天甲子), the six relations, Shi and Ying, moving lines, the month, the six spirits, void branches and hidden spirits
- Huozhulin (火珠林), traditionally attributed to Mayi Daozhe
- Yili Zhushu (仪礼注疏), juan 1, the Shi Guan Li, with the subcommentary of Jia Gongyan (Tang dynasty) on 重, 交, 单 and 拆
AI-generated content, for reference only; not medical, legal, financial or psychological advice. These methods come from cultural traditions, and HeyFate offers them for cultural interest, entertainment and self-reflection.
All articles