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;
{ _大智慧股票指标公式}
Y:WMA(X,13),COLORWHITE,linethick2,pointdot;
DRAWTEXT(X>Y AND REF(X>Y,1)=0,X-0.5,'↑');
Var4:=(2*CLOSE+HIGH+LOW)/4;
成本区:WMA(Var4,90)*0.995,COLORFFCCCC,circledot;
操作区:WMA(Var4,120)*0.998,COLORRED,linethick2;
铁底区:WMA(Var4,240)*0.885,COLORYELLOW,linethick2;