KWEEK:STKINDIEX(stklabel ,'KDJ.K(5,3,3)' ,0 ,7 ,0 ,720 ),COLORRED;
DWEEK:STKINDIEX(stklabel ,'KDJ.D(5,3,3)' ,0 ,7 ,0 ,720 ),COLORcyan;
refKWEEK:=STKINDIEX(stklabel ,'KDJ.K(5,3,3)' ,0 ,7 ,-1 ,720 );
refDWEEK:=STKINDIEX(stklabel ,'KDJ.D(5,3,3)' ,0 ,7 ,-1 ,720 );
cweek:=STKINDIEX(stklabel ,'cchhll.cc' ,0 ,7 ,0 ,720 ),linethick0;
hweek:=STKINDIEX(stklabel ,'cchhll.hh' ,0 ,7 ,0 ,720 ),linethick0;
lweek:=STKINDIEX(stklabel ,'cchhll.ll' ,0 ,7 ,0 ,720 ),linethick0;
//cday:=STKINDIEX(stklabel ,'cchhll.cc' ,0 ,6 ,0 ,720 ),linethick0;
//RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
OHHH:STKINDIEX(stklabel ,'KDJ.HHH(5,3,3)' ,0 ,7 ,0 ,720 );
WHHH:HHV(hweek,5);
OLLL:STKINDIEX(stklabel ,'KDJ.LLL(5,3,3)' ,0 ,7 ,0 ,720 );
WLLL:LLV(lweek,5);
ORSV:STKINDIEX(stklabel ,'KDJ.RSV(5,3,3)' ,0 ,7 ,0 ,720 );
RSV:(close-LLV(lweek,5))/(HHV(hweek,5)-LLV(lweek,5))*100,linethick0;
kday:((RSV+(3-1)*refkweek))/3,colormagenta;
dday:((kday+(3-1)*refdweek))/3,coloryellow;
结果是:OLLL不等于WLLL,OHHH=WHHH,不知什么原因?