HJX:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120)))); M20:=MA(HJX,20); DRAWBAND(M20,RGB(0,0,0),HJX,120); MA5:MA(HJX,5),COLORMAGENTA; MA3:MA(HJX,3),COLORBROWN; DRAWTEXT(CROSS(C,HJX) AND CROSS(C,MA5) AND CROSS(C,M20),L,'重上五線'),COLORYELLOW; 黃金線:IF(HJX>=MA5 AND HJX>REF(HJX,1),HJX,DRAWNULL),LINETHICK3,COLORYELLOW; MA10:MA(HJX,10),COLORGREEN; STICKLINE(C>=REF(C,1) AND C>HJX,H,L,0,0),COLORRED; STICKLINE(C>=REF(C,1) AND C>HJX,C,O,3,1),COLORRED; STICKLINE(C<REF(C,1) AND C>HJX,H,L,0,0),COLORCYAN; STICKLINE(C<REF(C,1) AND C>HJX,C,O,3,0),COLORCYAN;
|
|