最强选股战法推荐:
通达信黄金地量图选股指标公式源码
源码正文:
总手:vol,VOLstICK{GPGS};
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3){GPGS};
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)){GPGS};
量能饱和度:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW{GPGS};
AA:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN)){GPGS};
主买:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2)),POINTDOT,COLORRED{GPGS};
主卖:IF(CLOSE>OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,AA*(HIGH-LOW),VOL /2)),COLORCYAN,POINTDOT{GPGS};
V5:=ma(V,5){GPGS};
V12:=MA(V,12){GPGS};
V34:=MA(V,34){GPGS};
C6:=MA(C,6){GPGS};
STICKLINE(C,0,VOL,2,0),COLORGRAY{GPGS};
STICKLINE(crOSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,0,VOL,2,0),COLORRED{GPGS};
STICKLINE(CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,0,VOL,2,0),COLORGREEN{GPGS};
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,0,VOL,2,0),COLORYELLOW{GPGS};
STICKLINE(VOL<MA(VOL,5)/2 AND V<V12/2,0,VOL,2,0),COLORBLUE{GPGS};
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05 AND CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,VOL*0.5,0,2,0),COLORRED{GPGS};
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05 AND CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,VOL*0.5,0,2,0),COLORWHITE{GPGS};
N:=27{GPGS};
N2:=9{GPGS};
N4:=16{GPGS};
VAR1:=IF(DATE>=1030131,1,1){GPGS};
VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100{GPGS};
VAR3:=SMA(VAR2,3,1)*VAR1{GPGS};
VAR4:=SMA(VAR3,N2,1)*VAR1{GPGS};
VAR5:=3*VAR3-2*VAR4*VAR1{GPGS};
STICKLINE(VOL AND VAR5>VAR4,0,VOL,2,1),COLORRED{GPGS};
STICKLINE(VOL AND VAR5<VAR4,0,VOL,2,1),COLORGREEN{GPGS};
STICKLINE(VOL AND VAR4<N4,-10,VOL*0.5,2,0),COLORBLUE{GPGS};
VARN2:=CLOSE-REF(CLOSE,1){GPGS};
VARN3:=IF(CLOSE-REF(CLOSE,1)>=0,VARN2,0){GPGS};
VARN4:=REF(CLOSE,1)-CLOSE{GPGS};
VARN5:=IF(CLOSE-REF(CLOSE,1)<=0,VARN4,0){GPGS};
VARN6:=SUM(VARN3,16)/SUM(VARN5,16){GPGS};
VARN7:=100-100/(1+VARN6){GPGS};
VARN8:=ema(VARN7,16){GPGS};
VARN9:=EMA(VARN8,8){GPGS};
VARna:=EMA(VARN8,45){GPGS};
MO:=(VARN8-VARNA){GPGS};
ML:=(VARN9-VARNA){GPGS};
VARN1A:=EMA(CLOSE,32){GPGS};
VARN2A:=MA(OPEN,32){GPGS};
趋势:=(VARN1A-VARN2A){GPGS};
STICKLINE(MO>ML AND 趋势<0 AND MO>REF(MO,3) AND 趋势>REF(趋势,3),VOL,0,3,0) COLORYELLOW{GPGS};
MV1:MA(VOL,5){GPGS};
MV2:MA(VOL,10){GPGS};
MV3:MA(VOL,20){GPGS};
DRAWTEXT (VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,V,'天'),COLORYELLOW{GPGS};
DRAWTEXT (VOL<MA(VOL,5)/2 AND V<V12/2,(V5+V)/2,'地'),COLORYELLOW{GPGS};
DRAWTEXT (CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,V,'吸'),COLORRED{GPGS};
DRAWTEXT (CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,V,'出'),COLORGREEN{X?G_5!1?C?N?{};
{!W!W=W+G+P_G*S*C_N?{+}
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号