当前位置:→ 股海网飞狐公式 → 正文
  • 飞狐的最佳时机主图公式

  • 相关简介:飞狐的最佳时机主图公式 ZQ:=DATACOUNT-BARPOS; QWX1:=HHV(CLOSE,30); QWX2:=LLV(CLOSE,30); QWX3:=REFX((QWX1+QWX2)/2,ZQ); {MACD} DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*2+QWX3,COLORWHITE; DEA:=EMA(DIF,9),COLORYELLOW; MCD:=(DIF-DEA)*2+QWX3; FILLRGN(MCDQWX3,MCD,QWX3),Color

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

飞狐的最佳时机主图公式

ZQ:=DATACOUNT-BARPOS;
 QWX1:=HHV(CLOSE,30);
 QWX2:=LLV(CLOSE,30);
 QWX3:=REFX((QWX1+QWX2)/2,ZQ);
 {MACD}
 DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*2+QWX3,COLORWHITE;
 DEA:=EMA(DIF,9),COLORYELLOW;
 MCD:=(DIF-DEA)*2+QWX3;
 FILLRGN(MCD>QWX3,MCD,QWX3),Color640078;
 FILLRGN(MCD<QWX3,MCD,QWX3),Color32643C;

 A001:=CLOSE-REF(CLOSE,6);
 A002:=MA(A001,6);
 A003:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100;
 A004:=SMA(A003,3,1);
 A005:=SMA(A004,3,1);
 A006:=EMA((3*A004-2*A005),2);
 A007:=(HIGH+LOW+CLOSE)/3;
 A008:=((A007-MA(A007,14))/(0.015*AVEDEV(A007,14)))/2;
 A009:=(A008+(EMA(((0-(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))))+100)/100,3)*200-100))/2;
 A010:=A009-REF(A009,14);
 A011:=A009-REF(A009,26);
 A012:=(A009+A010+A011)/3;
 KKM:=EMA(A012,4);
 A013:=HHV(HIGH,34);
 A014:=(2*CLOSE+HIGH+LOW)/4;
 A015:=LLV(LOW,34);
 A016:=EMA(((A014-A015)/(A013-A015))*100,13);
 A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);
 KKMD:=A016-A017>1 AND A016<30 AND A017<30;
 KKML:=A016-A017<0 AND A016>80 AND A017>80 AND REF(A016-A017,1)>0;
 KKMQ:=COUNT(A016-A017>0,2)=2;
 KKAL:=(A016-A017)<0;
生命线:MA(CLOSE,20),LINETHICK2,COLOR0000FF;
取舍线:MA(CLOSE,10),LINETHICK2;

 STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;
 STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;
 STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;
 STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff7700;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;

 var9Q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
 varaQ:=c=hhv(c,4) and ref(c,1)=llv(c,4);
 varbQ:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
 varcQ:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
 vardQ:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
红:=var9Q;
 stickline(var9Q,c,(o+c)/2,7,0),color000055;
 stickline(var9Q,c,(o+c)/2,6,0),color000066;
 stickline(var9Q,c,(o+c)/2,5,0),color000077;
 stickline(var9Q,c,(o+c)/2,4,0),color000099;
 stickline(var9Q,c,(o+c)/2,3,0),color0000bb;
 stickline(var9Q,c,(o+c)/2,2,0),color0000dd;   
 stickline(var9Q,c,(o+c)/2,1,0),color0000ff;
粉:=varaQ;
 stickline(varaQ,c,(o+c)/2,7,0),colorff11ff;   
 stickline(varaQ,c,(o+c)/2,6,0),colorff33ff;   
 stickline(varaQ,c,(o+c)/2,5,0),colorff55ff;   
 stickline(varaQ,c,(o+c)/2,4,0),colorff77ff;   
 stickline(varaQ,c,(o+c)/2,3,0),colorff99ff;   
 stickline(varaQ,c,(o+c)/2,2,0),colorffbbff;   
 stickline(varaQ,c,(o+c)/2,1,0),colorffddff;
灰:=varbQ;   
 stickline(varbQ,c,(o+c)/2,7,0),color333333;   
 stickline(varbQ,c,(o+c)/2,6,0),color555555;   
 stickline(varbQ,c,(o+c)/2,5,0),color777777;   
 stickline(varbQ,c,(o+c)/2,4,0),color999999;   
 stickline(varbQ,c,(o+c)/2,3,0),colorbbbbbb;   
 stickline(varbQ,c,(o+c)/2,2,0),colordddddd;   
 stickline(varbQ,c,(o+c)/2,1,0),colorffffff;
绿:=varcQ;   
 stickline(varcQ,o,(o+c)/2,7,0),color003300;   
 stickline(varcQ,o,(o+c)/2,6,0),color005500;   
 stickline(varcQ,o,(o+c)/2,5,0),color007700;   
 stickline(varcQ,o,(o+c)/2,4,0),color009900;   
 stickline(varcQ,o,(o+c)/2,3,0),color00bb00;   
 stickline(varcQ,o,(o+c)/2,2,0),color00dd00;   
 stickline(varcQ,o,(o+c)/2,1,0),color00ff00;
蓝:=vardQ;
 stickline(vardQ,o,(o+c)/2,7,0),colorff1100;
 stickline(vardQ,o,(o+c)/2,6,0),colorff3300;
 stickline(vardQ,o,(o+c)/2,5,0),colorff5500;
 stickline(vardQ,o,(o+c)/2,4,0),colorff7700;
 stickline(vardQ,o,(o+c)/2,3,0),colorff9900;
 stickline(vardQ,o,(o+c)/2,2,0),colorffbb00;
 stickline(vardQ,o,(o+c)/2,1,0),colorffdd00;

 DRAWTEXT(FILTER(KKMD,30),L-0.1,'最佳买入时机'),COLOR00FFFF;
 DRAWTEXT(FILTER(KKML,30),H+0.1,'最佳卖出时机'),COLORFFFF00;
 DRAWTEXT(FILTER(KKMQ,30),C,'持仓区'),COLOR00FF00;
 DRAWTEXT(FILTER(KKAL,30),H+0.1,'空仓区'),COLORFF8080;
 DRAWTEXT(FILTER(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),30),L-0.3,'该股强于大盘'),COLORFF00FF;
 DRAWTEXT(CROSS(MA(CLOSE,5),MA(CLOSE,10)),L-0.5,'可出手'),COLORFF00FF;
 DRAWTEXT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),H+0.5,'收手了'),COLORFF0000;
 DRAWTEXT(FILTER(KKM>EMA(KKM,4) AND KKM>REF(KKM,1),30),L-0.3,'快速介入');
DRAWTEXT(FILTER(KKM<EMA(KKM,4) AND KKM<REF(KKM,1),30),H+0.3,'风险较大');
DRAWTEXT(FILTER(KKM>EMA(KKM,4) AND KKM<REF(KKM,1),30),H+0.1,'休息观望~'),COLORAA8800;
 DRAWTEXT(FILTER(KKM<EMA(KKM,4) AND KKM>REF(KKM,1),30),L-0.1,'有防御能力')
 ,COLORAA00AA;
 

飞狐的最佳时机主图公式

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

飞狐的最佳时机主图公式

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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