M1:=MA(CLOSE,15);{王庆溪修编}
M2:=MA(CLOSE,20);
M3:=MA(CLOSE,30);
M4:=MA(CLOSE,55);
K1:=MAX(MAX(M1,M2),MAX(M3,M4));
K2:=MIN(MIN(M1,M2),MIN(M3,M4));
DIF3:=EMA(CLOSE,13)-EMA(CLOSE,26);
DEA3:=EMA(DIF3,9);
DY13:=DIF3>DEA3;
JX10.015:=(K1/K2-1)<0.015;{5,10,20,30日均线在0.015%以内}
中线:JX10.015 AND DY13; 送给你吧,花了9学分的中线指标 |