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

黄蓝买卖(通达信公式 主图指标公式 公式、源码 测试图)[通达信公式]

相关标签:

 

N:=20;N1:=7;N2:=69;T1:=IF((DATE<=1341231),1,0);M3:=EMA(CLOSE,3);M8:=EMA(CLOSE,8),COLOR008000;M13:=EMA(M8,13),COLOR0000FF;M62:=EMA(M8,55),COLORF0F000;cxh1:=EMA(M13,62);M81:=EMA(M62,81),COLOR00FFFF;M144:=EMA(cxh1,144),LINETHICK2,COLOR0000FF;M250:=EMA(cxh1,250),POINTDOT,LINETHICK2,COLORF00FF0;cxh2:=(CLOSE+HIGH+LOW)/(3);cxh3:=(EMA(cxh2,10))*(T1);cxh4:=(REF(cxh3,1))*(T1);STICKLINE((cxh3>cxh4),cxh3,cxh4,4,0),COLOR00FFFF;STICKLINE((cxh3<cxh4),cxh3,cxh4,4,0),COLORFF0000;cxh5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);cxh6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);DRAWTEXT(CROSS(cxh3,cxh4),(cxh3)*(0.96),' '),COLOR00FFFF;DRAWTEXT(CROSS(cxh5,cxh6),(HIGH)*(1.04),' ↓卖'),COLORBLUE;cxh7:=REF(CLOSE,1);cxh8:=((SMA(MAX(CLOSE-cxh7,0),N1,1))/(SMA(ABS(CLOSE-cxh7),N1,1)))*(100);cxh9:=CROSS(N2,cxh8);cxhA:=(FILTER(cxh9,4))*(T1);DRAWTEXT(cxhA,(HIGH)*(1.04),'↓卖'),COLORFFFFFF;cxhB:=((2)*(CLOSE)+HIGH+LOW)/(4);cxhC:=LLV(LOW,34);cxhD:=HHV(HIGH,34);cxhE:=(EMA(((cxhB-cxh1)/(cxh5-cxh1))*(100),7))*(T1);cxhF:=(EMA((0.667)*(REF(cxhE,1))+(0.333)*(cxhE),5))*(T1);DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((cxhE>=cxhF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),COLORFF00FF;DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((cxhE>cxhF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),COLOR00FFFF;cxh10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);DRAWTEXT(IF((CLOSE<cxh10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),COLOR0000FF;N:=20;N1:=7;N2:=69;T1:=IF((DATE<=1341231),1,0);M3:=EMA(CLOSE,3);M8:=EMA(CLOSE,8),COLOR008000;M13:=EMA(M8,13),COLOR0000FF;M62:=EMA(M8,55),COLORF0F000;cxh1:=EMA(M13,62);M81:=EMA(M62,81),COLOR00FFFF;M144:=EMA(cxh1,144),LINETHICK2,COLOR0000FF;M250:=EMA(cxh1,250),POINTDOT,LINETHICK2,COLORF00FF0;cxh2:=(CLOSE+HIGH+LOW)/(3);cxh3:=(EMA(cxh2,10))*(T1);cxh4:=(REF(cxh3,1))*(T1);STICKLINE((cxh3>cxh4),cxh3,cxh4,4,0),COLOR00FFFF;STICKLINE((cxh3<cxh4),cxh3,cxh4,4,0),COLORFF0000;cxh5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);cxh6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);DRAWTEXT(CROSS(cxh3,cxh4),(cxh3)*(0.96),' '),COLOR00FFFF;DRAWTEXT(CROSS(cxh5,cxh6),(HIGH)*(1.04),' ↓卖'),COLORBLUE;cxh7:=REF(CLOSE,1);cxh8:=((SMA(MAX(CLOSE-cxh7,0),N1,1))/(SMA(ABS(CLOSE-cxh7),N1,1)))*(100);cxh9:=CROSS(N2,cxh8);cxhA:=(FILTER(cxh9,4))*(T1);DRAWTEXT(cxhA,(HIGH)*(1.04),'↓卖'),COLORFFFFFF;cxhB:=((2)*(CLOSE)+HIGH+LOW)/(4);cxhC:=LLV(LOW,34);cxhD:=HHV(HIGH,34);cxhE:=(EMA(((cxhB-cxh1)/(cxh5-cxh1))*(100),7))*(T1);cxhF:=(EMA((0.667)*(REF(cxhE,1))+(0.333)*(cxhE),5))*(T1);DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((cxhE>=cxhF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),COLORFF00FF;DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((cxhE>cxhF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),COLOR00FFFF;cxh10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);DRAWTEXT(IF((CLOSE<cxh10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),COLOR0000FF;

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容