股票论坛

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

请老师帮我做个公式中出现第五根黄柱的选股公式,谢谢

[复制链接]

指标研习F2

Rank: 8Rank: 8

听众
2
跳转到指定楼层
楼主
发表于 2016-4-5 17:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
30爱心果
请老师帮我做个公式中出现第五根黄柱的选股公式,谢谢!
源码:
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK0,COLORRED;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,6,0 ),COLORRED;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,5,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,4,0 ),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.5,0 ),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLOR0000FF;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),LINETHICK0,COLORGREEN;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,6,0),COLORGREEN;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,5,0),COLOR005500;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,4,0),COLOR007700;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR009900;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.5,0),COLOR00BB00;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00DD00;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLOR00FF00;
VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=HHV(H,33);
VAR15:=EMA(IF(H>=VAR14,VAR13,0),3);
冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),LINETHICK0,COLORFF00FF;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,6,0),COLORFF00FF;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,5,0 ),COLOR550055;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,4,0 ),COLOR770077;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR990099;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.5,0 ),COLORBB00BB;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1.5,0 ),COLORDD00DD;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1,0 ),COLORFF00FF;
主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),LINETHICK0,COLORYELLOW;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,6,0 ),COLORYELLOW;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,5,0),COLOR005555;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,4,0),COLOR007777;
STICKLINE(VAR15<REF(VAR5,1),0,VAR15,3,0),COLOR009999;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,2.5,0),COLOR00BBBB;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1.5,0),COLOR00DDDD;
STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1,0),COLOR00FFFF;
A1:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
波段介入点:IF(A2<19,19,0),COLORWHITE;

最佳答案

查看完整内容

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1); VAR13:=EMA(VAR12,10); VAR14:=HHV(H,33); VAR15:=EMA(IF(H>=VAR14,VAR13,0),3); BARSLAST(VAR15>REF(VAR15,1))=5 AND DYNAINFO(4)>0;

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
5
沙发
发表于 2016-4-5 17:20 | 只看该作者
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=HHV(H,33);
VAR15:=EMA(IF(H>=VAR14,VAR13,0),3);
BARSLAST(VAR15>REF(VAR15,1))=5  AND DYNAINFO(4)>0;
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 08:55 , Processed in 0.126979 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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