桂氏买卖波段,手机版可用(通达信公式 副图指标公式 公式、源码 测试图)[通达信公式]
相关标签:
DRAWTEXT_FIX(1,0.16,0,0,'(大小底):分批递增建仓。(大小顶):配合其它指标判断是否全出。(断崖不建仓!)'),COLORFFFF00;cxh2:=REF(LOW,1);cxh3:=SMA(ABS(LOW-cxh2),3,1)/SMA(MAX(LOW-cxh2,0),3,1)*100;cxh4:=EMA(IF(CLOSE*1.3,cxh3*10,cxh3/10),3);cxh5:=LLV(LOW,30);cxh6:=HHV(cxh4,30);cxh7:=IF(MA(CLOSE,58),1,0);cxh8:=EMA(IF(LOW<=cxh5,(cxh4+cxh6*2)/2,0),3)/618*cxh7;cxh9:=IF(cxh8>100,100,cxh8);STICKLINE(cxh9>-150,0,cxh9,3,1),COLORFF00FF;庄吸:cxh9,LINETHICK1,COLORFF00FF;趋:3*SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100,5,1),3,1),COLORWHITE;STICKLINE(CROSS(趋,10),0,60,2,1),COLOR3366FF;DRAWTEXT(IF(CROSS(10,趋),1,0), 10,'备$'),COLOR33FFCC;DRAWTEXT (IF(CROSS(100,趋),1,0),70,'卖'),COLORFFFF0C;DRAWTEXT ((趋<7.2) AND 庄吸>26 AND 庄吸<38,78,'全'),COLORFF00FF;五连跌:IF (EVERY(C<REF(C,1),5) AND (趋<6) AND (趋>4),70,0),COLORYELLOW,LINETHICK2;CONDTION_A:=EVERY(C<REF(C,1),5);CONDTION_B:=SUM((C-REF(C,1))/REF(C,1)*100,2)<-5;五连跌2:IF(CONDTION_A AND CONDTION_B,70,0),COLORYELLOW,LINETHICK2;DRAWTEXT (IF(CONDTION_A AND CONDTION_B,1,0),75,'五连跌'),COLORYELLOW;STICKLINE(CROSS((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,-24),24,0,3,0), COLORYELLOW;VA1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;VA2:=HHV(VA1>20,10);STICKLINE(VA2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VA1+34,100,3,0);A1:=REF(C,1);A2:=SMA(MAX(C-A1,0),5,1)/SMA(ABS(C-A1),5,1)*1000;A4:=A2-LLV(A2,10);A5:=(MA(A4,2)*3+A4*13)/16;A6:=IF(A5>13,MA(A5,2),A5)/6;RSI:=SMA(MAX(C-A1,0),12,1)/SMA(ABS(C-A1),12,1)*100;理想:=LLV(MA(RSI,3),12);朋友:=(HHV(MA(RSI,3),12)+LLV(MA(RSI,3),12))/2;短线:IF(CROSS(A6,1) AND (A6<30) AND (RSI<35) AND (RSI>=理想 )AND (RSI<朋友),40,0),LINETHICK2,COLOR0099FF;DRAWTEXT(短线>0 ,50,'快'),COLOR0099FF;X1:=BARSLAST(FILTER(((REF(C,3)-C)/REF(C,3)*100>3.2),10));X2:=MAX(MAX(REF(H,X1+2),REF(H,X1+1)),REF(H,X1));X3:=((C-REF(C,1))/REF(C,1)*100>5)AND ((C-REF(C,90))/REF(C,90)*100<80)AND((O-X2)/X2*100<30)AND(X1<150);X4:= (V/MA(V,5)<3.5)AND (X1<150) AND ((C-LLV(L,X1))/LLV(L,X1)*100<50) AND ((C-REF(O,5))/REF(O,5)*100<30);X5:=((((((C-MA(C,60))/MA(C,60))<0.1)=1) AND ((((C-MA(C,10))/MA(C,10))<0.3)=1))*0.2);X6:= ((((((X5=0) AND (REF(X5,1)=0.2)) AND (REF((COUNT((X5=0.2),10)=10),1)=1))*-0.1))=-0.1) OR FILTER((X3 AND X4),15);X8:=(V/REF(V,1)>1.2 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>1.2);X9:=X6 AND CROSS(KDJ.K,KDJ.D) AND (C/O>1.03) AND X8 AND C/(REF(C,1))>1.08 AND MA(C,60)>MA(C,120) AND C>MA(C,20);STICKLINE(X9,0,80,2,0),COLORRED;X:=MA(AMOUNT,5)/MA(V,5)/100;cxh13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;cxh14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);cxh15A:=C/MA(C,60)-1;小顶:IF(CROSS(cxh14A,-95) AND cxh15A<0.35 AND cxh15A>=0.2,65,100),COLORFFFF00,LINETHICK2;DRAWTEXT (IF(CROSS(cxh14A,-95)AND (cxh15A<0.35) AND (cxh15A>=0.2),1,0),58,'卖'),COLORFFFF00;大顶:IF(CROSS(cxh14A,-95) AND cxh15A>=0.35,38,100),COLORGREEN,LINETHICK2;DRAWTEXT (IF(CROSS(cxh14A,-95)AND (cxh15A>=0.35),1,0),30,'卖'),COLORGREEN;小底:IF(CROSS(-5,cxh14A) AND cxh13A<-0.25 AND cxh13A>-0.4,35,0),COLORYELLOW,LINETHICK2;DRAWTEXT (IF(CROSS(-5,cxh14A)AND (cxh13A<-0.25) AND (cxh13A>-0.4),1,0),43,'买'),COLORYELLOW;大底:IF(CROSS(-5,cxh14A) AND (cxh13A<-0.4),68,0),COLORRED,LINETHICK3;DRAWTEXT (IF(CROSS(-5,cxh14A)AND (cxh13A<-0.4),1,0),75,'买'),COLORRED;{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容