当前位置:→ 股海网飞狐公式 → 正文
  • 买入组合.源码.适合各周期.非常实用.可以说是完美

  • 相关简介:买入组合.源码.适合各周期.非常实用.可以说是完美 主图源码 JRH:=HHV(C,2); JRL:=LLV(C,2); MA6:=MA(CLOSE,3); YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6; VB1:=(CLOSEREF(CLOSE,1) AND CLOSEREF(CLOSE,2)); VB2:=(REF(VB1,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2)); VB3:=(REF(VB2,1) AND CLOS

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

买入组合.源码.适合各周期.非常实用.可以说是完美

主图源码

JRH:=HHV(C,2);
JRL:=LLV(C,2);
MA6:=MA(CLOSE,3);
YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VB1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VB2:=(REF(VB1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VB3:=(REF(VB2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VB4:=(REF(VB3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VB5:=(REF(VB4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VB6:=(REF(VB5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VB7:=(REF(VB6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VB8:=(REF(VB7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VB9:=(REF(VB8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VBA:=(REF(VB9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VBB:=(REF(VBA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VBC:=(REF(VBB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VBD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
VBE:=(REF(VBD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VBF:=(REF(VBE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VB10:=(REF(VBF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VB11:=(REF(VB10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VB12:=(REF(VB11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VB13:=(REF(VB12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VB14:=(REF(VB13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VB15:=(REF(VB14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VB16:=(REF(VB15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VB17:=(REF(VB16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VB18:=(REF(VB17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VB19:=((REF(VBD OR VBE OR VBF OR VB10 OR VB11 OR VB12 OR VB13 OR VB14 OR VB15 OR VB16 OR VB17 OR VB18,1)) AND VB1);
VB1A:=((REF(VB1 OR VB2 OR VB3 OR VB4 OR VB5 OR VB6 OR VB7 OR VB8 OR VB9 OR VBA OR VBB OR VBC,1)) AND VBD);

红色持股:=VB1 OR VB2 OR VB3 OR VB4 OR VB5 OR VB6 OR VB7 OR VB8 OR VB9 OR VBA OR VBB OR VBC,COLOR0000FF;
离场:=IF(红色持股,JRL,O);
明离场价:=离场,COLORFF99FF;
今离场价:=REF(离场,1),COLOR0000FF;
青色观望:=VBD OR VBE OR VBF OR VB10 OR VB11 OR VB12 OR VB13 OR VB14 OR VB15 OR VB16 OR VB17 OR VB18,COLORFFFF00;
进:=IF(青色观望,JRH,O);
明进场价:=进,COLOR33AACC;
今进场价:=REF(明进场价,1),COLORFF0000;
短买:=VB19,COLOR33AACC;
品红离场:=VB1A,COLORFF99FF;
急速超跌:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORFFFFFF;

STICKLINE(C>=O,L,H,0,0),COLOR0000CC;
STICKLINE(C<O,L,H,0,0),COLOR999900;
STICKLINE(1,C,O,3.5,0),COLOR858500;
STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;
STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;
STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;
STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;
STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;
STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;
STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500;
STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800;
STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00;
STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00;
STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00;
CO:=(C-O);
STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;
STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;
STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;
STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;
STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;
STICKLINE(短买,O,O+CO/3,2.8,0),COLOR335555;
STICKLINE(短买,O,O+CO/3,2,0),COLOR338888;
STICKLINE(短买,O,O+CO/3,1.5,0),COLOR33AAAA;
STICKLINE(短买,O,O+CO/3,1,0),COLOR33CCCC;
STICKLINE(品红离场,O,O+CO/3,2.8,0),COLOR550055;
STICKLINE(品红离场,O,O+CO/3,2,0),COLOR880088;
STICKLINE(品红离场,O,O+CO/3,1.5,0),COLORAA00AA;
STICKLINE(品红离场,O,O+CO/3,1,0),COLORCC00CC;
STICKLINE(品红离场,O,O+CO/3,0.5,0),COLOREE00EE;
EMA18:=MA(C,18);
中线【买入】:=COUNT(CLOSE<EMA18,5)=4 AND
CLOSE/EMA18>1.004 AND CROSS(CLOSE,EMA18) AND EMA18>=
REF(EMA18,1),COLORRED;
DRAWTEXT(中线【买入】,L,'中线多'),COLORYELLOW;
VAR12:=(SMA(ABS(LOW-REF(LOW,1)),13,1))/(SMA(MAX(LOW-REF(LOW,1),0),13,1))*100;
VAR18:=EMA(IF(LOW<=LLV(LOW,34),MA(VAR12,13),0),3);
VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;
T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);
DRAWTEXT(T,LOW,'洗盘结束'),COLORFF00FF;
VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR22:=SMA(VAR21,3,1);
VAR23:=SMA(VAR22,3,1);
VAR25:=CROSS(SMA(VAR22,3,1),SMA(VAR23,3,1)) AND SMA(VAR22,3,1)<20;
DRAWTEXT(FILTER(VAR25,10)=1,LOW,'抄底'),COLORYELLOW;
VAR29:=CROSS(SMA(VAR23,3,1),VAR23) AND VAR23>80;
DRAWTEXT(FILTER(VAR29,5)=1,HIGH,'逃顶'),COLORGREEN;

 

极品底


N:=27;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,6,1)- 
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,4,1),3.2,1),COLORYELLOW,LINETHICK1;  
极品底: IF(CROSS(VAR1,8),80,0),STICK,LINETHICK2; 
RSV:=(((C-LLV(L,9))/(HHV(H,9)-LLV(L,9)))*100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
KDJ:=((3*K)-(2*D));
LC:=REF(C,1);
RSI:=((SMA(MAX((C-LC),0),6,1)/SMA(ABS((C-LC)),6,1))*100);
W:=((100*(HHV(H,14)-C))/(HHV(H,14)-LLV(L,14)));
M1:=((HHV(H,50)/LLV(L,100))>1.5);
M2:=((HHV(H,50)-L)/(HHV(H,50)-LLV(L,100)));
M3:=((L-LLV(L,100))/(HHV(H,50)-LLV(L,100)));
M4:=(HHVBARS(H,50)<LLVBARS(L,100));
M5:=(((M1&&(M2>0.5))&&(M3>0.3))&&M4);
M6:=(COUNT(M5,10)=1);

 

堪称一绝

LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
VAR200:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
STICKLINE(A1,20,0,4,0),COLOR0000FF;
DRAWTEXT(A1,23,'满仓'),COLORRED;
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
A:=BARSLAST(Y1);
B:=BARSLAST(Y3);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
堪称一绝:BACKSET(B>A,B+2) AND Y3 AND CCI<-40,COLORRED;
STICKLINE(堪称一绝,0,-50,8,1),COLORRED;

买入组合.源码.适合各周期.非常实用.可以说是完美

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

买入组合.源码.适合各周期.非常实用.可以说是完美

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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