当前位置:→ 股海网飞狐公式 → 正文
  • 飞狐画鬼变脸主图指标公式

  • 相关简介:btxc1:=CLOSE;btxo1:=OPEN; ss1:=MAX(btxc1,btxo1),LINETHICK0; xx1:=MIN(btxc1,btxo1),LINETHICK0; zz1:=0*CLOSE,LINETHICK0; btxy:=IF(CLOSEOPEN,1,0)+IF(CLOSEOPEN,4,0),LINETHICK0; for btxi=2 to DATACOUNT do begin IF btxy[btxi-1]=1 or btxy[btxi-1]=0 then beg

  • 文章来源:股海网作者:股海网发布时间:2015-11-08浏览次数:下载次数:0

btxc1:=CLOSE;btxo1:=OPEN;
ss1:=MAX(btxc1,btxo1),LINETHICK0;
xx1:=MIN(btxc1,btxo1),LINETHICK0;
zz1:=0*CLOSE,LINETHICK0;
btxy:=IF(CLOSE>OPEN,1,0)+IF(CLOSE<OPEN,4,0),LINETHICK0;
for btxi=2 to DATACOUNT do begin
IF btxy[btxi-1]=1 or btxy[btxi-1]=0 then begin
IF btxc1[btxi]>ss1[btxi-1] then begin
ss1[btxi]:=btxc1[btxi];
xx1[btxi]:=ss1[btxi-1];
zz1[btxi]:=0;
btxy[btxi]:=1;
end;else
IF btxc1[btxi]<xx1[btxi-1] then begin//=
ss1[btxi]:=xx1[btxi-1];
xx1[btxi]:=btxc1[btxi];
zz1[btxi]:=ss1[btxi-1];
btxy[btxi]:=4;
end;else begin
ss1[btxi]:=ss1[btxi-1];
xx1[btxi]:=btxc1[btxi];
zz1[btxi]:=0;
btxy[btxi]:=1;
end;end;
IF btxy[btxi-1]=4 or btxy[btxi-1]=0 then begin
IF btxc1[btxi]<xx1[btxi-1] then begin
ss1[btxi]:=xx1[btxi-1];
xx1[btxi]:=btxc1[btxi];
zz1[btxi]:=0;
btxy[btxi]:=4;
end;else
IF btxc1[btxi]>ss1[btxi-1] then begin//=
ss1[btxi]:=btxc1[btxi];
xx1[btxi]:=ss1[btxi-1];
zz1[btxi]:=xx1[btxi-1];
btxy[btxi]:=1;
end;else begin
ss1[btxi]:=btxc1[btxi];
xx1[btxi]:=xx1[btxi-1];
zz1[btxi]:=0;
btxy[btxi]:=4;
end;
end;
end;
btxk1:=(btxy=1 and REF(btxy=1,1) and CLOSE>REF(ss1,1))*1;
btxk2:=(btxy=1 and REF(btxy=1,1) and CLOSE<=REF(ss1,1) and CLOSE>=REF(xx1,1))*2;
btxk3:=(btxy=4 and REF(btxy=1,1) and CLOSE<REF(xx1,1))*3;
btxk4:=(btxy=4 and REF(btxy=4,1) and CLOSE<REF(xx1,1))*4;
btxk5:=(btxy=4 and REF(btxy=4,1) and CLOSE<=REF(ss1,1) and CLOSE>=REF(xx1,1))*5;
btxk6:=(btxy=1 and REF(btxy=4,1) and CLOSE>REF(ss1,1))*6;
btxk7:=(btxy=1 and REF(btxy=0,1))*1;//6
btxk8:=(btxy=4 and REF(btxy=0,1))*4;
btxkk:=IF(BARPOS=1,btxy,btxk1+btxk2+btxk3+btxk4+btxk5+btxk6+btxk7+btxk8),LINETHICK0;//显示
maxg:=MAX(MAX(ss1,xx1),zz1);ming:=MIN(MIN(ss1,xx1),zz1);
zxng:=(ss1<>maxg and ss1<>ming)*ss1+(xx1<>maxg and xx1<>ming)*xx1+(zz1<>maxg and zz1<>ming)*zz1;
btxp1:=(ss1=xx1)*ss1;btxp2:=(ss1=zz1)*zz1;btxp3:=(xx1=zz1)*xx1;
btxpp:=IF(btxp1=0 and btxp2=0,btxp3,IF(btxp1,btxp1,btxp2));
STICKLINE(zz1=0 and btxy=1,ss1,xx1,8,0),COLORAA;//yellow
STICKLINE(zz1=0 and btxy=1,ss1,xx1,7,0),COLORBB;
STICKLINE(zz1=0 and btxy=1,ss1,xx1,6,0),COLORBB;
STICKLINE(zz1=0 and btxy=1,ss1,xx1,5,0),COLORCC;
STICKLINE(zz1=0 and btxy=1,ss1,xx1,4,0),COLORDD;
STICKLINE(zz1=0 and btxy=1,ss1,xx1,3,0),COLOREE;
STICKLINE(zz1=0 and btxy=1,ss1,xx1,2,0),COLORFF;
STICKLINE(zz1=0 and btxy=1,ss1,xx1,1,0),COLORFF;
STICKLINE(zz1=0 and btxy=4,ss1,xx1,8,0),COLOR8800;//blue
STICKLINE(zz1=0 and btxy=4,ss1,xx1,7,0),COLOR9900;
STICKLINE(zz1=0 and btxy=4,ss1,xx1,6,0),COLORAA00;
STICKLINE(zz1=0 and btxy=4,ss1,xx1,5,0),COLORBB00;
STICKLINE(zz1=0 and btxy=4,ss1,xx1,4,0),COLORCC00;
STICKLINE(zz1=0 and btxy=4,ss1,xx1,3,0),COLORDD00;
STICKLINE(zz1=0 and btxy=4,ss1,xx1,2,0),COLOREE00;
STICKLINE(zz1=0 and btxy=4,ss1,xx1,1,0),COLORFF00;
STICKLINE(zz1>0 and btxpp=0,maxg,zxng,8,0),COLORAA;//YELLOW
STICKLINE(zz1>0 and btxpp=0,maxg,zxng,7,0),COLORBB;
STICKLINE(zz1>0 and btxpp=0,maxg,zxng,6,0),COLORBB;
STICKLINE(zz1>0 and btxpp=0,maxg,zxng,5,0),COLORCC;
STICKLINE(zz1>0 and btxpp=0,maxg,zxng,4,0),COLORDD;
STICKLINE(zz1>0 and btxpp=0,maxg,zxng,3,0),COLOREE;
STICKLINE(zz1>0 and btxpp=0,maxg,zxng,2,0),COLORFF;
STICKLINE(zz1>0 and btxpp=0,maxg,zxng,1,0),COLORFF;
STICKLINE(zz1>0 and btxpp=0,ming,zxng,8,0),COLOR8800;//BLUE
STICKLINE(zz1>0 and btxpp=0,ming,zxng,7,0),COLOR9900;
STICKLINE(zz1>0 and btxpp=0,ming,zxng,6,0),COLORAA00;
STICKLINE(zz1>0 and btxpp=0,ming,zxng,5,0),COLORBB00;
STICKLINE(zz1>0 and btxpp=0,ming,zxng,4,0),COLORCC00;
STICKLINE(zz1>0 and btxpp=0,ming,zxng,3,0),COLORDD00;
STICKLINE(zz1>0 and btxpp=0,ming,zxng,2,0),COLOREE00;
STICKLINE(zz1>0 and btxpp=0,ming,zxng,1,0),COLORFF00;
STICKLINE(zz1>0 and btxpp and btxy=1,maxg,ming,8,0),COLORAA;//YELLOW
STICKLINE(zz1>0 and btxpp and btxy=1,maxg,ming,7,0),COLORBB;
STICKLINE(zz1>0 and btxpp and btxy=1,maxg,ming,6,0),COLORBB;
STICKLINE(zz1>0 and btxpp and btxy=1,maxg,ming,5,0),COLORCC;
STICKLINE(zz1>0 and btxpp and btxy=1,maxg,ming,4,0),COLORDD;
STICKLINE(zz1>0 and btxpp and btxy=1,maxg,ming,3,0),COLOREE;
STICKLINE(zz1>0 and btxpp and btxy=1,maxg,ming,2,0),COLORFF;
STICKLINE(zz1>0 and btxpp and btxy=1,maxg,ming,1,0),COLORFF;
STICKLINE(zz1>0 and btxpp and btxy=4,maxg,ming,8,0),COLOR8800;//BLUE
STICKLINE(zz1>0 and btxpp and btxy=4,maxg,ming,7,0),COLOR9900;
STICKLINE(zz1>0 and btxpp and btxy=4,maxg,ming,6,0),COLORAA00;
STICKLINE(zz1>0 and btxpp and btxy=4,maxg,ming,5,0),COLORBB00;
STICKLINE(zz1>0 and btxpp and btxy=4,maxg,ming,4,0),COLORCC00;
STICKLINE(zz1>0 and btxpp and btxy=4,maxg,ming,3,0),COLORDD00;
STICKLINE(zz1>0 and btxpp and btxy=4,maxg,ming,2,0),COLOREE00;
STICKLINE(zz1>0 and btxpp and btxy=4,maxg,ming,1,0),COLORFF00;
STICKLINE(zz1>0 and btxpp and (btxy=1 or (REF(btxy,1)=1 and btxy=4)),btxpp,btxpp,8,0),COLORAA;//YELLOW
STICKLINE(zz1>0 and btxpp and (btxy=1 or (REF(btxy,1)=1 and btxy=4)),btxpp,btxpp,7,0),COLORBB;
STICKLINE(zz1>0 and btxpp and (btxy=1 or (REF(btxy,1)=1 and btxy=4)),btxpp,btxpp,6,0),COLORBB;
STICKLINE(zz1>0 and btxpp and (btxy=1 or (REF(btxy,1)=1 and btxy=4)),btxpp,btxpp,5,0),COLORCC;
STICKLINE(zz1>0 and btxpp and (btxy=1 or (REF(btxy,1)=1 and btxy=4)),btxpp,btxpp,4,0),COLORDD;
STICKLINE(zz1>0 and btxpp and (btxy=1 or (REF(btxy,1)=1 and btxy=4)),btxpp,btxpp,3,0),COLOREE;
STICKLINE(zz1>0 and btxpp and (btxy=1 or (REF(btxy,1)=1 and btxy=4)),btxpp,btxpp,2,0),COLORFF;
STICKLINE(zz1>0 and btxpp and (btxy=1 or (REF(btxy,1)=1 and btxy=4)),btxpp,btxpp,1,0),COLORFF;
STICKLINE(zz1>0 and btxpp and (btxy=4 or (REF(btxy,1)=4 and btxy=1)),btxpp,btxpp,8,0),COLOR8800;//BLUE
STICKLINE(zz1>0 and btxpp and (btxy=4 or (REF(btxy,1)=4 and btxy=1)),btxpp,btxpp,7,0),COLOR9900;
STICKLINE(zz1>0 and btxpp and (btxy=4 or (REF(btxy,1)=4 and btxy=1)),btxpp,btxpp,6,0),COLORAA00;
STICKLINE(zz1>0 and btxpp and (btxy=4 or (REF(btxy,1)=4 and btxy=1)),btxpp,btxpp,5,0),COLORBB00;
STICKLINE(zz1>0 and btxpp and (btxy=4 or (REF(btxy,1)=4 and btxy=1)),btxpp,btxpp,4,0),COLORCC00;
STICKLINE(zz1>0 and btxpp and (btxy=4 or (REF(btxy,1)=4 and btxy=1)),btxpp,btxpp,3,0),COLORDD00;
STICKLINE(zz1>0 and btxpp and (btxy=4 or (REF(btxy,1)=4 and btxy=1)),btxpp,btxpp,2,0),COLOREE00;
STICKLINE(zz1>0 and btxpp and (btxy=4 or (REF(btxy,1)=4 and btxy=1)),btxpp,btxpp,1,0),COLORFF00;
STICKLINE((zz1>0 and btxpp=0) AND (zz1>0 and btxpp=0) AND REF((zz1=0 and btxy=4),1),ming,zxng,8,0),COLOR88CC;
STICKLINE((zz1>0 and btxpp=0) AND (zz1>0 and btxpp=0) AND REF((zz1=0 and btxy=4),1),ming,zxng,7,0),COLOR99CC;
STICKLINE((zz1>0 and btxpp=0) AND (zz1>0 and btxpp=0) AND REF((zz1=0 and btxy=4),1),ming,zxng,6,0),COLORAACC;
STICKLINE((zz1>0 and btxpp=0) AND (zz1>0 and btxpp=0) AND REF((zz1=0 and btxy=4),1),ming,zxng,5,0),COLORBBCC;
STICKLINE((zz1>0 and btxpp=0) AND (zz1>0 and btxpp=0) AND REF((zz1=0 and btxy=4),1),ming,zxng,4,0),COLORCCCC;
STICKLINE((zz1>0 and btxpp=0) AND (zz1>0 and btxpp=0) AND REF((zz1=0 and btxy=4),1),ming,zxng,3,0),COLORDDCC;
STICKLINE((zz1>0 and btxpp=0) AND (zz1>0 and btxpp=0) AND REF((zz1=0 and btxy=4),1),ming,zxng,2,0),COLOREECC;
STICKLINE((zz1>0 and btxpp=0) AND (zz1>0 and btxpp=0) AND REF((zz1=0 and btxy=4),1),ming,zxng,1,0),COLORFFCC;

STICKLINE((REF((zz1=0 and btxy=1),1) and (zz1>0 and btxpp=0) and (zz1>0 and btxpp=0)),maxg,zxng,8,0),colorAAAA00;
STICKLINE((REF((zz1=0 and btxy=1),1) and (zz1>0 and btxpp=0) and (zz1>0 and btxpp=0)),maxg,zxng,7,0),colorBBBB00;
STICKLINE((REF((zz1=0 and btxy=1),1) and (zz1>0 and btxpp=0) and (zz1>0 and btxpp=0)),maxg,zxng,6,0),colorCCCC00;
STICKLINE((REF((zz1=0 and btxy=1),1) and (zz1>0 and btxpp=0) and (zz1>0 and btxpp=0)),maxg,zxng,5,0),colorDDDD00;
STICKLINE((REF((zz1=0 and btxy=1),1) and (zz1>0 and btxpp=0) and (zz1>0 and btxpp=0)),maxg,zxng,4,0),colorEEEE50;
STICKLINE((REF((zz1=0 and btxy=1),1) and (zz1>0 and btxpp=0) and (zz1>0 and btxpp=0)),maxg,zxng,3,0),colorEEEE00;
STICKLINE((REF((zz1=0 and btxy=1),1) and (zz1>0 and btxpp=0) and (zz1>0 and btxpp=0)),maxg,zxng,2,0),colorFFFF50;
STICKLINE((REF((zz1=0 and btxy=1),1) and (zz1>0 and btxpp=0) and (zz1>0 and btxpp=0)),maxg,zxng,1,0),colorFFFF00;

飞狐画鬼变脸主图指标公式

 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

飞狐画鬼变脸主图指标公式

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2015-11-08
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.