{可用做主图,亦可用做副图}
做空95:HHV((HIGH+LOW+OPEN+2*CLOSE)/5+H-L,5),COLORBLUE;
做空68:HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5),COLORRED;
平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3),COLORGRAY,DOTLINE;
做多68:LLV((HIGH+LOW+OPEN+2*CLOSE)/5*2-H,8),COLORGREEN;
做多95:LLV((HIGH+LOW+OPEN+2*CLOSE)/5-H+L,8),COLORFAABEC;
F:=100*(C-REF(C,1))/REF(C,1);
博尔:=IF(C REF(O,1)ANDF 0,1,0);
P1:=博尔;
量化:=IF(C REF(O,2)ANDF 0,1,0);
P2:=量化;
STICKLINE(P1=0ANDREF(P1,1)=1ANDP2=0AND
REF(P2,1)=1,OPEN,CLOSE,3,0),COLOR0055FF;
STICKLINE(P1=1ANDREF(P1,1)=0ANDP2=1AND
REF(P2,1)=0,OPEN,CLOSE,3,0),COLORGREEN;
n:2 m:5 k:40
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛
线:(20*MID+19*REF(MID,1)+20*REF(MID,2)+17*REF(MID,3)+16*REF(MID,
4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*RE
F(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)
+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(
MID,18)+REF(MID,20))/210,COLORRED;
买线:EMA(C,N);
卖线:EMA(SLOPE(牛线,M)*18+牛线,K);
A1:REF(卖线,2);
BU:=CROSS(买线, A1);
SEL:=CROSS( A1,买线);
DRAWICON(BU AND FILTER(BU,3),L-0.1,1);
DRAWICON(SEL AND FILTER(SEL,3),H+0.1,2);
STICKLINE(买线 = A1,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(买线 = A1,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(买线 A1,LOW,HIGH,0.0,1),COLORCYAN;
STICKLINE(买线 A1,CLOSE,OPEN,2,1),COLORCYAN;
操盘线:=MA(CLOSE,9),COLORYELLOW;
界点线:=MA(CLOSE,20),COLORMAGENTA;