九毛八公式指标
指标源码 CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); DD:=DMA(CLOSE,CC); 上轨:(1+7/100)*DD,DOTLINE,COLORGREEN; 下轨:(1-7/100)*DD,DOTLINE,COLORGREEN; 中轨:(上轨+下轨)/2,DOTLINE,COLORGREEN; 疯狂:(1+14/100)*DD,DOTLINE,COLORGRAY; 抄底:(1-14/100)*DD,DOTLINE,COLORGRAY; DRAWNUMBER(ISLASTBAR,上轨,上轨),COLOR00FFFF; DRAWNUMBER(ISLASTBAR,下轨,下轨),COLORFFFF00; DRAWNUMBER(ISLASTBAR,中轨,中轨),COLOR00FF00; DRAWNUMBER(ISLASTBAR,疯狂,疯狂),COLOR0000FF; DRAWNUMBER(ISLASTBAR,抄底,抄底),COLORWHITE; INLINE:=EMA(C,250); CHIPS:INLINE-(EMA(C,3)-INLINE),COLORGRAY; 测试了几天才来哈。谢谢老师。这几天就预警了一只股 一直跌停的
公式模块:
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC); 抄底:=(1-14/100)*DD; XG:BETWEEN(C,抄底*0.98,抄底*1.01);