九毛八公式指标
请老师帮忙把底背离改为选股预警公式,谢谢 出现底背离预警 ,源码 DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA1:=EMA(DIF1,9); A101:=BARSLAST(REF(CROSS(DIF1,DEA1),1)); 底背离:=REF(CLOSE,A101+1)>CLOSE AND DIF1>REF(DIF1,A101+1) AND CROSS(DIF1,DEA1); DRAWICON(底背离,-5,1); DRAWTEXT(底背离,-0.50,' 底背离'),COLORYELLOW;
公式模块:
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9); A101:=BArslAST(REF(crOSS(DIF1,DEA1),1)); 底背离:REF(CLOSE,A101+1)>CLOSE AND DIF1>REF(DIF1,A101+1) AND CROSS(DIF1,DEA1);