资源描述:
《通达信均线粘合选股公式.doc》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、通达信均线选股指标公式MA10:=MA(C,10);MA30:=MA(C,30);MA60:=MA(C,60);LL:=MIN(MIN(MA10,MA30),MA60);选股:COUNT(MA30>REF(MA30,1),2)=2ANDMA60>REF(MA60,1)ANDMA10=LLANDCROSS(C,MA10);通达信均线粘合选股公式MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);MA4:=MA(CLOSE,60);MA5:=MA(CLOSE,12
2、0);MA6:=MA(CLOSE,250);A:MAX(MAX(MA1,MA2),MA3),LINETHICK0;B:MIN(MIN(MA1,MA2),MA3),LINETHICK0;三线粘合:IF(RANGE(100*(A-B)/B,0,5),100*(A-B)/B,DRAWNULL),LINETHICK0;SA:MAX(MAX(MA1,MA2),MAX(MA3,MA4)),LINETHICK0;SB:MIN(MIN(MA1,MA2),MIN(MA3,MA4)),LINETHICK0;成本价均线AMOV:=VO
3、L*(OPEN+CLOSE)/2;AMV1:SUM(AMOV,M1)/SUM(VOL,M1);AMV2:SUM(AMOV,M2)/SUM(VOL,M2);AMV3:SUM(AMOV,M3)/SUM(VOL,M3);AMV4:SUM(AMOV,M4)/SUM(VOL,M4)AMOV:=VOL*(OPEN+CLOSE)/2;AMV1:SUM(AMOV,5)/SUM(VOL,5);AMV2:SUM(AMOV,13)/SUM(VOL,13);AMV3:SUM(AMOV,34)/SUM(VOL,34);AMV4:SUM(A
4、MOV,60)/SUM(VOL,60);A:MAX(MAX(AMV1,AMV2),AMV3);B:MIN(MIN(AMV1,AMV2),AMV3);三线粘合:IF(RANGE(100*(A-B)/B,0,5),100*(A-B)/B,DRAWNULL);SA:MAX(MAX(AMV1,AMV2),MAX(AMV3,AMV4));SB:MIN(MIN(AMV1,AMV2)),MIN(AMV3,AMV4));