input:K(1,1,3);
$ }9 q& `. N# x* TT:=BARSLAST(DISPSTATUS=1)+1;
+ I' l I: z M% s% @4 rA:=DISPSTATUS=2;HH:=HHV(H, T);LL:=LLV(L, T);HL:=HH-LL;wH:=HHVBARS(H, T);wL:=LLVBARS(L, T);
. [' b2 b1 T0 u8 ?1 y E ^KK:=wH-wL;mHL:=HH-HL*0.5;
# Z0 _0 B; b. A$ W0 t+ wif K=1 then begin2 H, v1 J2 O p8 L2 v% N1 y6 d7 ^; m
HL191:=(HH-LL)*0.191;HL382:=(HH-LL)*0.382;HL618:=(HH-LL)*0.618;HL809:=(HH-LL)*0.809;
* m- A& G- K7 c/ f- J( j5 Qif KKclose,close,open,8,0 ),ColorFFFF00;2 D9 ?6 Q+ |2 u9 Y/ d
STICKLINE(close>=open,close,HIGH,0.5 ,0 ),colorred;) g$ i: [( a# X7 ]
STICKLINE(close>=open,open,low,0.5 ,0),colorred;8 f1 G# A2 Y5 l; t9 l/ C' K
STICKLINE(open>close,close,low,0.5 ,0 ),ColorFFFF00;5 T/ e3 R3 A9 K
STICKLINE(open>close,open,HIGH,0.5 ,0 ),ColorFFFF00;. \! B/ X. I( c
C2:=REF(C,1);* N$ U$ I: Z/ S# g( `
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
8 B$ F5 E) U* R2 M+ E$ t7 ~* C- tSTICKLINE(涨停,OPEN,CLOSE,8,0),Color00FFFF;
0 o: z- {" @6 W3 \+ t1 j跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
# r I. ?. D$ YSTICKLINE(跌停,OPEN,CLOSE,8,0),ColorFF8000;
! R, C; B, _' ^9 A8 a/ H0 x{粉兰色K线};7 ]/ u, u0 j4 q+ s5 \
F:=100*(C-REF(C,1))/REF(C,1);
/ y: m/ j7 C1 \, T今小昨:=IF(C |