找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 1093|回复: 4

天河分享通达信指标公式(6)——守法必赢(内含未来函数,慎用,仅供趋势参考)

[复制链接]
发表于 2015-5-2 08:03 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 wen98 于 2015-5-2 09:24 编辑

内含未来函数,慎用,仅供趋势参考


声明:近期总有朋友反映本人发布的指标中有表情符号,以导致指标源码无法使用,这是由于该论坛编辑器格式导致而成,并非本人特意操作所为。

对此而产生的指标使用问题,我也爱莫能助了,但大家如果有非常喜欢的指标,可以站内信加我好友或发消息给我,以便于我帮助朋友们解决该类问题!
{向原创作者致敬!}


MA5:MA(CLOSE,5),POINTDOT,COLOR000000,LINETHICK1;
MA21:=EMA(CLOSE,21);
MID:MA(CLOSE,21),COLOR000000,LINETHICK0;
风险线: MA(CLOSE,13),LINETHICK3,COLORGREEN;
止损线: MA(CLOSE,27),LINETHICK0,COLOREE00EE;
UPPER:MID + 2*STD(C,20),LINETHICK0,COLORFFFFFF;
LOWER:MID - 2*STD(C,20),LINETHICK0,COLORFFFFFF;
H1:=EMA(SLOPE(CLOSE,34)*20+CLOSE,75);
H2:=EMA(CLOSE,8);
VAR1D:=H2-H1;
A:=(3*C+L+O+H)/6;
B:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF
(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
D:=MA(B,10);
STICKLINE((MA21 > REF(MA21,1)),MA21,MA21,5,6),LINETHICK2,COLOR00FFFF;
STICKLINE(C>=MID AND C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=MID AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=MID AND C<O,C,O,5,1),COLORRED;
STICKLINE(C>=MID AND C<O,O,H,0,0),COLORRED;
STICKLINE(C>=MID AND C<O,C,L,0,0),COLORRED;
STICKLINE(C<MID AND C>O,C,O,5,1),COLORFFFF00;
STICKLINE(C<MID AND C<=O,C,O,5,1),COLORFFFF00;
STICKLINE(C<MID AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<MID AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<MID AND C>O,O,L,0,1),COLORFFFF00;
牛熊线:EMA(C,250),CIRCLEDOT,COLOR999999;
界:MA(CLOSE,21),,POINTDOT,COLOR000000,LINETHICK0;
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));

DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.988),'B'),COLORYELLOW,LINETHICK3;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.02),'S'),COLORFFFF34,LINETHICK3;
STICKLINE(C>=界 AND C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=界 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=界 AND C<O,C,O,5,1),COLORRED;
STICKLINE(C>=界 AND C<O,O,H,0,0),COLORRED;
STICKLINE(C>=界 AND C<O,C,L,0,0),COLORRED;
STICKLINE(C<界 AND C>O,C,O,5,1),COLORFFFF00;
STICKLINE(C<界 AND C<=O,C,O,5,1),COLORFFFF00;
STICKLINE(C<界 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<界 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<界 AND C>O,O,L,0,1),COLORFFFF00;
DRAWTEXT(CROSS(MA5,界),(LOW * 0.90),'◇底背离'),COLORWHITE;
{散户自己的交流群:60168813,不卖股软,不收个人信息,不索要任何费用}
VAR11:=(ZIG(3,10) < REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) > REF(ZIG(3,10),2));
VAR22:=(ZIG(3,10) > REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) < REF(ZIG(3,10),2));
DRAWTEXT(VAR11,HIGH*1.05,'秋收'),COLORYELLOW;
DRAWTEXT(VAR22 AND (DATE < 1070804),LOW*0.97,'春播'),COLORFF00FF;
STICKLINE(VAR11 AND (DATE < 1070804),CLOSE,OPEN,5,0),COLORYELLOW;
STICKLINE(VAR11 AND (DATE < 1070804),HIGH,LOW,0.5,0),COLORYELLOW;
STICKLINE(VAR22 AND (DATE < 1070804),CLOSE,OPEN,5,0),COLORFF00FF;
STICKLINE(VAR22 AND (DATE < 1070804),HIGH,LOW,0.5,0),COLORFF00FF;
F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));
F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90)));
F2:=F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90);
DRAWTEXT(F2,L-0.40,'双蹄奋起'),COLORFF00FF;{显示双蹄奋起文字,
居中};


无标题.png

评分

1

查看全部评分

发表于 2015-5-2 08:40 | 显示全部楼层
谢谢楼主分享

回复

使用道具 举报

发表于 2015-5-2 09:56 | 显示全部楼层
{:soso_e132:}
回复

使用道具 举报

发表于 2015-5-2 09:58 | 显示全部楼层
{:soso_e132:}
回复

使用道具 举报

发表于 2015-5-10 20:49 | 显示全部楼层
谢谢分享,楼主好多指标啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-26 16:40 , Processed in 0.736447 second(s), Total 19, Slave 16 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

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