低金叉共振战略吸筹(通达信公式 副图指标公式 公式、源码 测试图)不含未来函数,原创[通达信公式]
相关标签:
低金叉.,共振战略吸筹,不含未来函数,原创N 1 100 5
M 1 100 10
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;超跌:IF(J<0,10,0),COLORFFFF00;BDDD:=LLV(J,2)=LLV(J,8);重启:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0),COLOR00FF00;加码:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND BETWEEN(J,20,60),1,0),COLOR00FFFF,POINTDOT,LINETHICK0;BDGD:=HHV(J,2)=HHV(J,8) AND J>80;小心:IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),70,100),COLOR0000FF;DRAWTEXT(加码,J,''),COLOR00FFFF;STICKLINE(REF(J,7)<0 AND J>1,10,0,10,0),COLOR00FF00;cxh1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;cxh2:=SMA(cxh1,3,1);cxh3:=SMA(cxh2,3,1);贵:=N,COLOR00FF00;cxh4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);cxh5:=CROSS(cxh4,10) AND cxh3<N;IF(J<D,J,DRAWNULL),COLORFFEE44;A22:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A22+1)>C AND REF("KDJ.K"(9,3,3),A22+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));抄底:IF(cxh5,90,1),COLORRED;DRAWICON(cxh5,65,1);DRAWTEXT(cxh5,30,'抄底'),COLORYELLOW;备钱:IF(CROSS(10,cxh4),40,1),COLORFF00FF;DRAWICON(CROSS(10,cxh4),45,1);DRAWTEXT(IF(CROSS(10,cxh4),1,0),20,'$备钱'),COLORWHITE;危机线: 80,COLORRED,POINTDOT,LINETHICK2;中间线: 50,COLORFFCCCC,POINTDOT,LINETHICK2;安全线: 10,COLORFF00FF,POINTDOT,LINETHICK2;cxh6:=(2*CLOSE+HIGH+LOW)/4;cxh7:=LLV(LOW,M);cxh8:=HHV(HIGH,M);cxh9:=EMA((cxh6-cxh7)/(cxh8-cxh7)*100,13);cxhA:=EMA(0.667*REF(cxh9,1)+0.333*cxh9,2);DJ:=CROSS(J,D) AND D<20;DRAWTEXT(DJ,J-0.3,'低金叉'),COLORCYAN;战术线: cxh9,COLORYELLOW,LINETHICK2;战略线: EMA(0.382*REF(cxh9,2)+0.618*cxh9,12),COLORBLUE;STICKLINE(cxh9>cxhA,cxh9,cxhA,6,0),COLORRED;STICKLINE(cxh9<=cxhA,cxh9,cxhA,6,0),COLOR00FF00;cxhB:=SUM(IF(CLOSE>REF(CLOSE,7),VOL,IF(CLOSE<REF(CLOSE,7),0-VOL,0)),0);cxhC:=SUMBARS(VOL,CAPITAL);cxhD:=IF(CLOSE>LLV(CLOSE,cxhC),1,-1);cxhE:=IF(cxhB>LLV(cxhB,cxhC),1,-1);cxhF:=cxhD*cxhE;cxh10:=IF(cxhF=-1,1,0);关注:IF(cxh10 AND CLOSE=LLV(CLOSE,20) AND cxh3<N,70,1),COLORFFCC66;WWWcxh99COM:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;DRAWICON(CROSS(K,D),D,1);DRAWICON(CROSS(D,K),D,2);
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容