AAA:=(MA(CLOSE,80)-MA(CLOSE,13)/3);BBB:=MA((CLOSE-AAA)/AAA,1);XG1:=OSS(BBB,0) AND LOW/REF(HIGH,1)<1 VAR111A:=(C+H+O+L)/4;: CLOSE,12);XG2:=CROSS(C>支撑线);XG:CROSS(C,工作线) AND XG1 AND XG2,NODRAW;{}VAR444:=REF(CLOSE,1);VAR555:=SMA(MAX(CLOSE-VAR444,0),7,1)/SMA(A(CLOSE-VAR444),7,1)*100;SS:CROSS(79,VAR555),NODRAW;{}BL:BARSLAST(XG),NODRAW;{最近买点距当前交易}SSL:BARSSINCEN(SS,BL),NODRAW;{第一卖点距当前交易周期}BC:REF(C,BL),NODRAW{买点当天};SSC:REF(C,SSL),NODRAW{卖点当天价};BS:=BL-SSL,NODRAW;{区间交易周期}GJ:=IF(SSL=0,BS,DRAWNULL),NODRAW;MA