{www.9m8.cn 九毛八公式指标网 股票软件下载网_通达信股票指标公式}
DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;
DRAWTEXT(ISLASTBAR,%19.8,'%19.8安全'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%38.2,'%38.2'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%50,'%50'),COLORRED;
DRAWTEXT(ISLASTBAR,%61.8,'%61.8'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%80.9,'%80.9'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;
A:=(3*C+L+O+H)/6;
B:(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,COLORWHITE,LINETHICK1;
D:MA(B,15),COLORYELLOW,LINETHICK1;
VAR4:=(2*CLOSE+HIGH+LOW)/4;
R1:=MA(CLOSE,26);
R2:=R1-0.25;
空方线:=R2;
多方线:=EMA(CLOSE,3);
DRAWICON(CROSS(多方线,空方线),多方线*0.95,1);
VAR1A:=CROSS(MA(CLOSE,5),MA(CLOSE,30));
DRAWTEXT(VAR1A,LOW-LOW*0.01,'A'),COLORRED;
DRAWTEXT(VAR1A,LOW-LOW*0.03,'介入点'),COLORYELLOW;