神龙戏水: HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6) +13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12) +7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+ REF(H,20))/210,colorblue,LINETHICK1;//7 0 8 2 2. c o m LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6) +13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12) +7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+ REF(L,20))/210,colorblue,LINETHICK1; D90H:=EMA(HH,90),colorred,LINETHICK1; D90L:=EMA(LL,90),colorred,LINETHICK1; DGH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+1 +7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+ REF(H,20))/210,colorblue,LINETHICK1;DDL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6) +7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+ REF(L,20))/210,colorblue,LINETHICK1;D90C:=D90H-D90L;D90D:=D90H+D90C*2,colorred,LINETHICK1;D90T:=D90L-D90C*2,colorred,LINETHICK1;G0:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),LINETHICK1,colorwhite;D0:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK1,colorwhite;DTD:=D0>=D90T AND G0>=D90D;KTD:=G0<=D90D AND D0<=D90T;ZDD:=D0>=D90T AND G0<=D90D;BDD0:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60),LINETHICK2,colorgreen;BDT0:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3,LINETHICK2,colorgreen;STICKLINE(DTD=1,G0,D0,5,0),COLOR000066;STICKLINE(KTD=1,G0,D0,5,0),COLOR003300;STICKLINE(ZDD=1,G0,D0,5,0),COLOR555555; ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,colorwhite; ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,DOTLINE,colorwhite; ZZ:=(ZK1+ZD1)/2,DOTLINE,coloryellow; STICKLINE(1=1,D90H,D90L,5,0),colorligray; DEA3:=EMA((EMA(CLOSE,3) - EMA(CLOSE,6)),9),colorgreen,LINETHICK2; DEA3B:=REF(DEA3,1),colorwhite,LINETHICK0; DEA33B:=EMA((EMA(EMA(CLOSE,3) - EMA(CLOSE,9),3) - EMA(EMA(CLOSE,3) - EMA(CLOSE,9),9)),9),colorwhite,LINETHICK0; DEA333B:=REF(DEA33B,1),colorwhite,LINETHICK0; STICKLINE(DEA3B<DEA3 OR DEA333B<DEA33B,L,H,0.0,0),colorred; STICKLINE(DEA3B<DEA3 OR DEA333B<DEA33B,C,O,3,1),colorred; STICKLINE(DEA3<DEA3B,L,H,0.0,0),colorgreen; STICKLINE(DEA3<DEA3B,C,O,3,1),colorgreen; 白色点多定位1:=L<ZD1 AND H>ZD1; 白色点空定位1:=H>ZK1 AND L<ZK1; STICKLINE(白色点多定位1=1,L,ZD1,3.2,0),COLOR0044FF; STICKLINE(白色点多定位1=1,L,ZD1,2.7,0),COLOR0066FF; STICKLINE(白色点多定位1=1,L,ZD1,2.1,0),COLOR0088FF; STICKLINE(白色点多定位1=1,L,ZD1,1.5,0),COLOR00AAFF; STICKLINE(白色点多定位1=1,L,ZD1,0.9,0),COLOR00CCFF; STICKLINE(白色点多定位1=1,L,ZD1,0.2,0),COLOR00FFFF; STICKLINE(白色点空定位1=1,H,ZK1,3.2,0),COLOR770077; STICKLINE(白色点空定位1=1,H,ZK1,2.7,0),COLOR990099; STICKLINE(白色点空定位1=1,H,ZK1,2.1,0),COLORBB00BB; STICKLINE(白色点空定位1=1,H,ZK1,1.5,0),COLORDD00DD; STICKLINE(白色点空定位1=1,H,ZK1,0.9,0),COLORFF00FF; STICKLINE(白色点空定位1=1,H,ZK1,0.2,0),COLORFF55FF; 白色点多定位2:=H<ZD1; 白色点空定位2:=L>ZK1; STICKLINE(白色点多定位2=1,L,H,0.0,0),COLOR00FFFF; STICKLINE(白色点多定位2=1,C,O,3.2,0),COLOR0044FF; STICKLINE(白色点多定位2=1,C,O,2.7,0),COLOR0066FF; STICKLINE(白色点多定位2=1,C,O,2.1,0),COLOR0088FF; STICKLINE(白色点多定位2=1,C,O,1.5,0),COLOR00AAFF; STICKLINE(白色点多定位2=1,C,O,0.9,0),COLOR00CCFF; STICKLINE(白色点多定位2=1,C,O,0.2,0),COLOR00FFFF; STICKLINE(白色点空定位2=1,L,H,0.0,0),COLORFF55FF; STICKLINE(白色点空定位2=1,C,O,3.2,0),COLOR770077; STICKLINE(白色点空定位2=1,C,O,2.7,0),COLOR990099; STICKLINE(白色点空定位2=1,C,O,2.1,0),COLORBB00BB; STICKLINE(白色点空定位2=1,C,O,1.5,0),COLORDD00DD; STICKLINE(白色点空定位2=1,C,O,0.9,0),COLORFF00FF; STICKLINE(白色点空定位2=1,C,O,0.2,0),COLORFF55FF; 多头红色点:=DEA3B<DEA3 OR DEA333B<DEA33B; 空头红色点:=DEA3B>DEA3 OR DEA333B>DEA33B; 多头红色点定位1:=白色点多定位1=1 AND 多头红色点=1; 空头红色点定位1:=白色点空定位1=1 AND 空头红色点=1; STICKLINE(多头红色点定位1=1,L,ZD1,3.2,0),COLOR000077; STICKLINE(多头红色点定位1=1,L,ZD1,2.7,0),COLOR000099; STICKLINE(多头红色点定位1=1,L,ZD1,2.1,0),COLOR0000BB; STICKLINE(多头红色点定位1=1,L,ZD1,1.5,0),COLOR0000DD; STICKLINE(多头红色点定位1=1,L,ZD1,0.9,0),COLOR0000FF; STICKLINE(多头红色点定位1=1,L,ZD1,0.2,0),COLOR6666FF; 攻击流量: 反应快,信息明确,适合指数标的的技术指标。 w:=3; Of:=50; am:=4; LOWV:=LLV(LOW,N); HIGHV:=HHV(HIGH,N); RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M); K:=EMA(RSV,M); D:=MA(K,M); STICKLINE(k>d,(d-Of)*am,(k-Of)*am,9,1),colorbrown; STICKLINE(k<d,(k-Of)*am,(d-Of)*am,9,1),colorgray; STICKLINE(k>d AND CLOSE>REF(CLOSE,1),(d-Of)*am,(k-Of)*am,9,0),colorbrown; STICKLINE(k<d AND CLOSE<REF(CLOSE,1),(k-Of)*am,(d-Of)*am,9,0),colorgray; NN:=14; TYP:=(HIGH+LOW+CLOSE)/3; tcci:=(TYP-MA(TYP,NN))/(0.015*AVEDEV(TYP,NN)); CCI:tcci,coloryellow; //DRAWTEXT(WEEKDAY==1, -200, "|"); DRAWLINE(WEEKDAY==1,-200, WEEKDAY==1, 200,1),Color222222; //DRAWTEXT(tcci>=-100 AND REF(tcci,1)<-100, -200, "L"); //DRAWTEXT(tcci>=0 AND REF(tcci,1)<0, -200, "M"); //DRAWTEXT(tcci>=100 AND REF(tcci,1)<100, -200, "H"); //XG:CROSS(tCCI,0)*100,colorblue; top:100,Color999999,DOTLINE; bot:-100,Color555555,DOTLINE; zero:0,colorblue,DOTLINE; LC:=REF(CLOSE,1); //VR:SUM(IF(CLOSE>Lc,VOL,0),m1)/SUM(IF(CLOSE<=Lc,VOL,0),m1)*100 - 100,colormagenta; //a:m2; //b:m3; 多:=IF(C>REF(C,1),VOL,0)/100; 空:=IF(C<REF(C,1),VOL,0)/100; 正:=EMA(MA(多,3),3); 负:=EMA(MA(空,3),10); tz:=SUM(正,10)/10; tf:=SUM(负,10)/10; f:负/tf*100,colorgreen; STICKLINE(正,正/tz*100,0,w,0),colorred; STICKLINE(正>0 AND 正>REF(正,1) AND 负> REF(负,1),正/tz*100/3,0,w,0),colorliblue; //50% STICKLINE(正>0 AND 正<REF(正,1),正/tz*100,0,w,0),colorliblue; STICKLINE(正>0 AND 正<REF(正,1) AND 负<= REF(负,1),正/tz*100/3,0,w,0),colorred;// 50% zero:0,colorblue; 流通:=AMOUNT/VOL; PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2))); ZLL:=VOL/CAPITAL; HSL1:=IF(ZLL>10,10,ZLL); HSL:=(XVL/20)/1.15; 攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)); GJJ:=EMA(攻击流量,8); LLJX:=EMA(攻击流量,3); 资金流向:=LLJX,LINETHICK0,COLOR0000FF; tzj:=SUM(ABS(资金流向),10)/10; STICKLINE(资金流向>0,-资金流向/tzj*100/2,0,w,1),colorbrown; STICKLINE(资金流向<0,资金流向/tzj*100/2,0,w,2),colorblue; 流量基线:=GJJ,COLOR00FFFF; ZJLL:=REF(LLJX,1); QZJJ:=((LLJX-ZJLL)/ZJLL)*100; 力度:=HSL/1000,LINETHICK0; 周流向:=SUM(LLJX,5)/3,LINETHICK1; BB:=REF(周流向,1); ZQZJJ:=((周流向-BB)/BB)*100; 多空资金动能(顶尖财经 股票学院: http://58188.com): REFLINE:0; DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8); DEA:=EMA(DIFF,5); MACD := 2*(DIFF-DEA); X1:=EMA(DIFF,5)*5; X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5; X3:IF(X2>0,X2,0),POINTDOT,colorred; X4:IF(X2<0,X2,0),POINTDOT,colorgreen; STICKLINE(X2>0,0,X2,2.8,0),colorred; STICKLINE(X2>0,0,X2,2.8,0),COLOR000088; STICKLINE(X2>0,0,X2,2.6,0),COLOR000099; STICKLINE(X2>0,0,X2,2.4,0),COLOR0000AA; STICKLINE(X2>0,0,X2,2.2,0),COLOR0000BB; STICKLINE(X2>0,0,X2,2,0),COLOR0000CC; STICKLINE(X2>0,0,X2,1.8,0),COLOR0000DD; STICKLINE(X2>0,0,X2,1.5,0),COLOR0000EE; STICKLINE(X2>0,0,X2,1.0,0),COLOR0000FF; STICKLINE(X2>0,0,X2,0.0,0),COLOR0000FF; STICKLINE(X2<0,0,X2,2.8,0),colorgreen; STICKLINE(X2<0,0,X2,2.8,0),COLOR007700; STICKLINE(X2<0,0,X2,2.6,0),COLOR008800; STICKLINE(X2<0,0,X2,2.6,0),COLOR009900; STICKLINE(X2<0,0,X2,2.4,0),COLOR00BB00; STICKLINE(X2<0,0,X2,2.0,0),COLOR00CC00; STICKLINE(X2<0,0,X2,1.8,0),COLOR00DD00; STICKLINE(X2<0,0,X2,1.5,0),COLOR00EE00; STICKLINE(X2<0,0,X2,1,0),COLOR00FF00; STICKLINE(X2<0,0,X2,0,0),,COLOR00FF00; 资金动能A:X2,coloryellow,LINETHICK2; 资金动能B:X1,COLORFFFF00,LINETHICK2; DRAWICON((CROSS(资金动能A,资金动能B) AND 资金动能B<-0.25),资金动能B,1); |