效益操作线公式
1638488873.jpg
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M40:=MA(C,40);
M60:=MA(C,60);
A1:=IF(C>=M5,M5,M10);
A2:=IF(C<M10,M20,M5);
A3:=MAX(A1,A2);
A4:=MA(A3,5);
A5:=MAX(A3,A4);
B1:MIN(A1,A5);
B2:MA(B1,20),COLORGREEN,LINETHICK3;
DRAWBAND(B1,120,B2,RGB(39,135,39));
有效益:IF(C>REF(B1,1),B1,DRAWNULL),COLORYELLOW,LINETHICK2;
无效益:IF(C<REF(B1,1),B1,DRAWNULL),COLORCYAN,LINETHICK2;
DRAWKLINE(H,O,L,C);
D1:=CONST(REF(H,N))+(N+1-CURRBARSCOUNT)*M/1000;
D2:IF(CURRBARSCOUNT<N,D1,DRAWNULL),COLORYELLOW;
163955137.jpg
|