以下是逃顶超准通达信主力资金流出指标源码和使用说明
逃顶超准通达信主力资金流出指标源码:
VAR1:=HHV(HIGH,70);
DD:=VAR1*0.83;
DDC:=EXIST(DD/L>1.08,10);
A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
DM:=A3/A4*100<15;
DMCX:=LAST(DM,15,1);
B1:=MA(C,13)<REF(MA(C,13),1);
SSRP:=MA(SSRP,1);
ZLBT:=DMCXANDSSRP/L>1.18;
TJ:=EXIST(ZLBT,2);
SJT:=C/REF(C,10);
DS:=SJT<=0.85;
找深套买:TJANDDDCANDB1ANDDS,COLORWHITE;
STICKLINE(找深套买,1.5,8,1,0),COLORWHITE;
M:=3;
通达信:=(C+O+L+H)/4;
主力资金流出:=REF(CLOSE,通达信);
指标:=SMA(MAX(CLOSE-主力资金流出,0),2,1)/SMA(ABS(CLOSE-主力资金流出),2,1)*100;
ecccs1:=指标>REF(指标,1)AND指标>89;
ecccs2:=(HIGH+LOW+CLOSE)/3;
CCI:=(ecccs2-MA(ecccs2,14))/(0.015*AVEDEV(ecccs2,14));
ecccs3:=EMA(EMA(EMA(CCI,2),2),2);
ecccs4:=ecccs3>100;
T:=CLOSE*1.0+LOW*0.0+HIGH*0.0;
ecccs5:=(T/REF(T,1)-1)*1000;
ecccs6:=MAX(MAX(MAX(ecccs5*1,3),3),3);
ecccs7:=MA(MA(MA(ecccs5/2,M),M),M);
X:=ecccs6-ecccs7;
ecccs8:=X*3;
ecccs9:=REF(ecccs8,1)<0;
ecccs91:=ecccs8>3ANDecccs9;
ecccs93:=ecccs1ANDecccs4ANDecccs91;STICKLINE(ecccs93,50,150,2,0),COLORGREEN;
DRAWTEXT(ecccs93,120,”),COLORBLUE;
DRAWGBK(DATE>900103,STRIP(RGB(100,180,255),RGB(120,120,255),1));
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,colorred;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,colorcyan;
进出量:=买量+卖量,COLOR00FFFF;
STICKLINE(进出量<0,0,进出量,8,0),COLORFF6600;
STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900;
STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00;
STICKLINE(进出量<0,0,进出量,0.5,0),colorcyan;
STICKLINE(进出量>0,0,进出量,8,0),COLOR000099;
STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC;
STICKLINE(进出量>0,0,进出量,1.5,0),COLOR0000FF;
STICKLINE(进出量>0,0,进出量,0.5,0),COLORCC66FF;
N:=5;
M:=13;
N日内净流入:SUM(进出量,N),LINETHICK2,colorgreen;
流入:IF(N日内净流入>REF(N日内净流入,1),N日内净流入,NULL),colorred,LINETHICK2;
连红天:BARSCOUNT(进出量>0);
M日内翻红天:COUNT(进出量>0,M),colorred;
走熊天:BARSCOUNT(N日内净流入<0),colorcyan;
走牛天:BARSCOUNT(N日内净流入>0),colorred;
强势天:BARSCOUNT((N日内净流入>REF(N日内净流入,1))>0AND
N日内净流入>0);
弱势天:BARSCOUNT((N日内净流入<REF(N日内净流入,1))>0AND
N日内净流入<0);
逃顶超准通达信主力资金流出指标截图
评论(0)