成交量:VOL,STICK;- v0 }! e* h+ q$ s5 Q; D
{YAN:=CLOSE>OPEN OR (CLOSE=OPEN)AND (CLOSE>=REF(CLOSE,1)
4 t: A- s' m6 a: n. I$ L8 AAND HIGH>=CLOSE)此句花括号位置错,已更正如下句。2010.5.4 10:59};. r2 [: p v' i# A; V+ ^
YAN:=CLOSE>OPEN OR ((CLOSE=OPEN)AND CLOSE>=REF(CLOSE,1)0 X$ X* }& X# P5 f. }6 `7 l
AND HIGH>=CLOSE);
1 A% g* b. C. [' cYIN:=NOT(YAN);
+ A+ R4 O k4 z9 PTT:=(HIGH=REF(LOW,1))*(LOW=REF(HIGH,1));
0 v# |8 e9 ?- K( S3 {0 |, x+ gTJ:=BARSLASTCOUNT(TT);
# m1 O9 [& a) c7 k' CDT:=(HIGH=LOW)*SIGN(CLOSE-REF(CLOSE,TJ+1))/1000;4 S8 C0 w. C; ~# ?3 Y1 `7 }8 G& d
CC:=(OPEN+HIGH+LOW)/3;
' V1 G! ~& \7 C0 H m( iCM:=CLOSE-EMA(CC,N);
1 i0 z. r* n/ b& U+ O$ r+ CKS:=BARSCOUNT(CLOSE)>0;$ a4 `( k" O/ o1 E5 A: x: P+ ~: C& Q
KF:=EMA(EMA(KS*(CLOSE=0)*(0.1+成交量),M),4);
- M( F( V( Z7 AZZ:=(CLOSE+HIGH+LOW)/3;
, c% N2 Z9 v3 U( C2 PCT:=IF(MAX(C,O)ZZ,-1,0));
& K4 o! M" F8 B# ?9 zZD:ABS(CM/EMA(CC,N))*P;{增长可调参数P,监控ZD=0~1之间};8 ?& _4 A5 P2 a9 x3 n
ZL:=ABS(HIGH-LOW)+ZD*ABS(CLOSE-OPEN)/2+0.003*(HIGH=LOW);
) i% V+ W G E. p$ p2 m0 G0 XDX% IF(CT=0,ZD*(ZZ-(CLOSE+OPEN)/2),& x: b1 N, _ B" T
CT*ZD*ABS(CLOSE-OPEN)/2)+2*ZZ-HIGH-LOW+DT)/ZL*100,NODRAW;/ d7 C" n! S* z a, ?* r
DV:DX%*(0.1+成交量)/100,NODRAW;7 ^. w& `1 f3 K& e
买:=(1+DX%/100)*成交量/2,NODRAW,COLORRED;{屏宽不敷 屏蔽这2句};4 G- y3 `5 u% D
卖:=(1-DX%/100)*成交量/2,NODRAW,COLORCYAN;{用‘=’号屏蔽输出};
7 m) E! s' _3 p6 h1 |" RSTICKLINE(YAN,0,买,3.5,0),COLOR1399DD;{下部粗柱主买量};
) u3 m" M1 j; Y. l9 dSTICKLINE(YAN,0,VOL,2.1,0),COLOR13AADD;' s D% A! B/ j4 j6 G) s
STICKLINE(YAN,0,VOL,0.7,0),COLOR13BBDD;
0 Q& G& d/ y% g/ @4 k1 BSTICKLINE(YIN,0,买,3.5,0),COLOR33AA33;{下部粗柱主买量};
1 `5 ^5 X8 R. y' |5 i$ ySTICKLINE(YIN,0,VOL,2.1,0),COLOR33CC33;
+ w$ n. J2 ?$ Z& Q' ^! mSTICKLINE(YIN,0,VOL,0.7,0),COLOR33E833;5 a# ~: M5 z: k9 m
STICKLINE(DV>0,0,ABS(DV),0.8,0),COLOR3113FF;' R' ^9 ?9 j; Q+ M2 `
STICKLINE(DV |