{技术指标公式:活筹指数 缺省周期:日线 }
X:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
N:=SMA(X,20,1);
Q:=SMA(N,10,1);
X1:=(OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
N1:=SMA(X1,20,1);
Q1:=SMA(N1,10,1);
X2:=(HIGH-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
N2:=SMA(X2,20,1);
Q2:=SMA(N2,10,1);
X3:=(LOW-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
N3:=SMA(X3,20,1);
Q3:=SMA(N3,10,1);
X4:=3*N-2*Q;{c}
N4:=3*N1-2*Q1;{o}
Q4:=3*N2-2*Q2;{h}
H5:=3*N3-2*Q3;{l}
X6:=FORCAST(X4,4);
N6:=FORCAST(N4,4);
Q6:=FORCAST(Q4,4);
H6:=FORCAST(H5,4);
STICKLINE(REF(X6,1)>=REF(N6,1) ,X6 ,N6,8 ,1 ),;
STICKLINE(REF(X6,1)>=REF(N6,1),Q6,X6,0.8 ,1 ),;
STICKLINE(REF(X6,1)>=REF(N6,1) ,H6,N6,0.8 ,1 ),;
STICKLINE(ref(N6,1)>=ref(X6,1),N6,X6,8,0 ),COLORYELLOW;
STICKLINE(ref(N6,1)>=ref(X6,1) ,Q6,N6,0.8 ,0 ),COLORYELLOW;
STICKLINE(ref(N6,1)>=ref(X6,1),H6,X6,0.8 ,0 ),COLORYELLOW;