{麟龙分差}
P1:=3;
P2:=4;
CC:=IF(CAPITAL<1,INDEXV*0.618,VOL/3);
H1:=VOL/CAPITAL*100;
H2:=INDEXV/SUM(INDEXV,71)*100;
HS:=IF(CAPITAL<1,H2,H1);
JJ:=IF(CAPITAL<1,INDEXA/INDEXV/100,(OPEN+HIGH+LOW+CLOSE)/4);
AA:=IF(BETWEEN(CLOSE,JJ,HIGH) OR CLOSE=OPEN,VOL,0);
BB:=IF(BETWEEN(CLOSE,JJ,LOW) OR CLOSE DDZ:HS*(BB-(AA+CC))/(CC-(AA-BB))*P1/100,LINETHICK0; DDZ1:HS*(BB-(AA+CC))/(CC-(AA-BB))*P2/100,LINETHICK0; DRAWBAND(DDZ,RGB(0,130,0),DDZ1,RGB(200,0,0)); {麟龙大单} 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(CAPITAL<1,SUM(VOL,13),CAPITAL),LINETHICK0; STICKLINE(DDX>0,0,DDX,2.5,0 ),COLOR0022FF; {STICKLINE(DDX>0,0,DDX,2,0 ),COLORBB22CC;} STICKLINE(DDX<0,0,DDX,2.5,0 ),COLORFFFF00; DDX1:EMA(DDX,60)*60,COLOR00FFFF; DDX2:MA(DDX1,5),COLORFF00FF; DDX3:MA(DDX2,10),COLOR00FF00; 预警:DDX>0 AND CROSS(DDX1,DDX2) AND (CLOSE/REF(CLOSE,1)-1)*100>=3,LINETHICK0; DRAWTEXT(预警,0,'★'),LINETHICK3,COLOR00FFFF; {DRAWTEXT(C,1,'大单动向'),COLORFFFFFF;} 大单动向:0.5.POINTDOT,COLORBLUE;