{wn万能超短买卖}
vaar1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
Vaar2:=REF(Vaar1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar3:=REF(Vaar2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar4:=REF(Vaar3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar5:=REF(Vaar4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar6:=REF(Vaar5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar7:=REF(Vaar6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar8:=REF(Vaar7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar9:=REF(Vaar8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VaarA:=REF(Vaar9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VaarB:=REF(VaarA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VaarC:=REF(VaarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VaarD:=CLOSE
VaarE:=REF(VaarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VaarF:=REF(VaarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar10:=REF(VaarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar11:=REF(Vaar10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar12:=REF(Vaar11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar13:=REF(Vaar12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar14:=REF(Vaar13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar15:=REF(Vaar14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar16:=REF(Vaar15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar17:=REF(Vaar16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar18:=REF(Vaar17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar19:=REF(VaarD OR VaarE OR VaarF OR Vaar10 OR Vaar11 OR Vaar12 OR Vaar13 OR
Vaar14 OR Vaar15 OR Vaar16 OR Vaar17 OR Vaar18,1) AND Vaar1;
drawtext(Vaar19,40,'B'),colorwhite;
Vaar1A:=REF(Vaar1 OR Vaar2 OR Vaar3 OR Vaar4 OR Vaar5 OR Vaar6 OR Vaar7 OR
Vaar8 OR Vaar9 OR VaarA OR VaarB OR VaarC,1) AND VaarD;
drawtext(Vaar1A,100,'S'),coloryellow;
0,coloraaaaaa;
20,pointdot,coloraaaaaa;
50,coloraaaaaa;
80,pointdot,coloraaaaaa;
100,coloraaaaaa;
QY1:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
QY2:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
QY3:=QY1REF(VOL,1) AND CLOSE>REF(CLOSE,1);
XG:DRAWTEXT(QY3 AND COUNT(QY3,30)=1,L,'下钱雨了'),colorred;
下钱雨了:QY3 AND COUNT(QY3,30)=1