编写要求:
(1)股价收盘站上56日均线. (2)黄线上穿o轴选股 REFLINE: -200,-100, 0, 100,200; TYP1:= (HIGH + LOW + CLOSE)/3; CCI1:(TYP1-MA(TYP1,N))/(0.015*AVEDEV(TYP1,N)),COLOR06F9F9,LINETHICK2; TYP2 := (HIGH + LOW + CLOSE)/3; CCI2:(TYP2-MA(TYP2,P))/(0.015*AVEDEV(TYP2,P)),COLORFFFFFF,LINETHICK1; TYP3 := (HIGH + LOW + CLOSE)/3; CCI3 :(TYP3-MA(TYP3,X))/(0.015*AVEDEV(TYP3,X)),COLORSTICK,LINETHICK2; 100,COLOR99FFCC; 200,COLOR0000FF; -100,COLOR99FFCC; -200,COLOR0000FF; 0,COLORLIMAGENTA,LINETHICK2;
公式在线网解答:
N:=50;