通达信主图指标冠军一号 源码 贴图 自己优化后的,今天发出来供大家参考, 自己使用此主图多看看K线图的显示,你会掌握操盘要点。 N:=100; KK:=BARSLAST(CURRBARSCOUNT=N); GD:=CONST(IF(ISLASTBAR=1,HHV(H,KK),0));{高点} DD:=CONST(IF(ISLASTBAR=1,LLV(L,KK),0));{低点} KJ:=GD-DD;{高低点差值=分区高度} GD4:=IF(CURRBARSCOUNT<=N,GD,DRAWNULL); 高区:=IF(CURRBARSCOUNT<=N,GD,DRAWNULL),COLORRED,LINETHICK2; 低区:=IF(CURRBARSCOUNT<=N,DD,DRAWNULL),COLOR00FF00,LINETHICK2; 平衡:=IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLOR00FFFF; 低:=IF(CURRBARSCOUNT<=N/2,DD,DRAWNULL),COLORFFFF00; 高:=IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL),COLOR00FFFF; 支撑:=IF(CURRBARSCOUNT<=N/2,DD+KJ*0.191,DRAWNULL),COLOR00FFFF; 强势:=IF(CURRBARSCOUNT<=N,DD+KJ*0.382,DRAWNULL),COLORFF00FF; 突破:=IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLOR0000FF; 警示:=IF(CURRBARSCOUNT<=N/2,DD+KJ*0.618,DRAWNULL),COLOR00FFFF; 压力:=IF(CURRBARSCOUNT<=N,DD+KJ*0.809,DRAWNULL),COLOR00FF00; 低涨:=IF(CURRBARSCOUNT<=N/2,(C/LLV(LOW,KK)-1)*100,DRAWNULL),COLOR0000FF,NODRAW; 天数:BARSLAST(L=DD),COLORCYAN,NODRAW; 顶点:IF(CURRBARSCOUNT<=N, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,CROSSDOT; 低点:IF(CURRBARSCOUNT<=N, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,CROSSDOT; STICKLINE(CCI>=200 AND H>=顶点,O,C,2,0),COLORBLUE; STICKLINE(CCI<=100 AND L<=低点,O,C,2,0),COLORYELLOW;#我要上微头条##通达信# |
|