|
a:=(3*c+l+2*o+h)/7;
多:(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,19))/210;
空:ema(多,23);
箱中:EMA(CLOSE,23);
上沿:箱中 + 2*STD(CLOSE,23);
下沿:箱中 - 2*STD(CLOSE,23);
aa:=if(c>=o,(c-o)/4,0);
STICKLINE(c>=o,o,o+aa,7,0),colorred;
STICKLINE(c>=o,o+aa,o+2*aa,7,0),colorred;
STICKLINE(c>=o,o+2*aa,o+3*aa,7,0),colorred;
STICKLINE(c>=o,o+3*aa,c,7,0),colorred;
VarA:=IF(CLOSE>125,91.3,0.913);
LOWER:INTPART(CLOSE/VarA )*VarA,pointdot,linethick3,color00ff00;
UPPER:LOWER+VarA,pointdot,linethick3,coloryellow ;
MID:(LOWER+UPPER)/2,pointdot,colorwhite,linethick3;
|
|