成本三线是本人最新研究成果,主要是借鉴了本人其它指标的原理,经过对比后上轨和下轨线基本上与筹码运行相一致
CB1:=COST(100-5);
CB2:=COST(100-10);
CB3:=COST(100-15);
CB4:=COST(100-20);
CB5:=COST(100-25);
CB6:=COST(100-30);
CB7:=COST(100-35);
CB8:=COST(100-40);
CB9:=COST(100-45);
SCBD:=MAX(CB1,MAX(CB2,MAX(CB3,MAX(CB4,MAX(CB5,MAX(CB6,MAX(CB7,MAX(CB8,CB9))))))));
SCBX:=MIN(CB1,MIN(CB2,MIN(CB3,MIN(CB4,MIN(CB5,MIN(CB6,MIN(CB7,MIN(CB8,CB9))))))));
SCBJ:=(CB1+CB2+CB3+CB4+CB5+CB6+CB7+CB8+CB9)/9;
SCB:EMA(((SCBJ+2*SCBD)/3+(SCBX+5*SCBD)/6)/2,1);
CB11:=COST(100-55);
CB12:=COST(100-60);
CB13:=COST(100-65);
CB14:=COST(100-70);
CB15:=COST(100-75);
CB16:=COST(100-80);
CB17:=COST(100-85);
CB18:=COST(100-90);
CB19:=COST(100-95);
XCBD:=MAX(CB11,MAX(CB12,MIN(CB13,MIN(CB14,MIN(CB15,MIN(CB16,MIN(CB17,MIN(CB18,CB19))))))));
XCBX:=MIN(CB11,MIN(CB12,MIN(CB13,MIN(CB14,MIN(CB15,MIN(CB16,MIN(CB17,MIN(CB18,CB19))))))));
XCBJ:=(CB11+CB12+CB13+CB14+CB15+CB16+CB17+CB18+CB19)/9;
XCB:ema(((XCBJ+2*XCBX)/3+(XCBD+5*XCBX)/6)/2,1);
ZCB:(SCB+XCB)/2;