input:K1(1,0,1),K2(1,0,1);
DRAWGBK(CLOSE,COLORRGB(255,0,0),0,1);
跌破就成头:HHV(LLV(CLOSE,20),20),LINETHICK0;
PARTLINE(跌破就成头 AND K1=1,跌破就成头),linedot,colorFF00;
PARTLINE(跌破就成头=REF(跌破就成头,1) AND BARSLAST(跌破就成头<>REF(跌破就成头,1))>3 AND K1=1,跌破就成头),colorFF0000;
突破获支撑:LLV(HHV(CLOSE,20),20),LINETHICK0;
PARTLINE(突破获支撑 AND K2=1,突破获支撑),LINEDOT,colorFFFF;
PARTLINE(突破获支撑=REF(突破获支撑,1) AND BARSLAST(突破获支撑<>REF(突破获支撑,1))>3 AND K2=1,突破获支撑),colorFF;
A:HHV(COST(100-WINNER(CLOSE)*100),20),LINETHICK2,colorFFFF;
FILLRGN(CLOSE,A,HHV(CLOSE,0)),color555555;
STICKLINE(CLOSE>=REF(CLOSE,1),CLOSE,OPEN,8,0),colorFF;
STICKLINE(CLOSE>=REF(CLOSE,1),HIGH,LOW,0,0),colorFF;
STICKLINE(CLOSE<REF(CLOSE,1),CLOSE,OPEN,8,0),colorFFFF00;
STICKLINE(CLOSE<REF(CLOSE,1),HIGH,LOW,0,0),colorFFFF00;