顶位指标 公式 源码[通达信公式]
指标公式源码分析及使用参考说明:
源码:
cxhA33指标A: 0;cxhA33指标B: 0;cxhA33指标C: 0;cxhA33指标D: 0;cxhA33指标E: 0;cxhA33指标F: 0;cxh1:=((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)));cxh2:=10;cxh3:STICKLINE((cxh1 <= 10),0,20,2,0),LINETHICK2,COLORYELLOW;cxh5:=STICKLINE(CROSS(cxh1,cxh2),0,30,3,0),COLORWHITE;cxh6:=90;cxh8:STICKLINE((cxh1 >= 85),100,80,2,0),LINETHICK2,COLOR66FF00;cxh9:STICKLINE(CROSS(cxh6,cxh1),130,90,3,0),LINETHICK5,COLORFF3300;QQQ:=CROSS(cxh6,cxh1);{DRAWICON(QQQ,70,19);DRAWTEXT(QQQ,130,'*止损');}cxhQ1:(((7 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 30),4,1))- (3 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 30),4,1),3,1)))- SMA(SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 30),4,1),3,1),2,1)),COLOR8811FF,LINETHICK2;cxhA1:=14;cxhA2:=78.89;cxhA3:=CROSS(cxhQ1,cxhA1);cxhA5:=CROSS(cxhA2,cxhQ1);DRAWICON(cxhA3,cxhQ1,5);DRAWICON(cxhA5,110,6);cxhX:=((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)));cxhA6:=IF(CROSS(cxhX,3),100,0);cxhA8:=IF((cxhX <= 3),25,0);cxhQ2:IF((cxhX < 5),100,0),COLORRED;cxhS1:=REF(CLOSE,1);cxhH12:=((SMA(MAX((CLOSE - cxhS1),0),6,1) / SMA(ABS((CLOSE - cxhS1)),6,1)) * 100);cxhQ3:(CROSS(80,cxhH12) * 160),COLORWHITE;DRAWTEXT(CROSS(80,cxhH12),150,'<-顶位 '),COLORYELLOW;DRAWTEXT(CROSS(80,cxhH12),120,'<--分 '),COLORYELLOW;DRAWTEXT(CROSS(80,cxhH12),100,'<--析 '),COLORYELLOW;DRAWTEXT(CROSS(80,cxhH12),80,'<--家 '),COLORYELLOW;DRAWTEXT(CROSS(80,cxhH12),60,'<--战 '),COLORYELLOW;DRAWTEXT(CROSS(80,cxhH12),40,'<--法 '),COLORYELLOW;cxhS2:=((SMA(MAX((CLOSE - cxhS1),0),7,1) / SMA(ABS((CLOSE - cxhS1)),7,1)) * 100);cxhS5:=((SMA(MAX((CLOSE - cxhS1),0),13,1) / SMA(ABS((CLOSE - cxhS1)),13,1)) * 100);cxhH51:=BARSCOUNT(CLOSE);短期底部:=(((cxhS2 < 20) AND (cxhS5 < 25)) AND (cxhH51 > (50 * 300)));DRAWTEXT(CROSS(100,短期底部),40,'☆短底 '),COLORBROWN;cxhS3:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));cxhS8:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));红灯:=(cxhS3 AND cxhS8);cxhS6:=REF(CLOSE,1);cxhH33:=((SMA(MAX((CLOSE - cxhS6),0),6,1) / SMA(ABS((CLOSE - cxhS6)),6,1)) * 100);绿灯:=CROSS(80,cxhH33);cxhH1:=REF(LOW,1);cxhH2:=((SMA(ABS((LOW - cxhH1)),3,1) / SMA(MAX((LOW - cxhH1),0),3,1)) * 100);cxhH3:=EMA(IF((CLOSE * 1.2),(cxhH2 * 10),(cxhH2 / 10)),3);cxhH5:=LLV(LOW,38);cxhH6:=HHV(cxhH3,38);cxhH8:=IF(LLV(LOW,90),1,0);cxhH9:=((EMA(IF((LOW <= cxhH5),((cxhH3 + (cxhH6 * 2)) / 2),0),3) / 618) * cxhH8);秘密吸筹:STICKLINE(cxhH9,0,cxhH9,6,1),COLORFFFF66;cxhG1:=(MA(LOW,2) * 0.96);cxhG2:=(MA(LOW,26) * 0.85);cxhG3:=(((REF(cxhG1,1) < cxhG2) AND (REF(cxhG1,1) < cxhG1)) AND (REF(cxhG1,1) < REF(cxhG1,2)));STICKLINE(cxhG3,0,(cxhH9 * 2),6,0),COLORFF00CC;{DRAWTEXT(cxhG3,(cxhH9 * 2),'短线出击'),COLORRED;}↑短线突击:DRAWICON(cxhG3,40,25),COLORFF99CC;DRAWICON(红灯,1.1,9);DRAWICON(绿灯,80,15);
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容