设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

飞狐度量涨幅公式源码 飞狐指标公式大全(3)

2015-7-31 9:42:28 股票入门 http://rumen.southmoney.com

DRAWLINE(V3E,HIGH,V3C,HIGH,1),linethick1,coloryellow,POINTDOT;

xx1: REF(LOW,BARSLAST(V38)),colorccff99,linethick2;
前二低: REF(LOW,BARSLAST(V3A)),colormagenta,linethick2;
yy1: REF(HIGH,BARSLAST(V3C)),colorccff99,linethick2;
前二高: REF(HIGH,BARSLAST(V3E)),colormagenta,linethick2;
DRAWNUMBER(ISLASTBAR,yy1,yy1,2);
DRAWNUMBER(ISLASTBAR,xx1,xx1,2);
DRAWNUMBER(ISLASTBAR,前二低,前二低,2);
DRAWNUMBER(ISLASTBAR,前二高,前二高,2);

J:=REF(HIGH,N)=HHV(HIGH,2*N+1); 
JA:=FILTER(J,N); 
BB:=BACKSET(JA,N+1); 
J1:=FILTER(BB,N); 
J:=J1 OR ISLASTBAR; 
J2:=REF(LOW,N)=LLV(LOW,2*N+1); 
JA2:=FILTER(J2,N); 
BB2:=BACKSET(JA2,N+1); 
J22:=FILTER(BB2,N); 
J2:=J22 AND NOT(J1); 
EA:=BACKSET(J,REF(BARSLAST(J2),1)+1); 
EB:=EA>REF(EA,1); JF:=BACKSET(EB,2); 
JJ1:=JF>REF(JF,1); 
JF2:=BACKSET(JJ1 AND COUNT(J,REF(BARSLAST(J2),1)+2)=0,REF(BARSLAST(J2),1)+2); 
JJ2:=JF2>REF(JF2,1); 
JF3:=BACKSET(JJ2 AND COUNT(J,REF(BARSLAST(J2),1)+2)=0,REF(BARSLAST(J2),1)+2); 
JJ3:=JF3>REF(JF3,1); 
js:=IF(J,COUNT(J2,REF(BARSLAST(J),1)+1),0); 
G1:=IF(JS=1 AND J,BARSLAST(JJ1),0); 
GA:=IF(J AND REF(LOW,BARSLAST(JJ1))>=REF(LOW,BARSLAST(JJ2)),BARSLAST(JJ2),BARSLAST(JJ1));
G2:=IF(JS=2 AND J,GA,0); 
G3:=IF(JS>=3 AND J,IF(J AND REF(LOW,GA)>=REF(LOW,BARSLAST(JJ3)),BARSLAST(JJ3),GA),0); 
GG:=G1+G2+G3; 

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] 下一页

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。