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

通达信源码:操盘线主图,市场人气副图,突破底部

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

1、操盘线主图和市场人气副图

{操盘线主图源码}
流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
MA5:=EMA(EMA(C,5),3);
VAR1:=CLOSE-LLV(L,9);
VAR2:=HHV(H,9)-LLV(L,9);
VAR3:=(VAR1+0.00001)/VAR2*100;
VAR4:=EMA(EMA(VAR3,5),5);
VAR5:=EMA((0.668*REF(MA5,1)+0.333*MA5),1);
VAR6:=EMA((0.668*REF(VAR4,1)+0.333*VAR4),1);
VAR7:=IF(VAR4>VAR6,1,-1);
VAR8:=IF(C>MA5 AND MA5>VAR5 AND VAR4>50 AND VAR4>VAR6,1,-1);
STICKLINE(C>O,C,O,-1,0),COLORLIGRAY;
STICKLINE(C>O,L,H,0,0),COLORLIGRAY;
STICKLINE(C<O,C,O,-1,0),COLORWHITE;
STICKLINE(C<O,L,H,0,0),COLORWHITE;
STICKLINE(C=O AND C>REF(C,1),C,O,-1,0),COLORLIGRAY;
STICKLINE(C=O AND C>REF(C,1),L,H,0,0),COLORLIGRAY;
STICKLINE(C=O AND C<REF(C,1),C,O,-1,0),COLORWHITE;
STICKLINE(C=O AND C<REF(C,1),L,H,0,0),COLORWHITE;
STICKLINE(VAR7=1 AND C>O,C,O,-1,0),COLORRED;
STICKLINE(VAR7=1 AND C>O,L,H,0,0),COLORRED;
STICKLINE(VAR7=1 AND C<O,C,O,-1,0),COLORLIBLUE;
STICKLINE(VAR7=1 AND C<O,L,H,0,0),COLORLIBLUE;
STICKLINE(VAR7=1 AND C=O AND C>REF(C,1),C,O,-1,0),COLORRED;
STICKLINE(VAR7=1 AND C=O AND C>REF(C,1),L,H,0,0),COLORRED;
STICKLINE(VAR7=1 AND C=O AND C<REF(C,1),C,O,-1,0),COLORLIBLUE;
STICKLINE(VAR7=1 AND C=O AND C<REF(C,1),L,H,0,0),COLORLIBLUE;
 
STICKLINE(C>MA5 AND MA5>VAR5,C,O,-1,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5,L,H,0,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5,C,O,-1,0),COLORC08080;
STICKLINE(C>MA5 AND MA5>VAR5,L,H,0,0),COLORC08080;
STICKLINE(C>MA5 AND MA5>VAR5 AND C>REF(C,1),C,O,-1,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5 AND C>REF(C,1),L,H,0,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5 AND C<REF(C,1),C,O,-1,0),COLORC08080;
STICKLINE(C>MA5 AND MA5>VAR5 AND C<REF(C,1),L,H,0,0),COLORC08080;
STICKLINE(VAR8=1 AND C>O,C,O,-1,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C>O,L,H,0,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C<O,C,O,-1,0),COLORLIGREEN;
STICKLINE(VAR8=1 AND C<O,L,H,0,0),COLORLIGREEN;
STICKLINE(VAR8=1 AND C=O AND C>REF(C,1),C,O,-1,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C=O AND C>REF(C,1),L,H,0,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C=O AND C<REF(C,1),C,O,-1,0),COLORLIGREEN;
STICKLINE(VAR8=1 AND C=O AND C<REF(C,1),L,H,0,0),COLORLIGREEN;
DRAWBAND(VAR5,RGB(0,205,0),MA5,RGB(205,0,0));

{市场人气}
VARB:=CLOSE-LLV(L,9);
VARBB:=HHV(H,9)-LLV(L,9);
VARBBB:=(VARB+0.00001)/VARBB*100;
市场人气:EMA(EMA(VARBBB,5),5);
B1:=EMA((0.668*REF(市场人气,1)+0.333*市场人气),1);
DRAWBAND(B1,RGB(0,205,0),市场人气,RGB(205,0,0));


 
公式的解释:
操盘线主图增加了一根线,主要是考虑到线上阴线买,线下阳线跑,用来警示的。
具体看下面:
强势也能根据K线颜色能操作的;
弱势也能根据K线颜色能操作的;
高价股也能根据K线颜色能操作的;
低价股也能根据K线颜色能操作的;
st也能根据K线颜色能操作的;
重复一下注意:收阳红色和收阴蓝色是多头在转势,能不能成功看顶底,看有没有3-5的走势;
                       收阳洋红和收阴绿色是多头一致性市场,特别注意见顶,观察分时走势和人气顶底;
                       多头吃了败仗是灰色了或者白色了,基本多头就死了,这个时候满仓搞风险比较大,要求T+0技术非常高,或者对冲风险;
 
股票不能一直满仓,避开下跌,我用灰色和白色K线代表多头打败了,不能做多;
有收阳红色K线了多头转势了,可以适量参与,配合市场人气公式,它的阴线是蓝色的;( 顶尖财经 股票学院: http://58188.com )
有收阳洋红K线了做多一致认可了,可以参与,看人气公式是不是背离,它的阴线是绿色的,注意风险的意思;
 
应该应有尽有,其实股市天天开,守着自己喜欢的股票,找到买卖点就行了,别贪心,贪心会上当的。
市场人气公式是看顶底趋势的,高位是顶,有背离就是3-5的意思嘛,主要看能否突破;
低位是底,同样有背离,同理C-E的意思,主要看是否破位,环境不好时候没有最低,所以数起来比较麻烦;



2、突破底部

VAR1:=MA(CLOSE,5);

VAR2:=MA(CLOSE,10);

VAR3:=MA(CLOSE,20);

顶:=85;

中:=50;

底:=20;

VAR4:=MA(CLOSE,30);

VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;

VAR6:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;

VAR7:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;

VAR8:=EMA(VAR6,8);

HLM1:=MA(HHV(H,485),17);

HLM2:=MA(HHV(H,222),17);

HLM3:=MA(HHV(H,96),17);

VAE1:=HHV(HIGH,9)-LLV(LOW,9);

VAE2:=HHV(HIGH,9)-CLOSE;

VAE3:=CLOSE-LLV(LOW,9);

VAE4:=VAE2/VAE1*100-70;

HLM4:=MA(LLV(L,485),17);

HLM5:=MA(LLV(L,222),17);

HLM6:=MA(LLV(L,96),17);

VAE5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAE6:=(2*CLOSE+HIGH+LOW)/4;

VAE7:=SMA(VAE3/VAE1*100,3,1);

VAE8:=LLV(LOW,34);

VAE9:=SMA(VAE7,3,1)-SMA(VAE4,9,1);

HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);

HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);

HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);

VAEA:=IF(VAE9>100,VAE9-100,0);

VAEB:=HHV(HIGH,34);

AA:=VAEA*2;

EE:=EMA((VAE6-VAE8)/(VAEB-VAE8)*100,13);

VAEC:=EMA(0.667*REF(EE,1)+0.333*EE,2);

RR:=SMA(VAE5,20,1),COLORRED;

CC1:=SMA(RR,5,1),COLORGREEN;

HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);

HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;

HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);

HLMH:=HHV(HLM12,30);

注意: STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,VAR6,0,2,0);

转强: STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,2,0),COLORLIRED;

STICKLINE(RR>CC1,RR,CC1,1,0),COLORRED;

STICKLINE(CC1>RR,RR,CC1,1,0),COLORGREEN;

CCI进:IF((CROSS(RR,CC1) AND (CC1 < 顶) ),80,0),COLORRED;

K2:=EMA(C,5),COLORFFFF00;

K3:=EMA(C,10),COLORFFFF00;

K5:=EMA(C,30),COLORFFFF00;

KK5:=EMA(INDEXC,30),COLORFFFF00;

K6:=2*(K2-K5);

K7:=2*(K2-K3);

K8:=2*(K7+K6),COLORRED;

STICKLINE(CROSS(K8,0),0,6,3,0) ,COLORRED;

持股: STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,2,0),COLORRED;

观望: STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,VAR6,VAR8,2,0),COLORYELLOW;

持币: STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8,VAR6,VAR8,2,0),COLORFFFF00;

注意底部:0,COLORGREEN;

坚决持股:0,COLORRED;

谨慎观望:0,COLORYELLOW;

果断持币:0,COLORFFFF00;

趋势转强:0,COLORFFDDFF;

K1:=IF(K8>REF(K8,5) AND K3<REF(K3,5) ,1,0 ),COLORYELLOW;

K21:=IF(K8>REF(K8,7) AND K3<REF(K3,7) ,1,0 ),COLORYELLOW;

K31:=IF(K8>REF(K8,9) AND K3<REF(K3,9) ,1,0 ),COLORYELLOW;

K4:=IF(K8>REF(K8,11) AND K3<REF(K3,11) ,1,0 ),COLORYELLOW;

WWW58188COM:STICKLINE((K1 OR K21 OR K31 OR K4) AND K8<0 AND K8>REF(K8,1),4,0,8,0),COLORYELLOW;

关注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3)/120,COLORFFFFFF;

上一篇:通达信源码:多头分时,天马1号,逃顶抄底

下一篇:通达信源码:宝宝强势涨停,打板指标公式来了,今日交易