X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅內(nèi)粘合}
X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;
X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;
AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10),1);CC:=MA(C,5)>MA(C,10);{均線勾頭向上}
CDJZ:=ABS(MA(C,20)-MA(C,120))/MA(C,120)<0.4;{長短均線距離絕對值越小越好}
MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3
AND CDJZ AND AA AND BB AND CC;
5,10,30日三線粘合
X1:=ABS(MA(C,10)/MA(C,30)-1)<0.01;{取1%振幅內(nèi)粘合}
X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;
X3:=ABS(MA(C,5)/MA(C,30)-1)<0.01;
AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10),1);CC:=MA(C,5)>MA(C,10);{均線勾頭向上}
CDJZ:=ABS(MA(C,30)-MA(C,120))/MA(C,120)<0.4;{長短均線距離絕對值越小越好}
MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3
AND CDJZ AND AA AND BB AND CC;
5,10,20,30日四線粘合
X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅內(nèi)粘合}
X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;
X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;
X4:=ABS(MA(C,5)/MA(C,30)-1)<0.01;
AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10),1);CC:=MA(C,5)>MA(C,10);{均線勾頭向上}
CDJZ:=ABS(MA(C,20)-MA(C,120))/MA(C,120)<0.4;{長短均線距離絕對值越小越好}
MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4
AND CDJZ AND AA AND BB AND CC;
5,10,20,60日四線粘合
X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅內(nèi)粘合}
X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;
X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;
X4:=ABS(MA(C,5)/MA(C,60)-1)<0.01;
AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10),1);CC:=MA(C,5)>MA(C,10);{均線勾頭向上}
MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4
AND AA AND BB AND CC;
30,60,120日三線多排
A1:=MA(CLOSE,N);
A2:=MA(CLOSE,N1);
A3:=MA(CLOSE,N2);
CLOSE>A1 AND A1>A2 AND A2>A3 AND CLOSE>OPEN;(南方財富網(wǎng)SOUTHMONEY.COM)
(責任編輯:張曉軒)