通达信涨停完美主图/副图 源码

[复制链接]
查看114 | 回复0 | 2022-7-24 02:50:47 | 显示全部楼层 |阅读模式

两个指标配合使用说明:如果当日K线上主图指标出现了黄色方块的买入信号后,我们可以不必急着去买入,而是看一下副图指标,如果下面的副图指标也相对的出现了买入信号后,我们则可以大胆的全仓介入,坐等着主力拉升就可以了。 

 主图公式:

    N:=20;
    N1:=7;
    N2:=69;
    T1:=IF((DATE<=1341231),1,0);
    M3:=EMA(CLOSE,3);
    M8:EMA(CLOSE,8),COLOR008000;
    M13:EMA(M8,13),COLOR0000FF;
    M62:EMA(M8,55),COLORF0F000;
    VAR1:=EMA(M13,62);
    M81:EMA(M62,81),COLOR00FFFF;
    M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF;
    M250:EMA(VAR1,250),POINTDOT,LINETHICK2,COLORF00FF0;
    VAR2:=(CLOSE+HIGH+LOW)/(3);
    VAR3:=(EMA(VAR2,10))*(T1);
    VAR4:=(REF(VAR3,1))*(T1);
    STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),COLOR00FFFF;
    STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),COLORFF0000;
    VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);
    VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);
    DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),COLOR00FFFF;
    DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),COLOR008000;
    VAR7:=REF(CLOSE,1);



    副图公式:
    N:=5;
    VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
    3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
    VAR2:8,COLORGREEN,LINETHICK0;
    上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;
    专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;
    DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;
    VARO5:=LLV(LOW,27);
    VARO6:=HHV(HIGH,34);
    VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
    建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;
    0,LINETHICK2 ,COLORFFCC00;

202006_15_184216ji2kcq9cyq02ksp0-20200615212641.png

202006_15_184216ji2kcq9cyq02ksp0-20200615212641.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则