九毛八公式指标
{轨道} CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); DD:=DMA(CLOSE,CC); 上:(1+7/100)*DD,COLORgray; {疯:(1+14/100)*DD,COLORred;} 下:(1-7/100)*DD,COLORgray; 中:(上+下)/2,colorf0f000; A := DISPSTATUS=2; DRAWTEXT(A AND 上,上,NUMTOSTRN(上,2)),ColorEA91B5; PARTLINE(上 ,(上>REF(上,1))-1,rgb(0,255,200),1,rgb(255,0,255) ),LINETHICK1,LAYER0; {DRAWTEXT(A AND 疯,疯,NUMTOSTRN(疯,2)),ColorEA91B5;} DRAWTEXT(A AND 中,中,NUMTOSTRN(中,2)),ColorEA91B5; PARTLINE(中 ,(中>REF(中,1))-1,rgb(0,255,200),1,rgb(255,0,255) ),LINETHICK1,LAYER0; DRAWTEXT(A AND 下,下,NUMTOSTRN(下,2)),ColorEA91B5;STICKLINE(C>=O,C,O, 7,0),COLORred; PARTLINE(下 ,(下>REF(下,1))-1,rgb(0,255,200),1,rgb(255,0,255) ),LINETHICK1,LAYER0;
公式模块:
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC); 上:(1+7/100)*DD,COLORMAGENTA; {疯:(1+14/100)*DD,COLORRED;} 下:(1-7/100)*DD,COLORMAGENTA; 中:(上+下)/2,COLORMAGENTA; INLINE:=EMA(C,250); CHIPS:INLINE-(EMA(C,3)-INLINE),COLORGRAY; {A := DISPSTATUS=2; DRAWTEXT(A AND 上,上,NUMTOSTRN(上,2)),COLOREA91B5; PARTLINE(上,(上>REF(上,1))-1,RGB(0,255,200),1,RGB(255,0,255) ),LINETHICK1,LAYER0;} IF((上>REF(上,1))-1, 上,DRAWNULL),COLORLIBLUE; IF((中>REF(中,1))-1, 中,DRAWNULL),COLORLIBLUE; IF((下>REF(下,1))-1, 下,DRAWNULL),COLORLIBLUE; {DRAWTEXT(A AND 疯,疯,NUMTOSTRN(疯,2)),COLOREA91B5;} {DRAWTEXT(A AND 中,中,NUMTOSTRN(中,2)),COLOREA91B5; PARTLINE(中 ,(中>REF(中,1))-1,RGB(0,255,200),1,RGB(255,0,255) ),LINETHICK1,LAYER0; DRAWTEXT(A AND 下,下,NUMTOSTRN(下,2)),COLOREA91B5;STICKLINE(C>=O,C,O, 7,0),COLORRED; PARTLINE(下 ,(下>REF(下,1))-1,RGB(0,255,200),1,RGB(255,0,255) ),LINETHICK1,LAYER0;}; DRAWNUMBER(ISLASTBAR,上,上),COLORMAGENTA; DRAWNUMBER(ISLASTBAR,中,中),COLORMAGENTA; DRAWNUMBER(ISLASTBAR,下,下),COLORMAGENTA;