当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信操盘手指标,手机版和pc版通用指标

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大


DRAWGBK(C>0, RGB(0,0,50),RGB(00,0,0),0,0,1);
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
买线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF
(MID,6)+13*REF(MID,7)+12*REF(MID,8)
+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF
(MID,15)+4*REF(MID,16)+3*REF(MID,17)
+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
庄家:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
IF(庄家>=REF(庄家,1),庄家,DRAWNULL),COLORRED,LINETHICK3;
IF(庄家<=REF(庄家,1),庄家,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.015,1,0,'牛马线操盘手'),COLORMAGENTA;
卖线:MA(买线,8),COLORGREEN;
买:=CROSS(买线,卖线);
卖:=CROSS(卖线,买线);
DRAWICON(买,L*0.98,1);
DRAWICON(卖,H*1.05,2);
DRAWICON(CROSS(买线,卖线),LOW*0.95,7);
DRAWICON(CROSS(卖线,买线),HIGH*1.02,8);
STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORLIRED; 
STICKLINE(买线>=卖线,CLOSE,OPEN,3,2),COLORLIRED; 
STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORCYAN; 
STICKLINE(买线<卖线,CLOSE,OPEN,3,2),COLORCYAN; 
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,2.5,0),COLORCYAN;
 
 
 
{BS仪表K线}
DRAWGBK(C>0, RGB(0,0,50),RGB(00,0,0),0,0,1);
DRAWKLINE(H,O,L,C);
买线:=EMA(C,3);
卖线:=EMA(SLOPE(C,25)*18+C,55);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
ISDOWN:=IF(CLOSE<OPEN,1,0);
ISUP:=IF(CLOSE>OPEN,1,0);
STICKLINE(买线<卖线 AND ISDOWN,HIGH,OPEN,0,0),COLORCYAN;
STICKLINE(买线<卖线 AND ISDOWN,CLOSE,OPEN,3,0),COLORCYAN;
STICKLINE(买线<卖线 AND ISDOWN,CLOSE,LOW,0,0),COLORCYAN;
STICKLINE(买线>=卖线 AND ISUP,HIGH,CLOSE,0,1),COLORRED;
STICKLINE(买线>=卖线 AND ISUP,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(买线>=卖线 AND ISUP,OPEN,LOW,0,1),COLORRED;
STICKLINE(买线>=卖线 AND ISDOWN,CLOSE,LOW,0,0),COLORRED;
STICKLINE(买线>=卖线 AND ISDOWN,HIGH,OPEN,0,0),COLORRED;
STICKLINE(买线>=卖线 AND ISDOWN,CLOSE,OPEN,3,1),COLORRED,LINETHICK2;
STICKLINE(买线>=卖线 AND ISDOWN,CLOSE*1.0018,OPEN*0.9988,1.8,0),COLORCYAN;
STICKLINE(买线<卖线 AND ISUP,HIGH,CLOSE,0,1),COLORCYAN;
STICKLINE(买线<卖线 AND ISUP,CLOSE,OPEN,3,1),COLORCYAN;
STICKLINE(买线<卖线 AND ISUP,OPEN,LOW,0,1),COLORCYAN;
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,13),LINETHICK2;
MA3:MA(CLOSE,21);
MA4:MA(CLOSE,62),LINETHICK2;
MA120:MA(CLOSE,120);
MA6:MA(CLOSE,250);
DRAWBMP(BU=1,L,'B');
DRAWBMP(SEL=1,HIGH*1.038,'S');
{======================================================}
范围高A:=REFDATE(HHV(H,120),DATE)*1.05;
范围低A:=REFDATE(LLV(L,120),DATE)*0.95;
MA5:=MA(C,5),COLORCYAN,LINETHICK2;
MA24:=MA(C,24),COLORGREEN,LINETHICK2;
MA72:=MA(C,72),COLORRED,LINETHICK2;
MA200:=IF((MA(C,200)<=范围高A AND MA(C,200)>=范围低A) OR C>=MA(C,200),MA(C,200),DRAWNULL),COLORBLUE,LINETHICK2;
{=======================仪表盘(顶尖财经:股票学院 http://www.58188.com)=========================}
主升浪:=ISLASTBAR AND MA5>MA24 AND MA24>MA72 AND MA72>IF(MA200=DRAWNULL,0,MA200);
主浪回调:=ISLASTBAR AND MA24>MA5 AND MA5>MA72 AND MA72>IF(MA200=DRAWNULL,0,MA200);
主浪深调:=ISLASTBAR AND MA24>MA72 AND MA72>MA5 AND MA5>IF(MA200=DRAWNULL,0,MA200);
初升浪:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MAX(MA24,MA72) AND MA5>MA24 AND MA24>MA72;
底部反弹:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MA72 AND MA72>MA24 AND MA5>MA24;
探底阶段:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MA72 AND MA72>MA24 AND MA24>MA5;
观望:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24>MA72 AND C<MA72,MA72>MA200 AND C<MA200);
有牛:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24<MA72 AND C>=MA72,MA72<MA200 AND C>=MA200);
放弃:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24<MA72 AND C<MA72,MA72<MA200 AND C<MA200);
DRAWGBK(显示仪表盘1=1 AND 主升浪=0 AND 主浪回调=0 AND 主浪深调=0 AND 初升浪=0 AND 底部反弹=0 AND 探底阶段=0 AND 观望=0 AND 有牛=0 AND 放弃=0,0,0,0,'观望',0)COLOR00BF00;
DRAWGBK(显示仪表盘1=1 AND 主升浪,0,0,0,'主升浪',0)COLORFF00FF;
DRAWGBK(显示仪表盘1=1 AND 主浪回调,0,0,0,'主浪回调',0)COLORFF8080;
DRAWGBK(显示仪表盘1=1 AND 主浪深调,0,0,0,'主浪深调',0)COLOR009500;
DRAWGBK(显示仪表盘1=1 AND 初升浪,0,0,0,'初升浪',0)COLOR00FFFF;
DRAWGBK(显示仪表盘1=1 AND 底部反弹,0,0,0,'底部反弹',0)COLORFFFF00;
DRAWGBK(显示仪表盘1=1 AND 探底阶段,0,0,0,'探底阶段',0);
DRAWGBK(显示仪表盘1=1 AND 观望,0,0,0,'观望',0)COLORFFFF00;
DRAWGBK(显示仪表盘1=1 AND 有牛,0,0,0,'有牛',0)COLOR00FFFF;
DRAWGBK(显示仪表盘1=1 AND 放弃,0,0,0,'放弃',0)COLOR00BF00;
 
 
 {简单牛马线}
DRAWGBK(C>0, RGB(0,0,50),RGB(00,0,0),0,0,1);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,NODRAW;
支撑:L1+P1*0.5/8,NODRAW;
CC:CLOSE,NODRAW,LINETHICK2;
XJ:=IF(PERIOD=0 ,"FSYY.XJ#DAY",DRAWNULL),NODRAW;
ZS:=IF(PERIOD=0 ,"FSYY.ZS#DAY",DRAWNULL),NODRAW;
今阻③:=ZS*(1+0.191*0.1);
今撑④:=ZS*(1-0.191*0.1);
DRAWTEXT_FIX(1,0.1,1-0.95,0,STRCAT('今日阻力③',CON2STR(阻力,2))),COLOR00FF00;
DRAWTEXT_FIX(1,0.1,1-0.85,0,STRCAT('今日支撑④',CON2STR(支撑,2))),COLORFF00FF;
{T+1止赢、止损}
止赢:H1,NODRAW,LINETHICK6;
DRAWTEXT(ISLASTBAR,H1,'当日止赢价位'),NODRAW; 
止损:阻力,NODRAW,LINETHICK1;
DRAWTEXT(ISLASTBAR,阻力,'高位止损价位'),NODRAW;
最后止损:支撑,NODRAW,LINETHICK6; 
DRAWTEXT(ISLASTBAR,支撑,'低位止损价位'),NODRAW;
UR:=10;LR:=10;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
买线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)
+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)
+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
庄家:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
IF(庄家>=REF(庄家,1),庄家,DRAWNULL),COLORRED,LINETHICK3;
IF(庄家<=REF(庄家,1),庄家,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.015,1,0,'牛马线操盘手'),COLORMAGENTA;
卖线:MA(买线,8),COLORGREEN;
买:=CROSS(买线,卖线);
卖:=CROSS(卖线,买线);
DRAWICON(买,L*0.98,1);
DRAWICON(卖,H*1.05,2);
DRAWBMP(卖=1,HIGH*1.038,'S');
STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORLIRED; 
STICKLINE(买线>=卖线,CLOSE,OPEN,3,2),COLORLIRED; 
STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORCYAN; 
STICKLINE(买线<卖线,CLOSE,OPEN,3,2),COLORCYAN; 
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,2.5,0),COLORCYAN;
BU:=CROSS(买线,卖线);
DRAWBMP(BU=1,L,'B');

上一篇:通达信末日王者主图,糖宝出击三代,精准抄底指标

下一篇:通达信堪称卖绝指标,猎豹超强指标,漏斗口战法主图指标