P1:=7;M1:=3;M2:=6;M3:=12;M4:=24;AAA:=CONST(HHV(H*0.5,90));DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIF,9);AAA2:=(DIF-DEA)*2*60;启:=OSS(AAA-REF(AAA,1),15);DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'卖');DRAWKLINE(H,O,L,C);VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.04) AND ((HIGH)/(CLOSE)<1>0),91,0);HIGHN:=8;AA1:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA1,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);DDD:=BARSLAST(CC);GD:=IF(CC,CURRBARSCOUNT,0);D