K1:=1;
K2:=1;
跌破就成头:HHV(LLV(CLOSE,20),20),LINETHICK0;
IF(跌破就成头 AND K1=1,跌破就成头,DRAWNULL),COLORGREEN;
IF(跌破就成头=REF(跌破就成头,1) AND BArslAST(跌破就成头>REF(跌破就成头,1) OR 跌破就成头<REF(跌破就成头,1) )>3 AND K1=1,跌破就成头,DRAWNULL),COLORBLUE;
突破获支撑:LLV(HHV(CLOSE,20),20),LINETHICK0;
IF(突破获支撑 AND K2=1,突破获支撑,DRAWNULL),COLORYELLOW;
IF(突破获支撑=REF(突破获支撑,1) AND BARSLAST(突破获支撑>REF(突破获支撑,1) OR 突破获支撑<REF(突破获支撑,1))>3 AND K2=1,突破获支撑,DRAWNULL),COLORRED;
A:HHV(COST(100-WINNER(CLOSE)*100),20),LINETHICK2,COLORYELLOW;
STICKLINE(CLOSE>=REF(CLOSE,1),CLOSE,OPEN,1,0),COLORRED;
STICKLINE(CLOSE>=REF(CLOSE,1),HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE<REF(CLOSE,1),CLOSE,OPEN,1,0),COLORCYAN;
STICKLINE(CLOSE<REF(CLOSE,1),HIGH,LOW,0,0),COLORCYAN;