九毛八公式指标
P1:=H1-L1; 阻力:=L1+P1*7/8,COLOR00DD00; 支撑:=L1+P1*0.5/8,COLOR00DD00; STICKLINE(CROSS(支撑,现价),低点,DIF1,1,0),COLORYELLOW; DRAWTEXT(LONGCROSS(支撑,现价,2),低点*0.95,'买'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(现价,阻力,2),高点*0.95,'卖'),COLORRED;{抛}; 低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1; JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0)); 二次金叉:=CROSS(DIF,DEA) AND DEA<0 and count(jccount=2,21)=1;A8:=BARSLAST(REF(CROSS(DIF,DEA),1));DRAWICON(REF(CLOSE,A8+1)>CLOSE AND DIF>REF(DIF,A8+1) AND CROSS(DIF,DEA),低点,7); 以上分时指标出现买时预警,如果能盘中盘选股就更好,先谢谢高手老师。
公式模块:
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:=L1+P1*7/8; 支撑:=L1+P1*0.5/8; xg:LONGcrOSS(支撑,c,2);
0>