打工皇帝指标 公式 源码[通达信公式]
指标公式源码分析及使用说明参考:
源码:N:=20;N1:=7;N2:=69;T1:=IF((DATE<=1341231),1,0);M3:=EMA(CLOSE,3);M6:EMA(CLOSE,6),COLOR008000,LINETHICK3;M12:EMA(M6,12),COLOR0000FF,LINETHICK3;cxh1:=EMA(M12,62);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.98),''),COLOR00FFFF;DRAWTEXT(CROSS(cxh5,cxh6),(HIGH)*(1.04),'↓卖'),COLOR008000;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)),6))/(6)>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)),12))/(12)>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,12))*(1.3)),1,0),LOW,'●抄底'),COLOR0000FF;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容