通达信最新指标公式 分时T+0操作分时主图公式源码(2)
VAR26:=1.03;
VAR27:=VAR22>VAR23 AND VAR22>1.003 AND VAR23>VAR24 AND CLOSE>EXPMA(CLOSE,20) AND EXPMA(CLOSE,10)>EXPMA(CLOSE,20) AND EXPMA(CLOSE,20)>EXPMA(CLOSE,60);
DRAWICON(VAR22>VAR23 AND VAR23>VAR24 AND CLOSE>EXPMA(CLOSE,20) AND EXPMA(CLOSE,10)>EXPMA(CLOSE,20) AND EXPMA(CLOSE,20)>EXPMA(CLOSE,60) AND VAR22=HHV(VAR22,30) AND CROSS(VAR22,1.003),CLOSE,25);
DRAWTEXT(VAR22>VAR23 AND VAR23>VAR24 AND CLOSE>EXPMA(CLOSE,20) AND EXPMA(CLOSE,10)>EXPMA(CLOSE,20) AND EXPMA(CLOSE,20)>EXPMA(CLOSE,60) AND VAR22=HHV(VAR22,30) AND CROSS(VAR22,1.003),CLOSE*0.999,31),COLORYELLOW;
DRAWICON(CROSS(VAR22,1.02),CLOSE,26);
DRAWTEXT(CROSS(VAR22,1.02),CLOSE*0.999,32),COLORCYAN;
DRAWICON(CROSS(VAR22,1.04),CLOSE,24);
DRAWTEXT(CROSS(VAR22,1.04),CLOSE*0.999,33),COLORLIMAGENTA;
DRAWICON(CROSS(VAR24,VAR22),CLOSE,6);
DRAWTEXT(CROSS(VAR24,VAR22),CLOSE*0.9995,34),COLORGREEN;
DRAWICON(CROSS(VAR24,VAR23),CLOSE,6);
DRAWTEXT(CROSS(VAR24,VAR23),CLOSE*0.9995,35),COLORGREEN;
VAR28:=EMA(EMA(CLOSE,9),9);
VAR29:=(VAR28-REF(VAR28,1))/REF(VAR28,1)*500;
VAR30:=CROSS(VAR29,0);
VAR31:=IF(VAR30,5,0);
VAR32:=IF(VAR29>REF(VAR29,1) AND VAR29>0,VAR29,0);
VAR33:=100*WINNER(CLOSE*0.95);
VAR34:=IF(VAR29<REF(VAR29,1) AND VAR29>0,VAR29,0);
VAR35:=IF(VAR29<0,VAR29,0);
VAR36:=VAR32+VAR34;
VAR37:=-VAR35;
VAR38:=(SUM(VAR36,0)-SUM(VAR37,0))/20;
VAR39:=VOL/CLOSE/2;
VAR40:=SUM(IF(VAR39>100 AND CLOSE>REF(CLOSE,1),VAR39,0),0);
VAR41:=SUM(IF(VAR39>100 AND CLOSE<REF(CLOSE,1),VAR39,0),0);
VAR42:=SUM(IF(VAR39<100 AND CLOSE>REF(CLOSE,1),VAR39,0),0);
VAR43:=SUM(IF(VAR39<100 AND CLOSE<REF(CLOSE,1),VAR39,0),0);
VAR44:=VAR40+VAR41+VAR42+VAR43;
VAR45:=VAR40/VAR44*100;
VAR46:=VAR41/VAR44*100;
VAR47:=VAR45-VAR46;
VAR48:=VAR38>0.1 AND VAR47>0 AND REF(VAR47,1)<=0 AND VAR38+0.3;
DRAWICON(VAR48,LOW*0.995,13);
VAR49:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
VAR50:=EMA(VAR49,3);
VAR51:=EMA(EMA(CLOSE,13),13);
VAR52:=(VAR51-REF(VAR51,1))/REF(VAR51,1)*1000;
VAR53:=DYNAINFO(11);
VAR54:=(CLOSE-VAR53)/VAR53<(-0.03);
VAR55:=VAR52>REF(VAR52,1) AND VAR52<(-0.2);
VAR56:=CROSS(VAR49,VAR50) AND VAR49<(-0.3);
VAR57:=VAR54 AND VAR55 AND VAR56;
VAR58:=FILTER(VAR57,55);
DRAWICON(FILTER(VAR57,0),LOW,9);
VAR59:=CLOSE/DYNAINFO(3);
VAR60:=VOL/CAPITAL*100;
VAR61:=BARSSINCE(VOL>0)+1;
VAR62:=SUM(CLOSE*VOL,VAR61)/SUM(VOL,VAR61);
VAR63:=VAR59>1.01 AND VAR59<1.04;
VAR64:=VAR60>0.08 AND CROSS(CLOSE,VAR62) AND VAR63;
VAR65:=CAPITAL/100/10000<=10;
VAR66:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999;
VAR67:=VOL>1999;
VAR68:=VAR66>30;
VAR69:=EMA(CLOSE,5)+EMA(CLOSE,60);
VAR70:=EMA(VAR69,30);
VAR71:=REF(VAR59,1)<1.025 AND VAR59>1.025 AND VAR59<1.04;
VAR72:=VAR69/VAR70>0.99 AND VAR69/VAR70<1.015;
VAR73:=VAR65 AND (VAR71 AND VAR67 AND VAR68 AND VAR72);
VAR74:=VAR64 OR VAR73;
DRAWICON(VAR74,LOW*0.995,25);
DRAWTEXT(VAR74,LOW*0.988,36),COLORRED;
VAR75:=(EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100;
DRAWICON(CROSS(EXPMA(VAR75,200),EXPMA(VAR75,120)-0.0004),LOW/1.008,35);
DRAWICON(CROSS(EXPMA(VAR75,120)-0.0004,EXPMA(VAR75,200)),LOW/1.008,34);
VAR76:=DYNAINFO(3);
VAR77:=DYNAINFO(5);
VAR78:=DYNAINFO(6);
VAR444:MA(REF(HHV(CLOSE,30),1),2),DOTLINE,COLORGREEN;
VAR555:MA(REF(LLV(CLOSE,30),1),2),DOTLINE,COLORMAGENTA;
VAR79:=MAX(VAR76,VAR77);
VAR80:=MIN(VAR76,VAR78);
VAR81:=VAR79-VAR80;
VAR82:=VAR80+VAR81*0.875;
VAR83:=VAR80+VAR81*0.0625;
VAR84:=CROSS(VAR83,CLOSE);
VAR85:=LONGCROSS(VAR83,CLOSE,2);
VAR86:=LONGCROSS(CLOSE,VAR82,2);
DRAWICON(VAR85,VAR83,38);(股票知识网zhishi.southmoney.com)