VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
红色趋势:=VAR9;
STICKLINE(VAR9>VARA,VAR9,VARA,8,1),COLOR0000FF;
STICKLINE(VAR9<=VARA,VAR9,VARA,8,1),COLOR00FF00 ;
红色风暴:= EMA(0.382*REF(VAR9,2)+0.618*VAR9,6);
DRAWTEXT(AA,红色风暴,'风暴'),ALIGN1,coloryellow;
partline(红色风暴>REF(红色风暴,1),红色风暴),COLORRED,LINETHICK2;
partline(红色风暴<REF(红色风暴,1),红色风暴),COLORGREEN,LINETHICK2;
partline(红色风暴>REF(红色风暴,1),20),COLORRED;
partline(红色风暴<REF(红色风暴,1),20),COLORGREEN;
partline(红色风暴>REF(红色风暴,1),50),COLORRED;
partline(红色风暴<REF(红色风暴,1),50),COLORGREEN;
partline(红色风暴>REF(红色风暴,1),80),COLORRED;
partline(红色风暴<REF(红色风暴,1),80),COLORGREEN;
短线:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*200,LINETHICK0,coloryellow;
中线:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*200,LINETHICK0,colorwhite;
红柱:=SMA(短线,3,1),LINETHICK0,COLOR0000FF;
蓝柱:=SMA(中线,3,1),COLORSTICK,COLORFFFF00;
STICKLINE(红柱<REF(红柱,0.5)AND 红柱>0,0,红柱,8,0),COLOR0000AA;
STICKLINE(红柱<REF(红柱,0.5)AND 红柱>0,0,红柱,7,0),COLOR0000BB;
STICKLINE(红柱<REF(红柱,0.5)AND 红柱>0,0,红柱,6,0),COLOR0000CC;
STICKLINE(红柱<REF(红柱,0.5)AND 红柱>0,0,红柱,5,0),COLOR0000DD;
STICKLINE(红柱<REF(红柱,0.5)AND 红柱>0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,3,0),COLOR0000FF;
STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,2,0),colorred;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,8,0),COLOR0000AA;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,7,0),COLOR0000BB;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,6,0),COLOR0000CC;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,5,0),COLOR0000DD;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,3,0),COLOR0000FF;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,2,0),colorred;
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,9,0),COLOR0000FF;
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,7,0),COLOR0033FF;
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,6,0),COLOR0055FF;
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,5,0),COLOR0077FF;
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,4,0),COLOR0099FF;
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,3,0),COLOR00BBFF;
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,2,0),COLOR00DDFF;
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,1,0),COLOR00FFFF;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,8,0),COLORFF0000;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,7,0),COLORFF3300;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,6,0),COLORFF5500;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,5,0),COLORFF7700;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,3,0),COLORFFBB00;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLORFFDD00;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,8,0),COLORFF0000;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,7,0),COLORFF3300;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,6,0),COLORFF5500;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,5,0),COLORFF7700;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,3,0),COLORFFBB00;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLORFFDD00;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,10,0),COLOR998800;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,7,0),COLORBBAA90;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,4,0),COLORDDCC99;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,1,0),COLORFFEEBB;
VAR18:=3;
VAR218:=EMA((3)*(SMA(((CLOSE - LLV((L+C)/2,18))/(HHV((H+C)/2,18) - LLV((L+C)/2,18)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV((L+C)/2,18))/(HHV((H+C)/2,18) - LLV((L+C)/2,18)))*(100),5,1),6,1)),2);
股价启动在即:IF(CROSS(VAR218,VAR18) AND 红色趋势<45,60,0),coloryellow;
秘密买点:IF((VAR218 <= 3),13,0),COLORFF00FF;
机构增补仓:IF((VAR218 < 5),17,0),colorblue;