{KDJ精品}
DRAWGBK((DATE > 0),COLORRGB(40,40,173),COLORRGB(1,1,14),1);
VAR1:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,3,1);
快线:SMA(VAR3,3,1),Color0000FF;
慢线:SMA(快线,3,1),Color00FFFF;
金叉买:IF(CROSS(快线,慢线) AND (快线<40),35,0),Color0000FF,linethick2;
STICKLINE(金叉买,0,20,8,0),colorred;
STICKLINE(金叉买,18,35,2,0),colorred;
STICKLINE(快线>慢线,快线,慢线,4,0),COLORWHITE;
STICKLINE(快线<慢线,快线,慢线,4,0),COLOR00FF00;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,'欢迎您使用【╰☆╮千江有水千江月,万里无云万里天╰】山水先生系列公式')align4,COLORYELLOW;
V1:=AMOUNT/VOL/100;
V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
V3:=SUM(AMOUNT,7)/V1/100;
V4:=DMA(V2,VOL/V3);
V5:=(CLOSE-V4)/V4*100;
V6:=MA(V5,20)+STD(V5,20);
BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
STICKLINE(REF(BIAS21,1)>=5 AND CROSS(V6,V5) AND REF("kdj.j"(34,3,3),1)>80 AND REF("kdj.j"(9,3,3),1)>80,90,85,6,0),COLOR00FF00;