V90:=TROUGHBARS(3,15,1)<10;
V100:=PEAKBARS(3,15,1)<10;
V110:=IF(V90=1,50,0);
V120:=IF(V100=1,50,0);
头部:=IF(V120=50,100,0);
出货:=IF(IF(V120=50,100,0)>REF(IF(V120=50,100,0),1),40,0),COLORGREEN,LINETHICK1, NODRAW;
STICKLINE(出货=40,0,0.5,5,1),COLORGREEN;
底部:=IF(V110=50,50,0),COLORBLACK,LINETHICK1;主力抄底:IF(底部>REF(底部,1),40,0),COLORYELLOW, NODRAW;
F1:=ZIG(3,15);
高清扫描:=IF((F1> REF(F1,1)),5,15);
A1:=ZIG(2,5);
FXDD:=A1>REF(A1,1) AND REF(A1,2)>REF(A1,1);
GDDZ:=IF(FXDD,REF(LOW,1),0);
支撑位:=IF(GDDZ=0,REF(LOW,BARSLAST(FXDD)+1),REF(LOW,1)),COLORRED;
ZCW:=IF(支撑位=REF(支撑位,1),支撑位,DRAWNULL);
B1:=ZIG(1,5);
FXGD:=B1<REF(B1,1) AND REF(B1,2)<REF(B1,1);
GGDZ:=IF(FXGD,REF(HIGH,1),0);
压力位:=IF(GGDZ=0,REF(HIGH,BARSLAST(FXGD)+1),REF(HIGH,1)),COLORWHITE;
YLW:=IF(压力位=REF(压力位,1),压力位,DRAWNULL);
SCMD1:=BARSLAST((支撑位>REF(支撑位,1)OR 支撑位支撑位,1)) and="" close="">支撑位);支撑位,1))>
SCMD2:=BARSLAST(压力位>REF(压力位,1)OR 压力位<REF(压力位,1));
神马:IF(SCMD1<SCMD2,L-ZCW,HIGH-YLW),VOLSTICK;
神码:=IF(SCMD1<SCMD2,L-ZCW,HIGH-YLW)<0,NODRAW;
进场:IF((支撑位>REF(支撑位,1)OR 支撑位支撑位,1)) and="" close="">支撑位,1,DRAWNULL),COLORRED;支撑位,1))>
止盈:=IF(压力位>REF(压力位,1),1,DRAWNULL),COLORYELLOW;
趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*80,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*80,5,1),3,1),COLORYELLOW,NODRAW;
SRQS_:=EMA(趋势,3),COLORFFFFFF,NODRAW;
坚定持股:趋势>SRQS_,NODRAW,COLORRED;
STICKLINE(进场=1 AND 坚定持股=1,0,REF(神马,1),3,0),COLORYELLOW;