AAA:=(3*C+H+L+O)/6; 短线:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,COLORRED,LINETHICK2; 中线:MA(MA(C,18),5),LINETHICK1; STICKLINE(短线>中线,短线,中线,0,0),COLORWHITE; DRAWICON(REF(C,1)中线,L*0.98,5);
爱约股解答:
AAA:=(3*C+H+L+O)/6;
短线:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
中线:=MA(MA(C,18),5);
XG:REF(C,1)<中线 AND C>中线;