当前位置: 首页 >动态 > >正文

通达信〖买在龙头〗副图指标 看量能颜色做多看 看柱线长短判断量能变化 公开源码

来源:个人图书馆-精品指标公式 发布时间:2023-07-08 15:36:43

DIFF:=(EMA(CLOSE,14) - EMA(CLOSE,53))*100;

DEA:=(EMA(DIFF,5));


(相关资料图)

UP:=(DIFF-DEA)*2,COLORRED,LINETHICK1;

DN:=MA(UP,5),COLORGREEN,LINETHICK1;

多:(((UP-DN)-(REF(UP,1)-REF(DN,1)))/REF(CLOSE,1)*1.1)*100,COLORLIRED,LINETHICK1;

空:100*(HHV(HIGH,53)-CLOSE)/(HHV(HIGH,53)-LLV(LOW,53)),COLORBLUE,LINETHICK1;

上差:=UP-REF(UP,1),COLORBLACK,LINETHICK1;

WJ:=(HIGH+LOW+CLOSE)/3;

V1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));

V2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);

V3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);

V4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));

V5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

V6:=(V1*V5);

V7:=(V2*V5);

V8:=(V3*V5);

V9:=(V4*V5);

买量:=(V9+V8)/10000;

卖量:=-(V6+V7)/10000;

日差:=((V9+V8)-(V6+V7))/10000,NODRAW;

日差比:日差*10000/CAPITAL*100,COLORMAGENTA,NODRAW;

三量:=SUM(日差,3)/10,COLORBLACK,LINETHICK1;

高比:HHV(HIGH,90)/CLOSE,NODRAW;

获利:WINNER(CLOSE)*100,NODRAW;

利差:=(WINNER(CLOSE)-WINNER(REF(CLOSE,1)))*100,NODRAW;

换手:=VOL*100/CAPITAL,NODRAW;

量差:=三量-REF(三量,1),NODRAW;

RB:=SUM(日差比,5),NODRAW;

五占:=COST(RB),NODRAW;

五差:=五占-REF(五占,1),NODRAW;

异动:五差-REF(五差,1),NODRAW;

BS:=上差-REF(上差,1),NODRAW;

买卖:IF(UP>DN,BS,-10),NODRAW;

K:BARSLAST(五占=0),NODRAW;

买线:=ZIG(3,10);

卖线:=MA(买线,3);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

STICKLINE(买线>=卖线 AND 日差比>0,0,日差比*50,3,0),COLORRED;

STICKLINE(买线>=卖线 AND 日差比<0,0,日差比*50,3,0),COLORLIBLUE;

STICKLINE(买线<卖线 AND 日差比>0,0,日差比*50,3,0),COLORMAGENTA;

STICKLINE(买线<卖线 AND 日差比<0,0,日差比*50,3,0),COLORGREEN;

DRAWTEXT(BU,-10,"B"),LINETHICK1,COLORYELLOW;

DRAWTEXT(SEL,-10,"S"),LINETHICK1,COLORRED;

STICKLINE(CLOSE/REF(CLOSE,1)>=1.098,0,-日差比*20,1,0),COLORRED;

STICKLINE(CLOSE/REF(CLOSE,1)<=0.91,0,日差比*20,1,0),COLORBLACK;

T0:=IF(日差比-REF(日差比,1)>5 AND 日差比>2,2,0);

STICKLINE(T0>1,0,日差比*25,2,0),COLORLIGRAY;

T1:=IF(日差比-REF(日差比,1)<-3 AND 日差比<-2,2,0);

STICKLINE(T1>1,日差比*25,日差比*50,2,0),COLORLIGRAY;

T2:=IF(CROSS(多,空) AND 多>20 AND UP>DN AND 日差比>2 AND CLOSE/REF(CLOSE,1)>=1.05,2,0);

STICKLINE(T2>1,日差比*25,日差比*50,2,0),COLORYELLOW;

XC0:=BARSLAST(CLOSE/REF(CLOSE,1)>=1.098);

XC1:=BARSLAST(五占=0);

XC2:=IF(异动>3 OR 异动<-3,2,0);

XC3:=IF(买卖>4,2,0);

XC4:=IF(OPEN/REF(CLOSE,1)>1.098,2,0);

Z:=IF(BETWEEN(换手,2,25),2,0);

XC:=IF(高比<1.16 AND XC1<5 AND XC2>1 AND XC3>1 AND XC4<1 AND UP>DN AND UP<160 AND CLOSE/REF(CLOSE,1)>1.06,2,0);

DRAWTEXT(XC>1,-10,"△"),COLORYELLOW;

XV1:=BARSLAST(XC>1);

XV2:=COUNT(XV1<20 AND 上差<0,XV1);

XV3:=LLVBARS(XV2,XV1);

DRAWTEXT(XV3=1,-10,"▽"),COLORBLUE;

XZ:=IF(XV1=1 AND 买卖>0,2,0);

DRAWTEXT(XZ>1,-10,"入"),COLORRED;

M5:=MA(CLOSE,5),NODRAW;

M60:=MA(CLOSE,60),NODRAW;

V10:=IF(RANGE(UP,-5,45) AND DN>-10 AND UP-DN<20 AND UP>DN AND 日差比>0 AND CLOSE/REF(CLOSE,1)>=1.05,2,0);

V11:=IF(CROSS(多,空) AND 空<60 AND M5/M60<1.1 AND M60-REF(M60,3)>-0.08,2,0);

V12:=BARSLAST(CROSS(多,空));

B:=IF(V10>1 AND V11>1,2,0);

VB1:=BARSLAST(V10>1 AND V11>1);

DRAWTEXT(B>1,-20,"买"),COLORRED;

VB2:=COUNT(VB1<20 AND 上差<0,VB1);

VB3:=LLVBARS(VB2,VB1);

DRAWTEXT(VB3=1,-10,"卖"),COLORBLACK;

上一篇:

塞尔电台:内托加盟伯恩茅斯后,巴萨需要向瓦伦西亚支付400万欧

下一篇:

最后一页

x
精彩推送