算法:上涨家数减去下跌家数所得的差的绝对值。
该指标只适用于大盘日线。
源码
STICKLINE(INDEXC>=INDEXO,INDEXH,INDEXL,1,1),colorred;
STICKLINE(INDEXC>=INDEXO,INDEXC,INDEXO,8,1),colorred;
STICKLINE(INDEXC<INDEXO,INDEXH,INDEXL,1,0),colorgreen;
STICKLINE(INDEXC<INDEXO,INDEXC,INDEXO,8,0),colorgreen;
MA5:MA(INDEXC,5);
MA10:MA(INDEXC,10);
MA20:MA(INDEXC,20);
MA60:MA(INDEXC,60);