大智慧成本操作铁底主图指标
源码
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,COLOR00ff00,linethick2,pointdot;
Y:MA(X,15),COLORWHITE,linethick2,pointdot;
↓:if(X<Y AND REF(X<Y,1)=0,X+0.5,x+1),COLORYELLOW,linethick7,pointdot;x+1,COLOR000000,linethick7,pointdot;
↑:if(X>Y AND REF(X>Y,1)=0,X-0.5,x-1),COLOR00ff00,linethick7,pointdot;x-1,COLOR000000,linethick7,pointdot;
Var4:=(2*CLOSE+HIGH+LOW)/4;
成本区:EMA(Var4,90)*0.995,COLOR00ff00,circledot;
操作区:EMA(Var4,142)*0.998,COLORRED,,linethick2;
铁底区:EMA(Var4,250)*0.885,COLORYELLOW,linethick2;