股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 2623|回复: 0
打印 上一主题 下一主题

请老师高手帮忙修改成选股公式,感谢!!

[复制链接]

指标研习F2

Rank: 8Rank: 8

听众
2
跳转到指定楼层
楼主
发表于 2016-10-31 16:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
50爱心果
金牛判势副图A

AADATE:=DATE<1991230;
DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'0',0);
买:=IF("KDJ.J"<-10,10,0);
条件:=CROSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
NOTEXTMA11:=MA(VAR4,2),COLORWHITE;{白线}
MA1:=MA(VAR4,2);
STICKLINE(IF(AADATE,VAR4>MA1,DRAWNULL),VAR4+3,MA1,2,0),COLORRED;
STICKLINE(IF(AADATE,VAR4<=MA1,DRAWNULL),VAR4-3,MA1,2,0),COLORYELLOW;
STICKLINE(IF(AADATE,CROSS(9.9,买),DRAWNULL),VAR4+4,MA1-5,2,0),COLORYELLOW;

次级风险:IF(AADATE,80,DRAWNULL),DOTLINE,COLORMAGENTA;
次级安全:IF(AADATE,20,DRAWNULL),DOTLINE,COLORGREEN;

{天机眼VB}
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VBB:=J<15 AND J>REF(J,1);
VBS:=J>95 AND J<REF(J,1);

{买卖输出信号
JSAA:=MA1<20 AND J<15 AND J>REF(J,1) AND VAR4>MA1 AND L<"BOLL.LB";
JSBB:=MA1>75 AND J>95 AND J<REF(J,1) AND H>"BOLL.UB";
IF(JSAA AND AADATE,80,0),COLORWHITE;
IF(JSBB AND AADATE,20,100),COLORGREEN;}

{买卖输出信号}
JSAA:=CROSS(VAR4,MA1) AND MA1<20 AND VAR4<20;
JSBB:=CROSS(MA1,VAR4) AND MA1>80 AND VAR4>80;
JNBUY:IF(JSAA AND AADATE,80,0),COLORWHITE;
IF(JSBB AND AADATE,20,100),COLORGREEN;

风险区间:IF(AADATE,100,DRAWNULL),COLORMAGENTA;
安全区间:IF(AADATE,0,DRAWNULL),COLORGREEN;

-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
分离线
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------

金牛判势副图B

AADATE:=DATE<1991230;
DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'0',0);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(IF(AADATE,J>REF(J,1),DRAWNULL),HHV(J,3),LLV(J,3),0,0),COLORRED;
STICKLINE(IF(AADATE,J>REF(J,1),DRAWNULL),J,REF(J,1),2.5,0),COLORRED;
STICKLINE(IF(AADATE,J<REF(J,1),DRAWNULL),HHV(J,3),LLV(J,3),0,0),COLORYELLOW;
STICKLINE(IF(AADATE,J<REF(J,1),DRAWNULL),J,REF(J,1),2.5,0),COLORYELLOW;
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);



次级风险:IF(AADATE,100,DRAWNULL),COLORMAGENTA,DOTLINE;
次级安全:IF(AADATE,0,DRAWNULL),COLORGREEN,DOTLINE;


{天机眼VA}
买:=IF("KDJ.J"<-10,10,0);
条件:=CROSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
NOTEXTMA11:=MA(VAR4,2),COLORWHITE;
MA1:=MA(VAR4,2);
VAB:=MA1<20 AND VAR4>MA1;
VAS:=MA1>75;

{买卖输出信号}
JSAA:=MA1<20 AND J<15 AND J>REF(J,1) AND VAR4>MA1 AND L<"BOLL.LB";
JSBB:=MA1>75 AND J>95 AND J<REF(J,1) AND H>"BOLL.UB";
IF(JSAA AND AADATE,100,-20),COLORWHITE;
IF(JSBB AND AADATE,0,120),COLORGREEN;

风险区间:IF(AADATE,120,DRAWNULL),COLORMAGENTA;
安全区间:IF(AADATE,-20,DRAWNULL),COLORGREEN;

  麻烦有空的老师
把图片标识的
白色三角形做成一个选股公式
在上面分别是有2个公式

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-11-24 01:26 , Processed in 0.129264 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表