A全仓买
2016-10-23 17:36:21点击:
a:=(3*C+L+O+H)/6;
FLY1:=-(20*a+19*REF(a,1)+18*REF(a,2)+17*REF(a,3)+16*REF(a,4)+15*REF(a,5)+14*REF(a,6)
+13*REF(a,7)+12*REF(a,8)+11*REF(a,9)+10*REF(a,10)+9*REF(a,11)+8*REF(a,12)
+7*REF(a,13)+6*REF(a,14)+5*REF(a,15)+4*REF(a,16)+3*REF(a,17)+2*REF(a,18)+
REF(a,20))/210;
FLY2:=MA(FLY1,30),coloryellow;
xL1:=(2*C+H+L)/4;
xL2:=LLV(LOW,34);
xL3:=HHV(HIGH,34);
xL4:=EMA((xL1-xL2)/(xL3-xL2)*xL3,7);
xL5:=EMA(0.667*REF(xL4,2)+0.333*xL4,1);
xL6:=CROSS(xL4,MA(xL4,10));
L1:=(INDEXC-HHV(INDEXC,8))/HHV(INDEXC,8)<-0.05 AND MA(INDEXC,125)/MA(INDEXV,125)/(MA(INDEXC,5)/MA(INDEXV,5))>1.12;
L2:=BARSLAST(L1)<13, ;
L3:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)<-0.07;
x1:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
x2:=EMA(CLOSE,3);
x3:=(2*CLOSE+LOW+HIGH)/4;
x4:=x1-x2; //www.88gs.com
海底: EMA(x3,89)*0.74,LINETHICK2,Color4DA1FF;
水平面: EMA(x3,89)*0.84,LINETHICK2,ColorEE8400;
天际: EMA(x3,134)*0.98,POINTDOT,Linethick7,Color0000FF;
半:=xL6 AND FLY1<=水平面 AND C>=海底;
全:=xL6 AND C<=海底;
DRAWTEXT(xL6 AND C>水平面 AND L2,LOW-LOW*0.01,'⊙←买 '),coloryellow;
DRAWTEXT(xL6 AND C>水平面 AND L3,LOW-LOW*0.01,'⊙←买 '),coloryellow;
DRAWTEXT(半,LOW+LOW*0.02,'⊙←半仓买'),Color00FF00;
DRAWTEXT(全 AND L2,LOW+LOW*0.02,'⊙←全仓买 '),Color0000FF;