九毛八公式指标
师帮我把《买牛》选股和另一个选股公式合并。买牛选股源码;X:=EMA(C,2)-EMA(C,7); 买牛区:IF(REF(X,1)<-0 and x>0 ,1,0),COLORYELLOW; 双多阴选股源码;VAR1:=AMOUNT/VOL/7; VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; VAR3:=SUM(AMOUNT,10)/VAR1/7; VAR4:=DMA(VAR2,VOL/VAR3); 双多阴后买:=(CLOSE-VAR4)/VAR4*100,COLORLIMAGENTA; 镜像:=-双多阴后买; XG:CROSS(双多阴后买,-双多阴后买); 想要它们条件共振。谢谢了。
公式模块:
X:=EMA(C,2)-EMA(C,7);
买牛区:=IF(REF(X,1)<-0 AND X>0 ,1,0); VAR1:=AMOUNT/vol/7; VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; VAR3:=SUM(AMOUNT,10)/VAR1/7; VAR4:=DMA(VAR2,VOL/VAR3); 双多阴后买:=(CLOSE-VAR4)/VAR4*100; 镜像:=-双多阴后买; XG:=crOSS(双多阴后买,-双多阴后买); 买牛区 AND XG;
-0>