参数 N:1 100 20
DD:=DMA(CLOSE,ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20));
融上:(1+7/100)*DD,COLORYELLOW;
融下:(1-7/100)*DD,COLORYELLOW;
融中:(融上+融下)/2,COLORYELLOW;
晴上:(1+N/100)*DD,COLORGREEN,DOTLINE;
晴下:(1-N/100)*DD,COLORGREEN,DOTLINE;
EPPP:=(HIGH+LOW+OPEN+2*CLOSE)/5;
DRAWNUMBER(ISLASTBAR,融上,融上),COLOR00FFFF;
DRAWNUMBER(ISLASTBAR,融下,融下),COLORFFFF00;
DRAWNUMBER(ISLASTBAR,融中,融中),COLOR00FF00;
DRAWNUMBER(ISLASTBAR,晴上,晴上),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,晴下,晴下),COLORWHITE;