当前位置:→ 股海网飞狐公式 → 正文
  • 飞狐精准操盘A公式

  • 相关简介:飞狐精准操盘A公式 DRAWGBK(CLOSEHHV(HIGH,0),COLORRGB(60,15,35),COLORRGB(50,50,90),1); 多空标准:=MASS.A; G:=IF(HIGH=HHV(HIGH,3),1,0); D:=IF(LOW=LLV(LOW,3),1,0); S:=IF(REF(G,2)=1 AND REF(G,1)=0 AND G=0,REF(HIGH,2),REF(HIGH,2+(BARSLAST(REF(G,2)=1 AND REF(G,1)=0 AND

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

飞狐精准操盘A公式

DRAWGBK(CLOSE<HHV(HIGH,0),COLORRGB(60,15,35),COLORRGB(50,50,90),1);
 多空标准:="MASS.A";
 G:=IF(HIGH=HHV(HIGH,3),1,0);
 D:=IF(LOW=LLV(LOW,3),1,0);
 S:=IF(REF(G,2)=1 AND REF(G,1)=0 AND G=0,REF(HIGH,2),REF(HIGH,2+(BARSLAST(REF(G,2)=1 AND REF(G,1)=0 AND G=0))));
 X:=IF(REF(D,2)=1 AND REF(D,1)=0 AND D=0,REF(LOW,2),REF(LOW,2+(BARSLAST(REF(D,2)=1 AND REF(D,1)=0 AND D=0))));
 压力:=IF(HIGH>=MA(CLOSE,1),S,REF(S,BARSLAST(HIGH>MA(CLOSE,1))));
 支撑:=IF(LOW<=MA(CLOSE,5),X,REF(X,BARSLAST(LOW<=MA(CLOSE,5))));
 多空:="MASS.A";
 C1:=REF(CLOSE,1)<=压力 AND CLOSE>压力;
 C2:=REF(CLOSE,1)>=支撑 AND CLOSE<支撑;
 K3:=BARSLAST(C1);
 K4:=BARSLAST(C2);
 K0:=K3<K4;
 PARTLINE(K3<K4,支撑),LINETHICK2,colorFFFF;
 PARTLINE(K3>K4,压力),LINETHICK2,colorFFFFFF;
 标准:=IF(K3>K4,HHV(压力,BARSLAST(C1)),LLV(支撑,BARSLAST(C2)));
 PARTLINE(BETWEEN(CLOSE,标准,多空标准),多空标准),LINETHICK2,colorFFFF00;
 STICKLINE(CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1),LOW,HIGH,0.5,0),LINETHICK5,color10000;
 STICKLINE(CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1),OPEN,CLOSE,9,0),LINETHICK5,color10000;
 STICKLINE(CLOSE<OPEN OR CLOSE=OPEN AND CLOSE<=REF(CLOSE,1),LOW,HIGH,0.5,0),LINETHICK5,color10000;
 STICKLINE(CLOSE<OPEN OR CLOSE=OPEN AND CLOSE<=REF(CLOSE,1),OPEN,CLOSE,9,0),LINETHICK5,color10000;
 X:=(BARSLAST(SYSPARAM(2)=BARPOS))+1;
 NS:=IF(HHV(ABS(HHV(CLOSE,DA)/LLV(CLOSE,DA)-1),DA)>10/100,3,DA);
 N1:=IF(DATATYPE=2,NS*48,IF(DATATYPE=3,NS*16,IF(DATATYPE=4,NS*8,IF(DATATYPE=5,NS*4,NS))));
 MM:=IF(STKTYPE=0 OR P=0 OR VOL=0,MA(CLOSE,N1),SUM(AMOUNT,N1)/SUM(VOL,N1)/100);
 M1:=REF(MM,1);
 买入:=IF(CROSS(CLOSE,M1),M1,0);
 卖出:=IF(CROSS(M1,CLOSE),M1,0);
 参考操盘价:M1,LINETHICK0,PRECISION2,colorFFFFFF;
 YE:=BARPOS;
 费用:=FY/1000;
 DW:=BARSLAST(卖出>0);
 EX10:=HHV(买入>0,DW+1);
 BJ:=IF(EX10>REF(EX10,1),买入,0);
 SJ:=IF(EX10<REF(EX10,1),卖出,0);
 BNN:=BARSLAST(BJ>0);
 CC:=REF(BJ,BNN);
 盈利:=SJ*(1-费用)-CC*(1+费用);
 YL:=SUM(IF(SJ>0,盈利,0),0);
 每股盈利:YL,LINETHICK0,PRECISION2,colorFFFFFF;
 CN:=SUM(IF(SJ>0 AND REF(CC,1)>0,1,0),0);
 CG:=SUM(IF(SJ>0 AND 盈利>0,1,0),0);
 成功率:100*CG/CN,LINETHICK0,PRECISION1,color88FF;
 H1:=HHV(IF(CT=2,成功率,YL),X);
 L1:=LLV(IF(CT=2,成功率,YL),X);
 AH:=H1[DATACOUNT];
 AL:=L1[DATACOUNT];
 AHL:=AH-AL;
 POLYLINE(CT=2,成功率),color88FF;
 买入均价:SUM(BJ,0)/CN,LINETHICK0,PRECISION1,colorFF;
 年收益:100*(240*YL/YE)/买入,LINETHICK0,PRECISION1,colorFF;
 持股时间:(SUM(IF(SJ>0 AND CC>0,REF(BNN,1)+1,0),0))/(YE),LINETHICK0,PRECISION2,colorFF00FF;
 交易:CN,LINETHICK0,PRECISION0,colorAAAAAA;
 (次)成功:CG,LINETHICK0,PRECISION0,colorAAAAAA;
 年交均次:=240*CN/YE;
 MON:=SUM(IF(MONTH<>REF(MONTH,1),1,0),0);
 上市年:=MON/12;
 DRAWNUMBER(BJ>0,LOW*0.95,BJ,2),ALIGN0,colorFF;
 DRAWICON(BJ>0 AND CT=1,LOW*0.97,4);
 DRAWNUMBER(SJ>0 AND CT=1 AND 盈利/(CC*(1+费用))*100>=0,HIGH*1.1,盈利/(CC*(1+费用))*100,1),ALIGN0,colorFF;
 DRAWNUMBER(SJ>0 AND CT=1 AND 盈利/(CC*(1+费用))*100<0,HIGH*1.1,盈利/(CC*(1+费用))*100,1),ALIGN0,colorFFFF;
 DRAWICON(SJ>0 AND CT=1,HIGH*1.04,5);
 DRAWTEXTEX(CLOSE,1,430,30,'☆精准操盘☆'),colorFFFF;
 DRAWNUMBER(SJ>0 AND CT=1,HIGH*1.07,SJ,2),ALIGN0,colorFF00;
 N波动:(SUM(IF(SJ>0 AND CC>0 AND REF(BNN,1)+1<=N,REF(BNN,1)+1,0),0))/(YE),LINETHICK0,PRECISION2,colorFF00FF;
 买价:IF(BJ>0,BJ,0),LINETHICK0,PRECISION2,colorFF;
 卖价:IF(SJ>0,SJ,0),LINETHICK0,PRECISION2,colorFF00;
 DRAWTEXTEX(CLOSE,1,0,0,'年盈利:'+NUMTOSTR(YL,2)+'元 成功率:'+NUMTOSTR(成功率,1)+'% 年收益:'+NUMTOSTR(年收益,1)+'%'+' 持股时间比:'+NUMTOSTR(持股时间,1)+'\n'+'交易:'+NUMTOSTR(交易,0)+'次 成功:'+NUMTOSTR(CG,0)+'次 年均:'+NUMTOSTR(年交均次,1)+'次 总共:'+NUMTOSTR(YE,0)+'K线'),colorFFFF;
 临界:=(CLOSE/M1-1)*100;
 增减:=临界-100*(REF(CLOSE,1)/REF(M1,1)-1);
 DRAWTEXTEX(CLOSE,1,620,0,'当前 信号持续:'+NUMTOSTR(BNN,0)+'(K线)'+' 最高盈利:'+NUMTOSTR(HHV((HIGH/CC-1)*100,BNN+1),1)+'% 买卖临界点:'+NUMTOSTR(临界,1)+'% 增减:'+(NUMTOSTR(IF(BNN>0 AND DATATYPE=6,增减,IF(BNN=0,0,-100)),1))),colorFFFF;
 DRAWTEXT(SYSPARAM(3)=BARPOS AND CT<3,HIGH,'.'),color1;
 DRAWTEXT(SYSPARAM(3)=BARPOS AND CT<3,LOW,'.'),color1;
 参考介入价:MM,LINETHICK0,PRECISION2,colorFFFFFF;
 FUA:=HHV(HIGH,15);
 FUB:=LLV(LOW,15);
 DRAWTEXTEX(CLOSE,1,720,60,'15日最高价:'+NUMTOSTR(FUA,2)+'  '),ALIGN2,colorFF;
 DRAWTEXTEX(CLOSE,1,840,60,'15日最低价:'+NUMTOSTR(FUB,2)+'  '),ALIGN2,colorFF00;
 DRAWTEXTEX(CLOSE,1,950,60,'明日操盘价:'+NUMTOSTR(MM,2)+'  '),ALIGN2,colorFFFFFF;
 STICKLINE(CLOSE>=MM,CLOSE,OPEN,8,0),color88;
 STICKLINE(CLOSE>=MM,CLOSE,OPEN,6,0),color99;
 STICKLINE(CLOSE>=MM,CLOSE,OPEN,4,0),colorAA;
 STICKLINE(CLOSE>=MM,CLOSE,OPEN,2,0),colorBB;
 STICKLINE(CLOSE>=MM,CLOSE,OPEN,1,0),colorCC;
 STICKLINE(CLOSE>=MM,HIGH,LOW,1,0),colorFF;
 STICKLINE(CLOSE<MM,CLOSE,OPEN,8,0),color8800;
 STICKLINE(CLOSE<MM,CLOSE,OPEN,6,0),color9900;
 STICKLINE(CLOSE<MM,CLOSE,OPEN,4,0),colorAA00;
 STICKLINE(CLOSE<MM,CLOSE,OPEN,2,0),colorBB00;
 STICKLINE(CLOSE<MM,CLOSE,OPEN,1,0),colorCC00;
 STICKLINE(CLOSE<MM,LOW,HIGH,1,0),colorFF00;
 STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,8,0),color77FF;
 STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,6,0),color99FF;
 STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,4,0),colorCCFF;
 STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2,0),colorEEFF;
 STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1,0),colorFFFF;
 STICKLINE(BJ>0 AND CT=1,M1,M1,8,0),colorFFFFFF;
 STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,8,0),colorFF8800;
 STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,6,0),colorFFAA11;
 STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,4,0),colorFFCC22;
 STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2,0),colorFFEE33;
 STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1,0),colorFFFF33;
 STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,8,0),color990000;
 STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,6,0),colorAA0000;
 STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,4,0),colorBB0000;
 STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2,0),colorFF0000;
 STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1,0),colorFF0000;
 STICKLINE(SJ>0 AND CT=1,M1,M1,8,0),colorFFFFFF;
 买入信号:BJ>0 AND CT=1,LINETHICK0;
 卖出信号:SJ>0 AND CT=1,LINETHICK0;
 持股周期:买入信号 OR COUNT(卖出信号,BARSLAST(买入信号))=0,LINETHICK0;
 持币周期:卖出信号 OR COUNT(买入信号,BARSLAST(卖出信号))=0,LINETHICK0;
 

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

飞狐精准操盘A公式

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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