大資金進場指標 公式 源碼[通達信公式]
指標公式源碼分析及使用說明:
?
源碼:大機構倉位: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或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關文章
-
沒有相關內容