股票论坛

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

通达信周旋指标公式

[复制链接]

巡抚

Rank: 5Rank: 5

听众
9
跳转到指定楼层
楼主
发表于 2015-7-10 12:52 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
M1:=3;
换手率: VOL/CAPITAL*100, ,COLORWHITE;
成交〖万手〗: VOL/10000, , COLOR00ccff;
Var2:=MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1)));
Var3:=IF(HIGH+LOW<=REF(HIGH,1)+REF(LOW,1),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1))));
Var4:=IF(HIGH+LOW>=REF(HIGH,1)+REF(LOW,1),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1))));
Var5:=SUM(Var3,13)/(SUM(Var3,13)+SUM(Var4,13));
Var6:=SUM(Var4,13)/(SUM(Var4,13)+SUM(Var3,13));
ADDI: (Var5-Var6)*100, COLORSTICK;
DI: SMA(ADDI,30,10), , COLORYELLOW;
AD: MA(DI,M1), , COLORMAGENTA;
Var7:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
Var8:=ZIG(3,5)< REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
STICKLINE(Var7=1,-10,0,8,0), , COLORRED;
STICKLINE(Var8=1,10,0,8,0), , COLORCYAN;
Var9:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VarA:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VarB:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VarC:=VarA< REF(VarB,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
VarD:=(HIGH+LOW+CLOSE)/3;
VarE:=(VarD-MA(VarD,14))/(0.015*AVEDEV(VarD,14));
VarF:=(VarD-MA(VarD,70))/(0.015*AVEDEV(VarD,70));
Var10:=IF(VarE>=150 AND VarE<200 AND VarF>=150 AND VarF<200,10,0);
Var11:=IF(VarE<=-150 AND VarE>-200 AND VarF<=-150 AND VarF>-200,-10,Var10);
Var12:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var13:=100-ABS(Var12);
Var14:=IF(Var13<90,Var13,100);
Var15:=IF(Var9>0,Var9,0);
Var16:=IF(VarF>=200 AND VarE>=150,15,IF(VarF<=-200 AND VarE<=-150,-15,Var11))+60;
Var17:=Var15>48 AND Var16>60 AND Var14<100;
DRAWTEXT(VarC AND COUNT(VarC,1)=1,20,'$'), , COLORYELLOW;
DRAWTEXT(Var17 AND COUNT(Var17,1)=1,40,'$'), , COLORGREEN;
Var18:=SUM(MAX(0,HIGH-REF((HIGH+LOW+CLOSE)/3,1)),26)/SUM(MAX(0,REF((HIGH+LOW+CLOSE)/3,1)-LOW),26)*100;
DRAWTEXT(Var18>250 AND Var8=1,-20,'风险!'), , COLORRED;
Var19:=IF((CLOSE+OPEN+HIGH+LOW)/4-SMA((CLOSE+OPEN+HIGH+LOW)/4,150,1)<0,CAPITAL/VOL,0);
Var1A:=IF(Var19>300,Var19,0);
STICKLINE(Var1A>600,-40,-20,1,0), , COLORMAGENTA;
Var1B:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Var1C:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var1D:=SMA(Var1C,13,8);
Var1E:=SMA(Var1B,21,8);
趋势: (SMA(Var1D,13,8)), , COLORBLUE;
盘整: STICKLINE(趋势-Var1E<-65,0,5,15,1), , COLORYELLOW;
Var1F:=WINNER((CLOSE+OPEN+HIGH+LOW)/4)*1000;
圈: IF(Var1F>180,0,-10),COLORGREEN;

评分

参与人数 1爱心果 +5 收起 理由
美女她爹 + 5 楼主分析的很好,辛苦了

查看全部评分

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

本版积分规则

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

GMT+8, 2024-12-5 10:09 , Processed in 0.164544 second(s), 25 queries .

Powered by Discuz! X3.2

© 2004-2014 早晨网股票论坛欢迎您!..

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