当前位置:→ 股海网飞狐公式 → 正文
  • 飞狐指标公式及选股公式

  • 相关简介:指标源码: DRAWGBK(CLOSE0,COLORRGB(1,340,226),COLORRGB(511,685,395),1); VAR1N:=1131231; U1:=IF(DATE=VAR1N,1,0); STICKLINE(EMA((2*CLOSE+HIGH+LOW)/4,5)EMA((2*CLOSE+HIGH+LOW)/4,10),EMA((2*CLOSE+HIGH+LOW)/4,10),EMA((2*CLOSE+HIGH+LOW)/4,23),0,1),colorFF00FF; S

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

指标源码:


DRAWGBK(CLOSE>0,COLORRGB(1,340,226),COLORRGB(511,685,395),1);
VAR1N:=1131231;
U1:=IF(DATE<=VAR1N,1,0);
STICKLINE(EMA((2*CLOSE+HIGH+LOW)/4,5)>EMA((2*CLOSE+HIGH+LOW)/4,10),EMA((2*CLOSE+HIGH+LOW)/4,10),EMA((2*CLOSE+HIGH+LOW)/4,23),0,1),colorFF00FF;
STICKLINE(EMA((2*CLOSE+HIGH+LOW)/4,5)<EMA((2*CLOSE+HIGH+LOW)/4,10),EMA((2*CLOSE+HIGH+LOW)/4,10),EMA((2*CLOSE+HIGH+LOW)/4,23),0,1),colorFFFF00;
DRAWTEXT(SYSPARAM(1)=BARPOS,CLOSE,''),ALIGN3,colorFFFF00;
STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,9,0),colorAA;
STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,8,0),color11BB;
STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,7,0),color22CC;
STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,6,0),color33DD;
STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,5,0),color44EE;
STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,4,0),color55FF;
STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,3,0),color66FF;
STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,2,0),color77FF;
STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,1,0),color88FF;
STICKLINE(CLOSE>MA(CLOSE,10),LOW,OPEN,0,1),colorFF;
STICKLINE(CLOSE>MA(CLOSE,10),HIGH,CLOSE,0,1),colorFF;
STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,9,0),colorAA00;
STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,8,0),colorBB11;
STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,7,0),colorCC22;
STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,6,0),colorDD33;
STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,5,0),colorEE44;
STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,4,0),colorFF55;
STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,3,0),colorFF66;
STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,2,0),colorFF77;
STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,1,0),colorFF88;
STICKLINE(CLOSE<=MA(CLOSE,10),HIGH,LOW,0,0),colorFF00;
ATR:=MA(TR,13);
VAR1:=REF(CLOSE,1)-REF(ATR,1);
临界线:HHV(VAR1,7)*U1,LINETHICK2,Color000040;
PARTLINE((EMA((2*CLOSE+HIGH+LOW)/4,5)>REF(EMA((2*CLOSE+HIGH+LOW)/4,5),1))*U1,EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF;
PARTLINE((EMA((2*CLOSE+HIGH+LOW)/4,5)<REF(EMA((2*CLOSE+HIGH+LOW)/4,5),1))*U1,EMA((2*CLOSE+HIGH+LOW)/4,5)),colorFF00;
PARTLINE((EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*CLOSE+HIGH+LOW)/4,10),1))*U1,EMA((2*CLOSE+HIGH+LOW)/4,10)),LINETHICK3,color4080FF;
PARTLINE((EMA((2*CLOSE+HIGH+LOW)/4,10)<REF(EMA((2*CLOSE+HIGH+LOW)/4,10),1))*U1,EMA((2*CLOSE+HIGH+LOW)/4,10)),LINETHICK2,colorFF00;
PARTLINE(EMA((LOW+CLOSE+OPEN)/3,23)>REF(EMA((LOW+CLOSE+OPEN)/3,23),1),REF(EMA((LOW+CLOSE+OPEN)/3,23),1)),LINETHICK3,colorFF;
PARTLINE(EMA((LOW+CLOSE+OPEN)/3,23)<REF(EMA((LOW+CLOSE+OPEN)/3,23),1),REF(EMA((LOW+CLOSE+OPEN)/3,23),1)),LINETHICK3,colorFF00;

PARTLINE(EMA((LOW+CLOSE+OPEN)/3,23)>REF(EMA((LOW+CLOSE+OPEN)/3,23),1),REF(EMA((LOW+CLOSE+OPEN)/3,23),1)),LINETHICK3,colorFF;
VAR1:=REF(CLOSE,1);
VAR2:=MA(CLOSE,5);
VAR3:=(SMA(MAX(CLOSE-VAR1,0),6,1))/(SMA(ABS(CLOSE-VAR1),6,1))*100;
VAR4:=(SMA(MAX(CLOSE-VAR1,0),12,1))/(SMA(ABS(CLOSE-VAR1),12,1))*100;
VAR5:=(SMA(MAX(CLOSE-VAR1,0),24,1))/(SMA(ABS(CLOSE-VAR1),24,1))*100;
VAR6:=IF(CROSS(VAR3,VAR5),LOW,REF(LOW,BARSLAST(CROSS(VAR3,VAR5))));
VAR7:=IF(CROSS(VAR5,VAR3),HIGH,REF(HIGH,BARSLAST(CROSS(VAR5,VAR3))));
VAR8:=IF(CLOSE>=MA(CLOSE,20),80,50);
VAR9:=IF(CLOSE>=MA(CLOSE,20),50,20);
VARA:=IF(VAR3<VAR8 AND REF(VAR3,1)>=VAR8,HHV(REF(HIGH,1),(BARSLAST(VAR3>=VAR8 AND REF(VAR3,1)<VAR8))-1),REF(HHV(REF(HIGH,1),(BARSLAST(VAR3>=VAR8 AND REF(VAR3,1)<VAR8))-1),BARSLAST(VAR3<VAR8 AND REF(VAR3,1))));
VARB:=IF(HIGH>VARA,LOW,REF(LOW,BARSLAST(HIGH>VARA)));
VARC:=IF(HIGH>VARA,VAR3,REF(VAR3,BARSLAST(HIGH>VARA)));
VARD:=IF(HIGH>VARB AND VAR3<VARC AND VAR3<VAR5,HIGH,REF(HIGH,BARSLAST(HIGH>VARB AND VAR3<VARC AND VAR3<VAR5)));
VARE:=IF(VAR3>VAR9 AND REF(VAR3,1)<=VAR9,LLV(REF(LOW,1),(BARSLAST(VAR3<=VAR9 AND REF(VAR3,1)>VAR9))-1),REF(LLV(REF(LOW,1),(BARSLAST(VAR3<=VAR9 AND REF(VAR3,1)>VAR9))-1),BARSLAST(VAR3>VAR9 AND REF(VAR3,1))));
VARF:=IF(LOW<VARE,HIGH,REF(HIGH,BARSLAST(LOW<VARE)));
VAR10:=IF(LOW<VARE,VAR3,REF(VAR3,BARSLAST(LOW<VARE)));
VAR11:=IF(LOW<VARF AND VAR3>VAR10 AND VAR3>VAR5,LOW,REF(LOW,BARSLAST(LOW<VARF AND VAR3>VAR10 AND VAR3>VAR5)));
压力线:VAR11*U1,LINETHICK2,colorFF00FF;
临界点:VARD*U1,LINETHICK3,colorFF0000;
MA6:=MA(CLOSE,5);
MA18:=MA(CLOSE,21);
MA55:=MA(CLOSE,34);
MA125:=MA(CLOSE,125);
MA250:=MA(CLOSE,250);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
加码价:=((CLOSE-REF(MA18,1))/18+MA18)*1.004;
加码条件:=CROSS(CLOSE,加码价) AND 加码价>REF(加码价,1);
黄K出现股价站上临界点加码:IF(加码条件,LOW,HIGH)*U1,POINTDOT,colorFFFF;
STICKLINE(加码条件 AND MACD<0.1,HIGH,LOW,0,1),LINETHICK2,colorFFFF;
STICKLINE(加码条件 AND MACD<0.1,OPEN,CLOSE,4,1),LINETHICK2,colorFFFF;

========================================

选股源码:
{临界点加码}
MA18:=MA(CLOSE,21);
加码价:=((CLOSE-REF(MA18,1))/18+MA18)*1.004;
加码条件:=CROSS(CLOSE,加码价) AND 加码价>REF(加码价,1);
临界加码:=IF(加码条件,8,0);
临界加码>0;

 

上一篇:吸拉派落(飞狐)  下一篇:飞狐龙虎榜
 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

飞狐指标公式及选股公式

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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