老鸭头,经典老指标公式,老酒壶装新酒(通达信公式 主图指标公式 公式、源码 测试图)[通达信公式]
相关标签:
老鸭头,非常经典老指标,觉得公式也可以放在副图,当然要稍稍改改{公式名称: 老鸭头主图主图叠加}MA5:MA(CLOSE,5),COLORWHITE;MA10:MA(CLOSE,10),COLORYELLOW;MA20:MA(CLOSE,20),COLORMAGENTA;MA30:MA(CLOSE,30),COLORGREEN;MA60:MA(CLOSE,60),COLORFF8000;MA120:MA(CLOSE,120),COLOR40FF00,LINETHICK0;MA250:MA(CLOSE,250),COLOR80FFFF,LINETHICK0;cxh1:=CROSS(MA(CLOSE,5),MA(CLOSE,10));cxh2:=BARSLAST(cxh1);cxh3:=HIGH=HHV(HIGH,cxh2) AND (HIGH-MA(CLOSE,5))/MA(CLOSE,5)*100>=10;cxh4:=BARSLAST(cxh3);cxh5:=CROSS(MA(CLOSE,10),MA(CLOSE,5)) AND cxh2>cxh4;XG:CROSS(CLOSE,MA(CLOSE,10)) AND COUNT(cxh5,6)>=1;cxh6:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) OR (OPEN<MIN(MA(CLOSE,5),MA(CLOSE,10)) AND CLOSE>=MAX(MA(CLOSE,5),MA(CLOSE,10)));XG1:COUNT(XG,7)=1 AND BARSLAST(XG)>0 AND cxh6;cxh7:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)));cxh8:=MA(CLOSE,10)+(MA(CLOSE,5)-MA(CLOSE,10))/2;cxh9:=CROSS(MA(CLOSE,5),CLOSE);cxh10:=BARSLAST(cxh9);IF(BACKSET(XG,cxh7+1),MA(CLOSE,5),DRAWNULL),COLORBLUE,LINETHICK2;IF(BACKSET(XG,cxh7+1),MA(CLOSE,10),DRAWNULL),COLORBLUE,LINETHICK2;IF(FILTER(BACKSET(XG,cxh10+1),6),cxh8,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK9;{老鸭头二次}{选股}cxh1:=CROSS(MA(CLOSE,5),MA(CLOSE,10));cxh2:=BARSLAST(cxh1);cxh3:=HIGH=HHV(HIGH,cxh2) AND (HIGH-MA(CLOSE,5))/MA(CLOSE,5)*100>=10;cxh4:=BARSLAST(cxh3);cxh5:=CROSS(MA(CLOSE,10),MA(CLOSE,5)) AND cxh2>cxh4;cxh6:=CROSS(CLOSE,MA(CLOSE,10)) AND COUNT(cxh5,6)>=1;cxh7:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) OR (OPEN<MIN(MA(CLOSE,5),MA(CLOSE,10)) AND CLOSE>=MAX(MA(CLOSE,5),MA(CLOSE,10)));cxh8:=IF(DATE<1200412,1,0);XG1:cxh8*(COUNT(cxh6,7)=1 AND cxh6=0 AND cxh7);
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容