多期均线走势 共振建仓买入【指标公式】(含选股)
第一部分 副图公式 手机/电脑
一周:MA(CLOSE,5);半月:MA(CLOSE,10);
一月:MA(CLOSE,20);半季:MA(CLOSE,30);
一季:MA(CLOSE,60);半年:MA(CLOSE,120);
一年:MA(CLOSE,240);一年半:MA(CLOSE,360);
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),COLORYELLOW,LINETHICK0;
VAR2:=8,COLORGREEN,LINETHICK0;
JC:=CROSS(VAR1,VAR2);
DRAWTEXT(JC,LOW* 0.97,'建仓'),COLORRED;
GDIF:=(EMA(CLOSE,6)-EMA(CLOSE,13))*100;
GDEA:=EMA(GDIF,5);
GZ:=CROSS(GDIF,GDEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
DRAWTEXT(GZ,LOW* 0.93,'共振'),COLORRED;
第二部分 选股公式
一周:MA(CLOSE,5);半月:MA(CLOSE,10);
一月:MA(CLOSE,20);半季:MA(CLOSE,30);
一季:MA(CLOSE,60);半年:MA(CLOSE,120);
一年:MA(CLOSE,240);一年半:MA(CLOSE,360);
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),COLORYELLOW,LINETHICK0;
VAR2:=8,COLORGREEN,LINETHICK0;
JC:=CROSS(VAR1,VAR2);
DRAWTEXT(JC,LOW* 0.97,'建仓'),COLORRED;
GDIF:=(EMA(CLOSE,6)-EMA(CLOSE,13))*100;
GDEA:=EMA(GDIF,5);
GZ:=CROSS(GDIF,GDEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
DRAWTEXT(GZ,LOW* 0.93,'共振'),COLORRED;
第二部分 选股公式