通达信发现庄家源码副图贴图

N:=5;
 VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA
 (SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);
 VAR2:8,COLORLIBLUE;
 DRAWTEXT(CROSS(VAR1,VAR2),50,'--买入'),COLORLIRED;
 VARO5:=LLV(LOW,27);
 VARO6:=HHV(HIGH,34);
 VARO7:EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25,COLORWHITE;
建仓区:IF((VARO7<VAR2),40,0),COLORYELLOW,LINETHICK2;
及时买入:IF(CROSS(VAR1,VAR2),60,0),STICK,COLORRED,LINETHICK3;
发现庄家:IF(VAR1<=8,25,0),STICK, COLORMAGENTA,LINETHICK3;
 DRAWICON(CROSS(80,VARO7),85,15);
卖出线:80,COLORLICYAN;