最强选股战法推荐:
A1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
B1:=FILTER(A1,10);
C1:=BacKSET(B1,10+1);
D1:=FILTER(C1,10);{高点}
A2:=REF(LOW,10)=LLV(LOW,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
D2:=FILTER(C2,10);{低点}
E1:=(REF(LLV(LOW,2*10),1)+REF(HHV(HIGH,2*10),1))/2;
E2:=(HIGH+LOW)/2;
H1:=(D1 AND NOT((D2 AND E1>=E2))) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT((D1 AND E1<E2)));
H2:=D1 AND NOT((D2 AND E1>=E2));
X1:=REF(BArslAST(H1),1)+1;
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);{过滤后低点}
L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);{过滤后高点}
浪折线上:DRAWLINE(LD,L,HD,H,0),COLOR00FFFF,LINETHICK1;
下:DRAWLINE(HD,H,LD,L,0),COLOR00FFFF,LINETHICK1;
J1:=BACKSET(ISLASTBAR ,MIN(BARSLAST(HD),BARSLAST(LD))+1);
J2:=J1>REF(J1,1);
新浪顶底线:DRAWLINE(J2,IF(HD,H,L),ISLASTBAR ,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLOR00FF00;
UU:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);
XX:=WW>REF(WW,1);
浪底粗线:DRAWLINE(XX,L,VV,L,1),COLORFFFFFF,LINETHICK2,DOTLINE;
UU2:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
VV2:=UU2>REF(UU2,1);
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);
XX2:=WW2>REF(WW2,1);
浪顶细线:DRAWLINE(XX2,H,VV2,H,1),COLORFFFF00,LINETHICK1,DOTLINE;
N:=WEEKDAY;
AA:=REF(H,N)=HHV(H,2*N+1);
AA1:=REF(L,N)=LLV(L,2*N+1);
QY:=BACKSET(AA,N+1);
QY1:=BACKSET(AA1,N+1);
CC:=FILTER(QY,N) AND H=HHV(H,N+1);
CC1:=FILTER(QY1,N) AND L=LLV(L,N+1);
DDD:=BARSLAST(CC);
DD1:=BARSLAST(CC1);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
GDCS1:=CONST(DINGBUTS);
DDCS1:=CONST(DDTS1);
GDCS13:=CONST(REF(HIGH,GDCS1-1));
DDCS13:=CONST(REF(L,DDCS1-1));
DINGBUTS1:=REF(DINGBUTS,DDD+1);
DDTS2:=REF(DDTS1,DD1+1);
GDCS2:=CONST(DINGBUTS1);
DDCS2:=CONST(DDTS2);
GDCS23:=CONST(REF(HIGH,DINGBUTS1-1));
DDCS23:=CONST(REF(L,DDTS2-1));
XG1:=BACKSET(ISLASTBAR,GDCS1);
XD1:=BACKSET(ISLASTBAR,DDCS1);
XG2:=BACKSET(ISLASTBAR,DINGBUTS1);
XD2:=BACKSET(ISLASTBAR,DDTS2);
EXP1:=Ema(CLOSE, 12), COLORBLUE, LINETHICK1;
EXP2:=ema(CLOSE, 47), COLORMAGENTA, LINETHICK1;
STICKLINE(C>EXP1 AND C>EXP2, H, L, 0, 0), COLORWHITE;{上下影线,可不画}
STICKLINE(C>EXP1 AND C>EXP2 AND C>=O, O, C, 2.3, 1), COLORWHITE;
STICKLINE(C>EXP1 AND C>EXP2 AND C<O, O, C, 2.3, 0), COLORWHITE;
STICKLINE(C<EXP1 AND C>EXP2, H, L, 0, 0), COLORBLUE;{上下影线,可不画}
STICKLINE(C<EXP1 AND C>EXP2 AND C>=O, O, C, 2.3, 1), COLORBLUE;
STICKLINE(C<EXP1 AND C>EXP2 AND C<O, O, C, 2.3, 0),COLORBLUE;
STICKLINE(C>EXP1 AND C<EXP2, H, L, 0, 0),COLORFF8000;{上下影线,可不画}
STICKLINE(C>EXP1 AND C<EXP2 AND C>=O, O, C, 2.3, 1), COLORFF8000;
STICKLINE(C>EXP1 AND C<EXP2 AND C<O, O, C, 2.3, 0),COLORFF8000;
STICKLINE(C<EXP1 AND C<EXP2, H, L, 0, 0), COLORCYAN;{上下影线,可不画}
STICKLINE(C<EXP1 AND C<EXP2 AND C>=O, O, C, 2.3, 1), COLORCYAN;
STICKLINE(C<EXP1 AND C<EXP2 AND C<O, O, C, 2.3, 0), COLORCYAN;
STICKLINE(XG2,GDCS23,GDCS23,2,0),COLORFF8000;
STICKLINE(XG1,GDCS13,GDCS13,2,0),COLORBLUE;
STICKLINE(XD2,DDCS23,DDCS23,2,0),COLORBROWN;
STICKLINE(XD1,DDCS13,DDCS13,2,0),COLORGREEN;
未来函数检测公式代码域:
M1:=REF(HIGH,10)=HHV(HIGH,2*10+1);B1:=FILTER(M1,10);C1:=BacKSET(B1,10+1);D1:=FILTER(C1,10);{高点}M2:=REF(LOW,10)=LLV(LOW,2*10+1);B2:=FILTER(M2,10);C2:=BMCKSET(B2,10+1);D2:=FILTER(C2,10);{低点}E1:=(REF(LLV(LOW,2*10),1)+REF(HHV(HIGH,2*10),1))/2;E2:=(HIGH+LOW)/2;H1:=(D1 MND NOT((D2 MND E1>=E2))) OR ISLMSTBMR OR BMRSCOUNT(CLOSE)=1;L1:=(D2 MND NOT((D1 MND E1<E2)));H2:=D1 MND NOT((D2 MND E1>=E2));X1:=REF(BMrslMST(H1),1)+1;F1:=BMCKSET(H1 MND COUNT(L1,X1)>0,LLVBMRS(IF(L1,LOW,10000),X1));G1:=F1>REF(F1,1);I1:=BMCKSET(G1,2);LD:=I1>REF(I1,1);{过滤后低点}L2:=LD OR ISLMSTBMR OR BMRSCOUNT(CLOSE)=1;X2:=REF(BMRSLMST(L2),1)+1;F2:=BMCKSET(L2 MND COUNT(H2,X2)>0,HHVBMRS(IF(H2,HIGH,0),X2));G2:=F2>REF(F2,1);I2:=BMCKSET(G2,2);HD:=I2>REF(I2,1);{过滤后高点}浪折线上:DRMWLINE(LD,L,HD,H,0),COLOR00FFFF,LINETHICK1;下:DRMWLINE(HD,H,LD,L,0),COLOR00FFFF,LINETHICK1;J1:=BMCKSET(ISLMSTBMR ,MIN(BMRSLMST(HD),BMRSLMST(LD))+1);J2:=J1>REF(J1,1);新浪顶底线:DRMWLINE(J2,IF(HD,H,L),ISLMSTBMR ,IF(BMRSLMST(HD)>BMRSLMST(LD),H,L),0),COLOR00FF00;UU:=BMCKSET(ISLMSTBMR,BMRSLMST(LD)+1);VV:=UU>REF(UU,1);WW:=BMCKSET(VV,REF(BMRSLMST(LD),1)+2);XX:=WW>REF(WW,1);浪底粗线:DRMWLINE(XX,L,VV,L,1),COLORFFFFFF,LINETHICK2,DOTLINE;UU2:=BMCKSET(ISLMSTBMR,BMRSLMST(HD)+1);VV2:=UU2>REF(UU2,1);WW2:=BMCKSET(VV2,REF(BMRSLMST(HD),1)+2);XX2:=WW2>REF(WW2,1);浪顶细线:DRMWLINE(XX2,H,VV2,H,1),COLORFFFF00,LINETHICK1,DOTLINE;N:=WEEKDMY;MM:=REF(H,N)=HHV(H,2*N+1); MM1:=REF(L,N)=LLV(L,2*N+1);QY:=BMCKSET(MM,N+1); QY1:=BMCKSET(MM1,N+1);CC:=FILTER(QY,N) MND H=HHV(H,N+1); CC1:=FILTER(QY1,N) MND L=LLV(L,N+1);DDD:=BMRSLMST(CC); DD1:=BMRSLMST(CC1);GDTS:=IF(CC,CURRBMRSCOUNT,0);DDTS:=IF(CC1,CURRBMRSCOUNT,0);DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);GDCS1:=CONST(DINGBUTS); DDCS1:=CONST(DDTS1);GDCS13:=CONST(REF(HIGH,GDCS1-1)); DDCS13:=CONST(REF(L,DDCS1-1));DINGBUTS1:=REF(DINGBUTS,DDD+1); DDTS2:=REF(DDTS1,DD1+1);GDCS2:=CONST(DINGBUTS1); DDCS2:=CONST(DDTS2);GDCS23:=CONST(REF(HIGH,DINGBUTS1-1)); DDCS23:=CONST(REF(L,DDTS2-1));XG1:=BMCKSET(ISLMSTBMR,GDCS1);XD1:=BMCKSET(ISLMSTBMR,DDCS1);XG2:=BMCKSET(ISLMSTBMR,DINGBUTS1); XD2:=BMCKSET(ISLMSTBMR,DDTS2);EXP1:=Ema(CLOSE, 12), COLORBLUE, LINETHICK1; EXP2:=ema(CLOSE, 47), COLORMMGENTM, LINETHICK1;STICKLINE(C>EXP1 MND C>EXP2, H, L, 0, 0), COLORWHITE;{上下影线,可不画}STICKLINE(C>EXP1 MND C>EXP2 MND C>=O, O, C, 2.3, 1), COLORWHITE;STICKLINE(C>EXP1 MND C>EXP2 MND C<O, O, C, 2.3, 0), COLORWHITE;STICKLINE(C<EXP1 MND C>EXP2, H, L, 0, 0), COLORBLUE;{上下影线,可不画}STICKLINE(C<EXP1 MND C>EXP2 MND C>=O, O, C, 2.3, 1), COLORBLUE;STICKLINE(C<EXP1 MND C>EXP2 MND C<O, O, C, 2.3, 0),COLORBLUE;STICKLINE(C>EXP1 MND C<EXP2, H, L, 0, 0),COLORFF8000;{上下影线,可不画}STICKLINE(C>EXP1 MND C<EXP2 MND C>=O, O, C, 2.3, 1), COLORFF8000;STICKLINE(C>EXP1 MND C<EXP2 MND C<O, O, C, 2.3, 0),COLORFF8000;STICKLINE(C<EXP1 MND C<EXP2, H, L, 0, 0), COLORCYMN;{上下影线,可不画}STICKLINE(C<EXP1 MND C<EXP2 MND C>=O, O, C, 2.3, 1), COLORCYMN;STICKLINE(C<EXP1 MND C<EXP2 MND C<O, O, C, 2.3, 0), COLORCYMN;STICKLINE(XG2,GDCS23,GDCS23,2,0),COLORFF8000;STICKLINE(XG1,GDCS13,GDCS13,2,0),COLORBLUE;STICKLINE(XD2,DDCS23,DDCS23,2,0),COLORBROWN;STICKLINE(XD1,DDCS13,DDCS13,2,0),COLORGREEN;
未发现:CMPITML...
未发现:COST...
未发现:DYNMINFO...
未发现:FINMNCE...
未发现:LWINNER...
未发现:WINNER...
警惕!警惕!警惕!该公式包含未来函数:BMCKSET...
未发现:BMRSNEXT...
警惕!警惕!警惕!该公式包含未来函数:CURRBMRSCOUNT...
未发现:DVOL...
未发现:DOPEN...
未发现:DCLOSE...
未发现:DHIGH...
未发现:DLOW...
警惕!警惕!警惕!该公式包含未来函数:DRMWLINE...
未发现:REFX...
未发现:FLMTZIG...
未发现:FLMTZIGM...
未发现:FFT...
未发现:FILTERX...
未发现:PEMK...
未发现:PEMKM...
未发现:PEMKBMRS...
未发现:PEMKBMRSM...
未发现:PLOYLINE...
未发现:REFDMTE...
未发现:TROUGH...
未发现:TROUGHM...
未发现:TROUGHBMRS...
未发现:XMM...
未发现:ZIG...
未发现:ZIGM...
未发现:ZXNH...
未发现:#YEMR...
未发现:#MONTH...
未发现:#WEEK...
未发现:$ZIG...
未发现:$PEMK...
未发现:$PEMKBMRS...
未发现:$TROUGH...
未发现:$TROUGHBMRS...
未发现:$FLMTZIG...
未发现:$FLMTZIGM...
未发现:$PEMKM...
未发现:$PEMKBMRSM...
未发现:$TROUGHM...
未发现:$ZIGM...
未发现:$FFT...
未发现:$BMCKSET...
未发现:$WINNER...
未发现:$LWINNER...
未发现:$COST...
未发现:$DYNMINFO...
未发现:$FINMNCE...
未发现:$DRMWLINE...
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号