通达信新年奉献:有庄控盘.KDJ优化.大回大涨.中线启涨点公式
{有庄控盘买点副图/选股}
{有庄控盘买点副图}
VAR1:=EMA(EMA(CLOSE,8),3);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
有庄控盘:=CROSS(控盘,0);
DD:=100*(C-LLV(L,6))/(HHV(H,6)-LLV(L,6));
QQ:=MA(C,30) =REF(MA(C,30),1);
买点:DD 12 AND C MA(C,36) AND QQ,COLORRED;
DRAWICON(买点,1,25);
控盘买点:有庄控盘 AND REF(买点,1)
AND CROSS(C,EMA(C,25)) AND C EMA(C,14);
XG:=控盘买点;
STICKLINE(XG,0,3,2,0),COLOR000088;
STICKLINE(XG,0,3,1,0),COLOR0000CC;
STICKLINE(XG,0,3,0.22,0),COLOR0000FF;
DRAWTEXT(XG,2,'控盘买点'),COLORYELLOW;
{有庄控盘买点选股}
VAR1:=EMA(EMA(CLOSE,8),3);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
有庄控盘:=CROSS(控盘,0);
DD:=100*(C-LLV(L,6))/(HHV(H,6)-LLV(L,6));
QQ:=MA(C,30) =REF(MA(C,30),1);
买点:=DD 12 AND C MA(C,36) AND QQ,COLORRED;
控盘买点:有庄控盘 AND REF(买点,1)
AND CROSS(C,EMA(C,25)) AND C EMA(C,14);
{KDJ优化买点副图}
N:=5;M1:=2;M2:=2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
30;
XG:CROSS(J,D) AND REF(J,1) 30,NODRAW,COLORRED;
DRAWICON(XG,35,11);
DD:=100*(C-LLV(L,6))/(HHV(H,6)-LLV(L,6));
QQ:=MA(C,30) =REF(MA(C,30),1);
买点:DD 12 AND C MA(C,36) AND QQ,COLORRED;
DRAWICON(买点,1,24);
E1:=EXPMA(CLOSE,5);
E2:=EXPMA(CLOSE,17);
优化买点:REF(买点,1) AND CROSS(C,E1) AND CROSS(C,E2) AND XG;
DRAWICON(优化买点,30,25);
{KDJ优化买点选股}
N:=5;M1:=2;M2:=2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
XG:=CROSS(J,D) AND REF(J,1) 30,COLORRED;
DD:=100*(C-LLV(L,6))/(HHV(H,6)-LLV(L,6));
QQ:=MA(C,30) =REF(MA(C,30),1);
买点:=DD 12 AND C MA(C,36) AND QQ,COLORRED;
E1:=EXPMA(CLOSE,5);
E2:=EXPMA(CLOSE,17);
优化买点:REF(买点,1) AND CROSS(C,E1) AND CROSS(C,E2) AND XG;
{中线启涨点副图}
AA:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
DD:=SMA(AA,13,8);
EE:SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
FF:800/CEILING(SMA(DD,13,8)),LINETHICK2,COLOR0000FF;
XG:=FF REF(FF,1) AND REF(FF,1) REF(FF,2)
AND COUNT(FF REF(FF,1),6) =4
AND EE REF(EE,1) AND REF(EE,1) REF(EE,2);
启涨点:60*XG;
中线启涨:80*(XG AND REF(FF,1)
{中线启涨点选股}
AA:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
DD:=SMA(AA,13,8);
EE:SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
FF:800/CEILING(SMA(DD,13,8)),LINETHICK2,COLOR0000FF;
XG:=FF REF(FF,1) AND REF(FF,1) REF(FF,2)
AND COUNT(FF REF(FF,1),6) =4
AND EE REF(EE,1) AND REF(EE,1) REF(EE,2);
启涨点:=60*XG;
中线启涨:(XG AND REF(FF,1)
{大回大涨88副图}
AA:=L REF(L,1) AND REF(L,1) =REF(C,2) AND C
EE:=COUNT(C O,9)
大回大涨:AA AND EE AND REF(C O,1)
AND REF(C O,2) AND COUNT(C/REF(C,1) 0.96,9) =1,COLORRED;
DRAWICON(大回大涨,1,25);
{大回大涨88选股
AA:=L REF(L,1) AND REF(L,1) =REF(C,2) AND C
EE:=COUNT(C O,9)
大回大涨:AA AND EE AND REF(C O,1)
AND REF(C O,2) AND COUNT(C/REF(C,1) 0.96,9) =1,COLORRED;};