突破:MA(REF(HHV((C+L+O+H)/4,21),1),3),colorlired; 突越:=MA(REF(HHV((C+L+O+H)/4,55),1),3);
买线:=ZIG(3,10);
卖线:=MA(买线,3);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;
DRAWTEXT(sel,H*1.013,'卖'),linethick1,color00ff00;
分时浪:ZIG(3,N),colorwhite,linethick2;
GG:=EMA(分时浪,2);
趋势浪:ZIG(3,10),colorblue,linethick3;
HH:=EMA(趋势浪,2);//www.fxjgsw.com
DRAWTEXT(CROSS(HH,趋势浪),H+0.1,'~●卖高'),color00ff00;
DRAWTEXT(CROSS(趋势浪,HH),L,'~●买低'),colormagenta;
DRAWICON(CROSS(分时浪,GG),L,"BUY"),DRAWICON(CROSS(分时浪,GG),L-0.11,"7");
DRAWICON(CROSS(GG,分时浪),H,"SELL"),DRAWICON(CROSS(GG,分时浪),H+0.20,"8");
STICKLINE(买线>=卖线,LOW,HIGH,01,0),color0000CC;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,0),color0000CC;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),colorCCCC00;
STICKLINE(买线<卖线,LOW,HIGH,01,0),colorCCCC00;
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,8,0),color00AAFF;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,8,0),color00DD00;
STICKLINE(REF(COUNT(C<突破,5)=5,1) AND C>突破 AND C>O,C,O,8,0),colorwhite;
DRAWTEXT(REF(COUNT(C<突破,5)=5,1) AND C>突破 AND C>O,C*0.999,'↖突破'),colorwhite;
STICKLINE(REF(COUNT(C<突越,5)=5,1) AND C>突越 AND C>O,C,O,8,0),colorwhite;
DRAWTEXT(REF(COUNT(C<突越,5)=5,1) AND C>突越 AND C>O,C*0.999,'↖突破'),colorwhite;
A2:=EMA(C,13),coloryellow,LINETHICK1;
A1X:=(A2-REF(A2,1))/REF(A2,1)*100;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),colormagenta,LINETHICK2;
强势:IF(C>突破,突破,DRAWNULL),coloryellow,LINETHICK1;
弱势:IF(C<突破,突破,DRAWNULL),colorlicyan,LINETHICK1;
休息:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),colorgreen,LINETHICK2;
IF(H>=出击*1.1,出击*1.1,DRAWNULL),colorred,POINTDOT;
IF(H>=出击*1.2,出击*1.2,DRAWNULL),colorred,POINTDOT;
IF(H>=出击*1.3,出击*1.3,DRAWNULL),colorred,POINTDOT;
|
