通达信【追击涨停】副图就要涨停啦能追吗?
【追击涨停】就要涨停啦,能追吗?
{追击涨停}
{副图公式}
GUBA1:=IF(CLOSE AND MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.0 AND CLOSE,88,0);
GUBA2:=IF(CLOSE/REF(CLOSE,1)>1.050 AND VOL/CAPITAL*100<15 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND GUBA1>0,91,0);
GUBA3:=IF(CLOSE AND MA(VOL,5)/230 AND CLOSE>REF(CLOSE,1)*1.0 AND CLOSE,78,0);
GUBA4:=IF(CLOSE/REF(CLOSE,1)>1.050 AND VOL/CAPITAL*100<15 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND GUBA1>0,91,0);
GUBA5:=IF(CLOSE AND MA(VOL,5)/220 AND CLOSE>REF(CLOSE,1)*1.0 AND CLOSE,68,0);
GUBA6:=IF(CLOSE/REF(CLOSE,1)>1.050 AND VOL/CAPITAL*100<15 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND GUBA1>0,91,0);
GUBA7:=IF(CLOSE AND MA(VOL,5)/210 AND CLOSE>REF(CLOSE,1)*1.0 AND CLOSE,58,0);
GUBA8:=IF(CLOSE/REF(CLOSE,1)>1.050 AND VOL/CAPITAL*100<15 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND GUBA1>0,91,0);
GUBA9:=IF(CLOSE AND MA(VOL,5)/200 AND CLOSE>REF(CLOSE,1)*1.0 AND CLOSE,48,0);
GUBA10:=IF(CLOSE/REF(CLOSE,1)>1.050 AND VOL/CAPITAL*100<15 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND GUBA1>0,91,0);
GUBA11:=IF(CLOSE AND MA(VOL,5)/190 AND CLOSE>REF(CLOSE,1)*1.0 AND CLOSE,38,0);
GUBA12:=IF(CLOSE/REF(CLOSE,1)>1.050 AND VOL/CAPITAL*100<15 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND GUBA1>0,91,0);
追涨:IF(GUBA2>90,25,0),LINETHICK2,COLORMAGENTA;
DRAWTEXT(GUBA2>90,20,'追');
来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标
相关指标公式
GUBA1赋值:如果CLOSEANDMA(成交量(手),5)/240ANDCLOSE>1日前的收盘价*1.0ANDCLOSE,返回88,否则返回0
GUBA2赋值:如果收盘价/1日前的收盘价>1.050ANDVOL/当前流通股本(手)*100<15ANDCLOSE<17ANDHIGH/收盘价<1.010ANDGUBA1>0,返回91,否则返回0
GUBA3赋值:如果CLOSEANDMA(成交量(手),5)/230ANDCLOSE>1日前的收盘价*1.0ANDCLOSE,返回78,否则返回0
GUBA4赋值:如果收盘价/1日前的收盘价>1.050ANDVOL/当前流通股本(手)*100<15ANDCLOSE<17ANDHIGH/收盘价<1.010ANDGUBA1>0,返回91,否则返回0
GUBA5赋值:如果CLOSEANDMA(成交量(手),5)/220ANDCLOSE>1日前的收盘价*1.0ANDCLOSE,返回68,否则返回0
GUBA6赋值:如果收盘价/1日前的收盘价>1.050ANDVOL/当前流通股本(手)*100<15ANDCLOSE<17ANDHIGH/收盘价<1.010ANDGUBA1>0,返回91,否则返回0
GUBA7赋值:如果CLOSEANDMA(成交量(手),5)/210ANDCLOSE>1日前的收盘价*1.0ANDCLOSE,返回58,否则返回0
GUBA8赋值:如果收盘价/1日前的收盘价>1.050ANDVOL/当前流通股本(手)*100<15ANDCLOSE<17ANDHIGH/收盘价<1.010ANDGUBA1>0,返回91,否则返回0
GUBA9赋值:如果CLOSEANDMA(成交量(手),5)/200ANDCLOSE>1日前的收盘价*1.0ANDCLOSE,返回48,否则返回0
GUBA10赋值:如果收盘价/1日前的收盘价>1.050ANDVOL/当前流通股本(手)*100<15ANDCLOSE<17ANDHIGH/收盘价<1.010ANDGUBA1>0,返回91,否则返回0
GUBA11赋值:如果CLOSEANDMA(成交量(手),5)/190ANDCLOSE>1日前的收盘价*1.0ANDCLOSE,返回38,否则返回0
GUBA12赋值:如果收盘价/1日前的收盘价>1.050ANDVOL/当前流通股本(手)*100<15ANDCLOSE<17ANDHIGH/收盘价<1.010ANDGUBA1>0,返回91,否则返回0
输出追涨:如果GUBA2>90,返回25,否则返回0,线宽为2,画洋红色
当满足条件GUBA2>90时,在20位置书写文字