飞狐乾坤波段副图指标
源码
TWZ:=IF(C<0,0,(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100);
T:IF(C<0,0,SMA(TWZ,4,1));
W:IF(C<0,0,SMA(T,4,1));
Z:=IF(C<0,0,3*T-2*W);
STICKLINE(Z>REF(Z,1),Z,REF(Z,1),8,0),colorFF;
STICKLINE(Z>REF(Z,1),HHV(Z,3),LLV(Z,3),1,0),colorFF;