通达信《老鸭头》主图指标公式源码:
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; VAR1:=CROSS(MA(CLOSE,5),MA(CLOSE,10)); VAR2:=BARSLAST(VAR1); VAR3:=HIGH=HHV(HIGH,VAR2) AND (HIGH-MA(CLOSE,5))/MA(CLOSE,5)*100>=10; VAR4:=BARSLAST(VAR3); VAR5:=CROSS(MA(CLOSE,10),MA(CLOSE,5)) AND VAR2>VAR4; XG:CROSS(CLOSE,MA(CLOSE,10)) AND COUNT(VAR5,6)>=1; VAR6:=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 VAR6; VAR7:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))); VAR8:=MA(CLOSE,10)+(MA(CLOSE,5)-MA(CLOSE,10))/2; VAR9:=CROSS(MA(CLOSE,5),CLOSE); VAR10:=BARSLAST(VAR9);{www.zhibiao123.cn} IF(BACKSET(XG,VAR7+1),MA(CLOSE,5),DRAWNULL),COLORBLUE,LINETHICK2; IF(BACKSET(XG,VAR7+1),MA(CLOSE,10),DRAWNULL),COLORBLUE,LINETHICK2; IF(FILTER(BACKSET(XG,VAR10+1),6),VAR8,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK9;
通达信《老鸭头》选股公式源码:
VAR1:=CROSS(MA(CLOSE,5),MA(CLOSE,10)); VAR2:=BARSLAST(VAR1); VAR3:=HIGH=HHV(HIGH,VAR2) AND (HIGH-MA(CLOSE,5))/MA(CLOSE,5)*100>=10; VAR4:=BARSLAST(VAR3); VAR5:=CROSS(MA(CLOSE,10),MA(CLOSE,5)) AND VAR2>VAR4; VAR6:=CROSS(CLOSE,MA(CLOSE,10)) AND COUNT(VAR5,6)>=1; VAR7:=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))); VAR8:=IF(DATE<1200412,1,0);{www.zhibiao123.cn} XG1:VAR8*(COUNT(VAR6,7)=1 AND VAR6=0 AND VAR7);
负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/154649.html,转载请注明出处。
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/154649.html,转载请注明出处。