九毛八公式指标
请求老师将论坛中一老师的统一化主图中的“买”,“跟” 做一选股预警,谢谢! 市盈率:C/FINANCE(33),NODRAW; 每股收益:FINANCE(33),NODRAW; 公积金:FINANCE(18),NODRAW; 流通股本:FINANCE(7)/100000000,NODRAW; 总股本:FINANCE(1)/100000000,NODRAW; 换手率%:VOL/CAPITAL*100,COLORRED, NODRAW; MA3:MA(C,N),COLORWHITE; MA18:=MA(CLOSE,18); MA13:MA(C,M),COLORGREEN,LINETHICK2; VAR1:=C=HHV(C,4) AND REF(C,1)=LLV(C,4); VAR2:=C=LLV(C,4) AND (REF(C,1)=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)=REF(C,1); A:=(3*C+L+O+H)/6; VAR4:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210; MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); CB:=EMA(VAR4,13); {红} STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),COLOR0000FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF; {蓝} STICKLINE(CLOSE
公式模块:
MA18:=MA(CLOSE,18);
mtm:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); 买1:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND crOSS(DX,MA(DX,2)); 买:=FILTER(买1=1,5); 跟:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18); XG:买 OR 跟;