大智慧量价比指标公式
<p>cjlb:=(AMOUNT-ref(amount,1))/ref(amount,1);<br />cjjb:=(close-ref(close,1))/ref(close,1);<br />
STICKLINE(cjlb>=0 and cjjb>=0 and cjjb>=cjlb,ref(close,1),CLOSE,4,0),colorred;<br />
STICKLINE(cjlb>=0 and cjjb>=0 and cjlb>cjjb,ref(close,1),CLOSE,4,0),colorff00ff;<br />
STICKLINE(cjlb>=0 and cjjb<0,ref(close,1),CLOSE,4,0),colorblue;<br />
STICKLINE(cjlb<0 and cjjb<0,ref(close,1),CLOSE,4,0),colorffff00;<br />
STICKLINE(cjlb<0 and cjjb>=0,ref(close,1),CLOSE,4,0),coloryellow;<br />
DRAWTEXTREL(4,50,'价升>量增 ---红色'),colorred;<br />
DRAWTEXTREL(4,120,'价升<量增 ---粉红色'),colorff00ff;<br />
DRAWTEXTREL(4,190,'价升,量缩 ---黄色'),coloryellow;<br />
DRAWTEXTREL(4,260,'价跌,量缩 ---天蓝色'),colorffff00;<br />
DRAWTEXTREL(4,330,'价跌,量增 ---蓝色'),colorblue;</p>
<p></p>
<p> </p>
页:
[1]