找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 993|回复: 8

量神(通达信)

[复制链接]
发表于 2016-5-20 13:39 | 显示全部楼层 |阅读模式

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

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

×
[size=1.5]  V11a:=((((HL)AND(CO))AND(H=C))AND(L=O));
V12a:=((V*(C-O))/(H-L));
VD1a:=IF(V11a,V12a,0);
VZ1a:=IF(V11a,0,0);
V21a:=((((HL)AND(CO))AND(H=C))AND(LO));
V22a:=(V*(((C-O)/(H-L))+(((2/3)*(O-L))/(H-L))));
V23a:=((((V*1)/3)*(O-L))/(H-L));
VD2a:=IF(V21a,V22a,0);
VZ2a:=IF(V21a,V23a,0);
V31a:=((((HL)AND(CO))AND(HC))AND(L=O));
V32a:=(V*(((C-O)/(H-L))+(((1/3)*(H-C))/(H-L))));
V33a:=((((V*2)/3)*(H-C))/(H-L));
VD3a:=IF(V31a,V32a,0);
VZ3a:=IF(V31a,V33a,0);
V41a:=((((HL)AND(CO))AND(HC))AND(LO));
V42a:=(V*((((C-O)/(H-L))+(((1/3)*(H-C))/(H-L)))+(((2/3)*(O-L))/(H-L))));
V43a:=(V*((((2/3)*(H-C))/(H-L))+(((1/3)*(O-L))/(H-L))));
VD4a:=IF(V41a,V42a,0);
VZ4a:=IF(V41a,V43a,0);
V51a:=((((HL)AND(CO))AND(H=O))AND(L=C));
V52a:=((V*(O-C))/(H-L));
VD5a:=IF(V51a,0,0);
VZ5a:=IF(V51a,V52a,0);
V61a:=((((HL)AND(CO))AND(H=O))AND(LC));
V62a:=((((V*(C-L))/(H-L))*2)/3);
V63a:=(V*(((O-C)/(H-L))+(((1/3)*(C-L))/(H-L))));
VD6a:=IF(V61a,V62a,0);
VZ6a:=IF(V61a,V63a,0);
V71a:=((((HL)AND(CO))AND(HO))AND(L=C));
V72a:=((((V*1)/3)*(H-O))/(H-L));
V73a:=(V*(((O-C)/(H-L))+(((2/3)*(H-O))/(H-L))));
VD7a:=IF(V71a,V72a,0);
VZ7:=IF(V71a,V73a,0);
V81a:=((((HL)AND(CO))AND(HO))AND(LC));
V82a:=(V*((((1/3)*(H-O))/(H-L))+(((2/3)*(C-L))/(H-L))));
V83a:=(V*((((O-C)/(H-L))+(((2/3)*(H-O))/(H-L)))+(((1/3)*(C-L))/(H-L))));
VD8a:=IF(V81a,V82a,0);
VZ8a:=IF(V81a,V83a,0);
V91a:=((((HL)AND(C=O))AND(H=C))AND(LC));
V92a:=((V*2)/3);
V93a:=((V*1)/3);
VD9a:=IF(V91a,V92a,0);
VZ9a:=IF(V91a,V93a,0);
V101a:=((((HL)AND(C=O))AND(HC))AND(L=C));
V102a:=((((V*1)/3)*(H-L))/(H-L));
V103a:=((((V*2)/3)*(H-L))/(H-L));
VD10a:=IF(V101a,V102a,0);
VZ10a:=IF(V101a,V103a,0);
V111a:=((((HL)AND(C=O))AND(HC))AND(LC));
V112a:=(V*((((1/3)*(H-C))/(H-L))+(((2/3)*(C-L))/(H-L))));
V113a:=(V*((((2/3)*(H-C))/(H-L))+(((1/3)*(C-L))/(H-L))));
VD11a:=IF(V111a,V112a,0);
VZ11a:=IF(V111a,V113a,0);
V121a:=(((((H=L)AND(C=O))AND(H=C))AND(L=C))AND((((C-REF(C,1))/REF(C,1))*100)9.75));
VD12a:=IF(V121a,V,0);
V122a:=(((((H=L)AND(C=O))AND(H=C))AND(L=C))AND((((C-REF(C,1))/REF(C,1))*100)(0-9.75)));
VZ12a:=IF(V122a,V,0);
V131a:=((((((H=L)AND(C=O))AND(H=C))AND(L=C))AND((((C-REF(C,1))/REF(C,1))*100)9.75))AND((((C-REF(C,1))/REF(C,1))*100)(0-9.75)));
VD13a:=IF(V131a,(0.5*V),0);
V132a:=((((((H=L)AND(C=O))AND(H=C))AND(L=C))AND((((C-REF(C,1))/REF(C,1))*100)9.75))AND((((C-REF(C,1))/REF(C,1))*100)(0-9.75)));
VZ13a:=IF(V132a,(0.5*V),0);
真神:=VD1a+VD2a+VD3a+VD4a+VD5a+VD6a+VD7a+VD8a+VD9a+VD10a+VD11a+VD12a+VD13a;
V11:=((((HL)AND(CO))AND(H=C))AND(L=O));
V12:=((V*(C-O))/(H-L));
VD1:=IF(V11,V12,0);
VZ1:=IF(V11,0,0);
V21:=((((HL)AND(CO))AND(H=C))AND(LO));
V22:=(V*(((C-O)/(H-L))+(((2/3)*(O-L))/(H-L))));
V23:=((((V*1)/3)*(O-L))/(H-L));
VD2:=IF(V21,V22,0);
VZ2:=IF(V21,V23,0);
V31:=((((HL)AND(CO))AND(HC))AND(L=O));
V32:=(V*(((C-O)/(H-L))+(((1/3)*(H-C))/(H-L))));
V33:=((((V*2)/3)*(H-C))/(H-L));
VD3:=IF(V31,V32,0);
VZ3:=IF(V31,V33,0);
V41:=((((HL)AND(CO))AND(HC))AND(LO));
V42:=(V*((((C-O)/(H-L))+(((1/3)*(H-C))/(H-L)))+(((2/3)*(O-L))/(H-L))));
V43:=(V*((((2/3)*(H-C))/(H-L))+(((1/3)*(O-L))/(H-L))));
VD4:=IF(V41,V42,0);
VZ4:=IF(V41,V43,0);
V51:=((((HL)AND(CO))AND(H=O))AND(L=C));
V52:=((V*(O-C))/(H-L));
VD5:=IF(V51,0,0);
VZ5:=IF(V51,V52,0);
V61:=((((HL)AND(CO))AND(H=O))AND(LC));
V62:=((((V*(C-L))/(H-L))*2)/3);
V63:=(V*(((O-C)/(H-L))+(((1/3)*(C-L))/(H-L))));
VD6:=IF(V61,V62,0);
VZ6:=IF(V61,V63,0);
V71:=((((HL)AND(CO))AND(HO))AND(L=C));
V72:=((((V*1)/3)*(H-O))/(H-L));
V73:=(V*(((O-C)/(H-L))+(((2/3)*(H-O))/(H-L))));
VD7:=IF(V71,V72,0);
VZ7a:=IF(V71,V73,0);
V81:=((((HL)AND(CO))AND(HO))AND(LC));
V82:=(V*((((1/3)*(H-O))/(H-L))+(((2/3)*(C-L))/(H-L))));
V83:=(V*((((O-C)/(H-L))+(((2/3)*(H-O))/(H-L)))+(((1/3)*(C-L))/(H-L))));
VD8:=IF(V81,V82,0);
VZ8:=IF(V81,V83,0);
V91:=((((HL)AND(C=O))AND(H=C))AND(LC));
V92:=((V*2)/3);
V93:=((V*1)/3);
VD9:=IF(V91,V92,0);
VZ9:=IF(V91,V93,0);
V101:=((((HL)AND(C=O))AND(HC))AND(L=C));
V102:=((((V*1)/3)*(H-L))/(H-L));
V103:=((((V*2)/3)*(H-L))/(H-L));
VD10:=IF(V101,V102,0);
VZ10:=IF(V101,V103,0);
V111:=((((HL)AND(C=O))AND(HC))AND(LC));
V112:=(V*((((1/3)*(H-C))/(H-L))+(((2/3)*(C-L))/(H-L))));
V113:=(V*((((2/3)*(H-C))/(H-L))+(((1/3)*(C-L))/(H-L))));
VD11:=IF(V111,V112,0);
VZ11:=IF(V111,V113,0);
V121:=(((((H=L)AND(C=O))AND(H=C))AND(L=C))AND((((C-REF(C,1))/REF(C,1))*100)9.75));
VD12:=IF(V121,V,0);
V122:=(((((H=L)AND(C=O))AND(H=C))AND(L=C))AND((((C-REF(C,1))/REF(C,1))*100)(0-9.75)));
VZ12:=IF(V122,V,0);
V131:=((((((H=L)AND(C=O))AND(H=C))AND(L=C))AND((((C-REF(C,1))/REF(C,1))*100)9.75))AND((((C-REF(C,1))/REF(C,1))*100)(0-9.75)));
VD13:=IF(V131,(0.5*V),0);
V132:=((((((H=L)AND(C=O))AND(H=C))AND(L=C))AND((((C-REF(C,1))/REF(C,1))*100)9.75))AND((((C-REF(C,1))/REF(C,1))*100)(0-9.75)));
VZ13:=IF(V132,(0.5*V),0);
魔鬼:=VZ1+VZ2+VZ3+VZ4+VZ5+VZ6+VZ7+VZ8+VZ9+VZ10+VZ11+VZ12+VZ13;
量比aV/MA(V,5)),LINETHICK0,coloryellow;
V10:=真神;
V20:=魔鬼;
JX1:=BARSSINCE(V10);
JY1:=IF(((121JX1)AND(JX10)),JX1,120);
JY2:=IF(((4JX1)AND(JX10)),JX1,3);
V30:=MA(V,JY2);
动神:V10,colorf00ff0;
鬼力:V20,colorBBBBBB;
神比:=(动神/V30);
鬼比:=(鬼力/V30);V2:=(H-L);
V3:=ABS((O-C));
V4:=(H-IF((CO),C,O));
V5:=(IF((CO),O,C)-L);
V6:=((V3/V2)*V);
V7:=((V4/V2)*V);
V8:=((V5/V2)*V);
V9:=IF(((V/CAPITAL)0.001),1,EXP(ABS(LOG(((V/CAPITAL)*100)))));
VA:=(((C-MA(C,5))/MA(C,5))*100);
VB:=(((MA(C,5)MA(C,10))AND(MA(C,10)MA(C,30)))AND(MA(C,30)MA(C,60)));
VC:=((MA(C,5)MA(C,10))AND(MA(C,10)MA(C,30)));
V40:=((IF((((V6=V7)AND(V6=V8))AND(CO)),V6,动神)+动神)/2);
V41b:=((IF(((V7V6)AND(V7V8)),V7,动神)+动神)/2);
V42b:=((IF(((V8V6)AND(V8V7)),V8,动神)+动神)/2);
V50:=((IF((((V6=V7)AND(V6=V8))AND(CO)),V6,鬼力)+鬼力)/2);
STICKLINE((鬼力0),鬼力,0,3,0),colorFF3399;
多头:STICKLINE((CMA(C,30)),0,V,3,1),colorred;
空头:STICKLINE((CMA(C,30)),0,V,3,0),colorgreen;
STICKLINE((鬼力0),鬼力,0,3,0),colorFF3399;
上攻量:STICKLINE((((V6=V7)AND(V6=V8))AND(CO)),0,V6,3,0),color66FFff;
下攻量:STICKLINE((((V6=V7)AND(V6=V8))AND(CO)),0,V6,3,0),color6633ff;
上探量:STICKLINE(((V7V6)AND(V7V8)),0,V7,3,0),colorCCCC66;
下探量:STICKLINE(((V8V6)AND(V8V7)),0,V8,3,0),colorFF6633;
相对地量:STICKLINE(((V92)AND(V(MA(V,5)/2))),0,V,3,0),color9966CC;
地量RAWTEXT(((V92)AND(V(MA(V,5)/2))),V,''地量''),colorf00ff0;
放量:STICKLINE((V(MA(V,5)*2.5)),0,V,3,0),colorFFFFFF;
STICKLINE((动神0),动神,0,1.5,0),colorf00ff0;
逢高出货RAWTEXT(((((((((V7V6)AND(VA2))AND(V9V8))AND(CMA(C,5)))AND(CMA(C,30)))AND(HMA(C,60)))AND(VMA(V,5)))AND(V7=MA(V,5))),V,''逢高出货''),colorf00ff0;
逢低跟进RAWTEXT(((((((V8V6)AND(V8V7))AND(VA(0-2)))AND(CMA(C,30)))AND(V8(MA(V,5)/2)))AND(MA(V,5)MA(V,10))),V,''低进''),colorFF00FF;
强势参与RAWTEXT((((((V6(MA(V,5)*2))AND(V6=V7))AND(V6=V8))AND(CO))OR((V(MA(V,5)*3))ANDVB)),V,''强势参与''),colorCC99CC;
空头释放RAWTEXT(((((((V6=V7)AND(V6=V8))AND(CO))AND((V6/V)0.7))ANDVC)AND(V6MA(V,5))),(V6*2),''空头释放''),colorf00ff0;
  


  

  N1:=16;
N2:=26;
N3:=9;
SAT:=(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26);
能量:=IF(SAT1,1,SAT)*100,COLORYELLOW,LINETHICK0;
换手:=VOL/CAPITAL*100,COLORWHITE,LINETHICK0;
①量:=EMA(换手,N1)-EMA(换手,N2);
②量:=EMA(①量,N3);
①价:=EMA(CLOSE,N1)-EMA(CLOSE,N2);
②价:=EMA(①价,N3);
柱能:=(①价-②价)*2;
坑:IF(②价0,②价,0),COLORRED,LINETHICK0;
STICKLINE(CROSS(①量,②量),HHV(①量,60),0,0,0),COLORMAGENTA;
STICKLINE((①价-②价)*20,(①价-②价)*2,0,2.5,0),COLORRED;
STICKLINE((①价-②价)*20,(①价-②价)*2,0,2.5,0),COLORFF8A15;
STICKLINE((①价-②价)*2REF((①价-②价)*2,1)AND(①价-②价)*20,(①价-②价)*2,0,2.5,0),COLOR6F51E3;
STICKLINE((①价-②价)*2REF((①价-②价)*2,1)AND(①价-②价)*20,(①价-②价)*2,0,2.5,0),COLORCECE00;
DRAWTEXT(CROSS(②价,0),REVERSE(柱能),''☆''),COLORYELLOW;
STICKLINE(CROSS(②价,0),0,REVERSE(柱能),0,0),COLORFFFF68;
DRAWTEXT(CROSS(0,②价),REVERSE(柱能),''☆''),COLORGREEN;
STICKLINE(CROSS(0,②价),0,REVERSE(柱能),0,0),COLORWHITE;
STICKLINE(①量②量,①量,②量,1,1),COLORYELLOW;
STICKLINE(①量=②量,①量,②量,0.5,0),COLORWHITE;
STICKLINE(①价②价,①价,②价,1,0),COLORBLUE;
STICKLINE(①价②价AND①价REF(①价,1),①价,②价,1,0),COLORMAGENTA;
STICKLINE(①价=②价,①价,②价,1,0),COLORBROWN;
  价柱在0轴以上波浪式运行,抓每个小波段的开始操作



发表于 2017-9-2 00:21 | 显示全部楼层
当前公式 : 量神 (指标画线公式)  
错误句 :
[SIZE=1.5]  V11A:=((((HL)AND(CO))AND(H=C))AND(L=O))
详细信息 : 在变量   V11A 前又错误的定义一次变量!
错误起始位置 : 12 ; 长度: 8
回复

使用道具 举报

发表于 2017-9-2 08:38 | 显示全部楼层
指标不全还是别的什么,不好用,还是谢谢分享!
回复

使用道具 举报

发表于 2017-9-2 09:33 | 显示全部楼层
有么有试验过
回复

使用道具 举报

头像被屏蔽
发表于 2017-9-12 11:56 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2017-9-12 21:52 | 显示全部楼层
错误句 : [SIZE=1.5]  
V11A:=((((HL)AND(CO))AND(H=C))AND(L=O))
详细信息 : 在变量 V11A 前又错误的定义一次变量!
错误起始位置 : 16 ; 长度: 4
回复

使用道具 举报

发表于 2017-9-12 23:02 | 显示全部楼层
谢谢楼主分享。
回复

使用道具 举报

头像被屏蔽
发表于 2017-9-22 14:27 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

头像被屏蔽
发表于 2017-10-5 19:07 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-15 12:55 , Processed in 0.106076 second(s), Total 11, Slave 10 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

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