大资金进场指标 公式 源码[通达信公式]
指标公式源码分析及使用说明:
源码:大机构仓位:100*(1-WINNER(CLOSE)),COLORRED,LINETHICK3;cxh2:=1/WINNER(CLOSE);cxh3:=MA(CLOSE,13);cxh4:=100-ABS((CLOSE-cxh3)/cxh3*100);cxh5:=LLV(LOW,120);cxh6:=HHV(HIGH,120);cxh7:=(cxh6-cxh5)/100;cxh8:=SMA((CLOSE-cxh5)/cxh7,20,1);cxh9:=SMA((OPEN-cxh5)/cxh7,20,1);cxhA:=3*cxh8-2*SMA(cxh8,10,1);cxhB:=3*cxh9-2*SMA(cxh9,10,1);cxhC:=100-cxhB;基金私暮仓位: (100-cxhA),COLORYELLOW,LINETHICK2;cxhE:=REF(LOW,1)*0.9;cxhF:=LOW*0.9;cxh10:=(cxhF*VOL+cxhE*(CAPITAL-VOL))/CAPITAL;cxh11:=EMA(cxh10,30);cxh12:=CLOSE-REF(CLOSE,1);cxh13:=MAX(cxh12,0);cxh14:=ABS(cxh12);cxh15:=SMA(cxh13,7,1)/SMA(cxh14,7,1)*100;cxh16:=SMA(cxh13,13,1)/SMA(cxh14,13,1)*100;cxh17:=BARSCOUNT(CLOSE);cxh18:=SMA(MAX(cxh12,0),6,1)/SMA(ABS(cxh12),6,1)*100;cxh19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;cxh1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;cxh1B:=SMA((SMA(cxh1A,4,1)-50)*2,3,1);cxh1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;cxh1D:=SMA(cxh1C,4,1);cxh1E:=SMA(cxh1D,3,1);cxh1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;cxh20:=cxh18<=25 AND cxh19<-95 AND cxh1F>20 AND cxh1B<-30 AND cxh1E<30 AND cxh11-CLOSE>=-0.25 AND cxh15<22 AND cxh16<28 AND cxh17>50;cxh21:=(HIGH+LOW+CLOSE)/3;cxh22:=(cxh21-MA(cxh21,14))/(0.015*AVEDEV(cxh21,14));cxh23:=(cxh21-MA(cxh21,70))/(0.015*AVEDEV(cxh21,70));cxh24:=IF(cxh22>=150 AND cxh22<200 AND cxh23>=150 AND cxh23<200,10,0);cxh25:=IF(cxh22<=-150 AND cxh22>-200 AND cxh23<=-150 AND cxh23>-200,-10,cxh24);STICKLINE(cxh20,0,80,5,0),LINETHICK4,COLORRED;DRAWTEXT(CROSS(cxh20,0.5) AND COUNT(cxh20=1,10)=1,90,'超级主力建仓!') , COLORRED;cxhF1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);cxh101:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);cxh111:=cxhF1<REF(cxh101,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(cxh111 AND COUNT(cxh111,30)=1,70,'大资金进场'),LINETHICK1,COLORLIMAGENTA;STICKLINE(cxh111 AND COUNT(cxh111,30)=1,1,60,5,0),COLORLIMAGENTA,LINETHICK4;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容