A:=(3*C+L+O+H)/6;
X:=(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,COLORFF00FF,LINETHICK2,POINTDOT;
Y:EMA(X,15),COLORWHITE,LINETHICK2,POINTDOT;
DRAWTEXT(X>Y AND REF(X>Y,1)=0,X-0.5,'↑');
VAR4:=(2*CLOSE+HIGH+LOW)/4;
{ 爱约股_通达信股票指标公式}
成本区:EMA(VAR4,90)*0.995,COLORFFCCCC,CIRCLEDOT;
操作区:EMA(VAR4,142)*0.998,COLORRED,LINETHICK2;
铁底区:EMA(VAR4,250)*0.885,COLORYELLOW,LINETHICK2;
通达信导航家之铁底成本主图指标公式的选股公式如下: