1、CURRBARSCOUNT:=DATACOUNT-BARPOS+1;AMOUNT:=AVPRICE*V;买线:=EMA(C,1);卖线:=EMA(SLOPE(C,10)*10+C,20);STICKLINE1(CLOSE REF(CLOSE,1) ,HIGH,LOW,0,0),COLOR2F2FFF; STICKLINE1(CLOSE REF(CLOSE,1) ,OPEN,CLOSE,3.1,0),COLOR000033;STICKLINE1(CLOSE REF(CLOSE,1) ,OPEN,CLOSE,2.1,0),COLOR000099;STICKLINE1(CLOSE REF(CLOSE
2、,1) ,OPEN,CLOSE,1.5,0),COLOR0000CC;STICKLINE1(CLOSE REF(CLOSE,1) ,OPEN,CLOSE,0.3,0),COLOR0000FF;STICKLINE1(CLOSE REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORFFFF00; STICKLINE1(CLOSE REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR000000;STICKLINE1(CLOSE REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR6A6A00;STICKLINE1(CLOSE REF(
3、CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORDDDD00;STICKLINE1(CLOSE REF(CLOSE,1) ,OPEN,CLOSE,0.3,0),COLORFFFF00;MA1:EMA(C,5),DOT,COLORYELLOW,LINETHICK1;KK:=MA1REF(MA1,1);IF(DD1,MA1,NULL),COLOR00FFFF,LINETHICK2;操作线20日:EMA(C,20),POINTDOT,COLOR0000FF,LINETHICK1;红升:IF(操作线20日REF(操作线20日,1),操作线20日,NULL),COLOR0000FF,
4、LINETHICK3;绿降:IF(操作线20日VAR2 AND CLOSEVAR1;SZ2:=VAR1VAR2 AND VAR1REF(VAR1,1) AND VAR2REF(VAR2,1)AND H/VAR1VAR2 AND CLOSEVAR1;SZ3:=VAR1VAR2 AND VAR1REF(VAR1,1) AND VAR2=REF(VAR2,1) AND H/VAR11.1;SZ4:=VAR1VAR2 AND VAR1REF(VAR1,1) AND VAR2REF(VAR2,1)AND CLOSEVAR2 AND CLOSEVAR2 AND VAR2REF(VAR2,1) AND VAR1REF(VAR1,1)AND CLOSEVAR2 AND VAR1REF(VAR1,1)AND VAR2REF(VAR2,1) AND CLOSEREF(VAR2,1) AND VAR1=VAR2 AND CLOSEVAR2;XD1:=VAR1=VAR2 AND CLOSEVAR2 OR (VAR1REF(VAR1,1) AND VAR2REF(VAR2,1)AND REF(VAR1,1)=REF(VAR2,1) AND CLOSEVAR1;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20);量能饱和度:=IF(SAT1,1,SAT)*100;