资源描述:
《【指标公式源码下载】通达信连涨突击分时指标公式【买》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、通达信连涨突击分时指标公式【买卖、回调认同、控盘、高低点、风险、连涨突击】A1:=(VOL/CLOSE)/3;{A222:=IF(A1>0.29ANDCLOSE>REF(CLOSE,1),A1,0);}{A22:=SUM(A222,0);}A2:=SUM((IF(((A1>0.29)AND(CLOSE>(REF(CLOSE,1)))),A1,0)),0);A3:=SUM((IF(((A1>0.29)AND(CLOSE<(REF(CLOSE,1)))),A1,0)),0);A4:=SUM((IF(((A1<0.29)AND(CLOSE>(REF(
2、CLOSE,1)))),A1,0)),0);A5:=SUM((IF(((A1<0.29)AND(CLOSE<(REF(CLOSE,1)))),A1,0)),0);A6:=((A2+A3)+A4)+A5;A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));机构买入:(A2)
3、,LINETHICK5,COLORMAGENTA;机构卖出:(A3),LINETHICK5,COLORCYAN;大户买入:(A4),COLORRED;大户卖出:(A5),COLORGREEN;机构净流:机构买入-机构卖出,LINETHICK2,NODRAW;大户净流:大户买入-大户卖出,LINETHICK2,NODRAW;主力资金:机构净流+大户净流,LINETHICK2,NODRAW;DRAWTEXT(ISLASTBAR=1,机构买入*0.9,'机构买入'),LINETHICK2,COLORFF55FF;DRAWTEXT(ISLASTBAR=
4、1,机构卖出,'机构卖出'),LINETHICK2,COLORFFFF55;DRAWTEXT(ISLASTBAR=1,大户买入,'大户买入'),LINETHICK2,COLOR5555FF;DRAWTEXT(ISLASTBAR=1,大户卖出,'大户卖出'),LINETHICK2,COLOR55FF55;DRAWICON(CROSS(机构买入,机构卖出),(机构买入,机构卖出),1);DRAWICON(CROSS(机构卖出,机构买入),(机构卖出,机构买入),2);DRAWICON(CROSS(大户买入,大户卖出),(大户买入,大户卖出),1);
5、DRAWICON(CROSS(大户卖出,大户买入),(大户卖出,大户买入),2);A01:=AMOUNT/VOL/100;A02:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;A03:=SUM(AMOUNT,40)/A01/100;A04:=SUM(AMOUNT,80)/A01/100;B1:=DMA(A02,VOL/A03);B2:=DMA(A02,VOL/A04);B3:=(CLOSE-B1)/B1*100;B4:=(CLOSE-B2)/B2*100;压力:MA(REF(HHV(C,30),1),2),NODRAW;现价:C,N
6、ODRAW;支撑:MA(REF(LLV(C,30),1),2),NODRAW;均价:SUM(现价*V,240)/SUM(V,240),COLORYELLOW,NODRAW;回调认同:EMA(EXPMA(C,20),13),NODRAW;控盘:1,COLORYELLOW,LINETHICK1;高点:5,,COLORFF6600;风险:-1,COLORGREEN,LINETHICK2;低点:-4,COLORCCFF33;STICKLINE(FILTER(C,60)>0,高点,低点,0.5,0),COLORRED;STICKLINE(B4>0,0,B
7、4,0,0),COLORYELLOW;STICKLINE(B3>0,0,B3,0,0),COLORRED;STICKLINE(B3<=0,0,B3,0,0),COLORGREEN;VAR1:=SMA(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),14,1);VAR2:=(HIGH-REF(HIGH,1));VAR3:=(REF(LOW,1)-LOW);VAR4:=SMA(IF(((VAR2>0)AND(VAR2>VAR3)),VAR2,0),12,1)
8、;VAR5:=SMA(IF(((VAR3>0)AND(VAR3>VAR2)),VAR3,0),12,1);VAR6:=((VAR4*100)/VAR1