资源描述:
《【股票指标公式下载】-【通达信】丹顶鹤选股(副图).doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、个人收集整理勿做商业用途【通达信】丹顶鹤选股(副图)-指标公式源码X5:=EXPMA(CLOSE,3);X10:=EXPMA(CLOSE,7);X20:=EXPMA(CLOSE,20);五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,COLORYELLOW;十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,COLORBLUE;二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,COLORWHIT
2、E;XX5:=XMA(五日斜率,4),LINETHICK2,COLORYELLOW;XX10:=XMA(十日斜率,7),LINETHICK2,COLORBLUE;XX200:=XMA(二十斜率,20);AA1:=XX200>=0.7AND REF(XX200,1)XX10AND XX10>XX200AND REF(XX5,2)<REF(XX10,2)AND REF(XX10,2)< REF(XX200,2);XX202:=XMA(二十斜率,22);AA2:=XX202>=0.7ANDREF(XX200,
3、1)XX10 ANDXX10>XX202AND REF(XX5,2)=0.7ANDREF(XX200,1) XX10 AND XX10>XX204 AND REF(XX5,2)[=0.7A]
4、NDREF(XX200,1) XX10ANDXX10>XX206 AND REF(XX5,2)[=0.7 AND REF(XX207,1)=0.7]
5、ANDREF(XX2071,1)<XX2071ANDCROSS(XX10,XX2071)ANDCROSS(REF(XX5,1),REF(XX2071,1));XX2072:=XMA(二十斜率,26);AA72:=XX2072>=0.7ANDREF(XX2072,1)=0.7ANDREF(XX208,1)6、,XX208) ANDCROSS(XX5,XX208);XX2081:=XMA(二十斜率,23);AA81:=XX2081>=0.7 ANDREF(XX2081,1)<XX2081 ANDCROSS(XX10,XX2081)ANDCROSS(XX5,XX2081);XX2082:=XMA(二十斜率,26);AA82:=XX2082>=0.7ANDREF(XX2082,1)<XX2082 ANDCROSS(XX10,XX2082) ANDCROSS(XX5,XX2082);AA1OR AA2ORAA3ORAA4ORAA7ORAA
7、71ORAA72ORAA8ORAA81ORAA82;DRAWTEXT(AA1=1,H/2,'AA1'),COLORRED;DRAWTEXT(AA2=1,H/2.5,'AA2'),COLORRED;DRAWTEXT(AA3=1,H/3,'AA3'),COLORRED;DRAWTEXT(AA4=1,H/3.5,'AA4'),COLORRED;DRAWTEXT(AA7=1,H/4,'AA7'),COLORRED;DRAWTEXT(AA71=1,H/1.88,'AA71'),COLORRED;DRAWTEXT(AA72=1,H/2.98,
8、'AA72'),COLORRED;DRAWTEXT(AA8=1,H/3.18,'AA8'),COLORRED;DRAWTEXT(AA81=1,H/1.58,'AA81'),COLORRED;DRAWTEXT(AA82=1,H/2.78,'AA82'