机构K线(鬼变脸)原码

阅读 作者:股海网时间 2015-01-04 飞狐公式

sensitivy:=-c;
 direction:=c;
 towero:=o;
 towerc:=c;
 fc:=c;
 i:=2;
 while i<=datacount do begin
   if towerc[i]>towero[i] and not(between(sensitivy[i],towero[i],towerc[i])) then
     direction[i]:=1;
   else if towerc[i]<towero[i] and not(between(sensitivy[i],towero[i],towerc[i])) then
          direction[i]:=0;
        else direction[i]:=direction[i-1];
   if not(between(sensitivy[i-1],towero[i-1],towerc[i-1])) then begin
     towero[i]:=towerc[i-1];towerc[i]:=fc[i];
     sensitivy[i]:=towero[i-1];
   end else begin
     towero[i]:=towerc[i-1];towerc[i]:=fc[i];
     sensitivy[i]:=sensitivy[i-1];
   end;
   i:=i+1;
 end;

今开盘:TOWERO,LINETHICK0;
今收盘:TOWERC,LINETHICK0;
敏感位:sensitivy,LINETHICK0;{上面的三句是我加的朋友们不喜欢可以自己删除}

tj:=between(sensitivy,towero,towerc);
 stickline(tj,max(towero,towerc),sensitivy,7,0), colorred;
 stickline(tj,min(towero,towerc),sensitivy,7,0), colorgreen;
 stickline(sensitivy<towerc and not(tj),towero,towerc,7,0), colorred;
 stickline(sensitivy>towerc and not(tj),towero,towerc,7,0), colorgreen;
 stickline((towerc=towero or sensitivy=towerc) and direction=0,towero,towerc,7,0),colorgreen;
 stickline((towerc=towero or sensitivy=towerc) and direction=1,towero,towerc,7,0),colorred;

机构K线(鬼变脸)原码
 

收藏
全部看法共 0 条
上传会员: 
股海网
上传时间: 
2015-01-04
下载积分: 
-
免责申明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究,不得用于商业或非法用途,如有侵犯您的版权,请参看 《侵权处理流程》《免责声明条款》
点击下载无反应时,更换手机自带浏览器重登录操作,如华为浏览器,苹果Safari浏览器,第三方浏览器有不兼容现象,或先收藏再到电脑端下载。
同意以上声明才能下载,扣除积分无法退还!
我已知晓! 点我同意 所有条款自愿下载!
如有问题请点关闭提交问题反馈→
关闭

问题反馈 取消