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*REF(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;
页:
1
[2]