说明:突破薛斯通道强轨(通道3)4个交易日以上勿追高,快进快出,低买高卖。
DRAWGBK(C>0,RGB(220,220,220),RGB(230,230,250),0,1,0);
DRAWKLINE(H,O,L,C);
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:AA*102/100,DOTLINE,COLORGRAY;
通道2:AA*(200-102)/100,DOTLINE,COLORGRAY;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+7/100)*DD,COLORRED;
通道4:(1-7/100)*DD,COLORMAGENTA;
A:=AMOUNT/VOL/10000;
A1:=AMOUNT/VOL/100;
成交均价:=IF(C>300,A,A1);
六零均价:=MA(成交均价,60);
STICKLINE(CROSS(C,六零均价),O,C,2,0),COLORCC00FF;
STICKLINE(CROSS(六零均价,C),O,C,2,0),COLORCCCC00;
VAR1:=(C-MA(C,5))/MA(C,5)*100;
VAR2:=(C-MA(C,21))/MA(C,21)*100;
VAR3:=(C-MA(C,34))/MA(C,34)*100;
VAR4:=(VAR1+VAR2+VAR3)/3;
VAR5:=EMA(VAR4,5);
VAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
VAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
VAR8:=VAR7<REF(VAR7,1) AND V>REF(V,1) AND C>REF(C,1);
K:=EMA(VAR5,5)*4,NODRAW;
D:=EMA(K,5);
J:=K*3-D*2;
MACD:=EMA(EMA(VAR1,5),5)*6;
{西电进出的综合选股}
{1-MACD30分线}
DIF30:=(EMA(CLOSE,12/4)-EMA(CLOSE,26/4));
DEA30:=(EMA(DIF30,9/4));
JRS1:=DIF30>=DEA30;
{2-MACD60分线}
DIF60:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
DEA60:=EMA(DIF60,9/2);
JRS2:=DIF60>=DEA60;
{3-MACD日线}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
JRS3:=DIF>=DEA;
{4-KDJ日线}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
JRS4:=J1>=K1;
{5-MACD周线}
周MD:=MACD.DIF#WEEK;
周MA:=MACD.DEA#WEEK;
JRS5:=周MD>=周MA;
{6-KDJ周线}
周K:="KDJ.K#WEEK" ;
周D:="KDJ.D#WEEK" ;
JRS6:=周K>=周D;
JRS:=JRS1 AND JRS2 AND JRS3 AND JRS4 AND JRS5 AND JRS6;
STICKLINE(K>D AND MACD>0 AND CROSS(JRS,0.8),O,(O+C)/2,2,0),COLORRED;
评论(0)