软件名称:[B]KQY长剑指天[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2018-11-06 01:36:01
软件简介:
M5:MA(CLOSE,M),coloryellow;//
M10:=MA(CLOSE,10),colormagenta;//
CLOSE1:CLOSE,colorwhite;
LOW1:=LOW,colorwhite;
LOW144:LLV(LOW,144),colorlimagenta;
HHV21:HHV(CLOSE,34),colorlimagenta;
//DRAWICON(CROSS(CLOSE1,M5),M5,1);/////
//DRAWICON(CROSS(M5,CLOSE1),M5,2);/////
T1:BARSLAST(CROSS(CLOSE1,M5)),nodraw;
T2:BARSLAST(CROSS(M5,CLOSE1)),nodraw;
T3:IF(T2=0,LOW144,0),nodraw;//www.70822.com
DRAWTEXT(T2>=N AND T1=0,LOW144*0.98,"B"),colorred;
DRAWTEXT(CLOSE1=HHV21,HHV21*1.02,"S"),colorgreen;
//VERLINE(T2>=N AND T1=0,1),coloryellow;//画加仓建仓垂线
//VERLINE(CROSS(CLOSE,M5),1),colorgreen;//画加仓建仓垂线
DRAWNUMBER(T2>=N AND T1=0,LOW144*0.90,TOSTRING(LLV(LOW,N),2));
BT1:BARSLAST(T2>=N AND T1=0),nodraw;
BT2:BARSLAST(CROSS(CLOSE1,M5)),nodraw;
//DRAWNUMBER(T2>=N AND T1=0,LOW1*0.98,TOSTRING(C-LLV(L,N),2));
//DRAWNUMBER(BT1 AND BT2=0,LOW1*0.98,TOSTRING(C-LLV(L,N),2));
//POLYLINE(CROSS(CLOSE1,M5),REF(L,1)),coloryellow;
STICKLINE(M5-C>0,M5,C,8,1),colorgreen ;
STICKLINE(M5-C<0,M5,C,8,1),colorred ;
H:=HIGH,colorred;//www.70822.com
DRAWTEXT(O-C<0 AND O>REF(HIGH,1) AND O>C,HHV21*1.02,"H"),colorgreen;
DRAWTEXT(O-C>0 AND O>REF(HIGH,1) AND O>C,HHV21*1.02,"H"),colorgreen;
DRAWTEXT((HIGH-CLOSE)>(CLOSE-LOW) AND HIGH>REF(HIGH,1) AND HIGH/REF(CLOSE,1)>1.05,HHV21*1.06,"长剑在天"),coloryellow ;
//VERLINE((O-C<0 AND O>REF(HIGH,1) AND O>C),1),colorgreen;
//VERLINE((O-C>0 AND O>REF(HIGH,1) AND O>C),1) ,colorgreen;
//VERLINE((HIGH-CLOSE)>(CLOSE-LOW) AND HIGH>REF(HIGH,1) AND HIGH/REF(CLOSE,1)>1.05,1),colorgreen;//画加仓建仓垂线
//跌破评台收阳低点
A1:=LOW144<REF(LOW144,1);
A2:=OPEN<CLOSE;
//VERLINE(A1 AND A2,1),colorlimagenta;//画加仓建仓垂线
//VERLINE(CROSS(INDEXC,MA(INDEXC,M)),2),colorlimagenta;//画加仓建仓垂线
//VERLINE(CROSS(MA(INDEXC,M),INDEXC),2),colorligreen;//画加仓建仓垂线
DRAWICON(CROSS(INDEXC,MA(INDEXC,5)),LOW144*0.98,5);
DRAWICON(CROSS(MA(INDEXC,5),INDEXC),LOW144*0.98,6);
//////////////////////////////////////////////////////////////////////////////////////////////////////
ema1:=EMA(CLOSE,13);//www.70822.com
ema2:=EMA(CLOSE,34),colorred;
ema3:=EMA(CLOSE,55),colorcyan;
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);
买:=(var11+var13+var15+var17);
卖:=(var12+var14+var16+var18);
DRAWTEXT(买>0,LOW-0.1,'必进'),coloryellow,;
DRAWTEXT(卖>0,HHV21*1.05,'清仓'),colorgreen,;
//DRAWTEXT(CROSS(EMA1,EMA3),LOW-0.1,'X'),colorred,;
//DRAWTEXT(CROSS(EMA3,EMA1),HIGH+0.2,'X'),colorgreen,;
//DRAWTEXT(CROSS(EMA1,EMA2),LOW-0.1,'X'),colorred,;
//DRAWTEXT(CROSS(EMA2,EMA1),HIGH+0.2,'X'),colorgreen,;
//DRAWTEXT(CROSS(EMA2,EMA3),LOW-0.1,'X'),colorred,;
//DRAWTEXT(CROSS(EMA3,EMA2),HIGH+0.2,'X'),colorgreen,;
b:=TROUGHBARS(3,5,1)=0;
e:=PEAKBARS(3,5,1)=0;
DRAWICON(b,LOW-0.1,1);///////
DRAWICON(e,HIGH,2);/////////
//DRAWNUMBER(e,HIGH+(H*0.1),TOSTRING(H,2));//画数字
//DRAWNUMBER(b,LOW-(L*0.1),TOSTRING(C,2));//画数字
//突破:REF(EMA(C,14),1),coloryellow;
突破:REF(EMA(C,21),1),colorcyan;
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
//STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099;//柱线
//STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66;//柱线
均价线:=SUM(C*V,240)/SUM(V,240),colormagenta;
新价:=CLOSE,colorwhite;
X:=新价-突破;
STICKLINE(X>=0 AND CLOSE>M5,M5,突破,1,0),colorred;//柱线
STICKLINE(X>=0 AND CLOSE<M5,突破,CLOSE,1,0),colorcyan;//柱线
//STICKLINE(X>=0 AND CLOSE<M5 AND CLOSE>OPEN,突破,CLOSE,1,0),colorred;//柱线
STICKLINE(X<0 AND CLOSE<M5,突破,M5,1,0),colorcyan;//柱线
//STICKLINE(X<0 AND CLOSE<M5 AND CLOSE>OPEN,突破,M5,1,0),colorred;//柱线
STICKLINE(X<0 AND CLOSE>M5,突破,CLOSE,1,0),colorred;//柱线
STICKLINE(X<0 AND 买>0,CLOSE,M5,8,1),colorred;//柱线
STICKLINE(X<0 AND 买>0,M5,突破,1,0),colorred;//柱线
//STICKLINE(X<0,突破,M5,1,0),colorcyan;//柱线
//DRAWICON(CROSS(新价,突破),新价,1);////////
//DRAWICON(CROSS(突破,新价),突破,2);////////
////////////////////////////////////////////////////////////////////////////////////////////
//威廉指标
WR:=100*(HHV(HIGH,M1)-CLOSE)/(HHV(HIGH,M1)-LLV(LOW,M1));
B:=CROSS(M2,WR);
S:=(CROSS(WR,M2)) OR (CROSS(WR,M3));
bm:=BARSLAST(b);
sm:=BARSLAST(s);
bm1:=IF(bm[1]=-1 AND b,1,IF(bm[1]!=-1 AND sm[1]!=-1 AND bm[1]>sm[1] AND b AND b[1]=0,1,0));
sm1:=IF(sm[1]=-1 AND bm[1]!=-1 AND s,1,IF( sm[1]!=-1 AND bm[1]!=-1 AND sm[1]>bm[1] AND s AND s[1]=0,1,0));
//DRAWTEXT(bm1>0,突破*1.02,'W'),coloryellow;
//DRAWTEXT(sm1>0,突破*1.02,'W'),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-130256.html]KQY长剑指天[/url]