缠中说禅 指标公式(Zen formula)
抚顺一中-磐安政府网
缠中说禅 指标公式(Zen formula)
Zen index
formula (2009-04-18 18:31:40) said unwrapping
reproduced so
Tags: technical
analysis stock classification: index formula
Saying Zen in Chinese
Ma5:ma (C, 5);
Ma13:ma (C, 13);
Ma21:ma (C,
21);
Ma34:ma (C, 34);
Ma55:ma
(C, 55);
Ma89:ma (C, 89);
Ma144:ma (C, 144);
Ma233:ma (C, 233);
Tmp1:=if (c>ma5,1,0);
Tmp2:=if
(c>ma13,1,0);
Tmp3:=if (c>ma21,1,0);
Tmp4:=if (c>ma34,1,0);
Tmp5:=if (c>ma55,1,0);
Tmp6:=if
(c>ma89,1,0);
Tmp7:=if (c>ma144,1,0);
Tmp8:=if (c>ma233,1,0);
Category:
tmp1+tmp2+tmp3+tmp4+tmp5+tmp6+tmp7+tmp8+1,
linethick0;
DRAWTEXTEX (1,1,0,0,
'class'+NUMTOSTR (category, 0)),
LINETHICK1,
Color00ffff;
Moving average, wheel
movement and twist, say Zen plate
strength
indicator
Formula theory:
To
rebound as an example, this section, as long as
the
adjustment is in the opposite direction.
At any given level, have the least time
extension, for example,
a pen, because there
must be the top and bottom of the type,
therefore, must be extended at least 6 basic K
units, that is
to say, if the 5 lines are not
met, it is not the pen of the
rebound. By the
same token, you can give line, 1, 5, 30, day,
week and other levels, the least extension
time, and the
corresponding minimum challenge
moving average.
Thus, the trend
level and moving average, although there is no
necessary relationship, but there is still a
broad range
corresponding. In particular,
according to the experience of
a trend in N
central corresponding repression average are
approximately the same, for example, the first
central is the
89 day moving average to
suppress the central, subsequent
behind that
same trend, is likely to be the same average to
suppress. If there is a rebound that can only
reach the 34 line,
then the probability of the
same level as the first center is
very small.
In addition to the simplest pen, any
trend is a large set of
small level, and
therefore, simply a moving average is of little
significance, must be moving average system.
Attention, the average system settings,
must be based on the
actual trend, that is,
you set the average system, and must be
consistent with the actual trend. For example,
from 6124 points
down, we choose 5, 13, 21,
34, 55, 89, 144, 233, the parameters
constitute the average system, you can see,
the system is
completely consistent with the
trend of the extreme.
For example, 4778
points (torrent note: 071128 low 4778.73)? )
is the 233 day moving average support,
followed by a bull trap
in the 55 and 89 day
moving average, the decline has been subject
to the 21 day moving average until 3000, and
the subsequent
rebound was 55 average
precision then decline, has been
suppressed,
until in the 13 day moving average under the
rebound.
The system is very
consistent with the trend of the trend, and
in the back of the trend has not
changed greatly, of course,
can continue to
use. Thus, 55 days (89 days will soon and winding)
is the rebound in real touchstone, if not
break even cannot be
touched, means that the
rebound level is still not big enough,
is
likely to try again after the other classes
together
constitute a much greater level of
rebound. And the short line,
the 34 line is a
very practical test.
With this system,
you can give a complete classification to
determine the strength and order of the trend.
Of course, simply
looking at the index is not
the most useful part of the
classification,
which is the use of a single breed. We can also
use the key to Tasikmalaya on all stocks,
according to this
classification, the rhythm
of moving round the market at a
glance.
The principle of classification is the
smallest periodic
average that has not been
overcome so far, so the 8 moving
averages can
be divided into 9 categories, the worst of which
is, of course, entirely at all moving
averages. Note that the
worst isn't
necessarily above all averages. Why? (you don't
think about it, all the answers are dependent
on the ID, a
reflection effect than ID said
the 1000 answer is better.)
For each
class in the class N stock once adjusted to N+1,
at
least for quite a long time to toss, so
this will give a round
to choose the best
move, once a trend trend appeared in the top
level divergence on the N class, you can first
come out, at least
a few days when Touhuan can
go to other already adjusted can
start a stock
or compensatory growth.
There is a
more important, is to be judged according to the
plate,
the plate strength is very simple, is
the average number of
categories, the more
strong, and the average number of
categories
can be called Zen plate wrapped in strength index.
The strongest plate belongs to the
dynamic of the plate led the
plate, it is
critical that, in addition, to all sectors of the
energy-saving plate strength index listed in a
chart, the round
of the order and rhythm
clear, according to the analysis of this
trend
and with specific stocks to,
The wheel
action is, of course, very simple.
Hundred years per person dynamic percentage
formula source!
A1:=hhv (h, 256);
A2:=llv (L, 256);
M1:ma (C, 64);
M2:ma (C, 256);
K1:
(0.618*a1+0.382*a2);
K2: (0.5*a1+0.5*a2);
K3: (0.382*a1+0.618*a2);
Explain:
Code description
1 a1:=hhv (h, 256); the highest price between
256 units of a
cycle..
2 a2:=llv (L,
256); the lowest price between 256 units of a
cycle
3 m1:ma (C, 64); average unit price
of 64 cycles;
4 m2:ma (C, 256); average
unit price of 256 cycles;
5k1:
(0.618*a1+0.382*a2); the 0.618 position in the 256
cycle;
6k2: (0.5*a1+0.5*a2); the 12
position in the 256 cycle;
7k3:
(0.382*a1+0.618*a2); the 12 position in the 256
cycle;
Two matters needing attention
1, the formula is suitable for most
programming functions of
the software, copy
source code in the past can generally pass!
2, when copying, pay attention to give the
program a name you
like to pass.
3,
M1, M2 you can delete, this is a double moving
average, at
the same time, and the percentage
can be placed in the master
chart, so that is
not to separate to another interface to see
the moving average;
It is recommended
that the master graph use this percentage of
the moving average as good.
4
some software does not allow the use of a1=a1:=hhv
(h, 256),
and is not allowed to write directly
with variables. Then the
A1 in the formula is
written directly;
Source code is as
follows:
M1:ma (C, 64);
M2:ma
(C, 256);
K1: (0.618*hhv (high, 256)
+0.382*llv (low, 256));
K2: (0.5*hhv
(high, 256) +0.5*llv (low, 256));
K3:
(0.382*hhv (high, 256) +0.618*llv (low, 256));
This source applies to all software!
5 how to test through: as shown in the
software to find this
interface. When you get
a good name, select the master map, and
then
pass the test, then you can show it in the main
diagram
by index name
Three some
skills
The average crossing between the 1
moving averages and the
percentages tends to
produce accurate trading points.
2 moving
average and percentage settings at the same
interface,
convenient and fast, it is
recommended that the main map with
this
indicator, as far as possible not to switch.
3 change the cycle of 256, such as changing to
other cycles,
to show the percentage of the
period you set. Such as: a1:=Hhv
(h, 0), which
means the highest historical price;
4
lines of color and thickness can also be adjusted.
Make the
interface more beautiful.
5
you can design more percentages that you think are
important
according to this principle. The
percentage is just my personal
preference.
One hundred double double moving average
in 8 cases
1, cycle (256 antenna) to
small cycle 256 line upward, small
cycle 64
fork small cycle line 256, the real point is to
accelerate the macd.
2, big cycle
(256 antenna) upward: small cycle, 256 lines down,
small cycle 64, fork, small cycle, 256 lines.
Can only be
crossed, little significance.
3, big cycle (256 antenna) upward: small
cycle, 256 line up,
small cycle, 64 lines,
fork 256 lines. Can only be crossed,
little
significance.
4, big cycle (256 antenna)
upward: small cycle, 256 lines down,
small
cycle, 64 lines, fork 256 lines. Sicha. Buy some.
5, big cycle (256 antennas) down:
small cycle, 256 line up,
small cycle 64,
online fork 256 line, canteen, of little
significance.
6, big cycle (256
antennas) down: small cycle, 256 lines down,
small cycle 64 line up, fork 256 line, selling
point.
7, big cycle (256 line days) down:
small cycle, 256 line up,
small cycle, 64
lines down, fork 256 line, buy small
8,
big cycle (256 antennas) down: small cycle, 256
lines down,
small 64 line, down the fork 256
lines, buy some.
[watercb] essays: views
on the Centennial percentage line of
Teachers
Essay: views on the hundred percent
teacher's dynamic
percentage line
I.
admire
The dynamic percentage line seen
hundreds of years for the
teacher, have seen
many people's comments, it seems not very
convincing, I also do not understand, do not
think what, as of
this time, one hundred years
the teacher found more and more
fierce, it
should be a sentence, the truth is very simple,
can
be found very little really the truth.
Two, I understand the dynamic percentage
1, escape point understanding
Remember the teacher said January 22nd is a
hundred years away,
I have been thinking
according to where, through the dynamic
percentage line and I think I know one hundred
years of the
teacher's meaning, at least on
this day, can divide as bull and
bear, on the
day the stock fell below the K1 line, and the
effective below.
2, the discovery of
stage lows
Through the dynamic
percentage, you can also see the decline
in
the process of each rebound low, and is so
accurate, we can
see that the percentage line
down, down when it is a low point.
3,
pressure support
The dynamic percentage
lines give us such explicit instructions
as
pressure and support,
We need to do is to
ride.
Three, brilliant thinking
1, the formula is simple
Dynamic
percentage formula is very simple, but the thought
is
very deep, the more I think more
reasonable, I think a hundred
years of teacher
confirmation system, there will be similar
dynamic percentage formula this figure.
2, a hundred years, the teacher opened, it
does not work?
I think a hundred
years since the teacher opened it, it is not
afraid that it will fail, what is the reason,
I think the teacher
told us a hundred years to
observe the stock market approach
and angle,
and this and real confirmation intervention is
still
different. So don't worry, people will
misuse it, and that's
the difference between
the following system and the prediction
system.
3, along the road of a
hundred teachers forward
This thought
something elusive, but withstand the test of time
formula, such as the dynamic percentage
formula like, it is
thought to reflect, to not
know what to say with the formula
to express
the hundred years teacher skill, now really is not
far behind, as some people do for the formula
formula.
4, not to encourage everyone to
write formulas
It said so much, not to
encourage people to write a formula,
but to
all of hundred years of teacher learning attitude,
learn
seriously in our stock market, the only
way to have their own
harvest along the way.
One hundred years, 9.21 people in 2008
---------------------------
The
original post published by CERA0501 in 2008-12-11
22:02
Recent market, the use of a hundred
years of teacher dynamic
percentage and
double moving average, you can find excellent
short-term buy
In the 15 minute
cycle, 256 line upward trend, the 64 line to
256 line crossing,
If the stock price
is at the 0.618 or 0.5 line of the dynamic
percentage line, then buy for a short time,
Short term profit 5--10 point
opportunities are very large. I
do not know my
total...
Answer: not only can make up,
but also is the simplest, after
making up, but
also can realize the automatic warning.
Programming:
The main drawing is
superimposed for 15 minutes
MA1:MA
(CLOSE, 64);
MA2:MA (CLOSE, 256);
DRAWICON (CROSS (MA1, MA2), MA1*0.98,1);
Stock selection formula:
MA1:=MA
(CLOSE, 64);
MA2:=MA (CLOSE, 256);
Out:CROSS (MA1, MA2);
DRAWTEXTREL (0,15, extrastring (` rating ')),
COLOR00FF00;
EMA7:EMA (C, 7),
COLOR00FF00;
EMA14:EMA (C, 14),
COLORWHITE;
EMA21:EMA (C, 21),
COLORYELLOW;
ZMA7:EMA (C, 35),
COLORFF00FF;
ZMA14:EMA (C, 70),
COLORFFCCCC;
ZMA34:EMA (C, 170),
COLORFFCC66;
VV1:=EMA (C, 35), >EMA (C,
70), AND, EMA (C, 35), >EMA (C, 170),
AND, EMA
(C, 170), >REF (EMA (C, 170), 1);
VV2:=VV1, AND, CROSS (EMA (C, 70), EMA (C,
170));
DRAWICON (VV2, L-0.10,1), ALIGN1;
double crossing signal No.
1 {red} icon,
center
DRAWTEXT (VV2, L-0.40, double
crossing), COLORWHITE, ALIGN1;
{display double
across text, centered}
VV3:=EMA (C, 35),
>EMA (C, 170), AND, EMA (C, 70), >EMA (C, 170),
AND, EMA (C, 170), >REF (EMA (C, 170), 1);
VV4:=VV3, AND, CROSS (EMA (C, 35), EMA
(C, 70));
DRAWICON (VV4,
L-0.10,1), ALIGN1; {two soaring signal No. 1 red
icon, middle}
DRAWTEXT (VV4, L-0.40,
{show two take off text, centered}
T:=IF ((BARSCOUNT (C) > 7), (100) * ((MA (C,
7)) (LLV (MA (C,
7), 7)) - 1), 1);
N:=IF ((T > 0.35), 6,65);
W:= ((-)
(100) * (HHV (H, N) - C)) (HHV (HIGH, N) - LLV
(L,
N)));
RV:= (CLOSE-LLV (LOW, 27))
(HHV (HIGH, 27) -LLV (LOW, 27))
*100;
RG:= (CLOSE-LLV (LOW, 5)) (HHV (HIGH, 5)
-LLV (LOW, 5)) *100;
J0:= (HIGH+LOW) 2;
QJ:=EMA (J0,3);
J1:=IF
(CLOSE>QJ, VOL, 0);
J2:=IF (CLOSE
BB:=MA (SUM (J1-J2,22), 3),
COLOR00DDDD, NODRAW;
Accumulation:
=21*BB+20*REF (BB, 1), +19*REF (BB, 2), +18*REF
(BB, 3), +17*REF (BB, 4)
+16*REF (BB, 5) +15*REF (BB, 6) +14*REF (BB,
7) +13*REF (BB,
8) +12*REF
(BB, 9)
+11*REF (BB, 10) +10*REF (BB, 11) +9*REF (BB, 12)
+8*REF
(BB, 13)
+7*REF (BB, 14)
+6*REF (BB, 15) +5*REF (BB,
+3*REF
(BB, 18) +2*REF (BB, 19) +REF (BB, 20);
WMA:= accumulation (21+1) 21*2;
CC:=WMA, COLOR008800, NODRAW;
VAR3:=
(BB-CC); VAR4:=SMA (RV, 3,1);
VAR5:=SMA
(VAR4,3,1);
KK:=EMA (SMA (RG, 3,1), 2),
COLORFFFFFF;
DD:=SMA (KK, 3,1),
COLOR00FFFF;
Daily limit: CROSS (W,
2)和交叉(Var4,var5)和交叉(KK,DD);
选股:
+4*REF (BB, 16) 17)
T:=如果((BARSCOUNT(C)>
7),(100)*((马(C,7))(LLV
(马(C,7),7))- 1),1);
N:=如果((t > 0.35),6,65);
W:=((-((100)*(HHV(H,N)- C))(HHV(高,n)-
LLV(L,
N))));
右:=(close-
llv(Low,27))(HHV(高,27)- LLV(低,27))
* 100;
RG:=(close-llv(Low,5))(HHV(高,5)- LLV(低,5))*
100;
J0:=(高+低) 2;
QJ:=
EMA(j0,3);
J1:=如果(关闭> QJ,卷,0);
J2:=如果(接近<< QJ,卷,0);
BB:=马(和(j1-j2,22),3);
累加:= 21×BB + 20
*参考(BB,1)+ 19 *参考(BB,2)+ 18 *
参考(BB,3)+ 17
*参考(BB,4)
+ 16 * *(BB,5)+ 15 * *(BB,6)+
14 * *(BB,7)+ 13 * *
(BB,8)+ 12 *参考。
(bb,9)+ 11 * *(BB,10)+ 10 * *(BB,11)+ 9 *
*(BB,12)
+ 8 * *(BB,13)
+ 7 *
*(BB,14)+ 6 * *(BB,15)+ 5 * *(BB,16)+ 4 *
*
(BB,17)+ 3 *参考。
(bb,18)+ 2 *
*(BB,19)+裁判(BB,20);
WMA:=累加(21 + 1) 21 *
2;
抄送:= WMA;
var3:=(bb-
cc);Var4:= SMA(RV,3,1);
var5:=
SMA(var4,3,1);
KK: = EMA(SMA(RG,3,1),2);
DD:= SMA(KK,3,1);
天天涨停:交叉(W,2)和交叉(Var4,var5)和交叉(KK,
DD);