此主图是本人自用多年的主图指标,绝对极品,指标非常精确而且不带未来, 指标有精确的提示点,最重要的是有抄短期底信号。每天更新欢迎关注。 赠人玫瑰手有余香,欢迎留言。大家可以自行测试使用。
{行业 板块 地区 概念} DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,HYBLOCK),COLORRED;{在屏幕左上角显示所属行业板块} DRAWTEXT_FIX(ISLASTBAR,0.55,0,0,DYBLOCK),COLORRED;{在屏幕左上角显示所属地域板块} DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,GNBLOCK),COLORRED;{在屏幕左上角显示所属概念板块} DRAWTEXT_FIX(ISLASTBAR,0.5,0.03,0,FGBLOCK),COLORMAGENTA;{在屏幕左上角显示所属风格} A3:MA(C,3),DOTLINE; A13:MA(C,13),DOTLINE; A21:MA(C,21),DOTLINE;
{ 涨幅A:=(C-REF(C,1))/REF(C,1)*100,NODRAW; 连涨:=BARSLASTCOUNT(C>REF(C,1) ),NODRAW;{连涨3天数} { A1A:=C>REF(C,1) ,NODRAW; A2A:=A1A*涨幅,NODRAW; 最后1天:=SUM(A2A,连涨) AND REFXV(C求和:=SUM(A2A,连涨) ,NODRAW; DRAWTEXT(最后1天=1 AND 连涨>=3,H*1.01,VARCAT(VAR2STR(求和,2),'%')),COLORMAGENTA; }
涨幅:=(C-REF(C,1))/REF(C,1)*100,NODRAW; 连涨:=BARSLASTCOUNT(C>REF(C,1)),NODRAW;{连涨天数} A1A:=C>REF(C,1) ,NODRAW; A2A:=A1A*涨幅,NODRAW; 最后1天:=SUM(A2A,连涨) AND REFXV(C求和:=SUM(A2A,连涨) ,NODRAW; DRAWTEXT(最后1天=1 AND 连涨>=3 AND 求和<=10,H*1.01,VARCAT(VAR2STR(求和,1),'%')),COLORMAGENTA; DRAWTEXT(最后1天=1 AND 连涨>=3 AND 求和>10,H*1.01,VARCAT(VAR2STR(求和,1),'%')),COLORYELLOW;
连跌:=BARSLASTCOUNT(CA1B:=CA2B:=A1B*涨幅,NODRAW; 最后1天B:=SUM(A2B,连跌) AND REFXV(C>REF(C,1),1),NODRAW; 求和B:=SUM(A2B,连跌) ,NODRAW; DRAWTEXT(最后1天B=1 AND 连跌>=3 AND 求和B<-10,L*0.99,VARCAT(VAR2STR(求和B*-1,1),'%')),COLORGREEN;
DRAWTEXT_FIX(1,0.915,0.93,0,'连续涨'),COLORYELLOW; DRAWNUMBER_FIX(1,0.96,0.93,0,CONST(连涨)),COLORRED; DRAWTEXT_FIX(1,0.98,0.93,0,'天'),COLORYELLOW;
DRAWTEXT_FIX(1,0.915,1,0,'连续跌'),COLORGREEN; DRAWNUMBER_FIX(1,0.96,1,0,CONST(连跌)),COLORGREEN; DRAWTEXT_FIX(1,0.98,1,0,'天'),COLORGREEN;
RC1:=REF(C,1); ZT:=C/REF(C,1)>1.099 AND H>L; CS:=IF(C>=1,10000,100000); C涨停10:=1.10*RC1-49/CS;{考虑到4舍5入} C涨停5 :=1.05*RC1-49/CS; C跌停10:=0.90*RC1+51/CS; C跌停5 :=0.95*RC1+51/CS; ST:=NAMELIKE('S') OR NAMELIKE('*S'); 涨停:= IF(ST, C>=C涨停5, C>=C涨停10); 跌停:= IF(ST, C<=C跌停5, C<=C跌停10); 盘中涨停:=IF(ST, H>=C涨停5, H>=C涨停10); 盘中跌停:=IF(ST, L<=C跌停5, L<=C跌停10); STICKLINE(盘中涨停,H,MAX(C,O),0,0),COLORMAGENTA;{涨停后回落} STICKLINE(盘中跌停,L,MIN(C,O),0,0),COLORLICYAN;{跌停后回升}; STICKLINE(涨停,O,C,1,0),COLORMAGENTA; STICKLINE(跌停,O,C,1,0),COLORLICYAN;
天线:=MA(C,5),DOTLINE,COLORWHITE; 人线:=MA(C,36),NODRAW; 地线:=人线*0.99,COLORRED; 金线:=人线*0.97,DOTLINE; D11:=天线/地线; D2:=D11>=1 AND D11<1.02; D3:=CROSS(C,天线) AND CROSS(C,地线); 伏1:=D2 AND D3 AND 天线>地线 AND L<地线 AND O<地线; 伏:=FILTER(伏1,40)*1,COLORYELLOW; DRAWTEXT(伏,L*0.99,'潜★伏'),COLORYELLOW; DRAWICON(伏,L*0.975,28); |