在线检测未来函数

飞狐五色换手指标公式

来源:Internet,编辑:股旁网,2014-09-11

换手:=IF(CAPITAL>0,V/CAPITAL*100,0);
STICKLINE(换手=0 AND C>REF(C,1),0,V,8,1),COLORRED;
STICKLINE(换手=0 AND C<=REF(C,1),0,V,8,0),COLORCYAN;
{绿}
STICKLINE(换手>0 AND 换手<=1.2,0,换手,8,0),COLORGREEN;
{蓝}
STICKLINE(换手>1.2 AND 换手<=3,0,换手,8,0),COLORBLUE;
STICKLINE(换手>1.2 AND 换手<=3,0,1.2,8,0),COLORGREEN;
{红}
STICKLINE(换手>3 AND 换手<=5,0,换手,8,0),COLORRED;
STICKLINE(换手>3 AND 换手<=5,0,3,8,0),COLORBLUE;
STICKLINE(换手>3 AND 换手<=5,0,1.2,8,0),COLORGREEN;
{深黄}
STICKLINE(换手>5 AND 换手<=7,换手,0,8,0),COLOR3377AA;
STICKLINE(换手>5 AND 换手<=7,0,5,8,0),COLORRED;
STICKLINE(换手>5 AND 换手<=7,0,3,8,0),COLORBLUE;
STICKLINE(换手>5 AND 换手<=7,0,1.2,8,0),COLORGREEN;
{黄}
STICKLINE(换手>7 AND 换手<=10,0,换手,8,0 ),COLOR00DDFF;
STICKLINE(换手>7 AND 换手<=10,0,7,8,0),COLOR3377AA;
STICKLINE(换手>7 AND 换手<=10,0,5,8,0),COLORRED;
STICKLINE(换手>7 AND 换手<=10,0,3,8,0),COLORBLUE;
STICKLINE(换手>7 AND 换手<=10,0,1.2,8,0),COLORGREEN;
{紫色}
STICKLINE(换手>10 AND 换手<=15,0,换手,8,0 ),COLORDD33BB;
STICKLINE(换手>10 AND 换手<=15,0,10,8,0 ),COLOR00DDFF;
STICKLINE(换手>10 AND 换手<=15,0,7,8,0),COLOR3377AA;
STICKLINE(换手>10 AND 换手<=15,0,5,8,0),COLORRED;
STICKLINE(换手>10 AND 换手<=15,0,3,8,0),COLORBLUE;
STICKLINE(换手>10 AND 换手<=15,0,1.2,8,0),COLORGREEN;
{深红}
STICKLINE(换手>15 AND 换手<=20,换手,0,8,0),COLORRED;
STICKLINE(换手>15 AND 换手<=20,0,15,8,0 ),COLORDD33BB;
STICKLINE(换手>15 AND 换手<=20,0,10,8,0 ),COLOR00DDFF;
STICKLINE(换手>15 AND 换手<=20,0,7,8,0),COLOR3377AA;
STICKLINE(换手>15 AND 换手<=20,0,5,8,0),COLORRED;
STICKLINE(换手>15 AND 换手<=20,0,3,8,0),COLORBLUE;
STICKLINE(换手>15 AND 换手<=20,0,1.2,8,0),COLORGREEN;
{浅蓝}
STICKLINE(换手>20 AND 换手<=30,换手,0,8,0 ),COLORFFFACD;
STICKLINE(换手>20 AND 换手<=30,0,20,8,0),COLORRED;
STICKLINE(换手>20 AND 换手<=30,0,15,8,0 ),COLORDD33BB;
STICKLINE(换手>20 AND 换手<=30,0,10,8,0 ),COLOR00DDFF;
STICKLINE(换手>20 AND 换手<=30,0,7,8,0),COLOR3377AA;
STICKLINE(换手>20 AND 换手<=30,0,5,8,0),COLORRED;
STICKLINE(换手>20 AND 换手<=30,0,3,8,0),COLORBLUE;
STICKLINE(换手>20 AND 换手<=30,0,1.2,8,0),COLORGREEN;
{白色}
STICKLINE(换手>40,0,换手,8,0 ),COLORFFFFFF;
STICKLINE(换手>40,0,30,8,0 ),COLORFFFACD;
STICKLINE(换手>40,0,20,8,0),COLORRED;
STICKLINE(换手>40,0,15,8,0 ),COLORDD33BB;
STICKLINE(换手>40,0,10,8,0 ),COLOR00DDFF;
STICKLINE(换手>40,0,7,8,0),COLOR3377AA;
STICKLINE(换手>40,0,5,8,0),COLORRED;
STICKLINE(换手>40,0,3,8,0),COLORBLUE;
STICKLINE(换手>40,0,1.2,8,0),COLORGREEN;

飞狐五色换手指标公式

 

相关文章