最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信麟龙指标套二(指标 主图+副图贴图)

    正文概述    2024-04-13 15:17:48  

    上一个麟龙指标套达到精华帖了,现在继续发麟龙指标套二
    继续说明一下,麟龙指标是我以前和谐的,跟现在的麟龙至尊版有所区别,我把源码也公布出来,大家能用则用。
    至尊交易:
    金牛判势(主图)
    超牛KDJ(副图)
    超牛MACD(副图)
    上面是一套搭配使用。大家要注意是搭配一起使用,单一指标特别是主图指标有未来函数信号会漂移,配合使用成功率还是很高的,能识别很多漂移的信号。
    四色谱(主图)原来是搭配在指标套一使用的,我把它换成四色指数平均数,现在也一起发出来。
    现在发出来的还是txt跟tne(四个指标)两种形式,无加密,指标完全一样。
    喜欢用的朋友,拿去,留下你们的足迹。
    指标套二能达到精华贴就继续发指标套三
    四色谱

    MA1:=EMA(C,12);
    MA2:=EMA(C,50);
    MA3:=EMA(C,34);
    MA4:=EMA(C,7);
    MA5:=EMA(C,20);
    MA6:=EMA(C,10);
    DIFF:=EMA(CLOSE,30)-EMA(CLOSE,120);
    DEA:=EMA(DIFF,9);

    M1:MA(CLOSE,5),COLORRED,LINETHICK;
    M2:EMA(CLOSE,12),COLORRED,LINETHICK;
    M3:EMA(CLOSE,50),COLORRED,LINETHICK;
    X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120));
    IF(M3 REF(M3,1),M3,DRAWNULL),COLORGREEN,LINETHICK;
    STICKLINE(C =MA1 AND C =MA2 AND DIFF =DEA ,H ,L-0.01 ,0 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C =MA2 AND DIFF =DEA ,O ,C ,2.5 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C =MA2 AND DIFF =DEA ,O ,C ,2 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C =MA2 AND DIFF =DEA ,O ,C ,1 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C =MA2 AND DIFF =DEA ,O ,C ,0 ,0 ),COLORRED;

    STICKLINE(C MA1 AND C =MA2 AND DIFF DEA ,H ,L-0.008 ,0 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C =MA2 AND DIFF DEA ,O ,C ,2.5 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C =MA2 AND DIFF DEA ,O ,C ,2 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C =MA2 AND DIFF DEA ,O ,C ,1 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C =MA2 AND DIFF DEA ,O ,C ,0 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C =MA2 AND DIFF =DEA ,H ,L-0.008 ,0 ,0 ),COLORYELLOW;
    STICKLINE(C MA1 AND C =MA2 AND DIFF =DEA ,O ,C ,2.5 ,0 ),COLORYELLOW;
    STICKLINE(C MA1 AND C =MA2 AND DIFF =DEA ,O ,C ,2 ,0 ),COLORYELLOW;
    STICKLINE(C MA1 AND C =MA2 AND DIFF =DEA ,O ,C ,1 ,0 ),COLORYELLOW;
    STICKLINE(C MA1 AND C =MA2 AND DIFF =DEA ,O ,C ,0 ,0 ),COLORYELLOW;

    STICKLINE(C =MA1 AND C =MA2 AND DIFF DEA ,H ,L-0.008 ,0 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C =MA2 AND DIFF DEA ,O ,C ,2.5 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C =MA2 AND DIFF DEA ,O ,C ,2 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C =MA2 AND DIFF DEA ,O ,C ,1 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C =MA2 AND DIFF DEA ,O ,C ,0 ,0 ),COLORRED;
    STICKLINE(C MA1 AND C MA2 AND DIFF DEA ,H ,L-0.008 ,0 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C MA2 AND DIFF DEA ,O ,C ,3 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C MA2 AND DIFF DEA ,O ,C ,2.5 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C MA2 AND DIFF DEA ,O ,C ,2 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C MA2 AND DIFF DEA ,O ,C ,1 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C MA2 AND DIFF DEA ,O ,C ,0 ,0 ),COLORGREEN;
    STICKLINE(C MA1 AND C MA2 AND DIFF =DEA ,H ,L-0.008 ,0 ,0 ),COLORYELLOW;
    STICKLINE(C MA1 AND C MA2 AND DIFF =DEA ,O ,C ,2.5 ,0 ),COLORYELLOW;
    STICKLINE(C MA1 AND C MA2 AND DIFF =DEA ,O ,C ,2 ,0 ),COLORYELLOW;
    STICKLINE(C MA1 AND C MA2 AND DIFF =DEA ,O ,C ,1 ,0 ),COLORYELLOW;
    STICKLINE(C MA1 AND C MA2 AND DIFF =DEA ,O ,C ,0 ,0 ),COLORYELLOW;

    STICKLINE(C =MA1 AND C MA2 AND DIFF =DEA ,H ,L-0.008 ,0 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C MA2 AND DIFF =DEA ,O ,C ,2.5 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C MA2 AND DIFF =DEA ,O ,C ,2 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C MA2 AND DIFF =DEA ,O ,C ,1 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C MA2 AND DIFF =DEA ,O ,C ,0 ,0 ),COLORRED;
    STICKLINE(C =MA1 AND C MA2 AND DIFF DEA ,H ,L-0.008 ,0 ,0 ),COLORMAGENTA;
    STICKLINE(C =MA1 AND C MA2 AND DIFF DEA ,O ,C ,2.5 ,0 ),COLORMAGENTA;
    STICKLINE(C =MA1 AND C MA2 AND DIFF DEA ,O ,C ,2 ,0 ),COLORMAGENTA;
    STICKLINE(C =MA1 AND C MA2 AND DIFF DEA ,O ,C ,1 ,0 ),COLORMAGENTA;
    STICKLINE(C =MA1 AND C MA2 AND DIFF DEA ,O ,C ,0 ,0 ),COLORMAGENTA;


    金牛判势

    DRAWGBK(C O,RGB(60,0,0),RGB(0,0,0),1,2,1);
    DRAWTEXT_FIX(1,0.88,5,0,'~☆~七色光~☆~'),COLORBLUE;
    Z1:=STRCAT(HYBLOCK,' ');
    Z2:=STRCAT(Z1,DYBLOCK);
    Z3:=STRCAT(Z2,' ');
    DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
    金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;
    金钻趋势:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
    金牛2:EMA(金钻趋势,25)COLORCYAN,LINETHICK2;
    DRAWBAND(金钻趋势,RGB(55,0,0),金牛2,RGB(0,91,0));
    DRAWKLINE(H,O,L,C);
    STICKLINE(金钻趋势 LOW AND 金钻趋势 HIGH,金钻趋势,MIN(MIN(OPEN,CLOSE),金钻趋势),2,0),COLORYELLOW;
    STICKLINE(金钻趋势 MIN(C,O) AND 金钻趋势 MAX(C,O),金钻趋势,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
    STICKLINE(金钻趋势 HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
    STICKLINE(金钻趋势 HIGH,HIGH,LOW,0,0),COLORYELLOW;
    VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
    回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23 0,2) AND CROSS(VAR23,MA(VAR23,2));
    XG:=金钻趋势 HIGH AND 回调买 AND L =金钻趋势;
    DRAWTEXT(XG,L,'▲买入'),COLORRED;
    JJ:=(HIGH+LOW+CLOSE)/3;
    QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
    QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
    QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
    QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
    QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
    DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
    V2:=SMA(IF(C =REF(C,1),DDX,-DDX/100),2,1);
    V5:=SMA(V2*120/FROMOPEN*5,2,1);
    V10:=SMA(V5,5,1);
    V20:=SMA(V10,5,1);
    DY:=CURRBARSCOUNT=1 AND C REF(C,1);
    DY2:=REF(V2,1)-DY;
    XG2:=C O AND DY2 0.02 AND MA(C,5) MA(C,60) AND C/REF(C,1) =1.02 AND H
    {DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
    DRAWTEXT(XG2 AND L 金钻趋势,L,'↖金钻起涨'),COLORMAGENTA;

    {总股本}
    DRAWTEXT_FIX(1 0,0,0.05,0,'■总股本(亿)'),COLORFFBF00;
    DRAWNUMBER_FIX(1 0,0,0.1,0,FINANCE(1)/100000000),COLORFFBF00;
    {流通盘}
    DRAWTEXT_FIX(1 0,0.08,0.05,0,'■流通盘(亿)'),COLORD0E040;
    DRAWNUMBER_FIX(1 0,0.08,0.1,0,FINANCE(7)/100000000),COLORD0E040;
    {流通市值}
    流通市值:=C*FINANCE(7)/100000000;
    DRAWTEXT_FIX(1 0,0.16,0.05,0,'■流通市值'),COLORD4FF7F;
    DRAWNUMBER_FIX(1 0,0.16,0.1,0,流通市值),COLORD4FF7F;
    {市净率}
    市净率:=C/FINANCE(34);
    DRAWTEXT_FIX(1 0,0.25,0.05,0,'■市净率'),COLORD0E040;
    DRAWNUMBER_FIX(1 0,0.25,0.1,0,市净率),COLORD0E040;


    超牛KDJ

    DRAWGBK(C O,RGB(60,0,0),RGB(0,0,0),1,2,1);
    DRAWTEXT_FIX(1,0.88,5,0,'~☆~七色光~☆~'),COLORBLUE;
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
    K:SMA(RSV,P1,1),COLORYELLOW;
    D:SMA(K,P2,1),COLOR00DD00;
    J:3*K-2*D,COLORRED;
    {KDJ日周金叉死叉}
    周K:= KDJ.K#WEEK (9,3,3);
    周D:= KDJ.D#WEEK (9,3,3);
    周J:= KDJ.J#WEEK (9,3,3);
    周金叉:=CROSS(周K,周D);
    日金叉:=FILTER(CROSS(K,D) AND K 20,4);
    DRAWTEXT(周金叉,D,'★'),COLORYELLOW;
    DRAWTEXT(周金叉,D*0.93,' KD周金叉'),COLORYELLOW;
    DRAWTEXT(CROSS(周D,周K),D*0.95,'KD周死叉'),COLOR00DDBB;

    DRAWICON(日金叉,K,1);
    DRAWTEXT(日金叉,D,'低位金叉'),COLOR00CCCC;
    KDB:=BARSLAST(REF(CROSS(K,D),1));
    KDDB:=REF(CLOSE,KDB+1) CLOSE AND REF(K,KDB+1) K AND CROSS(K,D);
    K底背:=IF(FILTER(KDDB 0,5),1,0);
    DRAWTEXT(K底背=1,D*0.98,'底背离'),COLORRED;
    KDD:=BARSLAST(REF(CROSS(D,K),1));
    K顶背:=REF(CLOSE,KDD+1) CLOSE AND REF(K,KDD+1) K AND CROSS(D,K);
    DRAWTEXT(FILTER(K顶背 0,5),D+8,'顶背离'),COLORFFAA22;

    超牛MACD

    DRAWGBK(C O,RGB(60,0,0),RGB(0,0,0),1,2,1);
    DRAWTEXT_FIX(1,0.88,5,0,'~☆~七色光~☆~'),COLORBLUE;
    DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIFF,9);
    MACD:2*(DIFF-DEA),LINETHICK0;
    连续走强:LAST(MACD REF(MACD,1) AND MACD 0,9,3),LINETHICK0,COLOR0030FF;{天}
    强势回调:LAST(MACD REF(MACD,1) AND MACD 0,7,3),LINETHICK0,COLOR0030FF;{天}
    连续走弱:LAST(MACD REF(MACD,1) AND MACD 0,9,5),LINETHICK0,COLOR00FF30;{天};
    连续反弹:LAST(MACD REF(MACD,1) AND MACD 0,5,3),LINETHICK0,COLOR00FF30;{天};
    STICKLINE(MACD =0,MACD,0,2,1),COLORF00FF0;
    STICKLINE(MACD 0,MACD,0,2,1),COLORWHITE;
    STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,2.2,0 ),COLOR00CCFF;
    STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,1.65,0 ),COLOR00DDFF;
    STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,1.1,0 ),COLOR00EEFF;
    STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,0.55,0 ),COLOR00FFFF;
    STICKLINE(MACD =REF(MACD,1)AND MACD 0,0,MACD,2.2,0 ),COLOR0022CC;
    STICKLINE(MACD =REF(MACD,1)AND MACD 0,0,MACD,1.65 ,0 ),COLOR0033DD;
    STICKLINE(MACD =REF(MACD,1)AND MACD 0,0,MACD,1.1 ,0 ),COLOR0044EE;
    STICKLINE(MACD =REF(MACD,1)AND MACD 0,0,MACD,0.55 ,0 ),COLOR0055FF;
    STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,2.2,0 ),COLORCC22BB;
    STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,1.65,0 ),COLORDD33BB;
    STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,1.1,0 ),COLOREE44BB;
    STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,0.55 ,0 ),COLORFF55BB;
    STICKLINE(MACD =REF(MACD,1)AND MACD 0,0,MACD,2.2,0 ),COLORFFCC22;
    STICKLINE(MACD =REF(MACD,1)AND MACD 0,0,MACD,1.65 ,0 ),COLORFFDD33;
    STICKLINE(MACD =REF(MACD,1)AND MACD 0,0,MACD,1.1 ,0 ),COLORFFEE44;
    STICKLINE(MACD =REF(MACD,1)AND MACD 0,0,MACD,0.55 ,0 ),COLORFFFF55;
    IF(DIFF 0,DIFF,0),COLORRED,LINETHICK1;
    IF(DIFF 0,0,DIFF),COLORYELLOW,LINETHICK1;
    IF(DIFF DEA,DIFF,DEA),COLOR00FF00,LINETHICK1;
    IF(DIFF DEA,DEA,DEA),COLORBLUE,LINETHICK1;
    低位金叉:=CROSS(DIFF,DEA) AND DIFF -0.1;
    STICKLINE(低位金叉,0,-0.10,6,0),COLORYELLOW;
    DRAWTEXT(低位金叉,-0.05,' 低位金叉'),COLORYELLOW;
    JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA =0));
    二次金叉:=CROSS(DIFF,DEA) AND DEA 0 AND COUNT(JCCOUNT=2,21)=1;
    STICKLINE(二次金叉,0,-0.10,6,0),COLORFF00FF;
    DRAWICON(二次金叉,DEA*1.04,13) ;
    DRAWTEXT(二次金叉,-0.08,' 二次金叉'),COLORFF00FF;
    A11:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    底背离:=REF(CLOSE,A11+1) CLOSE AND DIFF REF(DIFF,A11+1) AND CROSS(DIFF,DEA);
    STICKLINE(底背离,0,0.13,6,0),COLORRED;
    DRAWTEXT(底背离,DEA,' 底背离'),COLORRED;
    A22:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    顶背离:=REF(CLOSE,A22+1) CLOSE AND REF(DIFF,A22+1) DIFF AND CROSS(DEA,DIFF);
    DRAWTEXT(顶背离,DEA,' 顶背离'),COLORGREEN;
    A1:=DIFF 0 AND DEA
    A2:=A1 REF(A1,1);
    A3:=BARSLAST(A2);
    A4:=COUNT(DEA 0 AND DIFF 0,A3)=0;
    A5:=CROSS(DIFF,DEA);{金叉}
    A6:=BARSLAST(A5);
    A7:=REF(A6,A6+1)+A6;
    A8:=(DIFF+DEA)/2;
    A9:=(HIGH+LOW)/2;
    A10:=A5 AND A7 A3 AND A4 AND A8 REF(A8,A7) AND A9 REF(A9,A7) AND MACD
    DRAWTEXT(A10,DIFF*0.95,'★金叉介入'),COLORYELLOW;

    通达信麟龙指标套二(指标 主图+副图贴图)

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信麟龙指标套二(指标 主图+副图贴图) 加入收藏