Note:  The message below was written in August 2015 for my “Professional Imperial QMDJ” discussion group. I wrote this article after being bombarded with questions about this so-called “QMDJ-XKDG” by my curious students for years.  I have updated it with some new notes here.

Some marketers have marketed a “Qi-Men-Dun-Jia Xuan-Kong-Da-Gua”  (奇门遁甲玄空大卦 QMDJ-XKDG) course a few years ago. You (my students) have asked many questions about this course.


Ancient QMDJ books

In Chinese metaphysics, there is a fetish of “na-jia” or trying to fit everything into the bagua.  Xuan-Kong-Da-Gua or XKDG itself is an example– artificially fitting 64 hexagrams into the bagua or 8-trigrams by repeating 4 jia-zi (binomials).  XKDG is still not accepted by some Feng Shui schools.

There is also a tendency in Chinese metaphysics circle to stuff 64 hexagrams into existing systems and repackage it as “XXXX-XKDG”.   These marketers often claim that this is no new stuff but a recent “rediscovery” of long-lost ancient manuscript or technique.

During mid-Qing dynasty (around 1700-1800), the government had relaxed the restrictions on the spreading of QMDJ to help countering the increasingly aggressive western power and internal rebellions.  Scholars and amateurs at that time had gone nuts and written many “armchair” books on QMDJ.  “Armchair” means out of imagination or simply using formula mechanically to generate more QMDJ theories.  Some may work and most do not or simply have no empirical testing to backup the “new” theories.

As far as I know, there is no such thing as “QMDJ-XKDG“.  Modern marketers have coined the term “QMDJ-XKDG” because this later day version of QMDJ has somehow “squeezed” 64 hexagrams into the system.  The original author(s) had called this version of QMDJ as “Golden Mirror of Nation-building and Capital setting for 10 Thousands Years Reign” (Aren’t we lucky that Hitler had not gotten a copy?).  I have read the book about this “nation/ capital building” QMDJ. (For around NT$ 300 or US$ 10, you can get the Chinese book on this topic in Taiwan).


Ancient compass with 8 sectors

QMDJ was developed around 200 AD using only 9 palaces or sectors (the rudimentary compass at that time could not do measurement down to individual degree). XKDG requires accuracy down to 360/384 or 0.938 degree (even compass during the1800’s could not be this accurate).  Mixing QMDJ with XKDG together is as funny as putting dinosaurs with humans together like the “One Million Years BC” movie.  QMDJ and XKDG were over 1500 years apart.


Sample “capital-building chart”

The original author of this version of QMDJ had claimed it is for “capital building” and provincial/ city level “huge projects“.  It is not designed for individual house, building or even housing estates though one may use it as “reference“.   If we assume it works as claimed– there are not too many capitals around or huge projects for Feng Shui students to build.  This means only these so-called  “QMDJ-XKDG” teachers make money from selling the course.The students will probably find little or no market for “QMDJ-XKDG” other than selling the course again to others.   It is even worse if the darn thing does not work.

Anyway, the “capital-building chart” looks impressive if not intimidating for the uninitiated.  It is just iterations of some formulas into individual palace.


Commander Nian

Imperial Qing dynasty was no longer exist in China since 1911.  It should be here today if “QMDJ-XKDG” was employed.  And we know from historical texts and Qing Imperial Tombs that Qing emperors were very into Feng Shui and QMDJ.  The Qing military commander Nian Gengyao (年羹尧) was known for using QMDJ in quelling rebellions.

The essence of the question is:  Can QMDJ be scaled up and applied to regional or national level when it was originally designed for small scale or single location application?  

QMDJ itself is a very complicated system with over 50 data points and numerous dimensions.  XKDG is not as complicated as QMDJ, but it is not simple either.  Imagine the astronomical number of combinations generated when someone tries to tie these two system together!

Mixing unrelated systems and methods together is like building a QMDJ Frankenstein.  The more variables one adds to a system, the more complicated it becomes, the narrower for its application (like in this case, capital building and huge projects) and the higher probability of something goes wrong.  Isn’t this too much for an individual Feng Shui practitioner to handle?

Just because a book was written a few hundred years ago does not necessarily make its contents valid.  Consumers need to do their crap-detection and hype-filtering before paying for courses based on these “ancient books” or “rediscovery of ancient techniques“.

My 40 years of experience in Chinese metaphysics tells me if someone hypes about a recent “discovery” of an ancient text, technique or family heirloom manuscript in QMDJ, Feng Shui or any topic, the chance of this being crap is pretty high.  If the newly rediscovered “technique” is so amazing and powerful, it should have been utilized extensively like aspirin or sliced bread.  Why it is forgotten or disappeared into the garbage heaps of history long time ago?

You may find QMDJ-ZWDS, XKDG-ZWDS, QMDJ-XKDG-ZWDS, Mega QMDJ-XKDG-ZWDS-4P-Flying-Star courses…. soon in some marketer websites near you.

Ken Lai 

“Advanced Visual Form Feng Shui” w/23 hr. HD video
“Visual Form Feng Shui” w/13 hr. HD video
“Destiny/Luck Mgmt. w/ Bazi- Basic/ Advanced w/18 hr. HD video each
“Destiny/Luck Mgmt. 1: Forecasting and Decision Support” w/23 hr. HD video
“Feng Shui Toolbox: Sha-qi, Health/Wealth and Career” w/ 7 hr. HD video
“Period 7/8 FS Toolkit w/ Advanced Flying Star techniques” w/ 6 hr. HD video
“Practical Date-Selection Methods (incl. XKDG) w/ 12 hr. video
“Advanced/ Practical Imperial Qi-men-Dun-Jia 4G” w/ 12 or 16 hr. video
“Professional Imperial QMDJ 4G” w/ 21 hr. video
“EZ QMDJ series: Astrology, Date/Task Selection, Annual Luck/FS”w/ 3 hr. HD
“EZ QMDJ Advanced Feng Shui” with 4 hr. HD video
“Daoist Talismans for Feng Shui/Blessing” w/ 24 hr video
“Practical Door Feng Shui for Wealth” w/ 3 hr. video
“4-Pillars Forecasting Bootcamp” with 12 hr. video



Note: The following article was written for a Toronto FS group newsletter in 2005.

In the last one or two years, Xuan Kong Da Gua (XKDG) becomes the latest craze on the Feng Shui training circuit. Or in more blunt terms, it adds 2 or more courses to the inventory of Feng Shui trainers.

Info or “secrets” about Flying Star are abundant in published sources.  XKDG, info, however, is not as readily available.

In Hong Kong, a famous writer charges as much as HK$150k (CAD$23k) to teach you XKDG. In Taiwan, charges from US$5000 to NT$1M (CAD$39k) are not unheard of.

In 2000, Master X of Taiwan starts to publish a series of XKDG books, so it is no coincidence that XKDG begins surfacing in the west after 2000. Before Master X, GM Chan Pui San, the founder of Miao Pai XKDG, (Hong Kong) has published some info on XKDG. I can tell Master X’s books are based on GM Chan’s books.  But Master X is a better writer and good at explaining complicated concepts.

Miao Pai XKDG is known for its “sha-fighting” to enhance wealth luck.  Master X also has his own version of sha-fighting method.

In the early 90’s, GM Chan has released a major XKDG secret– “in-gua and out-of-gua” to explain why a person suffers in a house while another prospers in the same house, or why some houses have ugly mountains/ water but do not shown any negative effects.

The probability of being “out-of-gua” (not getting the blessing or negative effects) is about 1/3.

The cornerstone of Master X’s fight-sha Feng Shui is this “in-gua and out-of-gua” theory.  Most of his cases examples shown in his books are for business located in the top side of a T-junction or cross-junction.

The formula is pretty simple, by orientating the door to face the sha (like rushing qi/ traffic) at an “out-of-gua” angle with a good XKDG date-selection, Master X claims this will convert sha energy to work wonder for the owner.

By putting the door in an “out-of-gua” angle, so the sha cannot have effect of the property— doesn’t this sound like “sha avoidance”?

From a common sense point of view, business likes exposure.  With junctions there are normally stop signs or traffic light too. By setting a business on a cross-junction or T-junction with an angled door that faces the most directions, it maximizes exposure of the business to traffic.

Can this become a “self-fulfilling prophecy”?  Will the business be just as prosperous without doing this fight-sha Feng Shui?

If you go to downtown Toronto, businesses with angled doors at a cross-junction are found almost in every block.

Finally, I would like to give you a reminder about Master X’s books. He told his students that he had purposely set missing links and traps in his books, so he can tell if someone is teaching from his books or from someone who has taken his live class. I know Master X’s sifu and he does not fight-sha.

Postscript 2010Lately there are noises about claims of  “sha-fighting”.  Now you know how this got started.  My Taiwan sifu had studied with GM Chan Pui San (now almost 90 years old).  He told us “do not fight sha” unless your life is worthless. You don’t know the long term effects of sha-fighting and you don’t want to do experiments with the lives of your clients.

Ken Lai

“Practical Date-Selection Methods (incl. XKDG) w/ 12 hr. video
“Practical Imperial Qi-men-Dun-Jia” w/ 12 hr. video
“Daoist Talismans for Feng Shui & Blessing” v.2 w/ 24 hr video
“Practical Door Feng Shui for Wealth” w/ 3 hr. video
“4-Pillars Forecasting Bootcamp” with 12 hr. video


A Feng Shui friend sent me the following email:

My sister wants to build a new house, so it will be a P8 house.

The plot faces N2 so the Flying Star chart can meet the criteria for a “7 Star Robbery”, so according to this, she should place a door/window at the South, East and NW.

According to “Castle Gate” the Qi entrance should come from NW2.

According to the San He “12 Life Stages” a NW2 Qi entrance would be either at stage 3 or 4, so it is good, but my question is if the door must be placed at NW2, but facing N2 (same bearing as the plot) or if the door should be slanted facing NW2?

My friend tries to integrate Flying Star, “7-star Robbery“, “Castle Gate” and San He’s “12 Life Stages” to the house design.

I think he is making things too complicated. Although he can mix as many schools and methods as he wants if he has my “Practical Door Feng Shui” course materials. He can also easily integrate XKDG and Flying Star in 30 seconds.

“Practical Door Feng Shui” also includes the “decoders” for the word-play puzzles like the “Qian mountain Qian water” gig. Someone considers this little word-game as lineage “top-secret” on other lists. It does not worth a penny if you know the answer.

WARNING: DO NOT use the formula listed above. There are many missing details here. Consult your teacher/ master before applying these formula.

“Practical Door FS for wealth” w/ 3 hr. video
“Practical Imperial QMDJ” with 9 hr. video
“4-Pillars Bootcamp” with 12 hr. video now available
“Daoist Talisman for FS and Blessing” w/ 13 hr video

Note: The following blog was written on Feb. 23, 2005

One day, Farmer Mah took a break after working under the sun for a few
hours. He sat under the cool shade of a tree.

Suddenly he heard a "boom" noise. It seemed something hit the tree

Farmer Mah looked around and found a fainted bunny laying on the dirt.
Mah was happy to have a bunny dinner that evening.

The next day while toiling in the field, he thought, "Why should I work
this hard? I can sit under that cool tree and wait for another

So he sat under the tree and waited-- no bunny showed up.

Then he waited again the following day-- no bunny again.

Farmer Mah asked himself, "Why no more bunny? Do I sit at the right
angle? Does it has anything to do with my 4P, house orientation, what I
did the day when I got the bunny...."

So he did some "crime scene recreation" and retraced what he saw and
did the day he got the bunny. "The rooster crowed 4 times. I'd eaten 3
eggs and pissed 2 times. The I saw 5 nuns and stepped on some cow dung
on my way to the field...."

So farmer Mah had luopaned the tree, his house, checked his 4P and used
all possible metaphyical methods like Qi Men Dun Jia, 6-ren, XKDG,
TBBS, ZWDS.... to find out if there is any correlation with the appearance
of the bvnny, imageries and numbers that he had encountered in that
lucky day.

Mah had worked so hard to find out how to get the bunny again that he
no longer worked the field and grass grew all over.

Farmer Mah had lost track of time, but one day he was overcome with joy
and yelled, "I've cracked the secret! XKDG said that date was my lucky
day, QMDJ said I walked the lucky direction and where I'd stepped on
the cow dung is the weakness point of the bunny luck system....."

Using a multitude of metaphysics systems, Mah was able to fit some
facts a bit here and there.

With his new-found secret, do you think Farmer Mah will wait for bunny
under the tree again?

(Answer below)

Ken Lai

http://www. kenlaifengshui.com

PS: This story was based on a Chinese fable.

Answer: No, Farmer Mah did not wait for bunny again. Instead he had
become "Master Mah" and taught FS seminars on how to win lottery and
animal-racing. When the gig did not work out, he became a "motivational

Ken Lai



Note:  This blog was written on Jan. 21, 2004

In the last 12 months or so, there seems to be a "Xuan
Kong Da Gua" (XKKDG) "gold-rush"--- for the FS
marketers. Almost everyone is itching to set up XKDG
class of some sorts. XKDG classes are normally around
5 days in length, with a dose of I-Ching class as

To keep this discussion simple and as unbiased as
possible, I won't argue whether XKDG theory is valid
or not and working or not. I just examine it from a
scientific and methodological point of view.

As I have written previously, the history of luopan
development is a progression of from simple to
complex. Early luopans had few divisions, then 24
mountains, 60 dragons (divisions), 72 dragons, 120
dragons, 240 dragons and then up until now, 384 "yaos"
(that is 64 hexagrams x 6 yaos).

XKDG has 64 hexagrams which occupy 5.625 degrees each.
Each hexagram has 6 "yaos" (yin _ _ yang __ symbols)
with each yao taking up 0.9375 degree.

Then we may ask, how precise luopan measurements were
when the XKDG theory was developed 4- 500 years or so
ago? Afterall, it is rumoured that Master Jian Da
Hong hinted he had used XKDG principles in his trick
songs (poems). It is also rumoured that Master Shen
(author of "Shen's XK Studies") had "almost" included
XKDG in his book except he had missed the deadline.

An excellent source of info about luopan history can
be found in Professor Chen Jian Jun's book, "Chinese
FS Compass" (ISBN7-5390-1430-x/K.5, available in
Chinese or English). In this book, it seems luopans
made during Ming Dynasty (1368- 1644) were mostly
"water compass" (using a floating needle) and both
"water" and "dry" compasses were used during Qing
Dynasty (1636- 1911).

How precise could an ancient "floating needle" be?
How accurate will be the needle of an ancient luopan?
Could they measure down to 0.9375 degree consistently?
If not, how could the ancient masters verify their
XKDG theory?

Using modern luopans and compasses as guidance, we
could see it is very doubtful that XKDG measurement
could be achieved by the ancient masters consistently.

According to Professor Vic Schmidt,(Dept. of Geology &
Planetary Science, University of Pittsburgh), even
modern precision compasses like the Brunton or Suunto,
has problem to attain accuracies of better than one

So how about about our modern luopans? It is common
knowledge that even the best branded luopans are
accurate to at most plus or minus one degree. This
will either "hit' or "miss" a DG measurement of 0.9375

For the sake of discussion, let's assume the ancient
masters could consistently do DG measurements down to
0.9375 degree.

To keep it simple, let me quote Professor Schmidt

"I maintain that anyone who claims to be able to
attain accuracy to better than 0.6 degree in a magnetic
survey is deluding themselves.

As I pointed out a while back, failure to keep track
of the long-term secular variation in Earth's field
can easily throw you off by much more, with it
amounting to up to 0.2 degree per year in many places.

And it is strictly cumulative, so if you use
10-year-old map data, you can easily be off by a full
degree (all the time!)."

We know in flying star there is 24 mountains and each
mountain has 15 degrees to "play with". So assuming
your orientation is not too close to the borderline
(or void line) with another mountain, the changing
of the earth's magnetic field by one or two degrees
over the years won't "throw" you out of the mountain.
Flying Star has pretty good tolerance on the earth's
magetic variations.

At 0.2 degree cumulative variations per year, a DG
measurement of 0.9375 degree can be easily become
invalid in a few years. Then this would have been a
lot of testing for the ancient masters. How many
lifetimes could they have in the last few hundred
years to do testing?

You have to make your own conclusion whether the
ancient masters could have done sufficient DG
measurements and testing of XKDG theory, given
the ancient "water" and "dry" luopan technology.

Could you do consistent DG measurements with modern
luopan and compass?

How XKDG handle earth's magnetic variations?

In simple terms, is XKDG practical? Is it just
another case of "misplaced precision"?

My sifu taught me XKDG in 20 minutes. I'll teach my
students how to use it in 5 minutes, if they want to
learn it. It is not difficult to integrate XKDG into
the popular Flying Star method.

Personally, I won't write off XKDG, but I won't spend
too much resources on it either.

Postscript: Now is August 2007, XKDG is not as "hot". But there is still a new one coming out recently charging
US$1900 for 2 days of class. It's ad sounds like magic-- you can get whatever you want with it.

Ken Lai

Note: The followings are feedbacks from my students in date-selection and Imperial QMDJ classes.

Dear Ken,

My apologies for not writing for so long – I have been
busy. I am so glad that the date selection course has
been well-received. The true knowledge of date
selection have so far been the exclusive knowledge of
a select few. It has been said that date selection is
even harder than Feng Shui because the more date
selection you know, the fewer good dates are
available. So, it is not a matter of knowing a few
methods, but rather knowing which ones work. For
example, if XKDG says this is a good day, it may still
be a bad day because it is the real san sha. Laying
out this information is vital, so that people do not
hurt themselves by accidentally setting off bad
influences, which can then be very hard to correct.

It is my hypothesis that date selection will turn out
to be even more important the Feng Shui in the modern
day context, as its effects are faster and possibly
more long-lasting. I have known Feng Shui clients who
have suffered from bad Feng Shui because the original
move-in date was wrong. When this happens, the pattern
is imprinted onto the qi-blueprint of the house, and
is very difficult to erase. I will be looking forward
to test your talismans on these houses, and I think
you may be right when you say that this will help to
change the qi-field.

I am very impressed by the sample iLuopan that you
sent me. The simplicity is powerful, but I wonder if
you should be releasing this just yet, because of the
number of people who are copying the QMDJ course
material. I think that this is a very original and
unique approach, but should perhaps only be given to
your seminar participants. Your introduction of QMDJ
to the western world has done a great deal to further
the state of Chinese metaphysics.

Feng Shui, date selection and the Chinese mystical
arts have to be used in conjunction for them to be
effective. It is heartening to see that Feng Shui has
become so well-known. It is time for the remaining
secrets to be revealed. Not that many have the karma
to learn from you, but I know those who do will
benefit from what you have to offer.

Yours truly,


============ ========= ======

“Practical Date-Selection” , “4P Bootcamp” and “Daoist
Talismans” c.c. are doing very well.

IQMDJ are backordered so far — I don’t know when to
stop working on it even orders are piling up.

Positive results of using Imperial QMDJ have been reported
from Mexico and elsewhere. Today I got a new one:

“I have used (QMDJ Luopan) now already so many times
for my Husband and he is totally stunned by the
results… only problem now he will not do anything
anymore without consulting me in a matter of QMDJ and

This is now nearly 6 month ago , Contracts he had what
went dead I activated with QMDJ there are now in full
bloom again , he is so amazed about it.

You must know my Husband never believed much in FS or
in QMDJ or XKDG but since 6 Month he find the whole FS
and QMDJ awesome.”

Ken Lai