input:K(1,1,3);
! F( s0 d! ]8 g& AT:=BARSLAST(DISPSTATUS=1)+1;
* V M4 F% u* G( a* u- bA:=DISPSTATUS=2;HH:=HHV(H, T);LL:=LLV(L, T);HL:=HH-LL;wH:=HHVBARS(H, T);wL:=LLVBARS(L, T);8 y# K! Z/ Q1 a( \$ S
KK:=wH-wL;mHL:=HH-HL*0.5;
8 c6 p6 D! t( S% F" gif K=1 then begin# Y* p8 [; x& F, ^
HL191:=(HH-LL)*0.191;HL382:=(HH-LL)*0.382;HL618:=(HH-LL)*0.618;HL809:=(HH-LL)*0.809;
% z; O, b6 J' a. Y4 ~) Z' Tif KKclose,close,open,8,0 ),ColorFFFF00;
6 x4 s9 Q: c3 ?5 E5 }* Y8 b! ?STICKLINE(close>=open,close,HIGH,0.5 ,0 ),colorred;
! F V. o& C |& _1 jSTICKLINE(close>=open,open,low,0.5 ,0),colorred;& @! F; k4 X7 X8 c% e+ G
STICKLINE(open>close,close,low,0.5 ,0 ),ColorFFFF00;: C0 Y% ]' x' P( a+ L
STICKLINE(open>close,open,HIGH,0.5 ,0 ),ColorFFFF00;
4 X3 B; o. r, ?" u/ d9 L5 SC2:=REF(C,1);
, u% {' R3 H2 [" q涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
6 q, g4 Z, T) Q# w7 DSTICKLINE(涨停,OPEN,CLOSE,8,0),Color00FFFF;
! ^- }- x* S$ Z& H+ h( W' A跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);) m7 V0 A% g* ?# M9 ?
STICKLINE(跌停,OPEN,CLOSE,8,0),ColorFF8000;
( ?% A ?6 @8 V5 ~{粉兰色K线};3 d, [! n9 C* i; s" o4 s; O
F:=100*(C-REF(C,1))/REF(C,1);$ I1 w3 |; T& M7 }0 o: `3 }
今小昨:=IF(C |