编写要求:
www.gszx.com.cn网解答:
均线:IF(CURRBARSCOUNT<=10,MA(C,10),DRAWNULL);
上:IF(CURRBARSCOUNT<=10,CONST(MA(C,10)*1.1),DRAWNULL),COLORGREEN;
下:IF(CURRBARSCOUNT<=10,CONST(MA(C,10)*0.9),DRAWNULL),COLORGREEN;
STICKLINE(CURRBARSCOUNT=10,CONST(MA(C,10)*1.1),CONST(MA(C,10)*0.9),0,0),COLORGREEN;
STICKLINE(ISLASTBAR,CONST(MA(C,10)*1.1),CONST(MA(C,10)*0.9),0,0),COLORGREEN;