领先波段低位转强买点(通达信公式 副图指标公式 公式、源码 测试图)无未来函数[通达信公式]
相关标签:
MA5:=MA(C,5);MA6:=MA(C,6);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA55:=MA(C,55);VA1:=HHV(HIGH,9)-LLV(LOW,9);VA2:=HHV(HIGH,9)-CLOSE;VA3:=CLOSE-LLV(LOW,9);VA4:=VA2/VA1*100-70;VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VA6:=(CLOSE+HIGH+LOW)/3;VA7:=SMA(VA3/VA1*100,3,1);VA8:=LLV(LOW,34);VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);A2:=REF(MA20,1);J1:=(MA20-A2)/A2*100;MJ1:=MA(J1,3);乖离:=(MA20-MA30)/MA30*100;cxh1:=IF(BETWEEN(乖离,-2,5),2,0);MAX1:=MAX(MA20,MA30);MAX2:=MAX(MAX1,MA55);MIN3:=MIN(MA20,MA30);MIN2:=MIN(MIN3,MA55);K1:=(MAX2/MIN2-1)*100;cxhA:=IF(VA9>100,VA9-100,0);cxhB:=HHV(HIGH,34);cxhC:=EMA((VA6-VA8)/(cxhB-VA8)*100,13);cxhD:=EMA(0.667*REF(cxhC,1)+0.333*cxhC,2);cxhE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;cxhF:=MA(cxhE,3);上火车轨:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1) AND MA20-MA30>REF((MA20-MA30),1) ;cxh2:=HHV(HIGH,9)-CLOSE;cxh3:=CLOSE-LLV(LOW,9);cxh4:=((cxh2)/(cxh1))*(100)-70;cxh5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);cxh6:=((2)*(CLOSE)+HIGH+LOW)/(4);cxh7:=SMA(((cxh3)/(cxh1))*(100),3,1);cxh8:=LLV(LOW,34);cxh9:=SMA(cxh7,3,1)-SMA(cxh4,9,1);cxh10:=IF((cxh9>100),cxh9-100,0);cxh11:=HHV(HIGH,34);顶:IF(CROSS("KDJ.D"(18,9,6),"KDJ.K"(18,9,6)) AND "KDJ.D"(18,9,6)>60 AND "KDJ.J"(45,15,15)>90,85,100),COLORRED;DRAWTEXT(CROSS("KDJ.D"(18,9,6),"KDJ.K"(18,9,6)) AND "KDJ.D"(18,9,6)>60 AND "KDJ.J"(45,15,15)>90,80,'←顶'),COLORRED;B1:=EMA(((cxh6-cxh8)/(cxh11-cxh8))*(100),8);DRAWKLINE(EMA(B1,5),EMA(B1,5),B1+1,B1);领先:EMA(B1,5),COLORCYAN;生命线:EMA(cxhD,1),COLORYELLOW;AAA:=CONST(HHV(H,90));R1:=MA(CLOSE,1);R2:=MA(CLOSE,3);R3:=(MA(R2,1)*1);R4:=(MA(R2,3)*1);进:IF(CROSS(R3,R4),30,0),COLORRED,LINETHICK2;DRAWTEXT(CROSS(R3,R4),35,'买'),COLORRED;V1:=MA(C,5)=HHV(MA(C,5),20);V2:=MA(C,5)>MA(C,10);V3:=MA(V,5)>MA(V,40)*1.01;V4:=COUNT(MA(C,1)>REF(C,1),2)=2;VV:=V1 AND V2 AND V3 AND V4;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);出:IF(CROSS(88,RSI),75,100),COLORYELLOW,LINETHICK2;DRAWTEXT(CROSS(88,RSI),70,'卖'),COLORGREEN;A61:=EMA(CLOSE,8);A62:=EMA(A61,20);A63:=CROSS(A61,A62);A64:=A61<EMA(CLOSE,120);cxh12:=(HIGH+LOW+CLOSE)/3;cxh13:=(cxh12-MA(cxh12,14))/(0.015*AVEDEV(cxh12,14));cxh14:=(cxh12-MA(cxh12,70))/(0.015*AVEDEV(cxh12,70));cxh15:=IF(cxh13>=150 AND cxh13<200 AND cxh14>=150 AND cxh14<200,10,0);cxh16:=IF(cxh13<=-150 AND cxh13>-200 AND cxh14<=-150 AND cxh14>-200,-10,cxh15);cxh17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;cxh18:=100-ABS(cxh17);cxh19:=IF(cxh18<90,cxh18,100);STICKLINE((A63 AND A64)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,1,0),COLORYELLOW;A65:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT ,COLORFF9900 ;cxh1A:=IF(cxhE>0,cxhE,0);cxh1B:=IF(cxh14>=200 AND cxh13>=150,15,IF(cxh14<=-200 AND cxh13<=-150,-15,cxh16))+60;cxh1C:=cxh1A>48 AND cxh1B>60 AND cxh19<100;大笔出货:IF(cxh1C AND COUNT(cxh1C,30)=1,85,100);DRAWTEXT(cxh1C AND COUNT(cxh1C,30)=1,85,'大笔出货'),LINETHICK1,COLORFFCC66;安全位:=20;低位转强:IF(CROSS(A65,安全位),50,0),STICK,COLORMAGENTA,LINETHICK2;开始拉升:IF(CROSS(cxhC,生命线) AND cxhC>cxhD AND cxhC<55 AND C>O,50,0),COLORLIRED,POINTDOT;A66:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);极地上涨:IF(A66,领先,0),COLORGREEN,LINETHICK2;STICKLINE(开始拉升>0,15,开始拉升*1.01,1,0),COLORBLUE;STICKLINE((开始拉升>0 AND 开始拉升<400) OR (极地上涨>0 AND 极地上涨<400)OR (低位转强>0 AND 低位转强<400) OR (低位转强>0),30,开始拉升,1,0),COLORRED;STICKLINE(开始拉升>0,15,开始拉升*0.6,3,0),COLORBLUE;STICKLINE(开始拉升>0,15,开始拉升*0.4,3,0),COLOR00FF00;STICKLINE(开始拉升>0,15,开始拉升*0.2,3,0),COLOR0099CC;STICKLINE(低位转强>0,15,低位转强*1.01,1,0),COLORMAGENTA;STICKLINE((低位转强>0)OR(极地上涨>0),15,低位转强*0.4,3,0),COLORYELLOW;STICKLINE(低位转强>0,15,低位转强*0.2,3,0),COLORFFCC66;STICKLINE(极地上涨>0,15,极地上涨*1.01,1,0),COLORYELLOW;AA:=BARSCOUNT(C);AH:=HHV(H,120);AL:=LLV(L,120);A0:=(AH-AL)/30;STICKLINE((AA+0)/34=FLOOR((AA+0)/34),0,15,2,0),COLORF00FF0;WWWcxh99COM:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;DRAWTEXT((AA+0)/34=FLOOR((AA+0)/34),20,'时间窗'),COLORF00FF0;cxh2S:=(2*CLOSE+HIGH+LOW)/4;cxh3S:=IF(YEAR>=2099 AND MONTH>2,0,1);cxh4S:=LLV(LOW,5); cxh5S:=HHV(HIGH,4);散户:=EMA((cxh2S-cxh4S)/(cxh5S-cxh4S)*100,4)*cxh3S;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*cxh3S;吸:IF(CROSS(散户,庄家) AND 散户<30,20,0);DRAWTEXT(CROSS(散户,庄家) AND 散户<30,23,'←吸'),COLORRED;{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容