RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;
J:=(3*Ema(RSV,3)-2*ema(EMA(RSV,3),3));
KDJ1:=REF(COUNT(J<REF(J,1),5)>=3,1) AND REF(J,1)<20;
KDJ2:=J>REF(J,1);
牛1:=IF(crOSS(0.9,1/vol*1000>0.01 AND "KDJ.J"<0),1,0),COLORBLUE,LINETHICK2;
牛2:=IF(FILTER(KDJ1 AND KDJ2,3),1,0),COLORCYAN;
牛霸天2:=牛1 AND 牛2;
STICKLINE(牛霸天2=1,0,1,3,0),COLOR000055;
STICKLINE(牛霸天2=1,0,1,2.6,0),COLOR000077;
STICKLINE(牛霸天2=1,0,1,2.1,0),COLOR000099;
STICKLINE(牛霸天2=1,0,1,1.5,0),COLOR0000BB;
STICKLINE(牛霸天2=1,0,1,0.9,0),COLOR0000DD;
STICKLINE(牛霸天2=1,0,1,0.3,0),COLOR0000FF;
DRAWICON(牛霸天2,1.2,3),COLORCYAN;