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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」通达信七星阵指标分享


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-2-19 22:34:56
    【资料名称】:通达信七星阵指标分享介绍
    【资料描述】:

    通达信七星阵指标分享

    老师分享的“众赢八方聚宝---副”很有特点,依据老师的分享,修改部分源码,编制了一个适合短线波段的指标

    众赢八方聚宝---副
    N1:=3;N2:=5;N3:=8;N4:=13;
    DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
    DEA:=EMA(DIFF,N2);
    DRAWICON(DIFF>DEA,1,1);
    DRAWICON(DIFF<DEA,1,2);
    A1:=DIFF>DEA;
    RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
    K:=SMA(RSV1,N1,1);
    D:=SMA(K,N1,1);
    DRAWICON(K>D,2,1);
    DRAWICON(K<D,2,2);
    A2:=K>D;
    LC:=REF(CLOSE,1);
    RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100;
    RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
    DRAWICON(RSI1>RSI2,3,1);
    DRAWICON(RSI1<RSI2,3,2);
    A3:=RSI1>RSI2;
    RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
    LWR1:=SMA(RSV,N1,1);
    LWR2:=SMA(LWR1,N1,1);
    DRAWICON(LWR1>LWR2,4,1);
    DRAWICON(LWR1<LWR2,4,2);
    A4:=LWR1>LWR2;
    BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
    DRAWICON(CLOSE>BBI,5,1);
    DRAWICON(CLOSE<BBI,5,2);
    A5:=CLOSE>BBI;
    MTM:=CLOSE-REF(CLOSE,1);
    MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
    MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
    DRAWICON(MMS>MMM,6,1);
    DRAWICON(MMS<MMM,6,2);
    A6:=MMS>MMM;
    WJ:=(H+L+C)/3;
    V1:=IF(H=L,1,H-MAX(O,C));
    V2:=IF(H=L,1,MAX(C,O)-WJ);
    V3:=IF(H=L,1,MIN(O,C)-L);
    V4:=IF(H=L,1,WJ-MIN(C,O));
    V5:=VOL/IF(H=L,4,H-L);
    V6:=(V1*V5);
    V7:=(V2*V5);
    V8:=(V3*V5);
    V9:=(V4*V5);
    买盘:=(V9+V8);
    卖盘:=(V6+V7);
    买卖差:=买盘-卖盘;
    DDX:=买卖差;
    DX:=MA(买卖差,5)*20;
    DDX1:=SMA(DX,3,1);
    DDX2:=SMA(DDX1,3,1);
    DDX3:=(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;
    DRAWICON(DDX1>DDX2,7,1);
    DRAWICON(DDX1<DDX2,7,2);
    A7:=DDX1>DDX2;
    量:=V;
    换手:=V/CAPITAL*100;
    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    买盘1:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
    卖盘1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
    DLX:=(买盘1-(-卖盘1))/量*换手;
    DLX1:=SUM(DLX,6);
    DLX2:=MA(DLX1,5);
    DRAWICON(DLX1>DLX2,8,1);
    DRAWICON(DLX1<DLX2,8,2);
    A8:=DLX1>DLX2;
    买入:A1 AND A2 AND A3 AND A4 AND A5 AND A6 =1
    AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 ,1)=0,COLORYELLOW;
    持有:(A1 AND A2 AND A3 AND A4 AND A5 AND A6),COLORMAGENTA,LINETHICK2;
    {猎狼指导线:(A1+A2+A3+A4+A5+A6+A7+A8),LINETHICK2,COLORRED;
    {动力线1:0;
    DDX02:0;
    ZLMM3:0;
    BBI4:0;
    LW&R5:0;
    RSI6:0;
    KDJ7:0;
    MACD8:0;};

    这只是其中一部分,根据老师源码的规律,选用其中的七个部分,稍加修改,形成一个新指标,暂且称为“七星阵”。看看附图效果。
    买入信号明显,蓝蝴蝶买入信号,红蝴蝶持股。红蝴蝶消失逃跑。是不是很有意思。











    gd39763


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






    上一篇:「指标」众赢六六大顺--副图分享
    下一篇:「指标」通达信星辰线主图指标
    回复

    举报

    QQ|

    GMT+8, 2024-11-11 01:48

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