分时盘中突破抓板涨停不是梦
价:=C,COLORWHITE;
TT:=BARSCOUNT(C);
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均线:IF(ZZ1=0,MA(C,TT),ZZ),COLORYELLOW;
突破:=C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0 AND C/均线<1.09 AND TT>13 AND TT<240;
DRAWTEXT( C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0 AND C/均线<1.09 AND TT>=13 AND TT<240 ,C-0.10 , '突破'),COLORRED;
STICKLINE( C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0 AND C/均线<1.09 AND TT>=13 AND TT<230 ,DYNAINFO(3) ,CLOSE+0.10 ,0.8 ,1);
主力扫盘:=COUNT(突破,13)>=3 AND C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0;
DRAWTEXT(主力扫盘 ,(DYNAINFO(3))*9.8/10 , '主力扫盘'),COLORYELLOW;
STICKLINE(主力扫盘 ,(DYNAINFO(3))*9/10 ,DYNAINFO(3) ,800 ,890),COLORRED,LINETHICK9;
已主力扫盘:=BARSLAST(主力扫盘)<13;
DRAWTEXT( BARSLAST(主力扫盘)<8,(DYNAINFO(3))*9.5/10 , '已扫盘'),COLORGREEN;
全仓买进:=C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0 AND C/均线<1.09 AND TT>13 AND TT<240 AND BARSLAST(主力扫盘)>=21;
DRAWTEXT(全仓买进 ,(DYNAINFO(3))*9.4/10 , '全仓买进'),COLORCYAN;
STICKLINE(全仓买进 ,(DYNAINFO(3))*9/10 ,DYNAINFO(3) ,100 ,-1),COLORRED,LINETHICK4;
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
价赋值:C,画白色
TT赋值:C的有效数据周期数
ZZ赋值:TT的成交额日累和/TT的成交量*100日累和
ZZ1:=BETWEEN(C/ZZ,1.05,0.95)
输出均线:IF(ZZ1=0,C的TT日简单移动平均,ZZ),画黄色
突破赋值:C>=REF(TT日内H最高值,1) AND HHVBARS(成交量,TT)=0 AND C/均线<1.09 AND TT>13 AND TT<240
DRAWTEXT( C>=REF(TT日内H最高值,1) AND HHVBARS(成交量,TT)=0 AND C/均线<1.09 AND TT>=13 AND TT<240 ,C-0.10 , '突破'),画红色
STICKLINE( C>=REF(TT日内H最高值,1) AND HHVBARS(成交量,TT)=0 AND C/均线<1.09 AND TT>=13 AND TT<230 ,DYNAINFO(3) ,收盘价+0.10 ,0.8 ,1)
主力扫盘赋值:统计13日满足突破的天数>=3 AND C>=REF(TT日内H最高值,1) AND HHVBARS(成交量,TT)=0
DRAWTEXT(主力扫盘 ,(DYNAINFO(3))*9.8/10 , '主力扫盘'),画黄色
STICKLINE(主力扫盘 ,(DYNAINFO(3))*9/10 ,DYNAINFO(3) ,800 ,890),画红色,LINETHICK9
已主力扫盘赋值:上次主力扫盘距今天数<13
DRAWTEXT( 上次主力扫盘距今天数<8,(DYNAINFO(3))*9.5/10 , '已扫盘'),画绿色
全仓买进赋值:C>=REF(TT日内H最高值,1) AND HHVBARS(成交量,TT)=0 AND C/均线<1.09 AND TT>13 AND TT<240 AND 上次主力扫盘距今天数>=21
DRAWTEXT(全仓买进 ,(DYNAINFO(3))*9.4/10 , '全仓买进'),画青色
STICKLINE(全仓买进 ,(DYNAINFO(3))*9/10 ,DYNAINFO(3) ,100 ,-1),画红色,LINETHICK4