X_1:=COST(1);
X_2:=COST(10);
X_3:=COST(20);
X_4:=COST(30);
X_5:=COST(40);
X_6:=COST(50);
X_7:=COST(60);
X_8:=COST(70);
X_9:=COST(80);
X_10:=COST(90);
X_11:=COST(99);
X_12:=COST(5);
X_13:=COST(15);
X_14:=COST(25);
X_15:=COST(35);
X_16:=COST(45);
X_17:=COST(55);
X_18:=COST(65);
X_19:=COST(75);
X_20:=COST(85);
X_21:=COST(95);
X_22:=X_12-X_1;
X_23:=X_2-X_12;
X_24:=X_13-X_2;
X_25:=X_3-X_13;
X_26:=X_14-X_3;
X_27:=X_4-X_14;
X_28:=X_15-X_4;
X_29:=X_5-X_15;
X_30:=X_16-X_5;
X_31:=X_6-X_16;
X_32:=X_17-X_6;
X_33:=X_7-X_17;
X_34:=X_18-X_7;
X_35:=X_8-X_18;
X_36:=X_19-X_8;
X_37:=X_9-X_19;
X_38:=X_20-X_9;
X_39:=X_10-X_20;
X_40:=X_21-X_10;
X_41:=X_11-X_21;
X_42:=MIN(X_22,MIN(X_23,MIN(X_24,MIN(X_25,MIN(X_26,MIN(X_27,MIN(X_28,MIN(X_29,MIN(X_30,MIN(X_31,MIN(X_32,MIN(X_33,MIN(X_34,MIN(X_35,MIN(X_36,MIN(X_37,MIN(X_38,MIN(X_39,MIN(X_40,X_41)))))))))))))))))));
X_43:=IF(X_42=X_22,(X_1+X_12)/2,0);
X_44:=IF(X_42=X_23,(X_12+X_2)/2,0);
X_45:=IF(X_42=X_24,(X_2+X_13)/2,0);
X_46:=IF(X_42=X_25,(X_13+X_3)/2,0);
X_47:=IF(X_42=X_26,(X_3+X_14)/2,0);
X_48:=IF(X_42=X_27,(X_14+X_4)/2,0);
X_49:=IF(X_42=X_28,(X_4+X_15)/2,0);
X_50:=IF(X_42=X_29,(X_15+X_5)/2,0);
X_51:=IF(X_42=X_30,(X_5+X_16)/2,0);
X_52:=IF(X_42=X_31,(X_16+X_6)/2,0);
X_53:=IF(X_42=X_32,(X_6+X_17)/2,0);
X_54:=IF(X_42=X_33,(X_17+X_7)/2,0);
X_55:=IF(X_42=X_34,(X_7+X_18)/2,0);
X_56:=IF(X_42=X_35,(X_18+X_8)/2,0);
X_57:=IF(X_42=X_36,(X_8+X_19)/2,0);
X_58:=IF(X_42=X_37,(X_19+X_9)/2,0);
X_59:=IF(X_42=X_38,(X_9+X_20)/2,0);
X_60:=IF(X_42=X_39,(X_20+X_10)/2,0);
X_61:=IF(X_42=X_40,(X_10+X_21)/2,0);
X_62:=IF(X_42=X_22,1,0);
X_63:=IF(X_42=X_23,1,0);
X_64:=IF(X_42=X_24,1,0);
X_65:=IF(X_42=X_25,1,0);
X_66:=IF(X_42=X_26,1,0);
X_67:=IF(X_42=X_27,1,0);
X_68:=IF(X_42=X_28,1,0);
X_69:=IF(X_42=X_29,1,0);
X_70:=IF(X_42=X_30,1,0);
X_71:=IF(X_42=X_31,1,0);
X_72:=IF(X_42=X_32,1,0);
X_73:=IF(X_42=X_33,1,0);
X_74:=IF(X_42=X_34,1,0);
X_75:=IF(X_42=X_35,1,0);
X_76:=IF(X_42=X_36,1,0);
X_77:=IF(X_42=X_37,1,0);
X_78:=IF(X_42=X_38,1,0);
X_79:=IF(X_42=X_39,1,0);
X_80:=IF(X_42=X_40,1,0);
{www.9m8.cn 九毛八公式指标网}
筹码峰:(X_43+X_44+X_45+X_46+X_47+X_48+X_49+X_50+X_51+X_52+X_53+X_54+X_55+X_56+X_57+X_58+X_59+X_60+X_61)/(X_62+X_63+X_64+X_65+X_66+X_67+X_68+X_69+X_70+X_71+X_72+X_73+X_74+X_75+X_76+X_77+X_78+X_79+X_80),COLORMAGENTA,LINETHICK3;