当前位置:→ 股海网飞狐公式 → 正文
  • 飞狐黄金买卖主图指标

  • 相关简介:飞狐黄金买卖主图指标 源码 {黄金买卖主图} N:=13; DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,'版块:'+BLKNAME),ALIGN4,colorA3F8FF; VAR00:=IF(close0,1,0); 成本:(EMA(SLOPE(CLOSE,34)*20+CLOSE,80))*VAR00,LINETHICK2,colorFF00; 参:EMA(CLOSE,8)*VAR00,colorFFFFFF; 获利:(CLOSE/成本-1)*100,LINETHIC

  • 文章来源:股海网作者:股海网发布时间:2016-05-15浏览次数:下载次数:0

飞狐黄金买卖主图指标

源码

{黄金买卖主图}
N:=13;
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,'版块:'+BLKNAME),ALIGN4,colorA3F8FF;
VAR00:=IF(close>0,1,0);
成本:(EMA(SLOPE(CLOSE,34)*20+CLOSE,80))*VAR00,LINETHICK2,colorFF00;
参:EMA(CLOSE,8)*VAR00,colorFFFFFF;
获利:(CLOSE/成本-1)*100,LINETHICK0,colorFF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100*VAR00;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*VAR00;
DEA:=EMA(DIFF,9)*VAR00;
LC:=REF(CLOSE,1)*VAR00;
RSI1:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),12,1))/(SMA(ABS(CLOSE-LC),12,1))*100;
RSI3:=(SMA(MAX(CLOSE-LC,0),24,1))/(SMA(ABS(CLOSE-LC),24,1))*100;
A:=MA(CLOSE,14)*VAR00;
A1:=A*1.1*VAR00;
A4:=A*0.9*VAR00;
A2:=A1-(A1-A4)*0.191;
A3:=A1-(A1-A4)*0.618;
B:=CROSS(K,D) AND CLOSE
B1:=CROSS(K,D) AND CLOSE>A3;
B2:=CROSS(RSI1,RSI2);
B3:=CROSS(RSI1,RSI3);
B4:=CROSS(D,20);
B5:=CROSS(RSI1,RSI3);
初:=(CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B))=1 AND HIGH>=REF(LOW,1) AND LOW>LLV(LOW,16) OR CROSS(A4*1.01,LOW) AND COUNT(CLOSE>REF(CLOSE,1)*1.09,BARSLAST(CROSS(DIFF,DEA)))>=1 AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(CROSS(DIFF,DEA)))<=2 AND OPEN>=REF(LOW,1)*0.97 OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B1))=1 AND HIGH>=REF(LOW,1) AND LOW>LLV(LOW,16) OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B2))=1 AND HIGH>=REF(LOW,1) AND LOW>LLV(LOW,16) OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B3))=1 AND HIGH>=REF(LOW,1) AND RSI3>40 OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B4))=1 AND HIGH>=REF(LOW,1) AND LOW>LLV(LOW,16) OR CROSS(A4*1.01,LOW) AND COUNT(CROSS(A4*1.01,LOW),BARSLAST(B5))=1 AND HIGH>=REF(LOW,1) AND RSI3>50)*VAR00;
DRAWTEXT(初,LOW,'←黄金买点'),colorFFFF;
STICKLINE(初,OPEN,CLOSE,3,0),LINETHICK2,colorFFFF;
D1:=MA(CLOSE,4)*VAR00;
底:=LLV(D1,55)*VAR00;
顶:=HHV(D1,55)*VAR00;
VAR6:=REF(底,1)=REF(D1,1) AND CROSS(CLOSE,D1) AND REF(CLOSE,1)<底;
VAR9:=(顶-底)/底*100>20;
DRAWTEXT(VAR6 OR VAR6 AND VAR9,LOW*0.97,'←大底买入'),colorFF00;
均:=(HIGH+LOW+OPEN+CLOSE)/4*VAR00;
BB:=(2*EMA(LLV(均,7),10)-均)*VAR00;
散:=(3*BB-2*SMA(BB,10,1))*VAR00;
DRAWICON(CROSS(均,散),LOW*0.98,4);
DRAWICON(CROSS(散,均),HIGH*1.02,5);
DRAWTEXT(CROSS(均,散) AND REF(CROSS(散,均),1),OPEN,'←短线速利'),colorFFFF;
DRAWTEXT(CROSS(均,散) AND REF(CROSS(散,均),2),OPEN,'←中利');
DRAWTEXT(CROSS(均,散) AND REF(CROSS(散,均),3),OPEN,'←长');
AB:=HHV(HIGH,N)*0.618*VAR00;
AC:=HHV(HIGH,N)*0.5*VAR00;
AD:=HHV(HIGH,N)*0.382*VAR00;
DRAWTEXT(CROSS(CLOSE,AB),LOW,'←突破6'),colorFF;
STICKLINE(CROSS(CLOSE,AB),OPEN,CLOSE,2,0),colorFF;
DRAWTEXT(CROSS(CLOSE,AC),LOW,'←突5'),colorFFFF;
STICKLINE(CROSS(CLOSE,AC),OPEN,CLOSE,2,0),colorFFFF;
DRAWTEXT(CROSS(CLOSE,AD),LOW,'←突3'),colorFF00FF;
买:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)*VAR00;
卖:=SMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,2,1)*VAR00;
DRAWTEXT(CROSS(买,卖) AND 买>=40,LOW,'←启动'),colorFFFFFF;
短:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*VAR00;
长:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*VAR00;
DRAWTEXT(长>0.65 AND CROSS(0.25,短),LOW*0.98,'←短线英雄'),colorFF;

飞狐黄金买卖主图指标

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

飞狐黄金买卖主图指标

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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