联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

顶底K线S

2016-5-12 22:38:01点击:
DRAWGBK(C>0,RGB(0,10,10),RGB(48,0,0),0,'11',0);
A1:(DVOL/C)/2,NODRAW;
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A6:=A2+A3+A4+A5;
主买:=(A2/A6)*100;
主卖:=(A3/A6)*100;
散买:=(A4/A6)*100;
散卖:=(A5/A6)*100;
主差:主买-主卖,colorgreen;
散差:散买-散卖;
DRAWTEXT(主差>0 AND REF(主差,1)<=0,C*2,'抢'),COLOR5B91FF;
DRAWTEXT(主差<0 AND REF(主差,1)>=0,C*1,'主'),colorwhite;
DRAWTEXT(散差>0 AND REF(散差,1)<=0,C*2,'散'),colorcyan;
DRAWTEXT(散差<0 AND REF(散差,1)>=0,C*1,'入'),COLOR5B91FF;
VAR1:=((CLOSE - LLV(LOW,50))/(HHV(HIGH,50) - LLV(LOW,50)))*(100);
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,6,1);
K:=SMA(VAR3,4,1);
D:=SMA(K,4,1);
K线:K,colorred;
D线:D,coloryellow;
DRAWTEXT(CROSS(K,D) AND MA(CLOSE,5)<CLOSE,D,'买'),COLOR5B91FF;
DRAWTEXT(CROSS(D,K) AND MA(CLOSE,5),D,'卖'),colorcyan;
顶:90,DOTLINE;
底:10,DOTLINE,COLOR808080;