N1:=5;
N2:=13;
N3:=25;
AT:IF(CAPITAL=0,AMOUNT/100000000,VOL/CAPITAL*100),VOLSTICK;
{指数为成交金額,个股为换手率}
ATM1:EMA(AT,N1);
ATM2:MA(AT,N2);
{股票指标网}
T%D:SUMBARS(VOL,CAPITAL),NODRAW;
{换手率达到99.99%的交易日天数};
阶段天量:=AT>REF(HHV(AT,N3),1) && ATM1>ATM2;
阶段地量:=AT<REF(LLV(AT,N3),1) && ATM1<ATM2;
STICKLINE(阶段天量,0,AT*0.75,2.38,0),COLOR000099;
STICKLINE(阶段天量,0,AT*0.75,0.35,0),COLORCC66FF;
STICKLINE(阶段地量,0,AT*0.75,2.38,0),COLOR009900;
STICKLINE(阶段地量,0,AT*0.75,0.35,0),COLOR00FF00;