编写条件:
编写方法:
网友求助:
主力量能动向 改为同花顺用!谢谢!
公式导入后量柱的颜色都不显示,请解决下!
源码如下:
换手率:=vol/CAPITAL*100;
主力吸筹:换手率>3 AND 换手率<=5,COLORBLUE;
加快吸筹:换手率>5 AND 换手率<=7,COLORYELLOW;
主力进攻:换手率>7 AND 换手率<=10,COLORGREEN;
主力猛攻:换手率>10,COLORRED;
量:VOL,VOLSTICK;
均5:MA(VOL,5);
均10:MA(VOL,10);
均20:MA(VOL,20),COLORRED;
STICKLINE(主力吸筹,0,V,2,0),COLORBLUE;
STICKLINE(加快吸筹,0,V,2,0),COLORYELLOW;
STICKLINE(主力进攻,0,V,2,0),COLORGREEN;
STICKLINE(主力猛攻,0,V,2,0),COLORRED;
M135:MA(VOL,135);
解答如下:
换手率:=VOL/CAPITAL*100;
主力吸筹:换手率>3 AND 换手率<=5,colorblue;
加快吸筹:换手率>5 AND 换手率<=7,coloryellow;
主力进攻:换手率>7 AND 换手率<=10,colorgreen;
主力猛攻:换手率>10,colorred;
量:VOL,color00ffff;//线性不输出
STICKLINE(C>=O,0,V,8,0),color0000cc;
STICKLINE(C<O,0,V,8,0),color00cc00;
STICKLINE(主力吸筹,0,V,8,0),colorblue;
STICKLINE(加快吸筹,0,V,8,0),coloryellow;
STICKLINE(主力进攻,0,V,8,0),colorgreen;
STICKLINE(主力猛攻,0,V,8,0),colorred;
均5:MA(VOL,5);
均10:MA(VOL,10);
均20:MA(VOL,20),colorred;
M135:MA(VOL,135);