• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票知识干货】通达信源码:爆赢法则,多空神准变色磁力线,开天之剑

    发布时间: 2020-04-11 16:21 首页:股票一点通>股票公式>通达信公式> 阅读()
    爆赢法则:

    {公式名称: 爆赢法则}

    运行指向:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORYELLOW,LINETHICK2;
    介入:IF(REF(运行指向,2)>REF(运行指向,1) AND 运行指向>REF(运行指向,1),1,0);
    X_1:=HHV(HIGH,9)-LLV(LOW,9);
    X_2:=HHV(HIGH,9)-CLOSE;
    X_3:=CLOSE-LLV(LOW,9);
    X_4:=X_2/X_1*100-70;
    X_5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
    X_6:=(2*CLOSE+HIGH+LOW)/4;
    X_7:=SMA(X_3/X_1*100,3,1);
    X_8:=LLV(LOW,34);
    X_9:=SMA(X_7,3,1)-SMA(X_4,9,1);
    X_10:=IF(X_9>100,X_9-100,0);
    X_11:=HHV(HIGH,34);
    X_12:=EMA((X_6-X_8)/(X_11-X_8)*100,8);
    大仓持有:EMA(X_12,13),POINTDOT,COLORRED;
    介入1:IF(REF(大仓持有,2)>REF(大仓持有,1) AND 大仓持有>REF(大仓持有,1),1,0);
    XG:大仓持有>REF(大仓持有,1);
    STICKLINE(X_12-大仓持有>0,X_12,大仓持有,3.5,0),COLORRED;
    STICKLINE(X_12-大仓持有<0,X_12,大仓持有,3.5,0),COLORGREEN;
    短:100*(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5)),COLORGRAY;
    中:100*(CLOSE-LLV(LOW,10))/(HHV(CLOSE,10)-LLV(LOW,10)),COLORLIGRAY;
    中长:100*(CLOSE-LLV(LOW,20))/(HHV(CLOSE,20)-LLV(LOW,20)),COLORBROWN;
    长:100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30)),COLORRED,LINETHICK3;
    20,POINTDOT;
    50,POINTDOT;
    80,POINTDOT;
    甲:DRAWTEXT(短<10 AND 长>60,80,2),COLORCYAN;
    乙:DRAWTEXT(短<6 AND 中<6 AND 长<6,50,6),COLORCYAN;
    丙:DRAWTEXT(短=0 AND 中=0 AND 长=0,20,27),COLORCYAN;
    丁:DRAWTEXT(短=100 AND 中=100 AND 长=100,80,28),COLORCYAN;




    多空神准变色磁力线:

    N:=11;
    M:=6;
    MA(C,5);
    MA(C,13);
    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    K:COST(80),LINETHICK1;
    X1:=(C+L+H)/1.5;
    X2:=EMA(X1,3);
    X3:=EMA(X2,2.5);
    磁力线:(MA(CLOSE,30)+MA(CLOSE,72))/2,COLORGREEN;
    多空线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
    DRAWTEXT(CROSS(多空线,磁力线),多空线,'进场'),COLORYELLOW,LINETHICK2;
    DRAWTEXT(CROSS(磁力线,多空线),磁力线,'走人'),COLORRED,LINETHICK2;
    STICKLINE(CLOSE/REF(C,1)>=1.09,O,C,2.7,0),COLORYELLOW;
    STICKLINE(CLOSE/REF(C,1)<=0.91,O,C,2.7,0),COLORGREEN;
    STICKLINE(X2>=X3,LOW,HIGH,0,1),COLORRED;
    STICKLINE(X2>=X3,CLOSE,OPEN,3.2,2),COLORRED;
    STICKLINE(X2STICKLINE(X2DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
    DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
    DRAWTEXT(CROSS(DA-DB,0),L*0.95,''),COLORRED;
    JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
    DRAWTEXT(CROSS(84,JH),H*1.02,''),COLORGREEN;
    STICKLINE(CROSS(X3,X2),OPEN,CLOSE,3.2,0),COLOR00FF00;
    STICKLINE(CROSS(X2,X3),OPEN,CLOSE,3.2,0),COLORRED;
    CV:=CLOSE;
    地心引力区1:磁力线*1.1,LINETHICK2,COLORRED;
    地心引力区2:磁力线*0.9,LINETHICK2,COLORFF33FF;
    BBIBOLL:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
    MA6:=MA(C,6),COLORWHITE;
    MA18:=MA(C,24),COLORYELLOW;
    MA55:=MA(C,55),COLORFF00FF;
    MA135:=MA(C,135),COLORFFCC66;
    STICKLINE((CLOSE>OPEN) AND (X2STICKLINE((CLOSE>OPEN) AND (X2>=X3),CLOSE,OPEN,3.2,2)COLORRED;
    WWW58188COM:=EMA(CLOSE,453),LINETHICK1,COLORRED;
    UPR:BBIBOLL+M*STD(BBIBOLL,N);
    DWN:BBIBOLL-M*STD(BBIBOLL,N);
    STICKLINE((CLOSESTICKLINE((CLOSE=X3),CLOSE,OPEN,3.2,0)COLORRED;




    开天之剑:

    有未来函数(顶尖财经 股票学院: )

    TR1:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),12);
    HD1:=H-REF(H,1); LD1:=REF(L,1)-L;
    VAR1:=EXPMEMA(IF(HD1>0&&HD1>LD1,HD1,0),12)*100/TR1;
    VAR2:=EXPMEMA(IF(LD1>0&&LD1>HD1,LD1,0),12)*100/TR1;
    VAR3:=VAR1>65 AND VAR1>REF(VAR1,1);
    VAR4:=LLV(VAR1,0);
    VAR5:=BARSLAST(VAR4=VAR1);
    VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;
    VAR7:=VAR1>REF(VAR1,1);
    VAR8:=VOL>2*MA(VOL,30);
    VAR9:=EXPMEMA(ABS(VAR2-VAR1)/(VAR2+VAR1)*100,6);
    VARA:=EXPMEMA(VAR3,6);
    VARB:=CLOSE>MA(CLOSE,30) AND CLOSEVARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
    VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))VARE:=0-(EMA(CLOSE,7)-EMA(CLOSE,21));
    VARF:=TROUGHBARS(3,15,1)<4;
    VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
    VAR11:=IF(VARF=1,50,0);
    公式网70822COM:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
    VAR12:=CROSS(VAR2,VAR1) AND CROSS(VARA,VAR9);
    VAR13:=CROSS(VAR2,VAR1) AND CROSS(VAR9,VARA);
    VAR14:=VARB AND VARC AND VARD AND VAR10 AND VAR6 AND VAR7 AND VAR8*50;
    VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);
    VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);
    VAR17:=HHV(VAR1,VAR16);
    VAR18:=BARSLAST(VAR1=VAR17);
    多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
    STICKLINE(0=0,0,0,1500,1),COLORRED;
    STICKLINE(FILTER(VARF=1,5) AND 多空<-10,50,0,10,0),COLORF00FF0;
    STICKLINE(FILTER(VARF=1,5),50,0,5,0),COLORYELLOW;
    VAR19:=VAR3 OR VAR12 OR VAR13*100;
    VAR1A:=VAR13*100;
    DRAWTEXT(FILTER(VARF=1,3),25,'←开天★之剑'),COLORRED;
    STICKLINE(多空<-10,0,多空,0.85,0),COLORYELLOW;
    STICKLINE(多空>10,0,多空,0.95,0),COLORRED;

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map