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

通达信中线系统,买卖主图,泓铭金玉满堂

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

中线系统

ZT:=C/REF(C,1)>1.097;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
CZ:=REF(H,BH)-REF(L,BH);
买线:=EMA(C,1);
卖线:=EMA(SLOPE(C,30)*10+C,45);
DRAWKLINE(H,O,L,C);{波段红青K线}
STICKLINE(买线>=卖线,L,H,0,0),COLOR2F2FFF;
STICKLINE(买线>=卖线,C,O,3.1,0),COLOR000033;
STICKLINE(买线>=卖线,C,O,2.1,0),COLOR000099;
STICKLINE(买线>=卖线,C,O,1.5,0),COLOR0000CC;
STICKLINE(买线>=卖线,C,O,0.3,0),COLOR0000FF;{立体红颜色};
STICKLINE(买线<卖线,L,H,0,0 ),COLORFFFF00; 
STICKLINE(买线<卖线,C,O,3.1,0  ),COLOR000000;
STICKLINE(买线<卖线,C,O,2.1,0 ),COLOR6A6A00;
STICKLINE(买线<卖线,C,O,1.5,0 ),COLORDDDD00;
STICKLINE(买线<卖线,C,O,0.3,0),COLORFFFF00;{立体青色};
MA1:EXPMA(C,5),DOTLINE,COLORYELLOW,LINETHICK1;
KK:=MA1<REF(MA1,1);
IF(KK,MA1,DRAWNULL),DOTLINE,COLOR00FF00,LINETHICK1;
DD1:=MA1>REF(MA1,1);
IF(DD1,MA1,DRAWNULL),COLOR00FFFF,LINETHICK2;
操作线20日:EMA(C,20),POINTDOT,COLOR0000FF,LINETHICK1;
红升:IF(操作线20日>REF(操作线20日,1),操作线20日,DRAWNULL),COLOR0000FF,LINETHICK3;
绿降:IF(操作线20日<REF(操作线20日,1),操作线20日,DRAWNULL)DOTLINE,COLOR0000FF,LINETHICK1;
均价:=(3*C+H+L+O)/6;
VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+
4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;
VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1>VAR2 AND CLOSE>VAR1;
SZ2:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1)
AND H/VAR1<1.1 AND L>VAR2 AND CLOSE>VAR1;
SZ3:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>=REF(VAR2,1) AND H/VAR1>1.1;
SZ4:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1)
AND CLOSE>VAR2 AND CLOSE<VAR1;
SZ5:=(VAR1>VAR2 AND VAR2>REF(VAR2,1) AND VAR1<>REF(VAR1,1)
AND CLOSE<VAR2) OR (VAR1>VAR2 AND VAR1<REF(VAR1,1)
AND VAR2<REF(VAR2,1) AND CLOSE<VAR2);
SZ6:=REF(VAR1,1)>REF(VAR2,1) AND VAR1=VAR2 AND CLOSE<VAR2;
XD1:=VAR1=VAR2 AND CLOSE<VAR2 OR (VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1)
AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE<VAR2);
XD2:=VAR1=VAR2 AND CLOSE>VAR1;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
量能饱和度:=IF(SAT>1,1,SAT)*100;
DRAWTEXT_FIX(BARSTATUS=2 AND SZ1,0.8,0.05,0,'调整结束短线介入'),COLORFFFFFF;
DRAWTEXT_FIX(BARSTATUS=2 AND SZ2,0.8,0.05,0,'上升通道走势良好'),COLORFFFFFF;
DRAWTEXT_FIX(BARSTATUS=2 AND SZ3,0.8,0.05,0,'股价偏离注意调整'),COLORFFFFFF;
DRAWTEXT_FIX(BARSTATUS=2 AND SZ4,0.8,0.05,0,'上升通道调整洗盘'),COLORFFFFFF;
DRAWTEXT_FIX(BARSTATUS=2 AND SZ5,0.8,0.05,0,'转向特征注意离场'),COLOR00FFFF;
DRAWTEXT_FIX(BARSTATUS=2 AND SZ6,0.8,0.05,0,'通道改变坚决离场'),COLORFFFF00;
DRAWTEXT_FIX(BARSTATUS=2 AND XD1,0.8,0.05,0,'下跌通道只宜观望'),COLORFFFF00;
DRAWTEXT_FIX(BARSTATUS=2 AND XD2,0.8,0.05,0,'短期底部准备进入'),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.95,0,EXTERNSTR(0,1)),COLORFFFFFF; 



买卖主图

 AAA1:=CONST(HHV(H,190));

TS1:=0+0.03;
TS2:=TS1+0.03;
TS3:=TS2+0.03;
DRAWTEXT(CURRBARSCOUNT=60,AAA1-(AAA1*TS1),'技术战法'),COLORFF00FF ;
var1:MA(CLOSE,P1);
var2:MA(CLOSE,P2);
var3:MA(CLOSE,P3);
var5:MA(CLOSE,P4);
var6:=CROSS(var1,var2);
var8:=CROSS(var2,var1);
DRAWICON(var6,LOW*0.997,1);
DRAWICON(var8,HIGH*1.005,2);



泓铭金玉满堂

HJ_1:=MA(CLOSE,5);

HJ_2:=HJ_1;

HJ_3:=HJ_2*1.1;

HJ_4:=MA(CLOSE,24);

HJ_5:=REF(CLOSE,1)*1.098-CLOSE<0.01;

HJ_6:=HIGH<HJ_3 AND HJ_5 AND NOT(HIGH=OPEN);

HJ_7:=REF(CLOSE,3)/REF(CLOSE,2)>=1.08;

HJ_8:=REF(OPEN,2)>REF(CLOSE,2) AND REF(OPEN,2)>HJ_4 AND REF(CLOSE,2)<HJ_4;

HJ_9:=HJ_6 AND OPEN/HJ_4<1.01 AND CLOSE>HJ_4;

HJ_10:=HJ_7 AND HJ_8 AND HJ_9;

HJ_11:=REF(CLOSE,4)/REF(CLOSE,3)>=1.08;

HJ_12:=REF(OPEN,3)>REF(CLOSE,3) AND REF(OPEN,3)>HJ_4 AND REF(CLOSE,3)<HJ_4;

HJ_13:=HJ_11 AND HJ_12 AND HJ_9;

HJ_14:=REF(CLOSE,5)/REF(CLOSE,4)>=1.08;

HJ_15:=REF(OPEN,4)>REF(CLOSE,4) AND REF(OPEN,4)>HJ_4 AND REF(CLOSE,4)<HJ_4;

HJ_16:=HJ_14 AND HJ_15 AND HJ_9;

HJ_17:=REF(CLOSE,6)/REF(CLOSE,5)>=1.08;

HJ_18:=REF(OPEN,5)>REF(CLOSE,5) AND REF(OPEN,5)>HJ_4 AND REF(CLOSE,5)<HJ_4;

HJ_19:=HJ_17 AND HJ_18 AND HJ_9;

聚宝盆形态:HJ_10 OR HJ_13 OR HJ_16 OR HJ_19;

{顶尖财经:股票学院 http://www.58188.com}

上一篇:通达信舞文弄墨,涨跌超前预知,心理基准线

下一篇:通达信提前买入,牛蒡量子盈利法,自适应均线指标