设为首页加入收藏

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

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

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

IF hat[i]=xat then nat:=nat+1;
IF hat[i]=xat and nat=1 then cat:=i;
IF hat[i]=xat and nat=1 then hnat:=hat[i];

IF hbt[i]=xbt then nbt:=nbt+1;
IF hbt[i]=xbt and nbt=1 then cbt:=i;
IF hbt[i]=xbt and nbt=1 then hnbt:=hbt[i];
end;

hac[1]:=0;
atta:=hac[1];
attb:=hac[1];
atth1:=hac[1];
atth2:=hac[1];
atthi1:=hac[1];
atthi2:=hac[1];
attl1:=hac[1];
attl2:=hac[1];
attli1:=hac[1];
attli2:=hac[1];
hh:=HIGH;
LL:=LOW;
FOR I=DATACOUNT downTO DATACOUNT-100 do
begin 
IF HD[i]>0 then atta:=atta+1;

IF HD[i]>0 and atta=1 then atth1:=hh[i];
IF HD[i]>0 and atta=1 then atthi1:=i;
IF HD[i]>0 and atta=2 then atth2:=hh[i];
IF HD[i]>0 and atta=2 then atthi2:=i;
IF LD[i]>0 then attb:=attb+1;
IF LD[i]>0 and attb=1 then attl1:=LL[i];
IF LD[i]>0 and attb=1 then attli1:=i;
IF LD[i]>0 and attb=2 then attl2:=LL[i];
IF LD[i]>0 and attb=2 then attli2:=i;
end;

nnn1:=70;
nnn:=70;
nnn2:=100;
nnn3:=DATACOUNT-1;

{HH:=HHV(H,Nnn1);}
{LL:=LLV(L,Nnn1);}
dd3:=CLOSE;
dd4:=CLOSE;
dd5:=CLOSE;
ddt:=CLOSE;
ldd3:=CLOSE;
ldd4:=CLOSE;
ldd5:=CLOSE;
lddt:=CLOSE;
hh1:=atth1;
hh2:=atth2;
ll1:=attl1;
ll2:=attl2;

aa:=HIGH;
xbb:=LOW;
cc:=CLOSE;
caa1:=atthi1,linethick1;

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

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