九毛八公式指标
CC1:=(2*CLOSE+HIGH+LOW+OPEN)/5; CC2:=(2*INDEXC+INDEXH+INDEXL+INDEXO)/5; C1:=CC1/CC2; O1:=(C)/(INDEXC); O2:=(O)/(INDEXO); ZLDX:MA(C1,5)COLORRED,LINETHICK2; IF((ZLDX>REF(ZLDX,1))-1,ZLDX,DRAWNULL),COLORGREEN,LINETHICK2; STICKLINE(C1>=O1 AND C1>ZLDX,C1,ZLDX,2,0),COLORRED; STICKLINE(C1>=O2 AND C1>ZLDX,C1,ZLDX,2,1),COLORFF00FF; STICKLINE(C1公式模块:
CC1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
CC2:=(2*INDEXC+INDEXH+INDEXL+INDEXO)/5; C1:=CC1/CC2; O1:=(C)/(INDEXC); O2:=(O)/(INDEXO); ZLDX:MA(C1,5),COLORRED,LINETHICK2; PARTLINE(ZLDX,(ZLDX>REF(ZLDX,1))-1,RGB(0,250,0)),LINETHICK2; STICKLINE(C1>=O1 AND C1>ZLDX,C1,ZLDX,8,0),COLORRED; STICKLINE(C1>=O2 AND C1>ZLDX,C1,ZLDX,8,1),COLORFF00FF; STICKLINE(C1<O1 AND C1<=ZLDX ,ZLDX,C1,8,0),COLORCYAN; STICKLINE(C1<O2 AND C1<=ZLDX ,ZLDX,C1,8,1),COLOR00FFFF;