当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:完整版本《K线波浪》主图公式
软件名称:[B]完整版本《K线波浪》主图公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2016-06-27 01:12:17
软件简介:
必买:=IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,CLOSE,0),NODRAW;
必卖:=IF(PEAKBARS(3,15,1)=1,CLOSE,0),NODRAW;
DRAWICON(必买=CLOSE,L-0.01,"buy ");
DRAWICON(必卖=CLOSE,H,"sell");
DRAWTEXT(必买=CLOSE,LOW* 0.99,'——起涨点'),colormagenta;
DRAWTEXT(必卖=CLOSE,H* 0.99,'----逃顶点'),colorgreen;
STICKLINE(必卖 AND CLOSE<OPEN,OPEN,CLOSE,10,2),colorgreen;
STICKLINE(必卖 AND CLOSE>=OPEN,OPEN,CLOSE,10,2),colorred;
STICKLINE(必卖,OPEN,CLOSE,10,0),colorgreen;
STICKLINE(必卖 ,LOW,HIGH,4,0),colorgreen;
STICKLINE(必买 AND CLOSE<OPEN,OPEN,CLOSE,10,2),colorcyan;
STICKLINE(必买 AND CLOSE>=OPEN,OPEN,CLOSE,10,2),colorred;
STICKLINE(必买,OPEN,CLOSE,9,0),colorwhite;
STICKLINE(必买,LOW,HIGH,4,0),color00009C;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorred;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE>=OPEN,OPEN,LOW,0,0),colorred;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorred;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorcyan;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE<OPEN,LOW,HIGH,2,0),colorcyan;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE<OPEN,OPEN,CLOSE,8,0),colorwhite;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE<=OPEN,OPEN,CLOSE,10,0),colorcyan;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE<=OPEN,LOW,HIGH,2,0),colorcyan;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE>OPEN,OPEN,CLOSE,10,1),colorlimagenta;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE>OPEN,OPEN,CLOSE,7,0),colorcyan;
STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE>OPEN,LOW,HIGH,4,0),colorred;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorblue;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorblue;
STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;
MA25:MA(C,25),POINTDOT,colorred;
PARTLINE(MA25,MA25>REF(MA25,1),RGB(165,40,20),MA25<REF(MA25,1),RGB(20,185,25)),LINETHICK2;
MA55:=MA(CLOSE,55),coloryellow,LINETHICK1;
MA14:MA(C,14),colorred,POINTDOT,LINETHICK1;
MA3:=MA(CLOSE,3),coloryellow,LINETHICK2;
PARTLINE(MA14,MA14>REF(MA14,1),RGB(255,20,0),MA14<REF(MA14,1),RGB(00,255,45)),LINETHICK2;
GET:=ZIG(3,5),POINTDOT,colorred;
PARTLINE(GET,GET>REF(GET,1),RGB(255,85,5),GET),color2F4F2F,LINETHICK3;
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
买1:=VAR10;
买2:=(VAR11+VAR13+VAR15+VAR17);
卖1:=(VAR12+VAR14+VAR16+VAR18);
B线:IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,coloryellow;
S线:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,colorcyan;
MA135:=MA(VOL,135); TJ1:=VOL=HHV(VOL,10) AND VOL>1.7*REF(VOL,1) AND C>=REF(C,1) AND C>=O AND VOL<=MA135*3.5; LJL:=FILTER(TJ1,3);
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,3),1,0); ST:=TJ3=1;
CL:=FILTER(ST,3);///分析家公式网:www.70822.com
STICKLINE(C,REF(L,BARSLAST(CL)),REF(L,BARSLAST(CL)),2,0),coloryellow; STICKLINE(CLOSE,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),2,0),colorcyan;
STICKLINE(LJL,OPEN,CLOSE,5,0),coloryellow; DRAWTEXT(LJL,L*0.99,'支撑'),COLORF00FF0;
A:=EMA(C,14),colorwhite,LINETHICK1;
B:=(A-REF(A,1))/REF(A,1)*100,NODRAW;
支撑:IF(B>=0,REF(EMA(C,14),BARSLAST(CROSS(B,0))+1),DRAWNULL),colorblue,LINETHICK2;
阻力:IF(B<0,REF(EMA(C,14),BARSLAST(CROSS(0,B))+1),DRAWNULL),colorgreen,LINETHICK2;
A:=(O+C)/2;
Y3:=REF(A,3);
STICKLINE(Y3 AND C>MA3 ,A,A,10,1),colorwhite;
[url=http://www.70822.com/soft/sort013/sort036/down-99753.html]完整版本《K线波浪》主图公式[/url]