AJ1:=(COST(85)+COST(15))/2;
AJ2:=(COST(75)+COST(25))/2;
AJ3:=(COST(65)+COST(35))/2;
AJ4:=(COST(55)+COST(45))/2;
AJ5:=(COST(95)+COST(5))/2;
Aj6:=(COST(99.99)-COST(0.01)*0.5)/2;
AJ:=(AJ1+AJ2+AJ3+AJ4+AJ5+AJ6)/6;
bJ1:=(COST(90)+COST(10))/2;
bJ2:=(COST(80)+COST(20))/2;
bJ3:=(COST(70)+COST(30))/2;
bJ4:=(COST(60)+COST(40))/2;
bJ5:=(COST(50));
Bj6:=(COST(99.99)+COST(0.01)*0.5)/2;
BJ:=(BJ1+BJ2+BJ3+BJ4+BJ5+BJ6)/6;
平均成本:Ema((AJ+BJ)/2,1),COLORRED,ColorFFC0FF,LINETHICK2;
生命中枢:(COST(99.99)+COST(0.01)*0.5)/2,COLOR9900FF,LINETHICK3;
IF(C>=(平均成本),平均成本,DRAWNULL),COLORWHITE;
IF(C>=REF(生命中枢,1),生命中枢,DRAWNULL)COLORBLUE;
IF(C<REF(生命中枢,1),生命中枢,DRAWNULL),COLORGREEN;
天界:ema((平均成本+COST(99.99))/2,1),COLORLIMAGENTA;
地界:EMA((平均成本+COST(0.01)*0.5)/2,1),COLOR009966,LINETHICK2;