您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

阴阳太极(通达信公式 主图指标公式 公式、源码 测试图)[通达信公式]

相关标签:

 

{公式名称: 阴阳太极}{公式描述: 黄线+红线上持股}{主图叠加}程序化久久公式网:DRAWNULL,COLORCCCCCC;cxh1:=(CLOSE+LOW+HIGH)/3;cxh2:=IF(cxh1>REF(cxh1,1),(CLOSE+LOW+HIGH)/3,REF((CLOSE+LOW+HIGH)/3,1));cxh3:=IF(cxh1<REF(cxh1,1),(CLOSE+LOW+HIGH)/3,REF((CLOSE+LOW+HIGH)/3,1));cxh4:=cxh2;cxh5:=(cxh2+cxh3)/2;cxh6:=cxh3;上线:IF(ISLASTBAR,REF(cxh4,1),DRAWNULL),NODRAW,COLORRED;中线:IF(ISLASTBAR,REF(cxh6,1),DRAWNULL),NODRAW,COLORYELLOW;下线:IF(ISLASTBAR,REF(cxh5,1),DRAWNULL),NODRAW,COLORLIBLUE;cxh7:=1;cxh8:=CURRBARSCOUNT<2;cxh9:=CURRBARSCOUNT<13;cxh10:=IF(cxh8,上线,DRAWNULL);cxh11:=IF(cxh8,中线,DRAWNULL);cxh12:=IF(cxh8,下线,DRAWNULL);cxh13:=IF(cxh9,cxh10,DRAWNULL);cxh14:=IF(cxh9,cxh11,DRAWNULL);cxh15:=IF(cxh9,cxh12,DRAWNULL);STICKLINE(cxh9,cxh13,cxh13,20,(-1)),COLOR0000CC;STICKLINE(cxh9,cxh14,cxh14,20,(-1)),COLOR00CCCC;STICKLINE(cxh9,cxh15,cxh15,20,(-1)),COLORCCCC00;cxh16:=TDXDLL8(2007,HIGH,CLOSE,LOW);cxh17:=CLOSE/cxh16>=1.098 AND CLOSE=HIGH;STICKLINE(cxh17,CLOSE,OPEN,0.3,0),COLORYELLOW;cxh18:=MA(CLOSE,13);cxh19:=MA(CLOSE,21);cxh20:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);cxh21:=REF(cxh20,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh22:=REF(cxh21,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh23:=REF(cxh22,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh24:=REF(cxh23,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh25:=REF(cxh24,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh26:=REF(cxh25,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh27:=REF(cxh26,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh28:=REF(cxh27,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh29:=REF(cxh28,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh30:=REF(cxh29,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh31:=REF(cxh30,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh32:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);cxh33:=REF(cxh32,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh34:=REF(cxh33,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh35:=REF(cxh34,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh36:=REF(cxh35,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh37:=REF(cxh36,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh38:=REF(cxh37,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh39:=REF(cxh38,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh40:=REF(cxh39,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh41:=REF(cxh40,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh42:=REF(cxh41,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh43:=REF(cxh42,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh44:=REF(cxh32 OR cxh33 OR cxh34 OR cxh35 OR cxh36 OR cxh37 OR cxh38 OR cxh39 OR cxh40 OR cxh41 OR cxh42 OR cxh43,1) AND cxh20;cxh45:=REF(cxh20 OR cxh21 OR cxh22 OR cxh23 OR cxh24 OR cxh25 OR cxh26 OR cxh27 OR cxh28 OR cxh29 OR cxh30 OR cxh31,1) AND cxh32;cxh46:=IF(CLOSE<200,MA(COST(80),3),2500);cxh47:=(HIGH+LOW+CLOSE)/3;cxh48:=EMA((OPEN+HIGH+LOW+CLOSE)/4,2330);{程序化久久公式网WWW.cxh99.com}cxh49:=cxh48+cxh48*6/100;cxh50:=cxh20 OR cxh21 OR cxh22 OR cxh23 OR cxh24 OR cxh25 OR cxh26 OR cxh27 OR cxh28 OR cxh29 OR cxh30 OR cxh31;cxh51:=cxh32 OR cxh33 OR cxh34 OR cxh35 OR cxh36 OR cxh37 OR cxh38 OR cxh39 OR cxh40 OR cxh41 OR cxh42 OR cxh43;cxh52:=HHV(CLOSE,2);cxh53:=LLV(CLOSE,2);cxh54:=IF(cxh50,cxh53,DRAWNULL);cxh55:=cxh54;cxh56:=REF(cxh54,1);cxh57:=IF(cxh51,cxh52,DRAWNULL);cxh58:=cxh57;cxh59:=REF(cxh58,1);cxh60:=IF(cxh59!=DRAWNULL,cxh59,IF(cxh56!=DRAWNULL,cxh56,DRAWNULL));STICKLINE(ISLASTBAR AND cxh60,cxh60,cxh60,6,0),COLORGREEN;cxh61:=cxh7;cxh62:=cxh61;NOTEXT4:IF(cxh7!=1,0,cxh60),COLOR0000CC,LINETHICK3;离场线:IF(CLOSE<=cxh60,cxh60,DRAWNULL),COLOR00CC00,LINETHICK3;IF(CLOSE>cxh60,cxh60,DRAWNULL),COLOR0000CC,LINETHICK3;cxh63:=EMA(CLOSE,8);cxh64:=EMA(CLOSE,18);cxh65:=IF(cxh61!=1,0,EMA(cxh63-cxh64,9));阴鱼:9*REF(cxh65,1)-7*REF(cxh63,1)+8*REF(cxh64,1),COLORFF8000,LINETHICK2;阳鱼:IF(CLOSE>=阴鱼,阴鱼,DRAWNULL),COLORYELLOW,LINETHICK2;鱼眼:IF(ISLASTBAR,阴鱼,DRAWNULL),POINTDOT,COLORRED,LINETHICK6;cxh66:=cxh60>阳鱼 AND LOW<cxh60;STICKLINE(cxh66,LOW,MIN(cxh60,HIGH),0,0),COLORMAGENTA;

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容