最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 华尔街终结同花顺主图指标源码

    正文概述    2024-04-14 18:29:12  
    DRAWBAND(MA(CLOSE,60),RGB(55,0,0),MA(CLOSE,120),RGB(0,91,0));
    MA60:=MA(CLOSE,60);
    生命线:MA60,LINETHICK2,colormagenta;
    MA120:MA(CLOSE,120),LINETHICK2,colorgreen;
    五日线:=MA(C,5),colorwhite;
    十日线:=MA(C,10),colorgreen;
    三多头后挂单:=MA(C,20),LINETHICK2,colorred;
    DRAWTEXT(MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND CURRBARSCOUNT=5,MA(C,20)*0.9,''),colorred;
    DRAWKLINE(H,O,L,C);
    DRAWICON(CROSS(MA60,MA120),MA60,23);
    DRAWICON(CROSS(MA120,MA60),MA60,15),;
    DRAWTEXT(CROSS(MA120,MA60),MA60+0.08,'熊上岗'),colorgreen;
    W1:=IF(CROSS(MA(C,60),MA(C,120)),1,0);
    W2:=IF(CROSS(MA(C,120),MA(C,60)),1,0);
    STICKLINE(W1,MA(C,60)*1.05,MA(C,60)*0.95,0.01,0),colorlired;
    STICKLINE(W2,MA(C,120)*1.05,MA(C,120)*0.95,0.01,0),colorgreen;
    DRAWTEXT(W1,MA(C,60)*1.05,'稳健才是王道'),colorred;
    DRAWTEXT(W1,MA(C,60)*0.95,'牛市'),colorred;
    DRAWTEXT(W2,MA(C,120)*1.05,'熊市'),colorgreen;
    DRAWTEXT(W2,MA(C,120)*0.95,'贪婪必死'),colorgreen;
    KK:=MA60REF(MA60,1),5)=5;
    DRAWTEXT(KK AND  COUNT(KK,20)=5,REF(MA60,5),'地板'),colorred;
    STICKLINE(KK AND  COUNT(KK,20)=5,REF(MA60,5),REF(MA60,5),10,1),colorred;
    KK2:=MA60>MA120 AND  COUNT(MA60DRAWTEXT(KK2 AND  COUNT(KK2,20)=5,REF(MA60,5),'天灵盖'),colorred;
    STICKLINE(KK2 AND  COUNT(KK2,20)=5,REF(MA60,5),REF(MA60,5),10,1),colorred;
    TY:=C;
    A1:=REF(TY,10)=HHV(TY,2*10+1);
    B1:=FILTER(A1,10);
    C1:=BACKSET(B1,10+1);
    HD:=FILTER(C1,10);
    MA(C,5),coloryellow,LINETHICK2;
    MA(C,5)*0.9,colorred,DOTLINE;
    前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT;
    STICKLINE(C,前期高位,前期高位,8,0),coloryellow;
    CM:=REF(C,1);
    涨停:=IF((C-CM)*100/CM>=9.9,1,0);
    STICKLINE(涨停,OPEN,CLOSE,3.8,0),colormagenta;
    STICKLINE(涨停,H,L,0,0),colorlired;
    跌停:=IF((C-CM)*100/CM<=-9.9,1,0);
    STICKLINE(跌停,OPEN,CLOSE,3.8,0),colorgreen;
    STICKLINE(跌停,H,L,0,0),colorgreen;
    大盘涨幅:=("999999$C"-LLV("999999$L",40))/LLV("999999$L",40);
    DRAWTEXT(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅),'  1倍以下很安全');
    DRAWTEXT(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*2),'  2倍以下高抛低吸');
    DRAWTEXT(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*3),'  3倍以上要抛出');
    STICKLINE(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅),LLV(L,40)*(1+大盘涨幅),1,0),LINETHICK8,colorcyan;
    STICKLINE(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*2),LLV(L,40)*(1+大盘涨幅*2),1,0),LINETHICK8,colorcyan;
    STICKLINE(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*3),LLV(L,40)*(1+大盘涨幅*3),1,0),LINETHICK8,colorcyan;
    六天涨幅:=C/REF(C,5)<1.06;
    DRAWTEXT(CURRBARSCOUNT=1 AND 六天涨幅,C,'价满足DDX');
    DRAWTEXT(CURRBARSCOUNT=1 AND 六天涨幅=0,C,'卖出');





    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 华尔街终结同花顺主图指标源码 加入收藏