DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0));
指导: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick2,colorwhite;
界: MA(CLOSE,27),linethick2,Coloryellow;
FILLRGN(指导,界,指导>界),color000082;
FILLRGN(指导,界,指导<界),COLORFFBB00;
A0:=AMOUNT/VOL/100;
A1:=(EMA(A0,3)>EMA(A0,7) AND EMA(A0,7)>EMA(A0,13) AND EMA(A0,13)>EMA(A0,21))*6;
DRAWICON(A1,界,8),ALIGN0;
顶: COST(95),linethick2,Colorred;
Var11:=(2*CLOSE+HIGH+LOW)/4;
底: EMA(Var11,99)*0.91, linethick2,colorgreen ;
{成本: EMA(Var11,88),coloryellow;}
{立体K线}
STICKLINE(CLOSE>OPEN,H,LOW,0.3,0 ),COLOR9933FF;
STICKLINE(OPEN>=CLOSE,L,HIGH,0.3,0 ),COLOR66CC33;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0),COLOR33FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0),COLOR66FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0 ),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0 ),COLOR0033FF;
MA1:=MA(CLOSE,8);
MA2:=MA(CLOSE,13);
MA3:=MA(CLOSE,21);
FFF:=(LOW<=MA1 AND LOW<=MA2 AND LOW<=MA3 AND CLOSE>=MA1 AND
CLOSE>=MA2 AND CLOSE>=MA3 AND CLOSE>REF(CLOSE,1));
STICKLINE(fff,CLOSE,OPEN,8,0),COLORff00ff;
STICKLINE(fff,h,l,0,0 ),COLORff00ff;
Var1a:=CROSS(MA(CLOSE,5),MA(CLOSE,30));
DRAWTEXT(Var1a AND CLOSE>MA(CLOSE,250),LOW-LOW*0.01,'少量买 '),colorWHITE;
DRAWTEXT(Var1a AND CLOSE>=MA(CLOSE,60) AND CLOSE<=MA(CLOSE,250),LOW-LOW*0.02,'半仓买'),coloryellow;
DRAWTEXT(Var1a AND CLOSE<MA(CLOSE,60),LOW-LOW*0.04,'全仓买 '),colorFF00FF;
Var1:=REF(CLOSE,1);
Var3:=SMA(MAX(CLOSE-Var1,0),12,1)/SMA(ABS(CLOSE-Var1),12,1)*100;
Var4:=MA(Var3,4);
Var5:=IF(CROSS(Var4,REF(Var4,2)) AND Var4<32,80,IF(CROSS(REF(Var4,2),Var4) AND Var4>62,20,50));
DRAWTEXT(Var5>50,LOW,'--买入'),coloryellow ;
DRAWTEXT(Var5<50,HIGH*1.008,'卖出'),colorgreen;
DRAWTEXT(Var5>50,LOW*0.985,'机会!'),colorRED ;
DRAWTEXT(Var5<50,HIGH*1.03,'小心!'),colorWHITE;
Y25:=CEILING(SUMBARS(VOL,(CAPITAL*0.25)));
Y100:=CEILING(SUMBARS(VOL,CAPITAL));
C25:=SUM(AMOUNT,Y25)/SUM(VOL*100,Y25);
C100:=SUM(AMOUNT,Y100)/SUM(VOL*100,Y100);
突破:=cross(C25,C100);
STICKLINE(突破,open,close,8,0),colorblue;
STICKLINE(突破,low,HIGH,0.5 ,0 ),colorblue;
aa:=CLOSE/REF(CLOSE,1)>=1.09;
|