1、1、短中长三线指标均:=(3*C+H+L+O)/6;S:(8*均+7*REF(均,1)+6*REF(均,2)+5*REF(均,3)+4*REF(均,4)+3*REF(均,5)+2*REF(均,6)+REF(均,7)/36,COLORRED,LINETHICK2,PRECIS2;M:MA(S,10),LINETHICK2,COLORGREEN,PRECIS2;L:MA(S,26),LINETHICK2,COLORBLUE,PRECIS2;2、支压平台线HD:=FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10);LD:=FILTE
2、R(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10); A:=REF(C,BARSLAST(HD);B:=REF(C,BARSLAST(LD);T1:=BARSLAST(HD)BARSLAST(LD) AND NOT(LD);支:IF(T2,B,B),LINETHICK1,PRECIS2;压:IF(T1,A,A),LINETHICK1,PRECIS2;3、天机均线均:=(3*C+H+L+O)/6;S:(8*均+7*REF(均,1)+6*REF(均,2)+5*REF(均,3)+4*REF(均,4)+3*REF(均,5)+2*REF(均,6)
3、+REF(均,7)/36,COLORRED,LINETHICK2,PRECIS2;M:(LLV(S,3)+LLV(S,5)+LLV(S,8)/3,LINETHICK2,COLORGREEN,PRECIS2;L:MA(S,26),LINETHICK2,COLORBLUE,PRECIS2;4、量能指标(副图)VAR1:=(HHV(HIGH,13)-LLV(LOW,13);VAR2:=(HHV(HIGH,13)-CLOSE);VAR3:=(CLOSE-LLV(LOW,13);VAR4:=(VAR2/VAR1)*100)-70);VAR5:=(CLOSE-LLV(LOW,60)/(HHV(HIGH,6
4、0)-LLV(LOW,60)*100);VAR6:=(2*CLOSE)+HIGH)+LOW)/4);VAR7:=SMA(VAR3/VAR1)*100),3,1);VAR8:=LLV(LOW,34);VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:=IF(VAR9100),(VAR9-100),0);VAR11:=HHV(HIGH,34);VAR12:=EMA(VAR6-VAR8)/(VAR11-VAR8)*100),13);VAR13:=EMA(0.667*REF(VAR12,1)+(0.333*VAR12),2);STICKLINE(VAR12-VAR13)
5、0),VAR12,VAR13,4,0),COLOR0000FF;STICKLINE(VAR12-VAR13)B AND BD,B),COLORRED,LINETHICK4;PARTLINE(CB AND BB,LOW,1);DRAWICON(CROSS(D,B) AND CLM12 AND AABB,趋势线),COLORRED,LINETHICK4;PARTLINE(M5M12 AND AAM12 AND AABB,趋势线),COLORYELLOW,LINETHICK4;PARTLINE(M5BB,趋势线),COLORYELLOW,LINETHICK4;HD:=FILTER(BACKSET(F
6、ILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10);LD:=FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10); A:=REF(C,BARSLAST(HD);B:=REF(C,BARSLAST(LD);T1:=BARSLAST(HD)BARSLAST(LD) AND NOT(LD);压:IF(T1,A,A),LINETHICK1,PRECIS2;支:IF(T2,B,B),LINETHICK1,PRECIS2;DRAWICON(CROSS(M5,压),M5,1),COLORRED;DRAWICON(CROSS(支,M5),M5,2),COLORGREEN;第3页/总3页