成交量:VOL,STICK;9 u8 H6 m: A/ s& @
{YAN:=CLOSE>OPEN OR (CLOSE=OPEN)AND (CLOSE>=REF(CLOSE,1)
: @3 u2 x+ ~7 s# @AND HIGH>=CLOSE)此句花括号位置错,已更正如下句。2010.5.4 10:59};3 B: k7 c$ W1 M3 p
YAN:=CLOSE>OPEN OR ((CLOSE=OPEN)AND CLOSE>=REF(CLOSE,1)
$ ^- ?! a! L6 o9 i1 SAND HIGH>=CLOSE);
* a+ t* P9 A: \! ~8 a: [1 S* }3 yYIN:=NOT(YAN);
) \5 P$ O3 H/ d' m3 m; v# _) aTT:=(HIGH=REF(LOW,1))*(LOW=REF(HIGH,1));
5 W- j9 [: i1 C. J- @TJ:=BARSLASTCOUNT(TT);. M3 X9 ?) b: r4 Y# H9 X
DT:=(HIGH=LOW)*SIGN(CLOSE-REF(CLOSE,TJ+1))/1000;/ J! j/ b5 |6 ^" @6 h
CC:=(OPEN+HIGH+LOW)/3;
/ T5 O) e) k4 k7 |3 E4 c& YCM:=CLOSE-EMA(CC,N);; k3 l( q4 j7 o! I
KS:=BARSCOUNT(CLOSE)>0;
6 k* t: p& L. }! _: a" _) MKF:=EMA(EMA(KS*(CLOSE=0)*(0.1+成交量),M),4);
z3 Y+ H/ H+ e# NZZ:=(CLOSE+HIGH+LOW)/3;
7 m! ~. Z9 M" C+ TCT:=IF(MAX(C,O)ZZ,-1,0)); `0 P9 S, P {% ?2 i1 J1 ]
ZD:ABS(CM/EMA(CC,N))*P;{增长可调参数P,监控ZD=0~1之间};
" i3 w4 o3 V# g7 \& g6 B/ X8 wZL:=ABS(HIGH-LOW)+ZD*ABS(CLOSE-OPEN)/2+0.003*(HIGH=LOW);
& ?% ^4 g& g% s& ^5 h9 D: t6 U, ADX%IF(CT=0,ZD*(ZZ-(CLOSE+OPEN)/2),
3 }" n1 o6 S$ w+ n& K: H CT*ZD*ABS(CLOSE-OPEN)/2)+2*ZZ-HIGH-LOW+DT)/ZL*100,NODRAW;2 w* e/ a1 t' ^# k3 \5 v0 i
DV:DX%*(0.1+成交量)/100,NODRAW;3 x8 u' M7 R% J9 D& Y/ d8 E/ j' q/ Y
买:=(1+DX%/100)*成交量/2,NODRAW,COLORRED;{屏宽不敷 屏蔽这2句};3 [. q( P# A1 Z. H4 Z
卖:=(1-DX%/100)*成交量/2,NODRAW,COLORCYAN;{用‘=’号屏蔽输出};( `7 `7 V+ T' _9 d5 K$ ?) b4 y% J
STICKLINE(YAN,0,买,3.5,0),COLOR1399DD;{下部粗柱主买量};
# e" w3 `' v0 d. ]/ T/ {STICKLINE(YAN,0,VOL,2.1,0),COLOR13AADD;+ A, u+ \: p; B
STICKLINE(YAN,0,VOL,0.7,0),COLOR13BBDD;
X! _) ~/ i. MSTICKLINE(YIN,0,买,3.5,0),COLOR33AA33;{下部粗柱主买量};
6 }$ b: ~- @) [9 h/ sSTICKLINE(YIN,0,VOL,2.1,0),COLOR33CC33;
6 `! {- [$ a: Q/ c& n9 OSTICKLINE(YIN,0,VOL,0.7,0),COLOR33E833;
; w( h/ H7 x( I% @, j8 QSTICKLINE(DV>0,0,ABS(DV),0.8,0),COLOR3113FF;
. _7 Z! }6 q$ s, g$ C% r( TSTICKLINE(DV |