通达信:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,LINETHICK2, ;
主力控盘分析:10, ,LINETHICK2,COLORRED ;
指标公式: IF(CROSS(通达信,主力控盘分析),20,10), ,LINETHICK2,COLORYELLOW;
DRAWTEXT(指标公式=20,21,'买点'),COLORWHITE;
eddc1:=(C*2+H+L)/4*10;{通达信公式-通达信指标www.gs6699.com}
V2:=EMA(eddc1,13)-EMA(eddc1,34);
eddc2:=EMA(V2,5);
V4:=2*(V2-eddc2)*5.5;
eddc3:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*eddc3-2*SMA(eddc3,18,1),5);
eddc4:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
eddc5:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(eddc5,3); VB:=(eddc5-VA)/2;
eddc11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
eddc6: IF(V4<=0,V4,0),COLORGREEN;
eddc7: IF(V4>=0,V4,0),COLORRED;
eddc8: IF(VB>=0,VB,0),COLORYELLOW;
eddc9: IF(VB<=0,VB,0),COLORBLUE;
eddff1:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2 , COLORYELLOW;
eddff2: IF(CROSS(eddff1,10),15,0),STICK ,COLORRED ,LINETHICK4;
{DRAWTEXT(eddff2,15,'') , COLORRED ;}
eddd199:=MA(CLOSE,80)-MA(CLOSE,10)/3;
VVVV:=CLOSE<eddd199 AND VOL/240>MA(VOL,5)/240 AND
CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3;
eddff4:(IF(VVVV,1,0))*15,STICK,COLORWHITE,LINETHICK4;
{DRAWTEXT(eddff4,15,' '),COLORWHITE;}
eddff6: IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),20,0),STICK ,COLORGREEN, LINETHICK4;
{DRAWTEXT(eddff6,10,'买!'),COLORGREEN;}
eddff7:= IF(CROSS(84,3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1)),20,0),STICK ,COLORCYAN ,LINETHICK1;
{DRAWTEXT(eddff7,21,'逃!'),COLORCYAN ;}
AA:=LLV(LOW,36);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
eddff8:=DD,COLOR0000FF,LINETHICK2;
eddff9:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
eddd6:=(2*C+H+L)/4;
eddd8:=LLV(LOW,34);
edddA:=HHV(HIGH,34);
ttyff1:=EMA((eddd6-eddd8)/(edddA-eddd8)*100,8),COLORCYAN;
ttyff2:=EMA(ttyff1,5);
STICKLINE(ttyff1>0 AND ttyff1-ttyff2>=0,88,100,3,0),COLORRED;
STICKLINE(ttyff1>0 AND ttyff1-ttyff2<0,88,100,3,0),COLORGREEN;
STICKLINE(eddc7>REF(eddc7,1) AND eddc7>0,eddc7,0,3,1),COLORYELLOW;
STICKLINE(eddc7<REF(eddc7,1) AND eddc7>0,eddc7,0,3,1),COLORBLUE;