大智慧量价比指标公式

cjlb:=(AMOUNT-ref(amount,1))/ref(amount,1);

cjjb:=(close-ref(close,1))/ref(close,1);

stICKLINE(cjlb>=0 and cjjb>=0 and cjjb>=cjlb,ref(close,1),CLOSE,4,0),colorred;

STICKLINE(cjlb>=0 and cjjb>=0 and cjlb>cjjb,ref(close,1),CLOSE,4,0),colorff00ff;

STICKLINE(cjlb>=0 and cjjb<0,ref(close,1),CLOSE,4,0),colorblue;

STICKLINE(cjlb<0 and cjjb<0,ref(close,1),CLOSE,4,0),colorffff00;

STICKLINE(cjlb<0 and cjjb>=0,ref(close,1),CLOSE,4,0),coloryellow;

DRAWTEXTREL(4,50,'价升>量增 ---红 色'),colorred;

DRAWTEXTREL(4,120,'价升<量增 ---粉红色'),colorff00ff;

DRAWTEXTREL(4,190,'价升,量缩 ---黄 色'),coloryellow;

DRAWTEXTREL(4,260,'价跌,量缩 ---天蓝色'),colorffff00;

DRAWTEXTREL(4,330,'价跌,量增 ---蓝 色'),colorblue;