资源描述:
《均线粘合选股公式.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、均线粘合选+均线多头排列选股公式 5,10,20日三线粘合X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅内粘合}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,1
2、20)<0.4;{长短均线距离绝对值越小越好}MA(C,5)>REF(MA(C,5),1)ANDX1ANDX2ANDX3ANDCDJZANDAAANDBBANDCC;5,10,30日三线粘合X1:=ABS(MA(C,10)/MA(C,30)-1)<0.01;{取1%振幅内粘合}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);C
3、C:=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)ANDX1ANDX2ANDX3ANDCDJZANDAAANDBBANDCC;5,10,20,30日四线粘合X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅内粘合}X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;X3:=ABS(MA(C,5)/MA(C,20
4、)-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)ANDX1ANDX2ANDX3ANDX4ANDCDJZANDAAANDBBANDCC; 5,10,20,
5、60日四线粘合X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅内粘合}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)ANDX1
6、ANDX2ANDX3ANDX4ANDAAANDBBANDCC;30,60,120日三线多排A1:=MA(CLOSE,30);A2:=MA(CLOSE,60);A3:=MA(CLOSE,120);CLOSE>A1ANDA1>A2ANDA2>A3 ANDCLOSE>OPEN;