最强选股战法推荐:
源码正文:
JJ:=(CLOSE+HIGH+LOW)/3;
A:=ema(JJ,10);
B:=REF(A,1);
stICKLINE(A>B,A,B,5,0),colorred;
STICKLINE(A<B,A,B,5,0),colorgreen;
M1:Ema(CLOSE,3);
M2:EMA(CLOSE,8);
M3:EMA(M2,13);
M4:EMA(M2,55);
VAR1:=EMA(M3,55);
M5:EMA(M4,81), colorred,LINETHICK2;
VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);
DRAWICON(crOSS(VAR2,VAR3),HIGH*1.035,2);
DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), colorgreen;
VAR4:=REF(CLOSE,1);
VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(Abs(CLOSE-VAR4),7,1)*100;
VAR6:=CROSS(79,VAR5);
VAR7:=FILTER(VAR6,4);
DRAWICON(VAR7,HIGH*1.035,2);
DRAWTEXT(VAR7,HIGH*1.02,'卖出'), colorgreen;
A7:=(2*C+H+L)/4;
VAR10:=LLV(LOW,34);
VAR11:=HHV(HIGH,34);
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND vol>=1.5*MA(VOL,5) AND
COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'●买进') ,colorred;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND
COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND
OPEN>REF(CLOSE,1),1,0),LOW,'●买进'), colorred;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'●抄底'),colorred;
源码正文:
hV=HHV(vol,0);
dv=LLV(VOL,0);
CE=hV-dv;
aAv:=IF(V>hV-ce/5,VOL,NULL),coloryellow,stICK,Linethick4;
bBv:=IF(RANGE(V,hV-ce/5*2,hV-ce/5),VOL,NULL),colormagenta,STICK,Linethick4;
cCV:=IF(RANGE(V,hV-ce/5*3,hV-ce/5*2),VOL,NULL),colorbrown,STICK,Linethick4;
ddv:=IF(RANGE(V,hV-ce/5*4,hV-ce/5*3),VOL,NULL),colorblue,STICK,Linethick4;
eEV:=IF(RANGE(V,hV-ce/5*5,hV-ce/5*4),VOL,NULL),colorwhite,STICK,Linethick1;
ffv:=IF(V<=HV-CE/5*5,VOL,NULL),colorgreen,STICK,LINETHICK6;
STICKLINE(ffv>0,0,VOL,10,0),Color9E7001;
STICKLINE(ffv>0,0,VOL,8,0), ColorBE8601;
STICKLINE(ffv>0,0,VOL,6,0), ColorDE9C01;
STICKLINE(ffv>0,0,VOL,5,0), ColorFEB301;
STICKLINE(ffv>0,0,VOL,4,0), ColorFEBC21;
STICKLINE(ffv>0,0,VOL,3,0), ColorFEC641;
STICKLINE(ffv>0,0,VOL,2,0), ColorFECF61;
STICKLINE(ffv>0,0,VOL,1,0), ColorFED981;
STICKLINE(eEV>0,0,VOL,10,0),Color4F4F4F;
STICKLINE(eEV>0,0,VOL,8,0),Color5F5F5F;
STICKLINE(eEV>0,0,VOL,6,0),Color6F6F6F;
STICKLINE(eEV>0,0,VOL,5,0),Color7F7F7F;
STICKLINE(eEV>0,0,VOL,4,0),Color8F8F8F;
STICKLINE(eEV>0,0,VOL,3,0),Color9F9F9F;
STICKLINE(eEV>0,0,VOL,2,0),ColorAFAFAF;
STICKLINE(eEV>0,0,VOL,1,0),ColorC0C0C0;
STICKLINE(ccV>0,0,VOL,10,0),Color9F009F;
STICKLINE(ccV>0,0,VOL,8,0),ColorBF00BF;
STICKLINE(ccV>0,0,VOL,6,0),ColorDF00DF;
STICKLINE(ccV>0,0,VOL,5,0),ColorFF00FF;
STICKLINE(ccV>0,0,VOL,4,0),ColorFF20FF;
STICKLINE(ccV>0,0,VOL,3,0),ColorFF40FF;
STICKLINE(ccV>0,0,VOL,2,0),ColorFF60FF;
STICKLINE(ccV>0,0,VOL,1,0),ColorFF80FF;
STICKLINE(ddV>0,0,VOL,10,0),Color009F00;
STICKLINE(ddV>0,0,VOL,8,0),Color00BF00;
STICKLINE(ddV>0,0,VOL,6,0),Color00DF00;
STICKLINE(ddV>0,0,VOL,5,0),Color00FF00;
STICKLINE(ddV>0,0,VOL,4,0),Color20FF20;
STICKLINE(ddV>0,0,VOL,3,0),Color40FF40;
STICKLINE(ddV>0,0,VOL,2,0),Color60FF60;
STICKLINE(ddV>0,0,VOL,1,0),Color80FF80;
STICKLINE(bBv>0,0,VOL,10,0),Color00009F;
STICKLINE(bBv>0,0,VOL,8,0),Color0000BF;
STICKLINE(bBv>0,0,VOL,6,0),Color0000DF;
STICKLINE(bBv>0,0,VOL,5,0),Color0000FF;
STICKLINE(bBv>0,0,VOL,4,0),Color2020FF;
STICKLINE(bBv>0,0,VOL,3,0),Color4040FF;
STICKLINE(bBv>0,0,VOL,2,0),Color6060FF;
STICKLINE(bBv>0,0,VOL,1,0),Color8080FF;
STICKLINE(aAv>0,0,VOL,10,0),Color009Fff;
STICKLINE(aAv>0,0,VOL,8,0),Color00BFff;
STICKLINE(aAv>0,0,VOL,6,0),Color00DFff;
STICKLINE(aAv>0,0,VOL,5,0),Color00FFff;
STICKLINE(aAv>0,0,VOL,4,0),Color20FFff;
STICKLINE(aAv>0,0,VOL,3,0),Color40FFff;
STICKLINE(aAv>0,0,VOL,2,0),Color60FFff;
STICKLINE(aAv>0,0,VOL,1,0),Color80FFff;
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7