九毛八公式指标
求老师写一个《乖离指导》中股价跌破地线的选股公式(下面蓝色虚线)。 {N:2,250,12;N1:24} AS5:(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100,COLORYELLOW,NODRAW; BIAS1:(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100,COLORGREEN,NODRAW; BIAS2:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100,COLORGREEN,STICK,LINETHICK3; 分界线:=BIAS1>=0; DRAWBAND(分界线,RGB(90,50,180),AS5,(50,50,180)); BIAS:(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100,COLORRED; 上轨:MA(BIAS1,8)+1.618*STD(BIAS2,8),COLORBROWN; 下轨:MA(BIAS1,8)-1.618*STD(BIAS2,8),COLORLIGRAY; 【最高】:=BIAS1*1.1,COLORGREEN; 【最低】:=BIAS1*0.90,NODRAW; 【收盘】:=BIAS1,NODRAW; 【开盘】:=REF(【收盘】,1),NODRAW; STICKLINE(【收盘】>=【开盘】,【最高】,【最低】,0,0),COLORMAGENTA; STICKLINE(【收盘】>=【开盘】,【收盘】,【开盘】,3,1),COLORYELLOW; STICKLINE(【收盘】<【开盘】,【最高】,【最低】,0,0),COLOR00FF00; STICKLINE(【收盘】<【开盘】,【收盘】,【开盘】,3,1),COLOR00FF00; 变异:IF(BIAS< REF(BIAS,1),BIAS,DRAWNULL),COLORLIGREEN,LINETHICK3; STICKLINE(AS5>0 AND AS5>REF(AS5,1),AS5+1,分界线,1,0),COLORMAGENTA; UP1:=HHV(BIAS,55); UP2:=LLV(BIAS,55); UP3:=BIAS-(BIAS1-BIAS); UP:IF(BIAS1>UP1 AND BIAS=UP1,MAX(LLV(UP1,10),UP3),UP1),COLORBB9A00; DN:IF(BIAS1
bias1:=(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100;
LL:=CONST(LLV(JB,200)); crOSS(LL,C);