九毛八公式指标
量_价:=1;CTKG:=1; W:=量_价; EPSL:=0.0001; ZZ:=(C+H+L)/3; TJA:=ZZ>=MAX(C,O) AND CTKG=1;{倒锤头}; TJB:=ZZ<=MIN(C,O) AND CTKG=1;{正锤头}; ZF:=IF(TJA,1,IF(TJB,-1,0));{正负数}; TJ0:=TJA OR TJB; TJ1:=H=L AND C>REF(C,1);{一字涨停}; TJ2:=H=L AND C=0,0,V,3,0),COLOR000099; STICKLINE(量差>=0,0,V,2.2,0),COLOR0000CC; STICKLINE(量差>=0,0,V,1.5,0),COLOR0000FF; STICKLINE(量差>=0,0,V,0.5,0),COLORCC66FF; ⑤:MA(V,5),COLORRED; M10:MA(V,10),COLOR00F7F7; DRAWTEXT(CROSS(⑤,M10) AND 量差>0,V+1.20,'★'),COLORGREEN; 选出★,谢谢了
公式模块:
量_价:=1;
CTKG:=1; W:=量_价; EPSL:=0.0001; ZZ:=(C+H+L)/3; TJA:=ZZ>=MAX(C,O) AND CTKG=1;{倒锤头}; TJB:=ZZ<=MIN(C,O) AND CTKG=1;{正锤头}; ZF:=IF(TJA,1,IF(TJB,-1,0));{正负数}; TJ0:=TJA OR TJB; TJ1:=H=L AND C>REF(C,1);{一字涨停}; TJ2:=H=L AND C<REF(C,1);{一字跌停}; TJ3:=H=L AND C=REF(C,1);{连续一字涨、跌停}; 量_价:=IF(W=1,vol,AMOUNT);{平盘量,白色} EE:=IF(TJ1,EPSL,IF(TJ2,-EPSL,0)); ZL:=2*(H-L)+ABS(C-O)+3*IF(TJ3,EPSL,ABS(EE)); JGL_DX:=(IF(TJ0,2/3*(2*C-H-L)+ZF*ABS(C-O),(C-O))+EE)/ZL; 买:=量_价*(1+JGL_DX)/20000; 卖:=量_价*(1-JGL_DX)/20000; 量差:=买-卖; ⑤:=MA(V,5); M10:=MA(V,10); crOSS(⑤,M10) AND 量差>0;