飞狐最牛分时抓涨停公式源码
-
相关简介:飞狐最牛分时抓涨停公式 源码 BU:=BARSLAST(CLOSE=HHV(CLOSE,2000)); SE:=BARSLAST(CLOSE=LLV(CLOSE,2000)); KK1:=SE; KK2:=BU; DRAWICON(CROSS(KK1,KK2),OPEN*1,1); DRAWTEXT(CROSS(KK1,KK2),OPEN*0.99,'抓'),colorFF00; A:POLYLINE(CLOSECOST(50),COST(20)),POINTDOT,color8800; B:P
-
文章来源:股海网作者:股海网发布时间:2015-09-13浏览次数:
飞狐最牛分时抓涨停公式
源码
BU:=BARSLAST(CLOSE=HHV(CLOSE,2000));
SE:=BARSLAST(CLOSE=LLV(CLOSE,2000));
KK1:=SE;
KK2:=BU;
DRAWICON(CROSS(KK1,KK2),OPEN*1,1);
DRAWTEXT(CROSS(KK1,KK2),OPEN*0.99,'抓'),colorFF00;
A:POLYLINE(CLOSE<COST(50),COST(20)),POINTDOT,color8800;
B:POLYLINE(CLOSE<COST(50),COST(80)),POINTDOT,color66CC00;
T:=OPENMINUTES(TIME);CLOSE=DYNAINFO(7);
总量:=SUM(VOL,T);
总额:=SUM(AMOUNT,T);
均价:=总额/(总量*100);
次数:=COUNT(CLOSE>均价,T);
占比:=次数/T*100;
分时强势:DRAWICON(CROSS(CLOSE,均价) AND CLOSE>均价 AND 占比>80 AND T>5,CLOSE*0.99,4);
DRAWTEXT(CROSS(CLOSE,均价) and CROSS(KK1,KK2) and CROSS(CLOSE,COST(80)),CLOSE*0.995,'绝杀'),COLORRED;