九毛八公式指标
选股1: M:=1; VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57; VAR400:=EMA(VAR300,5); 操盘:=3*VAR300-2*VAR400; A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O; W18:EXIST(A1,M); 选股2: VAR06:=(2*CLOSE+HIGH+LOW)/4; VAR07:=LLV(LOW,13); VAR08:=HHV(HIGH,13); VAR09:=EMA((VAR06-VAR07)/(VAR08-VAR07)*100,13); VARA1:=EMA(0.667*REF(VAR09,1)+0.333*VAR09,2); CROSS(VAR09>VARA1,0.5) AND VAR09<20; 请将两个公式合成一个公式。谢谢了。
公式模块:
M:=1;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57; VAR400:=EMA(VAR300,5); 操盘:=3*VAR300-2*VAR400; A1:=crOSS(操盘,VAR300) AND VAR300<2.1 AND C>O; W18:=EXIST(A1,M); VAR06:=(2*CLOSE+HIGH+LOW)/4; VAR07:=LLV(LOW,13); VAR08:=HHV(HIGH,13); VAR09:=EMA((VAR06-VAR07)/(VAR08-VAR07)*100,13); VARA1:=EMA(0.667*REF(VAR09,1)+0.333*VAR09,2); CROSS(VAR09>VARA1,0.5) AND VAR09<20 AND W18;