最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信短线为王指标公式

    正文概述    2024-05-04 04:39:09  

    以下是通达信为王指标公式源码和使用说明


    通达信短线为王指标公式源码:


       空:=EMA(CLOSE,5);

       均衡:EMA(空,0),COLORFFFFFF;

       下双线持币:HHV(MA(HIGH,3),2),LINETHICK2,COLOR00FF00;

       上趋势单线持股:LLV(MA(HIGH,3),1),LINETHICK2,COLOR0000FF;

       VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;

       VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);

       DRAWTEXT(IF(VOL =1.3*MA(VOL,5)ANDCOUNT(VARA =VARBANDVARA -17,3)ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW,'买入');

       VARC:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),6,1))*100;

       VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;

       VAR2:=REF(VAR1,1);

       VAR3:=(SMA(MAX(VAR1-VAR2,0),10,1))/(SMA(ABS(VAR1-VAR2),10,1))*100;

       VAR4:=FILTER(IF(COUNT(VAR3 20,5) =1ANDCOUNT(VAR1=LLV(VAR1,10),10) =1ANDCLOSE =OPEN*1.038ANDVOL MA(VOL,5)*1.2,1,0),5);

       VAR5:=FILTER(均衡 REF(均衡,1)AND下趋势双线持币 REF(下趋势双线持币,1)ANDCLOSE REF(CLOSE,1),11);

       VAR6:=REF(CLOSE,1);

       VAR7:=(SMA(MAX(CLOSE-VAR6,0),6,1))/(SMA(ABS(CLOSE-VAR6),6,1))*100;

       A:=LLV(L,34);

       XD:=SMA(ABS(L-REF(L,1)),34,1);

       CD:=SMA(MAX(L-REF(L,1),0),34,2);

       收盘买:=-(EMA(IF(L =A,XD/CD,-3),9));

       抢反弹:收盘买 0AND收盘买 REF(收盘买,1)ANDREF(EVERY(收盘买 REF(收盘买,1),3),1),COLORYELLOW;

       RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

       K:=SMA(RSV,3,1);

       D:=SMA(K,3,1);

       J:=3*K-2*D;

       X2:=LLV(J,2)=LLV(J,8);

       B:CROSS(J,REF(J+0.01,1))ANDX2ANDJ 20AND收盘买 0AND收盘买 REF(收盘买,1),COLORRED;

       B2:CROSS(J,REF(J+0.01,1))ANDX2ANDJ 20,COLORMAGENTA;

       DRAWTEXT(B2,0.35,'★关注★'),COLOR109090;

       B3:=抢反弹ANDREF(B2,1);

       DRAWBAND(B2,RGB(255,100,30),B3,RGB(255,20,20));

       DRAWTEXT(B3,0.45,'★不买更后悔★');

       B4:=抢反弹ANDREF(B2,1)ORREF(B2,2);

       DRAWTEXT(B3,0.35,'★反弹确认★'),COLORYELLOW;

       STICKLINE(B3,0,0.43,2,0),COLORYELLOW;

       STICKLINE(B,0,0.43,2,0),COLORRED;

       DRAWTEXT(B,0.35,'★不买后悔★'),COLORRED;

       B8:=REF((CROSS(J,REF(J+0.01,1))ANDX2ANDJ 20),2)AND抢反弹;

       DRAWTEXT(B8,0.8,'★阶段底部确认★'),COLORYELLOW;

       DRAWBAND(B2,RGB(255,100,50),B8,RGB(255,30,30));

       STICKLINE(B2,0,0.36,2,0),COLOR109090;

       STICKLINE(B2ANDREF(PSY =10,1),0,0.68,2,0),COLOR801090;

       DRAWTEXT(B2ANDREF(PSY =10,1),0.68,'★买点★'),COLOR801090;

       STICKLINE(B2ANDH OANDC=HANDL OANDL REF(L,1)ANDC OANDREF((C O),1),0,0.18,2,0)COLOR801090;

       DRAWTEXT(B2ANDH OANDC=HANDL OANDL REF(L,1)ANDC OANDREF((C O),1),0.18,'阶段底部低吸★'),COLOR801090;

       STICKLINE(B2ANDREF(RSI =20,1),0,0.10,2,0),COLOR900000;

       N1:=6;

       LC:=REF(C,1);

       LO:=REF(O,1);

       LH:=REF(H,1);

       LL:=REF(L,1);

       D1:=SMA(MAX(C-LC,0),N1,1)/SMA(ABS(C-LC),N1,1)*100;

       D2:=SMA(MAX(O-LO,0),N1,1)/SMA(ABS(O-LO),N1,1)*100;

       D3:=SMA(MAX(H-LH,0),N1,1)/SMA(ABS(H-LH),N1,1)*100;

       D4:=SMA(MAX(L-LL,0),N1,1)/SMA(ABS(L-LL),N1,1)*100;

       STICKLINE(D1 =D2,D1,D2,3,0),COLOR0055AA;

       STICKLINE(D1 =D2,D1,D2,3,0),COLOR006600;

       STICKLINE(D1 =D2,D1,D2,2,0),COLOR0077CC;

       STICKLINE(D1 =D2,D1,D2,1,0),COLOR0099DD;

       STICKLINE(D1 =D2,D3,D4,0,0),COLOR00BBFF;

       STICKLINE(D1 =D2,D1,D2,2,0),COLOR009900;

       STICKLINE(D1 =D2,D1,D2,1,0),COLOR00BB00;

       STICKLINE(D1 =D2,D3,D4,0,0),COLOR00EE00;

       DRAWICON(CROSS(RSI,25),15,1);

       DRAWICON(CROSS(75,RSI),97,2);

       DRAWICON(CROSS(80,RSI),97,2);

       VAR10:=CROSS(RSI,25)ANDEMA(EMA((((2*C+H+L)/4)-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8),5)

       低买:IF(VAR10,10,1),coloryellow;

       VAR12:=CROSS(EMA((((2*C+H+L)/4)-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8),15)ANDEMA(EMA((((2*C+H+L)/4)-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8),5)

       追涨:IF(VAR12,50,1),colormagenta;

       :IF(CROSS(D3,EMA((((2*C+H+L)/4)-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8))ANDSMA(MAX(H-LH,0),N1,1)/SMA(ABS(H-LH),N1,1)*100 53,20,1),COLORFFB97A;

       :IF(CROSS(EMA((((2*C+H+L)/4)-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8),78)ANDEMA((((2*C+H+L)/4)-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8) 60,70,100),colorblue;

       VAR13:=ZIG(3,5) REF(ZIG(3,5),1)ANDREF(ZIG(3,5),1) =REF(ZIG(3,5),2)ANDREF(ZIG(3,5),2) =REF(ZIG(3,5),3);

       STICKLINE(VAR13=1,0,-5,10,0),colorred;



    通达信短线为王指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信短线为王指标公式 加入收藏