{www.gszb.com涨跌幅+涨停}
F101:=100*(H-O)/O;
F202:=100*(H-REF(C,1))/REF(C,1);
F10:=100*(C-O)/O;
F20:=100*(C-REF(C,1))/REF(C,1);
振幅9:=(H-L)/REF(C,1)*100;
RQ:=IF(DATE>=1200824,1,0);
KCB:=IF(INBLOCK('科创板'),1,0);
CYB:=IF(INBLOCK('创业板') AND RQ,1,0);
ZT1:=F20>=9.5 AND C=H AND NOT(KCB OR CYB);
ZT2:=F20>=19.5 AND C=H AND (KCB OR CYB);{www.gszb.com20%涨停}
ZT3:=C=O AND C=L AND C=H AND (ZT1 OR ZT2);{www.gszb.com一字板}
ZT4:=ZT1 OR ZT2 OR ZT3;
{www.gszb.com强弱线}
强弱分界80:=EMA(COST(85),10),COLORRED;
强弱分界99:=EMA(COST(99),10),COLORGREEN;
强弱分界80向上:=强弱分界80>REF(强弱分界80,1);
强弱分界99向上:=强弱分界99>REF(强弱分界99,1);
ZT5:=ZT4 OR C/REF(C,1)>1.19;
ZT:=ZT5 AND (C>强弱分界80 OR C>强弱分界99) AND 强弱分界80向上 AND 强弱分界99向上;
DK:=C<REF(C,1);
DK1:=O<REF(C,1) OR C<REF(C,1) OR L<REF(C,1);
ZX1:=REF(ZT,1)>0 AND DK>0;
ZX21:=REF(ZX1,1)>0 AND DK1>0;
ZX2:=REF(ZT,1)>0 AND C>REF(C,1) AND C>O AND ZT=0;
ZX22:=REF(DK,1)>0 AND DK1 AND COUNT(ZX2>0,3)>0;
ZXX:=BOLL.BOLL#WEEK;
ZX8:=ZX22 OR ZX21;
STICKLINE(ZX8,0.7,1,2,0),COLORBROWN;
STICKLINE(ZX8,0.5,0.8,5,0),COLORRED;
STICKLINE(ZX8,0,0.5,8,0),COLORYELLOW;
DRAWTEXT(ZX8,0.8,'全满仓'),COLORBROWN;
{www.gszb.com涨跌幅+涨停}
F101:=100*(H-O)/O;
F202:=100*(H-REF(C,1))/REF(C,1);
F10:=100*(C-O)/O;
F20:=100*(C-REF(C,1))/REF(C,1);
振幅9:=(H-L)/REF(C,1)*100;
RQ:=IF(DATE>=1200824,1,0);
KCB:=IF(INBLOCK('科创板'),1,0);
CYB:=IF(INBLOCK('创业板') AND RQ,1,0);
ZT1:=F20>=9.5 AND C=H AND NOT(KCB OR CYB);
ZT2:=F20>=19.5 AND C=H AND (KCB OR CYB);{www.gszb.com20%涨停}
ZT3:=C=O AND C=L AND C=H AND (ZT1 OR ZT2);{www.gszb.com一字板}
ZT4:=ZT1 OR ZT2 OR ZT3;
{www.gszb.com强弱线}
强弱分界80:=EMA(COST(85),10),COLORRED;
强弱分界99:=EMA(COST(99),10),COLORGREEN;
强弱分界80向上:=强弱分界80>REF(强弱分界80,1);
强弱分界99向上:=强弱分界99>REF(强弱分界99,1);
ZT5:=ZT4 OR C/REF(C,1)>1.19;
ZT:=ZT5 AND (C>强弱分界80 OR C>强弱分界99) AND 强弱分界80向上 AND 强弱分界99向上;
DK:=C<REF(C,1);
DK1:=O<REF(C,1) OR C<REF(C,1) OR L<REF(C,1);
ZX1:=REF(ZT,1)>0 AND DK>0;
ZX21:=REF(ZX1,1)>0 AND DK1>0;
ZX2:=REF(ZT,1)>0 AND C>REF(C,1) AND C>O AND ZT=0;
ZX22:=REF(DK,1)>0 AND DK1 AND COUNT(ZX2>0,3)>0;
ZXX:=BOLL.BOLL#WEEK;
ZX8:=ZX22 OR ZX21;
STICKLINE(ZX8,0.7,1,2,0),COLORBROWN;
STICKLINE(ZX8,0.5,0.8,5,0),COLORRED;
STICKLINE(ZX8,0,0.5,8,0),COLORYELLOW;
DRAWTEXT(ZX8,0.8,'全满仓'),COLORBROWN;