|
捞金
Var1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
Var2:=SUMBARS(VOL,CAPITAL);
Var3:=IF(CLOSE>LLV(CLOSE,Var2),1,-1)*IF(Var1>LLV(Var1,Var2),1,-1);
Var4:=IF(Var3=-1,1,0);
Var5:=COUNT(Var4=1,5)>3;
Var6:=SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100;
Var7:=DMA((HIGH+LOW+CLOSE)/3,VOL/CAPITAL);
Var8:=(CLOSE-Var7)/Var7*100<-19;
Var9:=(CLOSE-MIN(REF(CLOSE,5)*0.88,REF(CLOSE,21)*0.78))/CLOSE<0.05;
RSW: Var8 AND Var9 AND Var5 AND Var8;
DRAWTEXT(RSW>0 AND REF(RSW,1)=0,0.5,'出现信号,待RSW=0时买入!');
V1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
V2:=SUMBARS(VOL,CAPITAL);
V3:=IF(CLOSE>LLV(CLOSE,V2),1,-1);
V4:=IF(V1>LLV(V1,V2),1,-1);
V5:=V3*V4;
V6:=IF(V5=-1,1,0);
V7:=COUNT(V6=1,8)>2;
V8:=AMOUNT/VOL/100;
V9:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VA:=SUM(AMOUNT,13)/V8/100;
VB:=DMA(V9,VOL/VA);
VC:=(CLOSE-VB)/VB*100<-15;
VD:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.05;
AA:=VC AND VD AND V7;
果断出击1:if(aa>0,1,0) STICK,COLORWHITE;
DRAWICON( 果断出击1>0,1 ,1 );
DRAWTEXT(果断出击1>0,0.8, '★果断1')COLORWHITE ;
BB:=(AA>0 AND REF(AA,1)=0),COLORCYAN;
果断出击2:if(BB>0,0.8,0) STICK, ,COLORYELLOW ;
DRAWICON( 果断出击2>0,0.8 ,1 );
DRAWTEXT(果断出击2>0,0.6, '★果断2') ,COLORYELLOW ;
K:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100 < -13;
Q:=CROSS("KDJ.J"(9,3,3),0);
天河排放:=K AND Q;
果断出击3:if(天河排放>0,0.6,0) STICK,COLORGREEN;
DRAWICON( 果断出击3>0,0.6 ,1 );
DRAWTEXT(果断出击3>0,0.4, '★果断3') ,,COLORGREEN;
p排序:if(果断出击1>0 or 果断出击2>0 or 果断出击3>0,0.2,0),STICK,COLORCYAN;
|
|