{倍量柱,优化上升通道显示倍量关系,保证准确性,存在绿柱显示为黄色}
{//VOLUME:AMOUNT,VOLSTICK;}
{//阳}
STICKLINE( C>=O,0 ,AMOUNT,2,0 ),COLORRED;
{//阴}
STICKLINE( C<O,0,AMOUNT,2,0 ),COLORGREEN;
{双周均值}
JZ:=AMOUNT/VOL>=REF(AMOUNT,1)/REF(VOL,1);
STICKLINE( LLV(AMOUNT,13)=AMOUNT AND C>=REF(C,1),0 ,AMOUNT,2,0 ),COLORCYAN;
短庄:AMOUNT>=REF(AMOUNT,1)*2 AND AMOUNT<REF(AMOUNT,1)*3 AND JZ;
STICKLINE( 短庄,0,AMOUNT,2,0),COLORYELLOW;
DRAWTEXT(短庄,AMOUNT+10000,'倍量'),COLORYELLOW;
三倍:AMOUNT>=REF(AMOUNT,1)*3 AND JZ;
DRAWTEXT(三倍,AMOUNT+10000,'三倍'),COLORFF00F5;
STICKLINE (三倍,0,AMOUNT,2,0),,COLORFF00F5;
缩量:AMOUNT*2<REF(AMOUNT,1);
DRAWTEXT(缩量,AMOUNT+10000,'缩量'),COLOR00FF00;
STICKLINE(缩量,0,AMOUNT,2,0),COLORWHITE;