通达信未来买卖点主图指标公式

2019-04-27    作者:股匠网整理    来源:本站整理

EMA10:EMA(C10)COLOR0000FF;
A1:=REF(HIGH3)=HHV(HIGH2*6+1);
B1:=FILTER(A13);
C1:=BACKSET(B13+1);
D1:=FILTER(C13+1);{高点}
A2:=REF(LOW3)=LLV(LOW2*6+1);
B2:=FILTER(A23+1);
C2:=BACKSET(B23+1);
D2:=FILTER(C23);{低点}
E1:=(REF(LLV(LOW2*3)1)+REF(HHV(HIGH2*3)1))/2;
E2:=(HIGH+LOW)/2;{高低点出现在同一K线上时可作取舍}
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS=2 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(L1X1)>0LLVBARS(IF(L1LOW10000)X1));
G1:=F1>REF(F11);
I1:=BACKSET(G12);
LD:=I1>REF(I11);{过滤后低点}
L2:=LD OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2)1)+1;
F2:=BACKSET(L2 AND COUNT(H2X2)>0HHVBARS(IF(H2HIGH0)X2));
G2:=F2>REF(F21);
I2:=BACKSET(G22);
HD:=I2>REF(I21);{过滤后高点}
DRAWLINE(LDLHDH0)COLORWHITE;
DRAWLINE(HDHLDL0)COLORWHITE;
J1:=BACKSET(BARSTATUS=2 MIN(BARSLAST(HD)BARSLAST(LD))+1);
J2:=J1>REF(J11);
DRAWLINE(J2IF(HDHL)BARSTATUS=2 IF(BARSLAST(HD)>BARSLAST(LD)HL)0)COLORWHITE;
C点:=BARSLAST(LD);
DRAWTEXT(LD AND BARSLAST(HD)<BARSLAST(REF(LD1)) L*0.992'买入')COLORRED;
DRAWTEXT(HDH*1.005'卖点')COLORYELLOW;
A11:=REF(LBARSLAST(LD));
B11:=REF(HBARSLAST(HD));
TA11:=BARSLAST(LD);
TB11:=BARSLAST(HD);
KF:=SQRT(B11/A11);
ZKF:=SQRT(SQRT(B11/A11));
C测低1:=B11/(KF+ZKF-1);
C测高1:=B11/ZKF;
C测中1:=B11/KF;
选C31:=L>0.93*C测低1 AND L<1.03*C测低1 AND LLV(L3)=LLV(L10) AND B1>1.1*C AND B1>1.1*A1 AND L>1.1*A1 ;
选C21:=L>0.93*C测中1 AND L<1.03*C测中1 AND LLV(L3)=LLV(L10) AND B1>1.1*C AND B1>1.1*A1 AND L>1.1*A1 ;
选C11:=L>0.9*C测高1 AND L<1.05*C测高1 AND LLV(L5)=LLV(L10) AND B1>1.1*C AND B1>1.1*A1 AND L>A1 AND COUNT(选C2130)>=1;
选C2:=COUNT(选C213)>=1 AND C>1.02*C测中1 AND C>1.02*REF(C1) AND LLV(L3)>=0.93*C测中1;
C1预选:=L>0.96*C测高1 AND L<1.04*C测高1;
C2预选:=L>0.96*C测中1 AND L<1.04*C测中1;
C3预选:=L>0.96*C测低1 AND L<1.04*C测低1;
N:=8;
HHD:=FILTER(BACKSET(FILTER(REF(HN)=HHV(H2*N+1)N)N+1)N);
LLD:=FILTER(BACKSET(FILTER(REF(LN)=LLV(L2*N+1)N)N+1)N);
DRAWNUMBER(HHD1.025*HIGHHIGH)COLORFF00FFLINETHICK6;
DRAWNUMBER(LLD0.98*LOWLOW)COLORGREENLINETHICK6;
DRAWNUMBER(ISLASTBARC测高1C测高1)COLOR0000FFLINETHICK7;
DRAWNUMBER(ISLASTBARC测中1C测中1)COLOR0000FFLINETHICK7;
DRAWNUMBER(ISLASTBARC测低1C测低1)COLOR0000FFLINETHICK7;
STICKLINE(C/REF(C1)>=1.096 AND H=COC10)COLORYELLOW;
上趋势线:"CYX.NOTEXT1"DOTLINECOLOR0000FF;下趋势线:"CYX.NOTEXT2"DOTLINECOLOR00FFFF;

阅读:337    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】