1、1 通信达顶级指标公式源码放送大单动向涨跌动因大单分差动力线指标通信达顶级指标公式源码放送 大单动向 涨跌动因 大单分差 动力线指标副图 大单动向 DDX JJ:=(OPEN+HIGH+LOW+CLOSE)/4; AA:=IF(BETWEEN(C,JJ,H) OR C=O,VOL,0); BB:=IF(BETWEEN(C,JJ,L),VOL,0); CC:=IF(AA AND BB,0,VOL/3); DDX:10*(AA-(BB+CC)/IF(CAPITAL0,0,DDX,2,0 ),COLORBB22CC; STICKLINE(DDX=3,LINETHICK0; DRAWTEXT(预警,0
2、,),LINETHICK3,COLOR00FFFF; DRAWTEXT(C,1,大单动向),COLORFFFFFF; 大单动向:0.5.POINTDOT,COLORBLUE; 涨跌动因 DDY AA:=IF(BETWEEN(C,REF(C,1),H),VOL,0); BB:=IF(BETWEEN(C,REF(C,1),L),VOL,0); CC:=IF(AA AND BB,0,VOL/3); DDY:3*(AA-(BB+CC)/IF(CAPITAL0,0,DDY,2.5,0 ),COLORRED; STICKLINE(DDY3,LINETHICK0; DRAWTEXT(预警,0,),LINET
3、HICK3,COLOR00FFFF; DRAWTEXT(C0,0,涨跌动因),COLORFFFFFF; 涨跌动因:0.5,POINTDOT,COLORBLUE; 大单分差 DDZ INPUT:P1(170),P2(200); CC:=IF(CAPITAL1,INDEXV*0.618,VOL/3); H1:=VOL/CAPITAL*100; H2:=INDEXV/SUM(INDEXV,71)*100; HS:=IF(CAPITAL1,H2,H1); JJ:=IF(CAPITAL1,INDEXA/INDEXV/100,(OPEN+HIGH+LOW+CLOSE)/4); AA:=IF(BETWEEN
4、(CLOSE,JJ,HIGH) OR CLOSE=OPEN,VOL,0); BB:=IF(BETWEEN(CLOSE,JJ,LOW) OR CLOSEDDZ1,1,DDZ,DDZ1),COLOR0000FF; FILLRGN DRAWKLINE(DDZO,VAR1*(H-L),IF(CO,0-VAR1*(H-C)+(O-L),IF(CO,0-VAR1*(H-L),0-VOL/2);DLX:(买盘-(-卖盘)/量*换手,COLORAAFF3D,LINETHICK0;STICKLINE(买盘-(- 卖盘)/ 量*换手,DLX,0,2,0),VOLSTICK;DLX1:SUM(DLX,6),COLORYELLOW;DLX2:MA(DLX1,5);DLX3:MA(DLX1,10);