股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」趋势通道(主图 源码 有用法说明)


        [-----复制链接-----]

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-3-11 12:22:03
    【资料名称】:趋势通道(主图 源码 有用法说明)介绍
    【资料描述】:

    趋势通道(主图 源码 有用法说明)

    趋势通道,有未来
    粗的黄线和红线代表中期策略,黄线出现代表中期趋势向下,红线出现代表中期趋势向上,操作你可以选择红线上进出.

    ZDF:=(C-REF(C,1))/REF(C,1)*100;
    STICKLINE(ZDF>9.8,O,C,2,0),COLORRED;
    STICKLINE(ZDF<-9.8,O,C,2,0),COLORBLUE;
    VAR6Q:=REF(CLOSE,1);
    VAR7Q:=SMA(MAX(CLOSE-VAR6Q,0),6,1)/SMA(ABS(CLOSE-VAR6Q),6,1)*100;
    DRAWTEXT(CROSS(84,VAR7Q),H*1.03,'逃顶'),COLORYELLOW ;
    VAR3P:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);
    DRAWICON(VAR3P>90,L*0.99,1);
    VAR51:=EMA(AMOUNT/VOL/100,3);
    VAR52:=EMA(VAR51,88);
    VAR53:=EMA(VAR51,88)*0.85;
    VAR54:=VAR53*0.87;
    VAR55:=LOW<VAR54 AND CLOSE>REF(CLOSE,1)*1.02;
    DRAWTEXT(FILTER(VAR55,6),LOW+0.1,'坚决●买进'), COLORYELLOW;
    AA:=CROSS(MA(C,5),MA(C,20)) AND CROSS(MA(C,5),MA(C,30)) AND CROSS(MA(C,5),MA(C,60));
    BB:=MA(C,60)>MA(C,10) AND CROSS(MA(C,10),MA(C,30)) AND MA(C,30)>MA(C,20) AND ABS(MA(C,60)-MA(C,20))/MA(C,20)<0.05;
    CC:=MA(C,30)>MA(C,5) AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,10), COLORYELLOW;
    DD:=ABS((MA(C,5)-MA(C,10))+(MA(C,10)-MA(C,20))+(MA(C,20)-MA(C,30)))<0.02 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1);
    EE:=MA(C,20)>MA(C,5) AND CROSS(MA(C,5),MA(C,10)) AND MA(C,10)>MA(C,60) AND ABS(MA(C,20)-MA(C,60))/MA(C,60)<0.05;
    FF:=AA OR BB OR CC OR DD OR EE ;
    DRAWTEXT(FF,L*0.99,'庄影'),COLORYELLOW;
    STICKLINE(FF,H,L,0.5,0),COLORYELLOW;
    N1:=7;
    LC:=REF(CLOSE,1);
    X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;
    魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;
    魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;
    TJ00:=X=魔王;
    TJ11:=X=魔鬼;
    TJ22:=X<REF(X,1);
    TJ33:=X>REF(1,X);
    JRS1:=DRAWICON(TJ11 AND TJ22,X,1);
    JRS2:=DRAWICON(TJ00 AND TJ33,X,2);
    DRAWICON(FILTER(JRS1>0,1),L*0.97,5);
    DRAWICON(FILTER(JRS2>0,1),H*1.02,6);
    K:=(C+H+L)/3;
    D:=MA(K,4);
    DRAWICON(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98,20);
    MTM:=C-REF(C,1);
    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
    买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
    DRAWICON(FILTER(买=1,5),L*0.95,25);
    获利了结:EMA(EMA(EMA(HIGH,5),5),5)*1.15,COLORFFFFFF,LINETHICK1;
    风险: EMA(EMA(EMA(HIGH,5),5),5)*1.1,COLORYELLOW;
    回档: EMA(EMA(EMA(HIGH,5),5),5)*1.05,COLOR00FF00;
    平衡: EMA(EMA(EMA(HIGH,5),5),5),COLORFF00FF,LINETHICK1;
    反弹: EMA(EMA(EMA(HIGH,5),5),5)*0.95,COLORGRAY,LINETHICK1;
    超跌: EMA(EMA(EMA(HIGH,5),5),5)*0.9,COLORBLUE,LINETHICK1;
    MA6:=MA(CLOSE,5)COLORWHITE;
    MA12:=MA(CLOSE,12),POINTDOT;
    MA33:=MA(CLOSE,33),COLOR00FFFF,LINETHICK2;
    DRAWTEXT(CROSS(MA(C,6),MA(C,12)),MA(C,6),'○'),LINETHICK2, COLORYELLOW;
    DRAWTEXT(CROSS(MA(C,12),MA(C,33)),MA(C,12),'◎'),LINETHICK2, COLORLIRED;
    XX:=L<反弹 AND C>反弹 ;
    DRAWTEXT(XX,反弹*0.98,'回踩'),COLORYELLOW ;

    N:=IF(BARSCOUNT(C)>=48,48,BARSCOUNT(C));
    AMOV:=VOL*(C+L+H)/3;
    MN:=SUM(AMOV,N)/SUM(VOL,N);
    NOTEXT16:IF(C>=MN,MN,DRAWNULL),LINETHICK3,COLORRED;
    NOTEXT17:IF(C<MN,MN,DRAWNULL),LINETHICK3,COLORYELLOW;





    gd10669


    【下载地址隐藏】:                    点:回复可见地址
    游客,如果您要查看本帖隐藏内容请回复






    上一篇:「指标」组合主图(主图 源码)
    下一篇:「指标」双底背离 抄底逃顶
    回复

    举报

    QQ|

    GMT+8, 2024-11-10 14:35

    快速回复 返回顶部 返回列表