中:=MA(C,26); PARTLINE(中,中<REF(中,1),RGB(0,250,0),中>REF(中,1),colormagenta,1,RGB(255,255,0)),LINETHICK1;
AAA:=(3*C+H+L+O)/6;
VAR1:=WMA(AAA,5);
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
龙线:VAR1,colorred,LINETHICK2;
渊线:VAR6,coloryellow,LINETHICK2;
潜龙勿用:IFF(VAR1=VAR6,VAR6,DRAWNULL),colorgreen,LINETHICK2;
MA2:=(REF(C,2)+REF(C,1)+C)/3,NODRAW;//www.7-0-8-2-2.com
STICKLINE(ma2>=REF(ma2,1) ,C,O,9,1) ,colorred;
STICKLINE(ma2>=REF(ma2,1) ,H,MAX(C,O),1,1) ,colorred;
STICKLINE(ma2>=REF(ma2,1) ,L,MIN(C,O),1,1) ,colorred;
STICKLINE(ma2<REF(ma2,1) ,C,O,9,1) ,colorwhite;
STICKLINE(ma2<REF(ma2,1) ,H,MAX(C,O),1,1) ,colorwhite;
STICKLINE(ma2<REF(ma2,1) ,L,MIN(C,O),1,1) ,colorwhite;
买线:=ZIG(3,0.3);
卖线:=MA(买线,3);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,5,0),color00AAFF;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,5,0),color00DD00;
DRAWTEXT(BU,L*1,'正'),LINETHICK1,COLOR00AAFF;
DRAWTEXT(SEL,H*1,'===='),LINETHICK1,COLOR00FF00;
红:=MA(MA(CLOSE,1),1),LINETHICK1,coloryellow;
蓝:MA(MA(CLOSE,2),2),coloryellow,LINETHICK1;
NOTEXT_升Y:IF(红>=蓝,蓝,DRAWNULL),colorred,LINETHICK1;
|
