最强选股战法推荐:
大智慧压力量能主图未加密选股指标公式源码
源码正文:
input: N(5,1,100){XG51};
主筹估算:=ema(WINNER(c)*70,3){XG51};
散筹估算:=Ema((WINNER((c)*1.1)-WINNER((c)*0.9))*70,3){XG51};
筹码锁定:=散筹估算-主筹估算 {XG51};
动态底部:=EMA(IF(L<= LLV(l,60),SMA(Abs(L-REF(L,1)),60,1)/SMA(MAX(L-REF(l,1),0),99,1),0)*5,3){XG51};
涨:=crOSS(主筹估算,筹码锁定){XG51};
强:=CROSS(主筹估算,散筹估算){XG51};
STICKLINE(涨,O,C,8,0),COLORBLUE{XG51};
STICKLINE(涨,O,H,0,0),COLORBLUE{XG51};
STICKLINE(涨,L,C,0,0),COLORBLUE{XG51};
STICKLINE(强, O,C,8,0),colormagenta{XG51};
STICKLINE(强,O,H,0,0),colormagenta{XG51};
STICKLINE(强,L,C,0,0),colormagenta{XG51};
A1:=ref(h,N)=hhv(h,2*N+1){XG51};
B1:=filter(A1,N){XG51};
C1:=backset(B1,N+1){XG51};
D1:=filter(C1,n){XG51};
A2:=ref(l,N)=llv(l,2*N+1){XG51};
B2:=filter(A2,N){XG51};
C2:=backset(B2,N+1){XG51};
D2:=filter(C2,N){XG51};
E1:=(ref(llv(l,2*N),1)+ref(hhv(h,2*N),1))/2; E2:=(h+l)/2{XG51};
H1:=(D1 AND not(D2 AND E1>=E2)) OR barstatus=2 OR barscount(c)=1{XG51};
L1:=(D2 AND not(D1 AND E1<E2)); H2:=D1 AND not(D2 AND E1>=E2){XG51};
X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)>0,llvbars
(if(L1,l,10000),X1)){XG51};
G1:=F1>ref(F1,1); I1:=backset(G1,2); LD:=I1>ref(I1,1){XG51};
L2:=LD OR barstatus=2 OR barscount(c)=1{XG51};
X2:=ref(barslast(L2),1)+1; F2:=backset(L2 AND count(H2,X2)>0,hhvbars
(if(H2,h,0),X2)){XG51};
G2:=F2>ref(F2,1); I2:=backset(G2,2); HD:=I2>ref(I2,1){XG51};
R1:=backset(barstatus=2,barslast(HD)+1); S1:=R1>ref(R1,1);
T1:=backset(barstatus=2,barslast(LD)+1); U1:=T1>ref(T1,1);
R2:=backset(S1,ref(barslast(HD),1)+2); S2:=R2>ref(R2,1);
T2:=backset(U1,ref(barslast(LD),1)+2); U2:=T2>ref(T2,1);
T3:=backset(U2,ref(barslast(LD),1)+2); U3:=T3>ref(T3,1);
T4:=backset(U3,ref(barslast(LD),1)+2); U4:=T4>ref(T4,1);
R3:=backset(S2,ref(barslast(HD),1)+2); S3:=R3>ref(R3,1);
R4:=backset(S3,ref(barslast(HD),1)+2); S4:=R4>ref(R4,1);
短期压力:drawline(S2,h,S1,h,1),Colorred{XG51};
短期支撑:drawline(U2,l,U1,l,1),Colorgreen{XG51};
中期压力:drawline(S3,h,S2,h,1),Coloryellow{XG51};
中期支撑:drawline(U3,l,U2,l,0),Colorgreen{XG51};
长期压力:drawline(S4,h,S3,h,1),COLORwhite{XG51};
长期支撑:drawline(U4,l,U3,l,0),Colorgreen{XG51};
DRAWICON(S1,H*1.01,2){XG51};
DRAWICON(S2,H*1.01,2){XG51};
DRAWICON(S3,H*1.01,2){XG51};
DRAWICON(S4,H*1.01,2){XG51};
DRAWICON(U1,L*0.99,1){XG51};
DRAWICON(U2,L*0.99,1){XG51};
DRAWICON(U3,L*0.99,1){XG51};
DRAWICON(U4,L*0.99,1){XG51};
止损价:=REF(c,1)*0.95{XG51};
DRAWTEXT(c>0 and BARSTATUS=2,h*1.03,' 止损价:'+NUMTOSTRN(止损价,2)),ALIGN0,colorffffff{XG51};
HV:=HHV(V,30)=V OR V/REF(V,1)>=5 {XG51};
FT:=BARSLAST(HV){XG51};
量能平台:if(HV,C,ref(C,FT)),COLORwhite,LINETHICK2{XG51};
drawtext(量能平台>ref(量能平台,1) and c>ref(c,1) and not(c>ma(c,13) and c=hhv(c,20) and c/ref(c,1)>1.05),c,'---------'+c),coloryellow{XG51};
drawtext(量能平台>ref(量能平台,1) and c<ref(c,1),c,'---------带量阴'+c),colorgreen{XG51};
drawtext(量能平台<ref(量能平台,1) and c>ref(c,1),c,'---------缩量涨'+c),colorwhite{XG51};
drawtext(量能平台>ref(量能平台,1) and c>ref(c,1) and c>ma(c,13) and c=hhv(c,20) and c/ref(c,1)>1.05,c,'---------带量突破'+c),colorred{XG51};
ma(c,17){X_G_5.1_C_N_{};
大智慧寂寞波段未加密选股指标公式源码
源码正文:
VAR1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100){XG51};
VAR2:=REVERSE(VAR1){XG51};
VAR3:=SMA(VAR1,5,1){XG51};
K:=Sma(VAR3,3,1){XG51};
D:=SMA(K,3,1){XG51};
DRAWTEXT(crOSS(K,D) and (D < 18),15,'买'),Color00FF00{XG51};
DRAWTEXT(CROSS(D,K) and (D > 75),85,'卖'),ColorFFFFFF{XG51};
stICKLINE((K >= D),K,D,6,0),Color0000A8{XG51};
STICKLINE((K >= D),K,D,5,0),Color0000C0{XG51};
STICKLINE((K >= D),K,D,4,0),Color0000E0{XG51};
STICKLINE((K >= D),K,D,3,0),Color0000F0{XG51};
STICKLINE((K >= D),K,D,2,0),Color0000D0{XG51};
STICKLINE((K >= D),K,D,1,0),Color8080FF{XG51};
STICKLINE((K <= D),K,D,6,0),Color008800{XG51};
STICKLINE((K <= D),K,D,5,0),Color009900{XG51};
STICKLINE((K <= D),K,D,4,0),Color00AA00{XG51};
STICKLINE((K <= D),K,D,3,0),Color00BB00{XG51};
STICKLINE((K <= D),K,D,2,0),Color00CC00{XG51};
STICKLINE((K <= D),K,D,1,0),Color00DD00{X_G-5_1_C_N_{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7