机构资金 抓牛指标 通达信副图指标 源码 贴图
2019-12-23 10:37:00来源:本站整理浏览:1115
机构资金 抓牛指标 通达信副图指标 源码 贴图
VAR1:=100-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
VAR2:=100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
VAR3:=MA(VAR2,13);
STICKLINE(CROSS(VAR1,50),50,60,3,0),COLORGRAY;
DRAWBAND(VAR1,255,60,0);
资金:VAR1-VAR3,COLORYELLOW;
VAR4:=ATAN((资金/REF(资金,1)-1)*100)*180/3.1416;
STICKLINE(CROSS(资金,0),0,30,3,0),COLORLIRED;
0,COLORLIMAGENTA;
60;
VAR5:=531;
VAR6:=1510000;
VAR7:=VAR5+VAR6;
VAR8:=IF(DATE>VAR7,0,1);
VAR9:=REF(CLOSE,1);
VAR10:=EMA(HHV(HIGH,1),8);
VAR11:=EMA(CLOSE,8);
VAR12:=VAR11<REF(VAR11,1) AND CLOSE<VAR11;
VAR13:=IF(VAR10<REF(VAR10,1) OR VAR12,1,0);
VAR14:=SMA(MAX(CLOSE-VAR9,0),2,1)/SMA(ABS(CLOSE-VAR9),2,1)*100;
VAR15:=45;
VAR16:=20;
VAR17:=VAR14<VAR15 AND REF(VAR14,1)>VAR15;
VAR18:=VAR14<VAR16 AND REF(VAR14,1)>VAR16*VAR8;
DRAWTEXT(CURRBARSCOUNT=129,0.5,1032),COLOR889999;
抓牛:(COUNT(VAR13=1,4)=3 AND VAR13=0 AND OPEN<CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.085)*89>=89 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.085 AND (REF(VAR18,1) OR REF(VAR17,1))) AND VAR8=1,STICK,COLORLIRED,LINETHICK4;
DRAWTEXT(抓牛,抓牛*0.71,1033),COLORLIRED;
VAR19:=240/FROMOPEN;
VAR20:=VAR19;{WWW.GPXIAZAI.COM}
VAR21:=(HIGH-LOW)*1000000/(VOL*VAR20);
VAR22:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR23:=EMA(VAR22,9);
VAR24:=VAR22-VAR23;
VAR25:=IF(VAR24,LLV(LOW,21),DRAWNULL);
VAR26:=HHV(HIGH,80)*0.99;
VAR27:=CONST(VAR26);
VAR28:=LLV(VAR25,80);
VAR29:=CONST(VAR28);
VAR30:=MA(CLOSE,20);
VAR31:=CLOSE>MA(CLOSE,5);
VAR32:=MA(CLOSE,5)>MA(CLOSE,10);
VAR33:=CLOSE>MA(CLOSE,10);
VAR34:=MA(CLOSE,5)>MA(CLOSE,20);
VAR35:=CLOSE>MA(CLOSE,20);
VAR36:=REF(VAR30,1);
VAR37:=VAR30>VAR36;
VAR38:=IF(VAR31,10,0-10)+IF(VAR32,10,0-10)+IF(VAR33,10,0-10)+IF(VAR34,10,0-10)+IF(VAR35,10,0-10)+IF(VAR37,10,0-10);
VAR39:=CLOSE/INDEXC;
VAR40:=MA(VAR39,5);
VAR41:=MA(VAR39,10);
VAR42:=MA(VOL,5);
VAR43:=MA(VOL,10);
VAR44:=CONST(IF(VAR38>0,200,100));
VAR45:=CONST(IF(VAR38>0,0,100));
VAR46:=CONST(IF(VAR38>0,100,100));
VAR47:=VAR27;
VAR48:=VAR29;
VAR49:=VAR27;
VAR50:=CONST(IF(CROSS(VAR38,1) AND VAR42>=VAR43 AND VAR39>=VAR40,1,0));
VAR51:=CONST(IF(CROSS(VAR38,1) AND VAR42<VAR43 AND VAR39>=VAR40,1,0));
VAR52:=CONST(IF(CROSS(VAR38,1) AND VAR42>VAR43 AND VAR39<VAR40,1,0));
VAR53:=CONST(IF(CROSS(VAR38,1) AND VAR42<=VAR43 AND VAR39<VAR40,1,0));
VAR54:=CONST(IF(CROSS(1,VAR38) AND VAR42>=VAR43 AND VAR39>=VAR40,1,0));
VAR55:=CONST(IF(CROSS(1,VAR38) AND VAR42<VAR43 AND VAR39>=VAR40,1,0));
VAR56:=CONST(IF(CROSS(1,VAR38) AND VAR42>=VAR43 AND VAR39<VAR40,1,0));
VAR57:=CONST(IF(CROSS(1,VAR38) AND VAR42<VAR43 AND VAR39<VAR40,1,0));
VAR58:=CONST(IF(VAR38>=1 AND REF(VAR38,1)>0 AND VAR42>=VAR43 AND VAR39>=VAR40,1,0));
VAR59:=CONST(IF(VAR38>=1 AND REF(VAR38,1)>0 AND VAR42<VAR43 AND VAR39>=VAR40,1,0));
VAR60:=CONST(IF(VAR38>=1 AND REF(VAR38,1)>0 AND VAR42>=VAR43 AND VAR39<VAR40,1,0));
VAR61:=CONST(IF(VAR38>=1 AND REF(VAR38,1)>0 AND VAR42<VAR43 AND VAR39<VAR40,1,0));
VAR62:=CONST(IF(VAR38<1 AND REF(VAR38,1)<0 AND VAR42>=VAR43 AND VAR39>=VAR40,1,0));
VAR63:=CONST(IF(VAR38<1 AND REF(VAR38,1)<0 AND VAR42<VAR43 AND VAR39>=VAR40,1,0));
VAR64:=CONST(IF(VAR38<1 AND REF(VAR38,1)<0 AND VAR42>=VAR43 AND VAR39<VAR40,1,0));
VAR65:=CONST(IF(VAR38<1 AND REF(VAR38,1)<0 AND VAR42<VAR43 AND VAR39<VAR40,1,0));
VAR66:=CONST(IF(CROSS(VAR38,1) AND VAR42>=VAR43,1,0));
VAR67:=CONST(IF(CROSS(VAR38,1) AND VAR42<VAR43,1,0));
VAR68:=CONST(IF(CROSS(1,VAR38) AND VAR42>=VAR43,1,0));
VAR69:=CONST(IF(CROSS(1,VAR38) AND VAR42<VAR43,1,0));
VAR70:=CONST(IF(VAR38>=1 AND REF(VAR38,1)>0 AND VAR42>=VAR43,1,0));
VAR71:=CONST(IF(VAR38>=1 AND REF(VAR38,1)>0 AND VAR42<VAR43,1,0));
VAR72:=CONST(IF(VAR38<1 AND REF(VAR38,1)<0 AND VAR42>=VAR43,1,0));
VAR73:=CONST(IF(VAR38<1 AND REF(VAR38,1)<0 AND VAR42<VAR43,1,0));
VAR74:=(HIGH-LOW)*1000000/(VOL*VAR20);
VAR75:=IF(VAR50=1,0.7+0.06,0.7);
VAR76:=IF(VAR51=1,VAR75+0.06,VAR75);
VAR77:=IF(VAR52=1,VAR76+0.06,VAR76);
VAR78:=IF(VAR53=1,VAR77+0.06,VAR77);
VAR79:=IF(VAR54=1,VAR78+0.06,VAR78);
VAR80:=IF(VAR55=1,VAR79+0.06,VAR79);
VAR81:=IF(VAR56=1,VAR80+0.06,VAR80);
VAR82:=IF(VAR57=1,VAR81+0.06,VAR81);
VAR83:=IF(VAR58=1,VAR82+0.06,VAR82);
VAR84:=IF(VAR59=1,VAR83+0.06,VAR83);
VAR85:=IF(VAR60=1,VAR84+0.06,VAR84);
VAR86:=IF(VAR61=1,VAR85+0.06,VAR85);
VAR87:=IF(VAR62=1,VAR86+0.06,VAR86);
VAR88:=IF(VAR63=1,VAR87+0.06,VAR87);
VAR89:=IF(VAR64=1,VAR88+0.06,VAR88);
VAR90:=IF(VAR65=1,VAR89+0.06,VAR89);
VAR91:=IF(VAR66=1,VAR90+0.06,VAR90);
VAR92:=IF(VAR67=1,VAR91+0.06,VAR91);
VAR93:=IF(VAR68=1,VAR92+0.06,VAR92);
VAR94:=IF(VAR69=1,VAR93+0.06,VAR93);
VAR95:=IF(VAR70=1,VAR94+0.06,VAR94);
VAR96:=IF(VAR71=1,VAR95+0.06,VAR95);
VAR97:=IF(VAR72=1,VAR96+0.06,VAR96);
VAR98:=IF(VAR73=1,VAR97+0.06,VAR97);
DRAWTEXT_FIX(VAR50=1,0,0.8,0,366),COLORCYAN;
DRAWTEXT_FIX(VAR51=1,0,0.8,0,919),COLORCYAN;
DRAWTEXT_FIX(VAR52=1,0,0.8,0,1034),COLORCYAN;
DRAWTEXT_FIX(VAR53=1,0,0.8,0,921),COLORCYAN;
DRAWTEXT_FIX(VAR54=1,0,0.8,0,922),COLORCYAN;
DRAWTEXT_FIX(VAR55=1,0,0.8,0,923),COLORCYAN;
DRAWTEXT_FIX(VAR56=1,0,0.8,0,924),COLORCYAN;
DRAWTEXT_FIX(VAR57=1,0,0.8,0,373),COLORCYAN;
DRAWTEXT_FIX(VAR58=1,0,0.8,0,925),COLORCYAN;
DRAWTEXT_FIX(VAR59=1,0,0.8,0,926),COLORCYAN;
DRAWTEXT_FIX(VAR60=1,0,0.8,0,927),COLORCYAN;
DRAWTEXT_FIX(VAR61=1,0,0.8,0,377),COLORCYAN;
DRAWTEXT_FIX(VAR62=1,0,0.8,0,928),COLORCYAN;
DRAWTEXT_FIX(VAR63=1,0,0.8,0,929),COLORCYAN;
DRAWTEXT_FIX(VAR64=1,0,0.8,0,380),COLORCYAN;
DRAWTEXT_FIX(VAR65=1,0,0.8,0,381),COLORCYAN;
DRAWTEXT_FIX(VAR66,0,0.88,0,930),COLORCYAN;
DRAWTEXT_FIX(VAR67,0,0.88,0,931),COLORCYAN;
DRAWTEXT_FIX(VAR68,0,0.88,0,932),COLORCYAN;
DRAWTEXT_FIX(VAR69,0,0.88,0,933),COLORCYAN;
DRAWTEXT_FIX(VAR70,0,0.88,0,1035),COLORCYAN;
DRAWTEXT_FIX(VAR71,0,0.88,0,935),COLORCYAN;
DRAWTEXT_FIX(VAR72,0,0.88,0,936),COLORCYAN;
DRAWTEXT_FIX(VAR73,0,0.88,0,937),COLORCYAN;
VAR99:=(CLOSE*2+HIGH+LOW)/4;
VAR100:=EMA(VAR99,13)-EMA(VAR99,34);
VAR101:=EMA(VAR100,5);
VAR102:=(-2)*(VAR100-VAR101)*3.8;
VAR103:=2*(VAR100-VAR101)*3.8;
STICKLINE(VAR103>0,0,VAR103*10,3,0),COLORRED;
STICKLINE(VAR103<0,0,VAR103*10,3,0),COLORGREEN;
散户资金线:VAR102,COLORGREEN,LINETHICK2;
VAR104:=ATAN((散户资金线/REF(散户资金线,1)-1)*100)*180/3.1416;
主力资金线:VAR103,COLORYELLOW,LINETHICK2;
VAR105:=ATAN((主力资金线/REF(主力资金线,1)-1)*100)*180/3.1416;
弱势区:20,COLORGREEN,LINETHICK2;
强弱分水岭:50,COLORWHITE,LINETHICK2;
强势区:80,COLORRED,LINETHICK2;
风险区:95,COLORLICYAN,LINETHICK2;
VAR106:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
VAR107:=(1-7/100)*DMA(CLOSE,VAR106);
VAR108:=(1+7/100)*DMA(CLOSE,VAR106);
VAR109:=MA((LOW+HIGH+CLOSE)/3,5);
支撑:REFDATE(VAR107,DATE),NODRAW,COLORYELLOW;
阻力:REFDATE(VAR108,DATE),NODRAW,COLORYELLOW;
主力:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORRED,LINETHICK2;
走势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),DOTLINE,COLORYELLOW;
VAR110:=ATAN((走势/REF(走势,1)-1)*100)*180/3.1416;
主力筹码集中度:WINNER(CLOSE)*100,COLORLIMAGENTA;
VAR111:=ATAN((主力筹码集中度/REF(主力筹码集中度,1)-1)*100)*180/3.1416;
VAR112:=60;{WWW.GPXIAZAI.COM}
散户:100*(HHV(HIGH,VAR112)-CLOSE)/(HHV(HIGH,VAR112)-LLV(LOW,VAR112)),COLORGREEN,LINETHICK2;
散户筹码集中度:(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*100,COLORLICYAN;
VAR113:=ATAN((散户筹码集中度/REF(散户筹码集中度,1)-1)*100)*180/3.1416;
主力换手率:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;
主力筹码估算:EMA(WINNER(CLOSE)*70,3),NODRAW;
散户筹码估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;
散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
VAR114:=MA(主力筹码估算+散户筹码估算,13);
VAR115:=IF(VAR114>REF(VAR114,1),VAR114,DRAWNULL);
DRAWRECTREL(0,0,220,650,RGB(1,0,0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0,0,1036),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0,0,1037),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0,0,主力),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.08,0,1038),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.08,0,1037),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.08,0,走势),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.24,0,1039),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.2,0.24,0,1037),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.24,0,主力换手率),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.32,0,1040),COLORGRAY;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.32,0,1037),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.32,0,散户),COLORGRAY;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.4,0,1041),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.4,0,1042),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.4,0,支撑),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.48,0,1043),COLORLICYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.48,0,1042),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.48,0,阻力),COLORLICYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0,0,1044),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.2,0,0,1045),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0,0,主力筹码集中度),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.08,0,1046),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.2,0.08,0,1045),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.08,0,主力控盘比率),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.16,0,1047),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.2,0.16,0,1045),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.16,0,主力筹码估算),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.32,0,1048),COLORLICYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.2,0.32,0,1045),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.32,0,散户套牢比率),COLORLICYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.4,0,1049),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.2,0.4,0,1045),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.4,0,散户筹码集中度),COLORGREEN;
DRAWICON(CROSS(资金,散户筹码集中度),资金-2,30);
DRAWICON(CROSS(散户筹码集中度,资金),资金+4,39);
DRAWICON(CROSS(散户,资金),资金+4,35);
DRAWICON(CROSS(资金,散户),资金+4,34);
DRAWTEXT(CROSS(资金,散户筹码集中度) AND VAR4>60,散户筹码集中度,84),COLORYELLOW;
DRAWICON(CROSS(主力资金线,散户资金线),主力资金线+2,42);
DRAWICON(CROSS(散户资金线,主力资金线),散户资金线+2,43);
DRAWTEXT(CROSS(20,资金),24,235),COLORGREEN;
DRAWTEXT(CROSS(走势,50) AND CROSS(主力,50) AND CROSS(主力筹码集中度,50) AND VAR110>60 AND VAR105>60 AND VAR111>60,58,93),COLORYELLOW;
DRAWTEXT(CROSS(走势,20) AND CROSS(主力,20) AND CROSS(80,散户) AND VAR110>60 AND VAR105>60,18,1050),COLORYELLOW;
DRAWTEXT(CROSS(80,散户),86,1051),COLORRED;
DRAWTEXT(CROSS(散户,20),82,1052),COLORGREEN;
- 上一篇公式:箱体资金异动F 通达信副图指标 源码 贴图
- 下一篇公式:综合成交量 通达信副图指标 源码 贴图