当前位置:→ 股海网飞狐公式 → 正文
  • 飞狐1350操盘源码

  • 相关简介:{DRAWTEXTABS(0,40,'机构评级:'+selfstring('评级')),Color1489F3;} ma13:ma(c,13),colorwhite; ma34:ma(c,34),coloryellow; ma55:ma(c,55),colorff00ff; ma120:ma(c,120),colorffcccc; ma250:ma(c,250),colorffcc66; x1:=(C+L+H)/3; x2:=ma(x1,6); x3:=ma(x2,5); stickline(x

  • 文章来源:股海网作者:股海网发布时间:2015-12-24浏览次数:下载次数:6

{DRAWTEXTABS(0,40,'机构评级:'+selfstring('评级')),Color1489F3;}

ma13:ma(c,13),colorwhite;

ma34:ma(c,34),coloryellow;

ma55:ma(c,55),colorff00ff;

ma120:ma(c,120),colorffcccc;

ma250:ma(c,250),colorffcc66;

x1:=(C+L+H)/3;

x2:=ma(x1,6);

x3:=ma(x2,5);

stickline(x2>x3 and c>ma13,low,high,0.1,1),colorred;

stickline(x2>x3 and c>ma13,close,open,5,1),colorred;

stickline(x2<x3 and c<ma13,low,high,0.1,1),colorffff54;

stickline(x2<x3 and c<ma13,close,open,5,0),colorffff54;

drawtext(CROSS(X2,X3),l-0.09,'B'),colorwhite,linethick2,align1;

gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5));

gr2:=ma13>ma34 and ma34>ma55 and ma13>ref(ma13,1);

gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);

gr4:=h=hhv(h,gr1);

gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);

gr6:=gr2 and gr3 and gr4;

gr7:=gr2 and gr3 and gr4 and gr5;

gr8:=gr6 and gr7;

LC := REF(CLOSE,1);

RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

换手:=100*v/capital;

DRAWTEXT(filter(rsi6>95 and 换手>=7,3) or filter(bias5>9,3) or gr8,h*1.04,'S'),color00ff00,linethick2,align1;

bb13:=atan(ma13-ref(ma13,1))*3.1416*10;

ma8:=ma(c,8);

WR:=-"W&R"(14);

DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4),ALIGN1;

DRAWICON(FILTER(CROSS((0 -19),WR),10),H*1.02,5),ALIGN1;

DRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L*0.98,' W&R'),ALIGN1,COLORRED;

DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H*1.03,' W&R'),ALIGN2,COLORGREEN;

/////////////////

 

a:=HHV(MA((L+H+C)/3,3),3);

b:=llv(MA((L+H+C)/3,3),5);

DRAWTEXT(BARSTATUS=2,a,' ̄'),Coloryellow,linethick2;

//DRAWTEXT(BARSTATUS=2,a,'          '+NUMTOSTRN(a,3)),colorYELLOW;

DRAWTEXT(BARSTATUS=2,b,' ̄'),Colorred,linethick7,ALIGN0;

//DRAWTEXT(BARSTATUS=2,b,'          '+NUMTOSTRN(b,3)),Colorred;

STICKLINE(BARSTATUS=2,((h+l)/2),((h+l)/2),4,0),Colorblue,linethick2;

//DRAWTEXT(BARSTATUS=2,(h+l)/2,'     '+NUMTOSTRN((h+l)/2,3)),colorgreen;

 

drawtext(BARSTATUS=2,((h+l)/2)*1.05,'     '+'+5%'),Color63806A;

drawtext(BARSTATUS=2,((h+l)/2)*1.03,'     '+'+3%'),Color63806A;

drawtext(BARSTATUS=2,((h+l)/2)*0.95,'     '+'-5%'),Color63806A,linethick2;

drawtext(BARSTATUS=2,((h+l)/2)*0.97,'     '+'-3%'),Color63806A,linethick2;

DRAWTEXT( c>=a AND BARSTATUS=2,A*1.015,'  '+'←多'),COLORYELLOW;

DRAWTEXT(ref(c,1)<ref(a,1) and c>=a AND BARSTATUS=2,A*0.995,'  '+'←进'),COLORYELLOW;

DRAWTEXT(ref(c,1)>ref(a,1) and c<a AND BARSTATUS=2,A*1.01,'  '+'↓减'),COLORYELLOW;

DRAWTEXT(ref(c,1)>ref(b,1) and c<b AND BARSTATUS=2,A*0.995,'  '+'↓逃'),COLORgreen;

顶部: HHV(HIGH,60)*0.98,colorFFFFCC; 

STICKLINE(顶部=REF(顶部,1),顶部,顶部,7,1),colorred;

TJTS:=BARSTATUS=2;

cg:=hhv(h,125);

cgl:=llv(h,125);

j:=(cg-cgl)/8;

{IF C>0 AND TJTS>0  THEN  BEGIN}

{DRAWTEXT(C>0,cg*1.04,'  '+ '流通:'+NUMTOSTRN( FINANCE(7),0 )+' '+'换手:'+NUMTOSTRN( DYNAINFO(37)*100,3 )+'   '),LINETHICK3,ColorFFFF80,ALIGN2;end;}

zslife:=(ma(indexc,60)+ma(indexc,90))/2;

zsbl:=indexc/zslife;

gglife:=(ma(c,60)+ma(c,90))/2;

zstb:=zsbl*gglife;

rsv:=(c-llv(l,15))/(hhv(h,15)-llv(l,15))*100;

kk:=sma(rsv,10,1);

dd:=sma(kk,5,1);

zlcm:=intpart(sma(rsv,10,1));

shcm:=intpart(sma(kk,5,1));

{IF (zlcm+shcm)>50 and (zlcm+shcm)<160 AND TJTS THEN DRAWTEXT(C>0,cg-1.1*j,'精确风险系数%:'+NUMTOSTRN( (zlcm+shcm),2 )+'                                                            '),LINETHICK3,color6699cc,ALIGN2;}

{IF ((zlcm+shcm)<=50 or (zlcm+shcm)>=160) AND  TJTS THEN DRAWTEXT(C>0,cg-1.1*j,'精确风险系数%:'+NUMTOSTRN( -(zlcm+shcm),2 )+'                                                            '),LINETHICK3,color6699cc,ALIGN2;}

aa13:=ma(winner(c)*70,3);

bb13:=ma((winner(c*1.1)-winner(c*0.9))*80,3);

{

IF aa13>bb13 AND TJTS THEN DRAWTEXT(C>0,cg-2.1*j,'主力控盘系数%:'+NUMTOSTRN( aa13/(aa13+bb13)*100,2 )+'                                                             '),LINETHICK3,color0000ff,ALIGN2;

IF aa13<bb13  AND TJTS THEN DRAWTEXT(C>0,cg-2.1*j,'散户套牢系数%:'+NUMTOSTRN( bb13/(aa13+bb13)*100,2 )+'                                                             '),LINETHICK3,color00ff00,ALIGN2;

}

e:=BARSCOUNT(c);

ah:=hhv(h,250);

al:=llv(l,250);

b0:=(ah-al)/40;

kb1:=h+b0;

kb2:=l-b0;

stickline((e+0)/34=FLOOR((e+0)/34),kb2,kb2-3*b0,2,0),COLORYELLOW;

drawtext((e+0)/34=FLOOR((e+0)/34),kb2-2*b0,'时间窗'),COLORFFFFFF;

 

V1:=REF(C,1);

V2:=SMA(MAX(C-V1,0),6,1)/SMA(ABS(C-V1),6,1)*100;

DRAWICON(IF(CROSS(81,V2),1,0),h*1.01,5),COLORYELLOW;

 

乖离线:=((c-ref(ma13,1))/13+ma13)*1.20;

tt1:=cross(ma13,ma34)  and cross(ma13,ma55) and v>ref(v,1);

tt2:=ma13>ref(ma13,2) and v>ref(v,1) and cross(c,ma13);

STICKLINE(TT1,l,l-0.09,4,0),coloryellow;

DRAWTEXT(TT1,l-0.13,'金叉'),coloryellow;

STICKLINE(cross(c,ma34) and cross(c,ma55) and cross(c,ma13),l,l-0.09,4,0),coloryellow;

DRAWTEXT(cross(c,ma34) and cross(c,ma55) and cross(c,ma13),l-0.13,'并线开花'),coloryellow;
 

飞狐1350操盘源码

下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
本地下载 (免费下载)
 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

飞狐1350操盘源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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