量能饱和度,副图,通用源码
用法说明,饱和度大于量能持股,小于持币,图中看,红柱持股,绿柱持币.公式中的参数可以自行调整.
量能:100*(HHV(HIGH,18)-CLOSE)/(HHV(HIGH,18)-LLV(LOW,18)),LINETHICK,COLORCYAN;
STICKLINE(量能>=2,量能,0,6,1),COLORCYAN;
饱和度:(AMOUNT/MA(C,3))/(HHV(AMOUNT,18)/HHV(C,18))*100,LINETHICK,COLORRED;
STICKLINE(饱和度>量能,饱和度,0,4,0),COLORRED;
STICKLINE(饱和度<量能,饱和度,0,4,0),COLOR00bb00;
50,COLORWHITE;