软件名称:[B]决策点睛[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2018-03-24 00:41:33
软件简介:
M2:MA(CLOSE,5);
M3:MA(CLOSE,18),coloryellow,LINETHICK2;
M4:MA(CLOSE,60),colorred,LINETHICK2;
M6:MA(CLOSE,250),colorblue;
//{MA1支撑}
均线上升CLOSE:=C>MA(C,18) AND MA(C,18)>REF(MA(C,18),1);
均线下降CLOSE:=C<MA(C,30) AND MA(C,30)<REF(MA(C,30),1);
阴线:=CLOSE<OPEN;
阳线:=CLOSE>OPEN;
C1:=C/MA(C,18)>1 AND C/MA(C,18)<1.04;
C2:=C/MA(C,30)<1 AND C/MA(C,30)>0.97;
过滤:=FILTER(C1 AND 阴线 AND 均线上升CLOSE,5);
过滤1:=FILTER(C2 AND 阳线 AND 均线下降CLOSE,5);
//{K线变色}//www.70822.com
STICKLINE(CLOSE<MA(CLOSE,18),LOW,HIGH,0,1),colorliblue;
STICKLINE( CLOSE>MA(CLOSE,18),LOW,HIGH,0,1),colorred;
STICKLINE(((OPEN>CLOSE)AND(CLOSE<MA(CLOSE,18))),(CLOSE-0.03),OPEN,10,0),colorliblue;
STICKLINE(((OPEN<CLOSE)AND(CLOSE<MA(CLOSE,18))),CLOSE,OPEN,10,1),colorliblue;
STICKLINE(((OPEN>CLOSE)AND(CLOSE>MA(CLOSE,18))),OPEN,(CLOSE-0.03),10,0),colorred;
STICKLINE(((OPEN<CLOSE)AND(CLOSE>MA(CLOSE,18))),OPEN,CLOSE,10,1),colorred;
//{B点出现位置}
DRAWTEXT(C1 AND 阴线 AND 均线上升CLOSE AND 过滤 ,C*0.95 , 'B'),colorred;//{满足B点的条件,并在收盘价的0.98处用红色写B};
//{S点出现位置}
DRAWTEXT(C2 AND 阳线 AND 均线下降CLOSE AND 过滤1,C*1.05 , 'S'),colorgreen;//{满足S点的条件,并在收盘价的1.05处用绿化色写S}
//{止损线条件语句}
T1:=C1 AND 阴线 AND 均线上升CLOSE AND 过滤;//{满足B点的条件,中间语句T1}
TQ:=BARSLAST(T1);//{上一次T1条件成立到当前的周期数}
TJ:=IF(T1,C,REF(C,TQ));
//{止损位}//www.70822.com
STICKLINE( M3>C AND COUNT(M3>C,TQ)=1,0.96*M3,0.96*M3,10,0),colorwhite;
DRAWTEXT(M3>C AND COUNT(M3>C,TQ)=1,0.96*M3,'减仓'),coloryellow;
//STICKLINE(TJ*0.95>C AND COUNT(TJ*0.95>C,TQ)=1,0.95*TJ,0.95*TJ,10,0),colorwhite;//{B点下跌5个点画横线}
//DRAWTEXT(TJ*0.95>C AND COUNT(TJ*0.95>C,TQ)=1,0.95*TJ,'减仓'),coloryellow;//{B点下跌5个写减}
STICKLINE(TJ*0.92>C AND COUNT(TJ*0.92>C,TQ)=1,0.92*TJ,0.92*TJ,10,0),coloryellow;//{B点下跌8个点画横线}
DRAWTEXT(TJ*0.92>C AND COUNT(TJ*0.92>C,TQ)=1,0.92*TJ,'止损'),colorred;//{B点下跌8个写减}
//{保护止盈位}
STICKLINE(TJ*1.02<C AND COUNT(TJ*1.02<C,TQ)=1 AND COUNT(C>TJ*0.95,TQ)=TQ ,1.02*TJ,1.02*TJ,10,0),colormagenta;
//{趋势线}
AA:=REF(H,5)=HHV(H,2*5+1);
BB:=BACKSET(AA,5+1);
CC:=FILTER(BB,5) AND H=HHV(H,5+1);
DRAWICON(CC AND ISLASTBAR=1,H*1.01,10);
AA2:=REF(L,5)=LLV(L,2*5+1);
BB2:=BACKSET(AA2,5+1);
CC2:=FILTER(BB2,5) AND L=LLV(L,5+1);
DRAWICON(CC2 AND ISLASTBAR=1,L*0.998,11);
GG:=ISLASTBAR=1 AND REF(CC,BARSLAST(CC));
HH:=BACKSET(GG,BARSLAST(CC)+1);
II:=HH>REF(HH,1);
JJ:=REF(BARSLAST(CC),1);
KK:=BACKSET(II,JJ+2);
LL:=KK>REF(KK,1);
DRAWLINE(LL,H,II,H,1),LINETHICK1,colorwhite,POINTDOT;
GG2:=ISLASTBAR=1 AND REF(CC2,BARSLAST(CC2));
HH2:=BACKSET(GG2,BARSLAST(CC2)+1);
II2:=HH2>REF(HH2,1);
JJ2:=REF(BARSLAST(CC2),1);
KK2:=BACKSET(II2,JJ2+2);
LL2:=KK2>REF(KK2,1);
DRAWLINE(LL2,L,II2,L,1),LINETHICK1,colorwhite,POINTDOT;
[url=http://www.70822.com/soft/sort013/sort036/down-122769.html]决策点睛[/url]