通达信绝密资金监控主图指标 源码

 

贴图

{资金监控-绝密}
 {主图}
年:=YEAR,NODRAW;
月:=MONTH,NODRAW;
星期:=WEEKDAY,NODRAW;
日1:=DATETODAY(DATE);
上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);
自然日:=日1-DATETODAY(上市日)+1;
 ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)
 OR TOTALBARSCOUNT-CURRBARSCOUNT=0;


 DRAWKLINE(H,O,L,C);
 ZKP:=IF(C>REF(C,1),REF(C,1),DRAWNULL);
 ZSP:=IF(C>REF(C,1),C,DRAWNULL);
 DKP:=IF(C<=REF(C,1),REF(C,1),DRAWNULL);
 DSP:=IF(C<=REF(C,1),C,DRAWNULL);
 DRAWKLINE(H,DKP,L,DSP);
 STICKLINE(C<=REF(C,1),DKP,DSP,3.05,0),COLORBLUE;
 STICKLINE(C<=REF(C,1),DKP,DSP,2.2,0),COLORFF7700;
 STICKLINE(C<=REF(C,1),DKP,DSP,1.5,0),COLORFF9900;
 STICKLINE(C<=REF(C,1),DKP,DSP,0.5,0),COLORFFBB00;
 DRAWKLINE(H,ZKP,L,ZSP);
 STICKLINE(C>REF(C,1),ZKP,ZSP,3.05,0),COLOR000099;
 STICKLINE(C>REF(C,1),ZKP,ZSP,2.2,0),COLOR0000CC;
 STICKLINE(C>REF(C,1),ZKP,ZSP,1.5,0),COLOR0000FF;
 STICKLINE(C>REF(C,1),ZKP,ZSP,0.5,0),COLORCC66FF;
 STICKLINE(V/REF(V,1)>2 AND CLOSE>=OPEN,ZKP,ZSP,1,0),COLORYELLOW;

 M5:MA(C,5),COLORWHITE;
 M10:MA(C,10),COLORYELLOW;
 M20:MA(C,20),COLORCYAN;
 M60:MA(C,60),COLORGREEN,LINETHICK2;
 M120:MA(C,120),COLORRED,LINETHICK2;

 TY:=C;
 A1:=REF(TY,10)=HHV(TY,2*10+1);
 B1:=FILTER(A1,10);
 C1:=BACKSET(B1,10+1);
 HD:=FILTER(C1,10);
 A2:=REF(TY,10)=LLV(TY,2*10+1);
 B2:=FILTER(A2,10);
 C2:=BACKSET(B2,10+1);
 LD:=FILTER(C2,10);
前期高位:REF(C,BARSLAST(HD)),COLOR8000FF,POINTDOT;
 STICKLINE(C,前期高位,前期高位,8,0),COLOR8000FF;
 JRH:=HHV(C,2);
 JRL:=LLV(C,2);
 VAR01:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
 VAR02:=(REF(VAR01,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR03:=(REF(VAR02,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR04:=(REF(VAR03,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR05:=(REF(VAR04,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR06:=(REF(VAR05,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR07:=(REF(VAR06,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR08:=(REF(VAR07,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR09:=(REF(VAR08,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VARA:=(REF(VAR09,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)); {GUPIAOFF.COM}
 VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR010:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR011:=(REF(VAR010,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR012:=(REF(VAR011,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR013:=(REF(VAR012,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR014:=(REF(VAR013,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR015:=(REF(VAR014,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR016:=(REF(VAR015,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR017:=(REF(VAR016,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR018:=(REF(VAR017,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR019:=((REF(VARD OR VARE OR VARF OR VAR010 OR VAR011 OR VAR012 OR VAR013 OR VAR014 OR VAR015 OR VAR016 OR VAR017 OR VAR018,1)) AND VAR01);
 VAR1A:=((REF(VAR01 OR VAR02 OR VAR03 OR VAR04 OR VAR05 OR VAR06 OR VAR07 OR VAR08 OR VAR09 OR VARA OR VARB OR VARC,1)) AND VARD);
红色持股:=VAR01 OR VAR02 OR VAR03 OR VAR04 OR VAR05 OR VAR06 OR VAR07 OR VAR08 OR VAR09 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;
离场:=IF(红色持股,JRL,DRAWNULL);
明离场价:=离场,COLORFF99FF,NODRAW;
青色观望:=VARD OR VARE OR VARF OR VAR010 OR VAR011 OR VAR012 OR VAR013 OR VAR014 OR VAR015 OR VAR016 OR VAR017 OR VAR018,COLORFFFF00,NODRAW;
进:=IF(青色观望,JRH,DRAWNULL);
今离场价:REF(离场,1),COLOR0000FF,NODRAW;
明进场价:=进,COLOR33AACC,NODRAW;
今进场价:REF(明进场价,1),COLORGREEN,NODRAW;
上涨家数:INDEXADV,COLOR0080FF,NODRAW;
下跌家数:INDEXDEC,COLORGREEN,NODRAW;

 DRAWTEXT_FIX(C>0,0.0,0.0,0,STRCAT('所属行业:',HYBLOCK)),COLORYELLOW;
 DRAWTEXT_FIX(C>0,0.10,0.0,0,STRCAT('所属地区:',DYBLOCK)),COLORYELLOW;
 DRAWTEXT_FIX(C>0,0.20,0.0,0,STRCAT('主营业务:',EXTERNSTR(0,6))),COLORYELLOW;
 DRAWTEXT_FIX(C>0,0.0,0.05,0,STRCAT('业绩预报:',EXTERNSTR(0,3))),COLORYELLOW;
 DRAWTEXT_FIX(C>0,0.00,0.10,0,STRCAT('主题投资:',EXTERNSTR(0,7))),COLORYELLOW;
 DRAWTEXT_FIX(C>0,0.0,0.15,0,STRCAT('解禁日期:',EXTERNSTR(0,8))),COLORYELLOW;
 DRAWTEXT_FIX(C>0,0.00,0.20,0,STRCAT('千股千评:',EXTERNSTR(0,1))),COLOR00FFFF;
 {DRAWTEXT_FIX(C>0,0.00,0.25,0,STRCAT('智能诊股:',EXTERNSTR(0,2))),COLOR00FFFF;}

 VAR111:=ZIG(3,13);
 STICKLINE((REF(VAR111,2) < REF(VAR111,1)) AND (VAR111 < REF(VAR111,1)),CLOSE,OPEN,3,0),COLOR66FF00;
 DRAWTEXT_FIX(STICKLINE((REF(VAR111,2) < REF(VAR111,1)) AND (VAR111 < REF(VAR111,1)),CLOSE,OPEN,5,0),0.00,0.11,0,''),COLOR00FF00,LINETHICK1;


 VARK1:=(HIGH+LOW+CLOSE*2)/4;
 VARK2:=EMA(VARK1,21);
 VARK3:=STD(VARK1,21);
 VARK4:=((VARK1-VARK2)/VARK3*100+200)/4;
 VARK5:=(EMA(VARK4,89)-25)*1.56;
 VARK6:=EMA(VARK5,5)*1.22;
 VARK7:=EMA(VARK6,3);
 VARK8:=3*VARK6-2*VARK7;
 VARK1A:=IF(CROSS(VARK6,VARK8) AND CROSS(VARK7,VARK8) AND CROSS(VARK7,VARK6),1,0);
 VARK1B:=EMA(CLOSE,3)-EMA(CLOSE,89);
 VARK1C:=EMA(VARK1B,21);
 VARK1D:=(VARK1B-VARK1C)*10;
 VARK1F:=POW(VARK1D,3)*0.1+POW(VARK1D,2);
拉升资金:=IF(VARK1D>0.015,VARK1F,0)/45;
 VARK9:=EMA(CLOSE,2)-EMA(CLOSE,55);
 VARK10:=EMA(VARK9,13);
 VARK11:=2*(VARK9-VARK10);
主力资金:=POW(VARK11,3)*0.1+POW(VARK11,1);
 DRAWICON(CROSS(主力资金,0) AND CROSS(拉升资金,0.01)AND VOL/MA(REF(VOL,1),5)>2,L-0.25,23);


超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=-L2_AMO(0,3)/10000.0;
大S:=-L2_AMO(1,3)/10000.0;
中S:=-L2_AMO(2,3)/10000.0;
小S:=-L2_AMO(3,3)/10000.0;
净流入:=(超B+大B+中B+小B)+(超S+大S+中S+小S);
中单:=中B+中S;
大宗净流入:=(超B+大B)+(超S+大S);
三日大宗:=SUM(大宗净流入,3);
十日大宗:=SUM(大宗净流入,10);
超大单:=(超B)+(超S);
大单:=(大B)+(大S);
小单:=(小B)+(小S);
大宗进:=(超B)+(大B);
大宗出:=(超S)+(大S);
非大宗进:=(中B)+(小B);
非大宗出:=(中S)+(小S);
近3日流向:=SUM(净流入,3);
近10日流向:=SUM(净流入,10);
主力买力度:=LARGEINTRDVOL*100/VOL;
主力卖力度:=LARGEOUTTRDVOL*100/VOL;
 DRAWRECTREL(0,450,264,999.4,IF(120,RGB(10,0,0),0));

 AAB:=CONST(MAX(ABS(超大单),MAX(ABS(大单),MAX(ABS(中单),ABS(小单)))))*1.5,NODRAW;
 DRAWRECTREL(2,CONST(945-(ABS(超大单)*500/AAB)),37,945,IF(CONST(超大单)>0,RGB(255,0,255),RGB(0,50,0)));
 DRAWRECTREL(39,CONST(945-(ABS(大单)*500/AAB)),74,945,IF(CONST(大单)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWRECTREL(76,CONST(945-(ABS(中单)*500/AAB)),111,945,IF(CONST(中单)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWRECTREL(113,CONST(945-(ABS(小单)*500/AAB)),148,945,IF(CONST(小单)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.006,0.9,0,INTPART(超大单)),COLORWHITE;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.043,0.9,0,INTPART(大单)),COLORWHITE;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.080,0.9,0,INTPART(中单)),COLORWHITE;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.117,0.9,0,INTPART(小单)),COLORWHITE;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.008,1,0,'超大单'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.048,1,0,'大单'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.086,1,0,'中单'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.120,1,0,'小单'),COLORYELLOW;

 AAC:=CONST(MAX(ABS(净流入),MAX(ABS(近3日流向),ABS(近10日流向))))*1.5,NODRAW;
 DRAWRECTREL(153,CONST(945-(ABS(净流入)*500/AAC)),188,945,IF(CONST(净流入)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWRECTREL(190,CONST(945-(ABS(近3日流向)*500/AAC)),225,945,IF(CONST(近3日流向)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWRECTREL(227,CONST(945-(ABS(近10日流向)*500/AAC)),262,945,IF(CONST(近10日流向)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.155,0.9,0,INTPART(净流入)),COLORWHITE;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.192,0.9,0,INTPART(近3日流向)),COLORWHITE;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.229,0.9,0,INTPART(近10日流向)),COLORWHITE;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.157,1,0,'净 流 入'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.192,1,0,'三日流向'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.228,1,0,'十日流向'),COLORYELLOW;

 DDZ:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);
 DDY:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);
 DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*100/CAPITAL;
 DRAWRECTREL(2,455,88,515,IF(CONST(DDZ)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWRECTREL(89,455,175,515,IF(CONST(DDY)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWRECTREL(176,455,262,515,IF(CONST(DDX)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWTEXT_FIX(1,0.005,0.455,0,STRCAT('大单差分:',CON2STR(DDZ,2))),COLORWHITE;
 DRAWTEXT_FIX(1,0.094,0.455,0,STRCAT('涨跌动因:',CON2STR(DDY,2))),COLORWHITE;
 DRAWTEXT_FIX(1,0.181,0.455,0,STRCAT('大单动向:',CON2STR(DDX,2))),COLORWHITE;

 T1Z:=IF (DDZ>0 AND REF(DDZ,1)<0,1,0);
 T2Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)<0,2,T1Z);
 T3Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)<0,3,T2Z);
 T4Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)<0,4,T3Z);
 T5Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)<0,5,T4Z);
 T6Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)<0,6,T5Z);
 T7Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)<0,7,T6Z);
 T8Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)>0 AND REF(DDZ,8)<0,8,T7Z);
 T9Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)>0 AND REF(DDZ,8)>0 AND REF(DDZ,9)<0,9,T8Z);
 TZ:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)>0 AND REF(DDZ,8)>0 AND REF(DDZ,9)>0,10,T9Z);
 DRAWTEXT_FIX(1,0.064,0.455,0,STRCAT(STRCAT(' ',CON2STR(TZ,0)),' [天] ')),COLORWHITE;

 T11:=IF (DDY>0 AND REF(DDY,1)<0,1,0);
 T21:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)<0,2,T11);
 T31:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)<0,3,T21);
 T41:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)<0,4,T31);
 T51:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)<0,5,T41);
 T61:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)<0,6,T51);
 T71:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)<0,7,T61);
 T81:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)>0 AND REF(DDY,8)<0,8,T71);
 T91:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)>0 AND REF(DDY,8)>0 AND REF(DDY,9)<0,9,T81);
 TY1:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)>0 AND REF(DDY,8)>0 AND REF(DDY,9)>0,10,T91);
 DRAWTEXT_FIX(1,0.151,0.455,0,STRCAT(STRCAT(' ',CON2STR(TY1,0)),' [天] ')),COLORWHITE;

 T1:=IF (DDX>0 AND REF(DDX,1)<0,1,0);
 T2:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)<0,2,T1);
 T3:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)<0,3,T2);
 T4:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)<0,4,T3);
 T5:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)<0,5,T4);
 T6:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)<0,6,T5);
 T7:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)<0,7,T6);
 T8:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)>0 AND REF(DDX,8)<0,8,T7);
 T9:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)>0 AND REF(DDX,8)>0 AND REF(DDX,9)<0,9,T8);
 T:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)>0 AND REF(DDX,8)>0 AND REF(DDX,9)>0,10,T9);
 DRAWTEXT_FIX(1,0.238,0.455,0,STRCAT(STRCAT(' ',CON2STR(T,0)),' [天] ')),COLORWHITE;

主力净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL);
 TMP:=LARGEINTRDVOL-LARGEOUTTRDVOL;
主力活跃度:=(LARGEINTRDVOL+LARGEOUTTRDVOL)*10000/(2*FINANCE(7));
主力资金线:=(L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1))/10000.0;
 DRAWRECTREL(2,520,88,580,IF(CONST(主力净买量)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWRECTREL(89,520,175,580,IF(CONST(TMP)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWRECTREL(176,520,262,580,IF(CONST(主力资金线)>0,RGB(192,17,27),RGB(0,50,0)));
 DRAWTEXT_FIX(1,0.005,0.525,0,STRCAT('主力净买量:',CON2STR(主力净买量,2))),COLORWHITE;
 DRAWTEXT_FIX(1,0.094,0.525,0,STRCAT('主力活跃度:',CON2STR(主力活跃度,2))),COLORWHITE;
 DRAWTEXT_FIX(1,0.181,0.525,0,STRCAT('主力资金线:',CON2STR(主力资金线,2))),COLORWHITE;


 DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
 DEA:=EMA(DIF,9);
 MACD:=(DIF-DEA)*2;
 VAR113:=HHV(HIGH,60);
 VAR114:=LLV(LOW,30);
 VAR115:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
 VAR116:=(VAR113+VAR114+VAR115)/3;
 VAR117:=EMA(VAR116,5);
 K01:=EMA(VAR117,5)*2, COLORFF00FF;
 D01:=EMA(K01,5), COLORWHITE;
 J01:=K01*3-D01*2, COLORYELLOW;
 ENTERLONG:=CROSS(K01,D01);
 EXITLONG:=CROSS(D01,K01);
 B01:=(DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))
 AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),L*0.98,1))*D01*2/3;
 B02:=IF(TROUGHBARS(3,15,1)=1 AND HIGH>LOW+0.01,20,0);
必买:=(B01 AND B02) AND 净流入>0;
必卖:=IF(PEAKBARS(3,15,1)=1,80,100),COLORGREEN,LINETHICK1;
 QQ:=必卖=80;
 B03:=((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)));
 V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
 V2:=EMA(V1,300);
 V3:=(CLOSE-(LOW,8))/((HIGH,8)-LLV(LOW,8))*100;
 V4:=SMA(V3,2,1),NODRAW;
 V5:=SMA(V4,2,1),NODRAW;
 V6:=CLOSE/REF(CLOSE,3)>=1.1;
 V7:=BACKSET(V6,3);
大涨:=(V7 AND COUNT(V7,3)=1);
 DRAWICON(必买,L-0.16,11);
 DRAWICON(大涨 AND 必买,L-0.16,9);
 DRAWICON(大涨,L-0.18,1);
 DRAWICON(QQ,H+0.1,6);




来函数检测结果如下
该公式包含未来函数:ZIG
该公式包含未来函数:PEAK
该公式包含未来函数:PEAKBARS
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:BACKSET
该公式包含未来函数:CAPITAL
该公式包含未来函数:FINANCE
该公式包含未来函数:DVOL

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

年赋值:年份,NODRAW
月赋值:月份,NODRAW
星期赋值:星期,NODRAW
日1赋值:日期对应的转换天数
上市日赋值:总的周期数-到最后交易的周期日前的日期
自然日赋值:日1-上市日对应的转换天数+1
ZB赋值:(自然日-1日前的自然日)不等于星期-1日前的星期 OR 总的周期数-到最后交易的周期=0
K线
ZKP赋值:如果收盘价>1日前的收盘价,返回1日前的收盘价,否则返回无效数
ZSP赋值:如果收盘价>1日前的收盘价,返回收盘价,否则返回无效数
DKP赋值:如果收盘价<=1日前的收盘价,返回1日前的收盘价,否则返回无效数
DSP赋值:如果收盘价<=1日前的收盘价,返回收盘价,否则返回无效数
K线
当满足条件收盘价<=1日前的收盘价时,在DKP和DSP位置之间画柱状线,宽度为3.05,0不为0则画空心柱.,画蓝色
当满足条件收盘价<=1日前的收盘价时,在DKP和DSP位置之间画柱状线,宽度为2.2,0不为0则画空心柱.,COLORFF7700
当满足条件收盘价<=1日前的收盘价时,在DKP和DSP位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLORFF9900
当满足条件收盘价<=1日前的收盘价时,在DKP和DSP位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLORFFBB00
K线
当满足条件收盘价>1日前的收盘价时,在ZKP和ZSP位置之间画柱状线,宽度为3.05,0不为0则画空心柱.,COLOR000099
当满足条件收盘价>1日前的收盘价时,在ZKP和ZSP位置之间画柱状线,宽度为2.2,0不为0则画空心柱.,COLOR0000CC
当满足条件收盘价>1日前的收盘价时,在ZKP和ZSP位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR0000FF
当满足条件收盘价>1日前的收盘价时,在ZKP和ZSP位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,COLORCC66FF
当满足条件成交量(手)/1日前的成交量(手)>2ANDCLOSE>=开盘价时,在ZKP和ZSP位置之间画柱状线,宽度为1,0不为0则画空心柱.,画黄色
输出 M5:收盘价的5日简单移动平均,画白色
输出 M10:收盘价的10日简单移动平均,画黄色
输出 M20:收盘价的20日简单移动平均,画青色
输出 M60:收盘价的60日简单移动平均,画绿色,线宽为2
输出 M120:收盘价的120日简单移动平均,画红色,线宽为2
TY赋值:收盘价
A1赋值:10日前的TY=2*10+1日内TY的最高值
B1赋值:A1的10日过滤
C1赋值:若B1则将最近10+1周期置为1
HD赋值:C1的10日过滤
A2赋值:10日前的TY=2*10+1日内TY的最低值
B2赋值:A2的10日过滤
C2赋值:若B2则将最近10+1周期置为1
LD赋值:C2的10日过滤
输出前期高位:上次HD距今天数日前的收盘价,COLOR8000FF,POINTDOT
当满足条件收盘价时,在前期高位和前期高位位置之间画柱状线,宽度为8,0不为0则画空心柱.,COLOR8000FF
JRH赋值:2日内收盘价的最高值
JRL赋值:2日内收盘价的最低值
VAR01赋值:(收盘价>1日前的收盘价 AND 收盘价>2日前的收盘价)
VAR02赋值:(1日前的VAR01 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VAR03赋值:(1日前的VAR02 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VAR04赋值:(1日前的VAR03 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VAR05赋值:(1日前的VAR04 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VAR06赋值:(1日前的VAR05 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VAR07赋值:(1日前的VAR06 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VAR08赋值:(1日前的VAR07 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VAR09赋值:(1日前的VAR08 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VARA赋值:(1日前的VAR09 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VARB赋值:(1日前的VARA AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VARC赋值:(1日前的VARB AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VARD赋值:(收盘价<1日前的收盘价 AND 收盘价<2日前的收盘价)
VARE赋值:(1日前的VARD AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VARF赋值:(1日前的VARE AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VAR010赋值:(1日前的VARF AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VAR011赋值:(1日前的VAR010 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VAR012赋值:(1日前的VAR011 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VAR013赋值:(1日前的VAR012 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VAR014赋值:(1日前的VAR013 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VAR015赋值:(1日前的VAR014 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VAR016赋值:(1日前的VAR015 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VAR017赋值:(1日前的VAR016 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价)
VAR018赋值:(1日前的VAR017 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价)
VAR019赋值:((1日前的VARDORVAREORVARFORVAR010ORVAR011ORVAR012ORVAR013ORVAR014ORVAR015ORVAR016ORVAR017ORVAR018) AND VAR01)
VAR1A赋值:((1日前的VAR01ORVAR02ORVAR03ORVAR04ORVAR05ORVAR06ORVAR07ORVAR08ORVAR09ORVARAORVARBORVARC) AND VARD)
红色持股赋值:VAR01 OR VAR02 OR VAR03 OR VAR04 OR VAR05 OR VAR06 OR VAR07 OR VAR08 OR VAR09 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW
离场赋值:如果红色持股,返回JRL,否则返回无效数
明离场价赋值:离场,COLORFF99FF,NODRAW
青色观望赋值:VARD OR VARE OR VARF OR VAR010 OR VAR011 OR VAR012 OR VAR013 OR VAR014 OR VAR015 OR VAR016 OR VAR017 OR VAR018,COLORFFFF00,NODRAW
进赋值:如果青色观望,返回JRH,否则返回无效数
输出今离场价:1日前的离场,COLOR0000FF,NODRAW
明进场价赋值:进,COLOR33AACC,NODRAW
输出 今进场价:1日前的明进场价,画绿色,NODRAW
输出上涨家数:大盘的上涨家数,COLOR0080FF,NODRAW
输出下跌家数:大盘的下跌家数,画绿色,NODRAW
当满足条件收盘价>0时,在横轴0.0纵轴0.0位置书写文字,画黄色
当满足条件收盘价>0时,在横轴0.10纵轴0.0位置书写文字,画黄色
当满足条件收盘价>0时,在横轴0.20纵轴0.0位置书写文字,画黄色
当满足条件收盘价>0时,在横轴0.0纵轴0.05位置书写文字,画黄色
当满足条件收盘价>0时,在横轴0.00纵轴0.10位置书写文字,画黄色
当满足条件收盘价>0时,在横轴0.0纵轴0.15位置书写文字,画黄色
当满足条件收盘价>0时,在横轴0.00纵轴0.20位置书写文字,COLOR00FFFF
VAR111赋值:收盘价13%的之字转向
当满足条件(2日前的VAR111<1日前的VAR111)AND(VAR111<1日前的VAR111)时,在收盘价和开盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR66FF00
当满足条件当满足条件(2日前的VAR111<1日前的VAR111)AND(VAR111<1日前的VAR111)时,在收盘价和开盘价位置之间画柱状线,宽度为5,0不为0则画空心柱.时,在横轴0.00纵轴0.11位置书写文字,COLOR00FF00,线宽为1
VARK1赋值:(最高价+最低价+收盘价*2)/4
VARK2赋值:VARK1的21日指数移动平均
VARK3赋值:VARK1的21日估算标准差
VARK4赋值:((VARK1-VARK2)/VARK3*100+200)/4
VARK5赋值:(VARK4的89日指数移动平均-25)*1.56
VARK6赋值:VARK5的5日指数移动平均*1.22
VARK7赋值:VARK6的3日指数移动平均
VARK8赋值:3*VARK6-2*VARK7
VARK1A赋值:如果VARK6上穿VARK8ANDCROSS(VARK7,VARK8)ANDCROSS(VARK7,VARK6),返回1,否则返回0
VARK1B赋值:收盘价的3日指数移动平均-收盘价的89日指数移动平均
VARK1C赋值:VARK1B的21日指数移动平均
VARK1D赋值:(VARK1B-VARK1C)*10
VARK1F赋值:VARK1D的3乘幂*0.1+VARK1D的2乘幂
拉升资金赋值:如果VARK1D>0.015,返回VARK1F,否则返回0/45
VARK9赋值:收盘价的2日指数移动平均-收盘价的55日指数移动平均
VARK10赋值:VARK9的13日指数移动平均
VARK11赋值:2*(VARK9-VARK10)
主力资金赋值:VARK11的3乘幂*0.1+VARK11的1乘幂
当满足条件主力资金上穿0ANDCROSS(拉升资金,0.01)ANDVOL/1日前的成交量(手)的5日简单移动平均>2时,在最低价-0.25位置画23号图标
超B赋值:成交额分档/10000.0
大B赋值:成交额分档/10000.0
中B赋值:成交额分档/10000.0
小B赋值:成交额分档/10000.0
超S赋值:-成交额分档/10000.0
大S赋值:-成交额分档/10000.0
中S赋值:-成交额分档/10000.0
小S赋值:-成交额分档/10000.0
净流入赋值:(超B+大B+中B+小B)+(超S+大S+中S+小S)
中单赋值:中B+中S
大宗净流入赋值:(超B+大B)+(超S+大S)
三日大宗赋值:大宗净流入的3日累和
十日大宗赋值:大宗净流入的10日累和
超大单赋值:(超B)+(超S)
大单赋值:(大B)+(大S)
小单赋值:(小B)+(小S)
大宗进赋值:(超B)+(大B)
大宗出赋值:(超S)+(大S)
非大宗进赋值:(中B)+(小B)
非大宗出赋值:(中S)+(小S)
近3日流向赋值:净流入的3日累和
近10日流向赋值:净流入的10日累和
主力买力度赋值:逐笔买入大单成交量*100/成交量(手)
主力卖力度赋值:逐笔卖出大单成交量*100/成交量(手)
相对位置上画矩形
AAB赋值:超大单的绝对值和大单的绝对值和中单的绝对值和小单的绝对值的较大值的较大值的较大值的最后一日取值设为常数*1.5,NODRAW
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
当满足条件到最后交易的周期=1时,在横轴0.006纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.043纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.080纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.117纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.008纵轴1位置书写文字,画黄色
当满足条件到最后交易的周期=1时,在横轴0.048纵轴1位置书写文字,画黄色
当满足条件到最后交易的周期=1时,在横轴0.086纵轴1位置书写文字,画黄色
当满足条件到最后交易的周期=1时,在横轴0.120纵轴1位置书写文字,画黄色
AAC赋值:净流入的绝对值和近3日流向的绝对值和近10日流向的绝对值的较大值的较大值的最后一日取值设为常数*1.5,NODRAW
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
当满足条件到最后交易的周期=1时,在横轴0.155纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.192纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.229纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.157纵轴1位置书写文字,画黄色
当满足条件到最后交易的周期=1时,在横轴0.192纵轴1位置书写文字,画黄色
当满足条件到最后交易的周期=1时,在横轴0.228纵轴1位置书写文字,画黄色
DDZ赋值:如果总成交单数>0,返回(逐笔买入大单成交单数-逐笔卖出大单成交单数)/总成交单数*100,否则返回0
DDY赋值:如果总成交单数>0,返回(逐笔卖出成交单数-逐笔买入成交单数)*100/总成交单数,否则返回0
DDX赋值:(逐笔买入大单成交量-逐笔卖出大单成交量)*100/当前流通股本(手)
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
当满足条件1时,在横轴0.005纵轴0.455位置书写文字,画白色
当满足条件1时,在横轴0.094纵轴0.455位置书写文字,画白色
当满足条件1时,在横轴0.181纵轴0.455位置书写文字,画白色
T1Z赋值:如果DDZ>0ANDREF(DDZ,1)<0,返回1,否则返回0
T2Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)<0,返回2,否则返回T1Z
T3Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)<0,返回3,否则返回T2Z
T4Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)<0,返回4,否则返回T3Z
T5Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)<0,返回5,否则返回T4Z
T6Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)<0,返回6,否则返回T5Z
T7Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)>0ANDREF(DDZ,7)<0,返回7,否则返回T6Z
T8Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)>0ANDREF(DDZ,7)>0ANDREF(DDZ,8)<0,返回8,否则返回T7Z
T9Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)>0ANDREF(DDZ,7)>0ANDREF(DDZ,8)>0ANDREF(DDZ,9)<0,返回9,否则返回T8Z
TZ赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)>0ANDREF(DDZ,7)>0ANDREF(DDZ,8)>0ANDREF(DDZ,9)>0,返回10,否则返回T9Z
当满足条件1时,在横轴0.064纵轴0.455位置书写文字,画白色
T11赋值:如果DDY>0ANDREF(DDY,1)<0,返回1,否则返回0
T21赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)<0,返回2,否则返回T11
T31赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)<0,返回3,否则返回T21
T41赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)<0,返回4,否则返回T31
T51赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)<0,返回5,否则返回T41
T61赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)>0ANDREF(DDY,6)<0,返回6,否则返回T51
T71赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)>0ANDREF(DDY,6)>0ANDREF(DDY,7)<0,返回7,否则返回T61
T81赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)>0ANDREF(DDY,6)>0ANDREF(DDY,7)>0ANDREF(DDY,8)<0,返回8,否则返回T71
T91赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)>0ANDREF(DDY,6)>0ANDREF(DDY,7)>0ANDREF(DDY,8)>0ANDREF(DDY,9)<0,返回9,否则返回T81
TY1赋值:如果涨跌动因>0ANDREF(涨跌动因,1)>0ANDREF(涨跌动因,2)>0ANDREF(涨跌动因,3)>0ANDREF(涨跌动因,4)>0ANDREF(涨跌动因,5)>0ANDREF(涨跌动因,6)>0ANDREF(涨跌动因,7)>0ANDREF(涨跌动因,8)>0ANDREF(涨跌动因,9)>0,返回10,否则返回T91
当满足条件1时,在横轴0.151纵轴0.455位置书写文字,画白色
T1赋值:如果大单动向>0ANDREF(大单动向,1)<0,返回1,否则返回0
T2赋值:如果大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)<0,返回2,否则返回T1
T3赋值:如果大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)<0,返回3,否则返回T2
T4赋值:如果大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)<0,返回4,否则返回T3
T5赋值:如果大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)<0,返回5,否则返回T4
T6赋值:如果大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)<0,返回6,否则返回T5
T7赋值:如果大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)<0,返回7,否则返回T6
T8赋值:如果大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)<0,返回8,否则返回T7
T9赋值:如果大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)>0ANDREF(大单动向,9)<0,返回9,否则返回T8
T赋值:如果大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)>0ANDREF(大单动向,9)>0,返回10,否则返回T9
当满足条件1时,在横轴0.238纵轴0.455位置书写文字,画白色
主力净买量赋值:(逐笔买入大单成交量-逐笔卖出大单成交量)
TMP赋值:逐笔买入大单成交量-逐笔卖出大单成交量
主力活跃度赋值:(逐笔买入大单成交量+逐笔卖出大单成交量)*10000/(2*流通股本(股))
主力资金线赋值:(成交额分档+成交额分档-成交额分档-成交额分档)/10000.0
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
当满足条件1时,在横轴0.005纵轴0.525位置书写文字,画白色
当满足条件1时,在横轴0.094纵轴0.525位置书写文字,画白色
当满足条件1时,在横轴0.181纵轴0.525位置书写文字,画白色
DIF赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均
DEA赋值:DIF的9日指数移动平均
MACD赋值:(DIF-DEA)*2
VAR113赋值:60日内最高价的最高值
VAR114赋值:30日内最低价的最低值
VAR115赋值:(收盘价-收盘价的32日简单移动平均)/收盘价的32日简单移动平均*100
VAR116赋值:(VAR113+VAR114+VAR115)/3
VAR117赋值:VAR116的5日指数移动平均
K01赋值:VAR117的5日指数移动平均*2, COLORFF00FF
D01赋值:K01的5日指数移动平均, 画白色
J01赋值:K01*3-D01*2, 画黄色
ENTERLONG赋值:K01上穿D01
EXITLONG赋值:D01上穿K01
B01赋值:(当满足条件(收盘价5%的之字转向>1日前的收盘价5%的之字转向)AND(1日前的收盘价5%的之字转向<=2日前的收盘价5%的之字转向)AND(2日前的收盘价5%的之字转向<=3日前的收盘价5%的之字转向)时,在最低价*0.98位置画1号图标)*D01*2/3
B02赋值:如果收盘价15%之字转向的前1个波谷位置=1ANDHIGH>最低价+0.01,返回20,否则返回0
必买赋值:(B01 AND B02) AND 净流入>0
必卖赋值:如果收盘价15%之字转向的前1个波峰位置=1,返回80,否则返回100,画绿色,线宽为1
QQ赋值:必卖=80
B03赋值:((收盘价5%的之字转向>1日前的收盘价5%的之字转向) AND (1日前的收盘价5%的之字转向<=2日前的收盘价5%的之字转向) AND (2日前的收盘价5%的之字转向<=3日前的收盘价5%的之字转向))
V1赋值:收盘价的60日指数移动平均-收盘价的300日指数移动平均
V2赋值:V1的300日指数移动平均
V3赋值:(收盘价-(最低价,8))/((最高价,8)-8日内最低价的最低值)*100
V4赋值:V3的2日[1日权重]移动平均,NODRAW
V5赋值:V4的2日[1日权重]移动平均,NODRAW
V6赋值:收盘价/3日前的收盘价>=1.1
V7赋值:若V6则将最近3周期置为1
大涨赋值:(V7 AND 统计3日中满足V7的天数=1)
当满足条件必买时,在最低价-0.16位置画11号图标
当满足条件大涨AND必买时,在最低价-0.16位置画9号图标
当满足条件大涨时,在最低价-0.18位置画1号图标
当满足条件QQ时,在最高价+0.1位置画6号图标

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图