指标源码: N1:=34; N2:=9; N3:=3; X1:=100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)); VAR1:=100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2)); VAR2:=100*(HHV(HIGH,N3)-CLOSE)/(HHV(HIGH,N3)-LLV(LOW,N3)); VAR3:=VAR1-X1; VAR4:=X1-VAR1; STICKLINE(VAR3<0,0,VAR4,3,0),COLOR99FFF0; 暗中建仓:VAR3<0,COLORRED; STICKLINE(VAR4<0,0,VAR3,3,1),COLORFFFFFF; 机构暗中对倒:VAR4<0,COLORFFFFFF; VAR5:=DYNAINFO(5); VAR6:=IF(HIGH<VAR5,0,IF(LOW>VAR5,1,(VAR5-HIGH+0.009)/(LOW-HIGH+0.009))); A:=CLOSE*1.1; B:=CLOSE*0.9; B1:=100*(WINNER(A)-WINNER(B)); CMSD:=100-B1; C1:=MA(CLOSE,13)<REF(MA(CLOSE,13),1); D1:=IF(CLOSE>1000,CROSS(VAR6,22),CROSS(VAR6,24)); STICKLINE(CMSD>65 AND C1,CMSD-88,0,3,0),COLORFF00FF; 主力建仓:CMSD>65 AND C1,COLORFF00FF; ZC_1:=IF(LOW<DYNAINFO(7),0,IF(HIGH>DYNAINFO(7),DYNAINFO(7)-(DYNAINFO(7)-HIGH+0.02)/(HIGH-LOW+0.02),0)); ZC_2:=DMA(ZC_1,VOL/CAPITAL)*(100); 出货:=IF(ZC_2>0 AND ZC_2>REF(ZC_2,1),ZC_2/20,0); STICKLINE(出货>0,出货-88,0,3,0),COLORFF0000; 机构出货:出货>0,COLORFF0000; 换手率:=VOL/FINANCE(7); 游资私募:SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,5,1),COLORMAGENTA,LINETHICK2;
|