input:nr(9,1,500,1),mr1(3,1,100,1),mr2(3,1,100,1),{ 日参数 }nw(9,1,500,1),mw1(3,1,100,1),mw2(3,1,100,1),{ 周j参数 }nm(9,1,500,1),mm1(3,1,100,1),mm2(3,1,100,1);{ 月kdj参数 }REFLINE: 0,20, 50, 80,100,150,180,200,,300;{ 日KDJ }RS:=(CLOSE-LLV(LOW,NR))/(HHV(HIGH,NR)-LLV(LOW,NR))*100;KR0:=(RS,MR1,1);kr:kr0+200,ColorFF0000;DR0:=SMA(KR0,MR2,1);dr:dr0+200,ColorFF0000,linethick2;JR:3*KR-2*DR,color00ff00;日金叉:=FILTER(oss(Kr0,Dr0),5){,colorffffff,linethick0};stickline(日金叉,kr,kr*1.10,1,0),colorffffff,linethick2;drawtex