ZJJ:=REF(AMOUNT/V/100,1);
STICKLINE(C>ZJJ,C,ZJJ,0.5,0),COLORYELLOW;
K:=(REF(H,1)-REF(L,1))/2;
买1:REF(C,1)-1.5*K,COLORWHITE;
买2:REF(C,1)-K,COLORWHITE;
买3:REF(C,1)-K/2,COLORWHITE;
昨均价:ZJJ,COLORRED,LINETHICK3;
昨收:REF(C,1),COLORYELLOW,LINETHICK2;
KK:=REF(H,1)-REF(L,1);
卖1:REF(C,1)+KK,COLORGREEN;
卖2:IF((REF(C,1)+KK*2)<1.1*REF(C,1),REF(C,1)+KK*2,卖1),COLORGREEN;
卖3:IF((REF(C,1)+KK*3)<1.1*REF(C,1),REF(C,1)+KK*3,卖2),COLORGREEN;
卖4:IF((REF(C,1)+KK*4)<1.1*REF(C,1),REF(C,1)+KK*4,卖3),COLORGREEN;
十赢概率:COUNT(C>ZJJ,10),NODRAW,COLORRED;
十叉概率:COUNT(H>卖1,10),NODRAW,COLORRED;
STICKLINE(C>=O,L,H,0,0),COLORRED;
STICKLINE(C<O,L,H,0,0),COLORCYAN;
DRAWTEXT(ISLASTBAR,卖1,’ 卖1′),COLORWHITE;
DRAWTEXT(ISLASTBAR,卖2,’ 卖2′),COLORWHITE;
DRAWTEXT(ISLASTBAR,卖3,’ 卖3′),COLORWHITE;
DRAWTEXT(ISLASTBAR,卖4,’ 卖4′),COLORWHITE;
{DRAWTEXT(ISLASTBAR,昨均价*1.006,’ 昨均价’),COLORRED;
DRAWTEXT(ISLASTBAR,昨收*1.006,’ 昨收’),COLORYELLOW;}
DRAWTEXT(ISLASTBAR,买1,’ 买1′),COLORWHITE;
DRAWTEXT(ISLASTBAR,买2,’ 买2′),COLORWHITE;
DRAWTEXT(ISLASTBAR,买3,’ 买3′),COLORWHITE;
DRAWNUMBER(ISLASTBAR,卖1,卖1),COLORWHITE;
DRAWNUMBER(ISLASTBAR,卖2,卖2),COLORWHITE;
DRAWNUMBER(ISLASTBAR,卖3,卖3),COLORWHITE;
DRAWNUMBER(ISLASTBAR,卖4,卖4),COLORWHITE;
{DRAWNUMBER(ISLASTBAR,昨均价*1.01,昨均价),COLORGREEN;
DRAWNUMBER(ISLASTBAR,昨收*1.01,昨收),COLORGREEN;}
DRAWNUMBER(ISLASTBAR,买1,买1),COLORWHITE;
DRAWNUMBER(ISLASTBAR,买2,买2),COLORWHITE;
DRAWNUMBER(ISLASTBAR,买3,买3),COLORWHITE;
评论(0)