input:K(1,1,3);
) h! x6 M0 Z! ?* ?/ b8 D3 @* K5 RT:=BARSLAST(DISPSTATUS=1)+1; N) V: r/ t9 C) d, v9 i0 M
A:=DISPSTATUS=2;HH:=HHV(H, T);LL:=LLV(L, T);HL:=HH-LL;wH:=HHVBARS(H, T);wL:=LLVBARS(L, T);5 i' B" D! N; |; o( g: m$ Q; B. P
KK:=wH-wL;mHL:=HH-HL*0.5;
5 Q* g# H/ }1 c' g9 d8 p! a4 V3 Gif K=1 then begin* n: T, B2 [+ U, ?
HL191:=(HH-LL)*0.191;HL382:=(HH-LL)*0.382;HL618:=(HH-LL)*0.618;HL809:=(HH-LL)*0.809;3 I+ |- p9 ~, a% Z
if KKclose,close,open,8,0 ),ColorFFFF00;) x, O" J( x( h
STICKLINE(close>=open,close,HIGH,0.5 ,0 ),colorred;4 }% G; Z- f, |" Y7 U+ p/ C
STICKLINE(close>=open,open,low,0.5 ,0),colorred;) f5 U- ~. ?5 u4 ^
STICKLINE(open>close,close,low,0.5 ,0 ),ColorFFFF00;
: `5 Y& P" [/ H. v/ j8 rSTICKLINE(open>close,open,HIGH,0.5 ,0 ),ColorFFFF00;
' j" G! x. w- m3 fC2:=REF(C,1);
' [. k* P5 ~( T2 j涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);0 q: B% f) b1 i5 v* ^( Q& Y
STICKLINE(涨停,OPEN,CLOSE,8,0),Color00FFFF;
0 @2 {5 J0 x5 V0 [9 E1 F, e跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);, v8 }. [( b; }. Q. j, Z: U* N
STICKLINE(跌停,OPEN,CLOSE,8,0),ColorFF8000;
3 n, t3 |+ ~, |" @{粉兰色K线};
8 L" }' w4 x+ s# E7 N! r- iF:=100*(C-REF(C,1))/REF(C,1);
* G3 `& c1 \$ _: J* m5 A今小昨:=IF(C |