分时抓板超强分时抓涨停主图通达信公式 分时主图 源码附图
FX1:=VOL/CLOSE/3;
FX2:=SUM(IF(FX1>0.2 AND CLOSE>REF(CLOSE,1),FX1,0),0);
FX3:=SUM(IF(FX1>0.2 AND CLOSE<REF(CLOSE,1),FX1,0),0);
FX4:=FX2+FX3;
FX5:=1;
FX6:=FX2/FX3;
FX7:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;
FX8:=MAX(DYNAINFO(3),DYNAINFO(5));
FX9:=MIN(DYNAINFO(3),DYNAINFO(6));
FX10:=FX8-FX9;
FX11:=FX9+FX10*7/8;
FX12:=FX9+FX10*0.5/8;
FX13:=SUM(CLOSE*VOL,240)/SUM(VOL,240);
FX14:=BARSCOUNT(CLOSE);
FX15:=MA(CLOSE,FX14);
FX16:=FX15+2*STD(CLOSE,3);
FX17:=FX15-2*STD(CLOSE,3);
FX18:=TIME>93000;
FX19:=CLOSE/REF(CLOSE,1)>1.02;
FX20:=CLOSE/REF(CLOSE,1)<0.98;
FX21:=(HHV(CLOSE,FX14)-LLV(CLOSE,FX14))/CLOSE<0.05;
FX22:=SMA(VOL,30,1);
FX23:=(FX22-LLV(LLV(FX22,1),30))/(HHV(HHV(FX22,1),30)-LLV(LLV(FX22,1),30))>0.95;
FX24:=FX19 OR FX20;
FX25:=FX24=0 AND FX21 AND FX23 AND CROSS(FX13,FX15);
IF(MACD.DEA<0,CLOSE,DRAWNULL),COLORYELLOW,LINETHICK9;
FX26:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(VOL*100,BARSCOUNT(CLOSE));
FX27:=EXPMA(CLOSE/FX26,20);
FX28:=EXPMA(CLOSE/FX26,60);
FX29:=EXPMA(CLOSE/FX26,120);
FX30:=1;
1.02,NODRAW;
FX31:=1.03;
FX32:=FX27>FX28 AND FX27>1.003 AND FX28>FX29 AND CLOSE>EXPMA(CLOSE,20) AND EXPMA(CLOSE,10)>EXPMA(CLOSE,20) AND EXPMA(CLOSE,20)>EXPMA(CLOSE,60);
DRAWICON(FX27>FX28 AND FX28>FX29 AND CLOSE>EXPMA(CLOSE,20) AND EXPMA(CLOSE,10)>EXPMA(CLOSE,20) AND EXPMA(CLOSE,20)>EXPMA(CLOSE,60) AND FX27=HHV(FX27,30) AND CROSS(FX27,1.003),CLOSE,25);
DRAWICON(CROSS(FX27,1.02),CLOSE,24);
DRAWICON(CROSS(FX27,1.04),CLOSE,26);
FX33:=MAX(DYNAINFO(3),DYNAINFO(5));
FX34:=MIN(DYNAINFO(3),DYNAINFO(6));
FX35:=FX33-FX34;
压力线:FX34+FX35*7/8,COLORMAGENTA,LINETHICK2;
支撑线:FX34+FX35*0.5/8,COLORGREEN,LINETHICK2;
中线:(支撑线+压力线)/2,COLORWHITE,LINETHICK2;
FX36:=SUM(IF(CLOSE>REF(CLOSE,1) AND VOL>4000,VOL/1000,0),0);
FX37:=SUM(IF(CLOSE<REF(CLOSE,1) AND VOL>4000,VOL/1000,0),0);
FX38:=SUM(IF(CLOSE>REF(CLOSE,1),VOL/1000,0),0);
FX39:=SUM(IF(CLOSE<REF(CLOSE,1),VOL/1000,0),0);
FX40:=FX38-FX36;
FX41:=FX39-FX37;
FX42:=FX36;
FX43:=FX37;
FX44:=FX40;
FX45:=FX41;
FX46:=FX36-FX37;
FX47:=FX40-FX41;
FX48:=FX38-FX39;
FX49:=CONST(MAX(ABS(FX42),MAX(ABS(FX43),MAX(ABS(FX44),ABS(FX45)))));
地:EMA(FX13,50)/0.97,COLORGREEN,LINETHICK2;
IF(地>REF(地,1),地,DRAWNULL),COLORRED,LINETHICK2;
平衡线:(FX13+地)/2,DOTLINE,COLORGREEN;
FX50:=COUNT(VOL>4000 AND CLOSE>REF(CLOSE,1),0);
黄次数:COUNT(VOL>DYNAINFO(16)*10 AND CLOSE>REF(CLOSE,1),0),NODRAW,COLORYELLOW;
DRAWICON(FX50>REF(FX50,1) AND 黄次数>REF(黄次数,1) AND CROSS(CLOSE,地),CLOSE,7);
DRAWICON(FX40>FX41 AND FX36>FX40 AND FX41>FX37,FX13,38);
SUM(VOL*CLOSE,0)/SUM(VOL,0),COLORYELLOW;
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
FX1赋值:成交量/收盘价/3
FX2赋值:SUM(IF(FX1>0.2 AND 收盘价>1日前的收盘价,FX1,0),0)
FX3赋值:SUM(IF(FX1>0.2 AND 收盘价<1日前的收盘价,FX1,0),0)
FX4赋值:FX2+FX3
FX5赋值:1
FX6赋值:FX2/FX3
FX7赋值:EMA((-100)*(34日内最高价最高值-收盘价)/(34日内最高价最高值-34日内最低价最低值),4)+100
FX8赋值:MAX(DYNAINFO(3),DYNAINFO(5))
FX9赋值:MIN(DYNAINFO(3),DYNAINFO(6))
FX10:=FX8-FX9
FX11:=FX9+FX10*7/8
FX12:=FX9+FX10*0.5/8
FX13:=240的收盘价*成交量日累和/240的成交量日累和
FX14:=收盘价的有效数据周期数
FX15:=收盘价的FX14日简单移动平均
FX16:=FX15+2*收盘价的3估算标准差
FX17:=FX15-2*收盘价的3估算标准差
FX18:=TIME>93000
FX19:=收盘价/1日前的收盘价>1.02
FX20:=收盘价/1日前的收盘价<0.98
FX21:=(FX14日内收盘价最高值-FX14日内收盘价最低值)/收盘价<0.05
成交量的30日[1日权重]移动平均
FX23:=(FX22-1日内FX22最低值,30))/(1日内FX22最高值,30)-1日内FX22最低值,30))>0.95
FX24:=FX19 OR FX20
FX25:=FX24=0 AND FX21 AND FX23 AND FX13上穿FX15
如果MACD.DEA<0返回收盘价否则返回DRAWNULL
FX26:=SUM(成交额,收盘价的有效数据周期数)/SUM(成交量*100,收盘价的有效数据周期数)
FX27:=收盘价/FX26的20日指数移动平均
FX28:=收盘价/FX26的60日指数移动平均
FX29:=收盘价/FX26的120日指数移动平均
FX30:=1
1.02,NODRAW
FX31:=1.03
FX32:=FX27>FX28 AND FX27>1.003 AND FX28>FX29 AND 收盘价>收盘价的20日指数移动平均 AND 收盘价的10日指数移动平均>收盘价的20日指数移动平均 AND 收盘价的20日指数移动平均>收盘价的60日指数移动平均
DRAWICON(FX27>FX28 AND FX28>FX29 AND 收盘价>收盘价的20日指数移动平均 AND 收盘价的10日指数移动平均>收盘价的20日指数移动平均 AND 收盘价的20日指数移动平均>收盘价的60日指数移动平均 AND FX27=30日内FX27最高值 AND FX27上穿1.003,收盘价,25)
DRAWICON(FX27上穿1.02,收盘价,24)
DRAWICON(FX27上穿1.04,收盘价,26)
FX33:=MAX(DYNAINFO(3),DYNAINFO(5))
FX34:=MIN(DYNAINFO(3),DYNAINFO(6))
FX35:=FX33-FX34
输出压力线:FX34+FX35*7/8,画洋红色, 线宽为2
输出支撑线:FX34+FX35*0.5/8,画绿色, 线宽为2
输出中线:(支撑线+压力线)/2,画白色, 线宽为2
FX36:=SUM(IF(收盘价>1日前的收盘价 AND 成交量>4000,成交量/1000,0),0)
FX37:=SUM(IF(收盘价<1日前的收盘价 AND 成交量>4000,成交量/1000,0),0)
FX38:=SUM(IF(收盘价>1日前的收盘价,成交量/1000,0),0)
FX39:=SUM(IF(收盘价<1日前的收盘价,成交量/1000,0),0)
FX40:=FX38-FX36
FX41:=FX39-FX37
FX42:=FX36
FX43:=FX37
FX44:=FX40
FX45:=FX41
FX46:=FX36-FX37
FX47:=FX40-FX41
FX48:=FX38-FX39
FX49:=CONST(MAX(FX42的绝对值,MAX(ABS(FX43),MAX(ABS(FX44),ABS(FX45)))))
输出地:FX13的50日指数移动平均/0.97,画绿色, 线宽为2
IF(地>1日前的地,地,DRAWNULL),画红色, 线宽为2
输出平衡线:(FX13+地)/2,DOTLINE,画绿色
FX50:=COUNT(成交量>4000 AND 收盘价>1日前的收盘价,0)
输出黄次数:COUNT(成交量>DYNAINFO(16)*10 AND 收盘价>1日前的收盘价,0),NODRAW,画黄色
DRAWICON(FX50>1日前的FX50 AND 黄次数>1日前的黄次数 AND 收盘价上穿地,收盘价,7)
当满足条件FX40>FX41 AND FX36>FX40 AND FX41>FX37时,在FX13和38之间画图标
0的成交量*收盘价日累和/0的成交量日累和,画黄色