飞狐火车轨主图指标公式
飞狐火车轨主图指标公式
A1:1,LINEDOT;
A2:2,LINEDOT;
A3:3,LINEDOT;
A4:5,LINEDOT;
A5:8,LINEDOT;
A6:15,LINEDOT;
A7:25,LINEDOT;
量比:DYNAINFO(17),LINETHICK0;
换手:(100*v/capital);
PARTLINE(换手>ref(换手,1),换手),LINETHICK2,COLORff;
DRAWTEXT(ISLASTBAR,1,'1');
DRAWTEXT(ISLASTBAR,2,'2');
DRAWTEXT(ISLASTBAR,3,'3');
DRAWTEXT(ISLASTBAR,5,'5');
DRAWTEXT(ISLASTBAR,8,'8');
DRAWTEXT(ISLASTBAR,15,'15');
DRAWTEXT(ISLASTBAR,25,'25');
DRAWTEXT(换手<a1 AND ISLASTBAR,0.5,'地量'),COLOR5C3317;
DRAWTEXT(换手<a2 AND 换手>=a1 AND ISLASTBAR,换手,'低靡'),COLOR5C3317;
DRAWTEXT(换手<a3 AND 换手>=a2 AND ISLASTBAR,换手,'温和'),COLORWHITE;
DRAWTEXT(换手<a4 AND 换手>=a3 AND ISLASTBAR,换手,'活跃'),COLORRED;
DRAWTEXT(换手<a5 AND 换手>=a4 AND ISLASTBAR,换手,'带量'),COLORWHITE;
DRAWTEXT(换手<a6 AND 换手>=a5 AND ISLASTBAR,换手,'放量'),COLORYELLOW;
DRAWTEXT(换手<a7 AND 换手>=a6 AND ISLASTBAR,换手,'巨量'),COLORRED;
DRAWTEXT(换手<100 AND 换手>=a7 AND ISLASTBAR,换手,'怪异'),COLORYELLOW;
DRAWTEXT(BARPOS=SYSPARAM(2),0.5,'绝对地量'),COLOR5C3317;
DRAWTEXT(BARPOS=SYSPARAM(2),1.5,'成交低靡'),COLOR5C3317;
DRAWTEXT(BARPOS=SYSPARAM(2),2.5,'成交温和'),COLORWHITE;
DRAWTEXT(BARPOS=SYSPARAM(2),4,'成交活跃'),COLORRED;
DRAWTEXT(BARPOS=SYSPARAM(2),6.5,'成交带量'),COLORWHITE;
DRAWTEXT(BARPOS=SYSPARAM(2),11.5,'成交放量'),COLORYELLOW;
DRAWTEXT(BARPOS=SYSPARAM(2),20,'成交巨量'),COLORRED;
DRAWTEXT(BARPOS=SYSPARAM(2),26,'成交怪异'),COLORYELLOW;
飞狐经典趋势RSI指标公式
飞狐经典趋势RSI指标公式