VAR1W:=IF(YEAR>=2005 AND MONTH>=11 AND DAY>=1,0,1);
AS:=(HIGH+LOW+CLOSE)/3;
AAA:=EMA(AS,3)*VAR1W;
止损:AAA,colorFFFFFF;
明日止损:EMA(止损,3),LINETHICK2,colorFFFFFF;
天鳯:EMA(EMA(CLOSE,2),4)*VAR1W;
天鳯A:EMA(CLOSE,20)*VAR1W,color3300CC;
KS:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100)*VAR1W;
金线:=(EMA(KS/10+EMA(CLOSE,10),3))*VAR1W;
天龙:EMA(CLOSE,60)*VAR1W;
天龙A:EMA(天龙,20)*VAR1W;
金项链:EMA(CLOSE,250)*VAR1W,LINETHICK2;
PARTLINE(金项链<REF(金项链,1) AND VAR1W,金项链),LINETHICK2,colorFFFF00;
PARTLINE(金项链>REF(金项链,1) AND VAR1W,金项链),LINETHICK2,colorFFFF00;
PARTLINE(天鳯A<REF(天鳯A,1) AND VAR1W,天鳯A),LINETHICK2,colorFF0000;
PARTLINE(天鳯A>REF(天鳯A,1) AND VAR1W,天鳯A),LINETHICK2,colorCC0033;
PARTLINE(天鳯<REF(天鳯,1) AND VAR1W,天鳯),LINETHICK2,color9900CC;
PARTLINE(天鳯>REF(天鳯,1) AND VAR1W,天鳯),LINETHICK2,colorCC00CC;
PARTLINE(明日止损<REF(明日止损,1) AND VAR1W,明日止损),LINETHICK2,color0000FF;
PARTLINE(明日止损>REF(明日止损,1) AND VAR1W,明日止损),LINETHICK2,color0000CC;
PARTLINE(AAA<REF(AAA,1) AND VAR1W,AAA),colorFFFF00;
PARTLINE(AAA>REF(AAA,1) AND VAR1W,AAA),colorCC33CC;
STICKLINE(天鳯>=天鳯A AND VAR1W,天鳯,天鳯A,1,0),colorCCFFCC;
STICKLINE(天鳯<=天鳯A AND VAR1W,天鳯,天鳯A,1,0),colorCC00CC;
STICKLINE(天龙>=天龙A AND VAR1W,天龙,天龙A,1,0),colorFFFFFF;
STICKLINE(天龙<=天龙A AND VAR1W,天龙,天龙A,1,0),colorFF00CC;
A:=BARSCOUNT(CLOSE);
B:=BARSLAST(A);
CC:=REF(INDEXC,B)/REF(CLOSE,B);
DD1:=INDEXO/CC;
DD2:=INDEXH/CC;
DD3:=INDEXL/CC;
DD4:=INDEXC/CC;
STICKLINE(1 AND DD4>=REF(DD4,1) AND VAR1W,DD3,DD1,0.1,0),colorFF66FF;
STICKLINE(1 AND DD4>=REF(DD4,1) AND VAR1W,DD4,DD2,0.1,0),colorFF66FF;
STICKLINE(1 AND DD4>=REF(DD4,1) AND VAR1W,DD1,DD4,7,1),colorFF66FF;
STICKLINE(1 AND DD4<REF(DD4,1) AND VAR1W,DD3,DD2,0.1,0),color99FF33;
STICKLINE(1 AND DD4<REF(DD4,1) AND VAR1W,DD4,DD1,7,0),color99FF33;
介入点:=ZIG(3,15)>REF(ZIG(3,15),1) AND REF(ZIG(3,15),1)<=REF(ZIG(3,15),2) AND REF(ZIG(3,15),2)<=REF(ZIG(3,15),3);
DRAWTEXT(介入点 AND VAR1W,OPEN,'●介入点15%',20),colorff33cc;
黑马出现:=ZIG(3,30)>REF(ZIG(3,30),1) AND REF(ZIG(3,30),1)<=REF(ZIG(3,30),2) AND REF(ZIG(3,30),2)<=REF(ZIG(3,30),3);
DRAWTEXT(黑马出现 AND VAR1W,REF(CLOSE,1),'●建仓30%',50),colorFF00FF;
大黑马:=ZIG(3,50)>REF(ZIG(3,50),1) AND REF(ZIG(3,50),1)<=REF(ZIG(3,50),2) AND REF(ZIG(3,50),2)<=REF(ZIG(3,50),3);
DRAWTEXT(大黑马 AND VAR1W,LOW,'▲建仓50%'),colorCC0066;
黑马1:=ZIG(3,100)>REF(ZIG(3,100),1) AND REF(ZIG(3,100),1)<=REF(ZIG(3,100),2) AND REF(ZIG(3,100),2)<=REF(ZIG(3,100),3);
DRAWTEXT(黑马1 AND VAR1W,REF(OPEN,1),'★底部黑马99.99%',15),colorFFFFFF;
黑马2:=ZIG(3,150)>REF(ZIG(3,150),1) AND REF(ZIG(3,150),1)<=REF(ZIG(3,150),2) AND REF(ZIG(3,150),2)<=REF(ZIG(3,150),3);
DRAWTEXT(黑马2 AND VAR1W,REF(LOW,1),'★想不挣钱也难呀150%',80),color990066;
了结点:=ZIG(3,15)<REF(ZIG(3,15),1) AND REF(ZIG(3,15),1)>=REF(ZIG(3,15),2) AND REF(ZIG(3,15),2)>=REF(ZIG(3,15),3);
DRAWTEXT(了结点 AND VAR1W,REF(CLOSE,1),'●分批减仓15%',10),colorff33cc;
减仓:=ZIG(3,30)<REF(ZIG(3,30),1) AND REF(ZIG(3,30),1)>=REF(ZIG(3,30),2) AND REF(ZIG(3,30),2)>=REF(ZIG(3,30),3);
DRAWTEXT(减仓 AND VAR1W,REF(CLOSE,1),'▼减仓已获利30%',30),colorff00cc;
猎牛:=ZIG(3,50)<REF(ZIG(3,50),1) AND REF(ZIG(3,50),1)>=REF(ZIG(3,50),2) AND REF(ZIG(3,50),2)>=REF(ZIG(3,50),3);
DRAWTEXT(猎牛 AND VAR1W,HIGH,'▼猎牛杀熊已获利50%',45),colorFF00FF;
猎牛1:=ZIG(3,100)<REF(ZIG(3,100),1) AND REF(ZIG(3,100),1)>=REF(ZIG(3,100),2) AND REF(ZIG(3,100),2)>=REF(ZIG(3,100),3);
DRAWTEXT(猎牛1 AND VAR1W,REF(HIGH,1),'▼再不走你就死定了已获利99.99%',60),color9900CC;
|