N1:=5;
N2:=13;
短线指标:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
成功率100:SMA(短线指标,3,1),colorred,LINETHICK2;
无未来:SMA(成功率100,3,1),COLORFF0000,LINETHICK2;
edddss1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
edddss2:SMA(edddss1,5,1),colorred,LINETHICK0;
edddss3:SMA(edddss2,10,1),COLOR33AA33,LINETHICK0;
edddss4:10,colorwhite;
edddss5:90,COLOR00FFFF;
STICKLINE(成功率100>无未来,成功率100,无未来,3,1),COLOR00FFFF;
STICKLINE(成功率100<=无未来,成功率100,无未来,3,1),COLORFF0000;
STICKLINE(edddss2>edddss3,edddss2,edddss3,2,0),COLOR0000FF;
STICKLINE(edddss2<=edddss3,edddss2,edddss3,2,0),COLORFF0000,LINETHICK3;
edddss6:= 3*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3,1);
edddss7: IF(crOSS(edddss6,10),45,0), colorred,LINETHICK2;
DRAWTEXT(edddss7,40,'') , colorred,LINETHICK7;
edddss8:=AMOUNT/vol;
edddss9:=L
jjhhd2:=L
DRAWTEXT(jjhhd6,L*0.99,''),colorred,LINETHICK3;