文章预览
一个个股趋势划分为各个区域的副图看盘指标。 N:=120; K:=BARSLAST(CURRBARSCOUNT=N); GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));{高点} LD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));{低点} KJ:=GD-LD;{高低点差值=分区高度} GD4:=IF(CURRBARSCOUNT < =N/2,GD,DRAWNULL); 高区:IF(CURRBARSCOUNT < =N,GD,DRAWNULL),COLORRED,LINETHICK2; 低区:IF(CURRBARSCOUNT < =N,LD,DRAWNULL),COLOR00FF00,LINETHICK2; 平衡:=IF(CURRBARSCOUNT < =N,LD+KJ/2,DRAWNULL),COLOR00FFFF,NODRAW; 低:IF(CURRBARSCOUNT < =N/2,LD,DRAWNULL),COLORFFFF00; 高:IF(CURRBARSCOUNT < =N/2,GD,DRAWNULL),COLOR00FFFF; 支撑:IF(CURRBARSCOUNT < =N/2,LD+KJ*0.191,DRAWNULL),COLOR00FFFF; 强势: IF(CURRBARSCOUNT < =N/2,LD+KJ*0.382,DRAWNULL),COLORFF00FF; 突破:IF(CURRBARSCOUNT < =N/2,LD+KJ/2,DRAWNULL),COLOR0000FF; 警示:IF(CURRBARSCOUNT < =N/2,LD+KJ*0.618,DRAWNULL),COLOR00FFFF; 压力:IF(CURRBARSCOUNT < =N/2,LD+KJ*0.809,DRAWNULL),COLOR00FF00; 低涨:IF(CURRBARSCOUNT < =N/2,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW; 天数
………………………………