最强选股战法推荐:
通达信分时主力差未加密选股指标公式源码
源码正文:
A1:=(Dvol/C)/2,NODRAW{XG51};
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0){XG51};
A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0){XG51};
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0){XG51};
A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0){XG51};
A6:=A2+A3+A4+A5{XG51};
机买:(A2/A6)*100,LINETHICK2,COLORWHITE{XG51};
机卖:(A3/A6)*100,LINETHICK2,COLORCYAN{XG51};
散买:(A4/A6)*100,LINETHICK0{XG51};
散卖:(A5/A6)*100,LINETHICK0{XG51};
主力差:机买-机卖,LINETHICK2,NODRAW{XG51};
小股民差:散买-散卖,LINETHICK0,NODRAW{XG51};
DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●机构'),COLORWHITE{XG51};
DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.85,'○机构'),COLORRED{XG51};
DRAWTEXT(小股民差>0 AND REF(小股民差,1)<=0,C*0.15,'▲小股民'),COLORGREEN{XG51};
DRAWTEXT(小股民差<0 AND REF(小股民差,1)>=0,-C*0.15,'△小股民'),COLORRED;
通达信会买会卖未加密选股指标公式源码
源码正文:
VAR1:=((CLOSE-ma(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3{XG51};
持币区域:VAR1,COLORFEDCBA{XG51};
持股区域:IF(VAR1>0,VAR1,0),COLORWHITE{XG51};
短顶:VAR1>9 AND FILTER(VAR1<REF(VAR1,1),5),COLORCYAN{XG51};
大顶:VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),COLOR00FF00{XG51};
VAR2:=HHV(VAR1>20,10){XG51};
危险: VAR2 AND crOSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*stD(CLOSE,20)){XG51};
注意止损:VAR2 AND FILTER(VAR1< REF(VAR1,1),6)
AND CROSS(MA(CLOSE,5),MA(CLOSE,2)){XG51};
短底:VAR1<-9 AND VAR1> REF(VAR1,1),COLORWHITE{XG51};
大底:VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),COLORBLUE{XG51};
买入准备:VAR1<-9 AND VAR1>REF(VAR1,1),COLORRED{XG51};
DRAWTEXT(VAR1>9 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+2,'短顶'),COLOR00FF00{XG51};
DRAWTEXT(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+5,'大顶'),COLORFFFF00{XG51};
DRAWTEXT(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,'危险'),COLOR00FFFF{XG51};
DRAWTEXT(VAR2 AND FILTER(VAR1< REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,'注意止损'),COLORFF00FF{XG51};
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),VAR1-2,'短底'),COLOR0000FF{XG51};
DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,'大底'){XG51};
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),1,'买入准备'){X_G~5^1_C_N_{};
上一篇:安e理财全能机构版陈中老师原创5.82内核12082518_1.26版
栏 目:通达信公式
本文标题:通达信分时主力差未加密选股指标公式源码
本文地址:https://www.xg51.cn/a/tdxgs/24419.html
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7