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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」完美买卖主图(主图 完美源码)


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-3-11 12:23:31
    【资料名称】:完美买卖主图(主图 完美源码)介绍
    【资料描述】:

    完美买卖主图(主图 完美源码)

    {INPUT:P1(28,20,32),P2(32,32,35),P3(35,35,38),N(3,0,20),M(20,0,100); }
    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);

    DRAWTEXT(VAR3P>90,LOW*0.92,'追涨'),COLORFF00FF;
    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);
    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.01,0),COLORFF00FF;


    MA5:MA(CLOSE,5);
    MA13:MA(CLOSE,13);
    MA21:MA(CLOSE,21);
    MA34:MA(CLOSE,34);
    MA55:MA(CLOSE,55);
    MA89:MA(CLOSE,89);
    MA144:MA(CLOSE,144);
    MA233:MA(CLOSE,233);
    RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    X:=LLV(J,2)=LLV(J,8);
    Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);
    主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);
    散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);
    VAR2:=LLV(LOW,10);
    VAR3:=HHV(HIGH,25);
    动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);
    DRAWTEXT(CROSS(动能趋势线,70),HIGH*1.02,'险'),COLORGREEN;
    DRAWTEXT(CROSS(动能趋势线,80),HIGH*1.02,'减'),COLOR00FF00;
    DRAWTEXT(CROSS(动能趋势线,87.5),HIGH*1.02,'出局'),COLORWHITE;
    DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW,'短进'),COLORFF00FF;
    DRAWTEXT(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,'见底'),COLORRED;
    DRAWICON(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,1);

    {黑马股}
    AA1:=AMOUNT/V;
    BB1:=L<AA1*0.9;
    CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
    DD1:=L<MA(C,5)*0.921;
    EE1:=V<MA(V,5)*1.5;
    FF1:=BB1 AND CC1 AND DD1 AND EE1;
    DRAWTEXT(FF1,(LOW* 0.97),'庄影'),COLOR4080FF;
    {涨跌停显示}
    涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
    STICKLINE(涨停,O,C,3,0),COLORRED;
    ZDF:=(C-REF(C,1))/REF(C,1)*100;
    STICKLINE(ZDF<-9.9,O,C,3,0),COLORGREEN;
    {黑马}
    A1A:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1);
    A5A:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*1;
    DRAWTEXT(CROSS(A1A,EMA(A1A,5))AND EMA(A1A,5)<A5A,L*0.98,'黑马'),COLORYELLOW;


     




     



    gd10407


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






    上一篇:「指标」缠论公式(画线 主图 源码)
    下一篇:「指标」倍量成交拐点+成交量5、35、135均线指标及其说明
    回复

    举报

    QQ|

    GMT+8, 2024-11-11 00:49

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