通达信反攻痕迹主图及选股指标公式

HH:=IF(BETWEEN(DATE,1150601,1150630),H,-999);
T:=HHVBARS(HH,0);
TT:=BArslAST(L=LLV(L,T+1));
T1:=BARSLAST(CURRBARSCOUNT=CONST(TT)+1);
XL:=REFX(L,BARSNEXT(T1=0));
QF:=BacKSET(T1=0,T+1);
GG:=IF(QF,H,-999);
GT:=BARSLAST(GG>REF(GG,1) AND GG>CONST(REF(GG,T1)));
G1:=REF(GG,GT);
G2T:=BARSLAST(GG>REF(GG,1) AND GG>CONST(G1));
G2:=REF(GG,G2T);
G3T:=BARSLAST(GG>REF(GG,1) AND GG>CONST(G2));
G3:=REF(GG,G3T);
G4T:=BARSLAST(GG>REF(GG,1) AND GG>CONST(G3));
G4:=REF(GG,G4T);
高位价:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,HH,ISLASTBAR,REF(HH,T),0),COLORYELLOW;
DRAWLINE(CURRBARSCOUNT=CONST(G4T)+1 AND CONST(G4T)<CONST(T),G4,ISLASTBAR,G4,0),DOTLINE,COLORWHITE;
DRAWLINE(CURRBARSCOUNT=CONST(G3T)+1 AND CONST(G3T)<CONST(T),G3,ISLASTBAR,G3,0),DOTLINE,COLORBLUE;
DRAWLINE(CURRBARSCOUNT=CONST(G2T)+1 AND CONST(G2T)<CONST(T),G2,ISLASTBAR,G2,0),DOTLINE,COLORGREEN;
DRAWLINE(CURRBARSCOUNT=CONST(GT)+1 AND CONST(GT)<CONST(T),G1,ISLASTBAR,G1,0),DOTLINE,COLORMAGENTA;
低位价:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,XL,ISLASTBAR,REF(L,T1),0),COLORRED;

{
选股公式:

HH:=IF(BETWEEN(DATE,1150601,1150630),H,-999);
T:=HHVBARS(HH,0);
TT:=BARSLAST(L=LLV(L,T+1));
T1:=BARSLAST(CURRBARSCOUNT=CONST(TT)+1);
XL:=REFX(L,BARSNEXT(T1=0));
QF:=BACKSET(T1=0,T+1);
GG:=IF(QF,H,-999);
GT:=BARSLAST(GG>REF(GG,1) AND GG>CONST(REF(GG,T1)));
G1:=REF(GG,GT);
crOSS(C,G1);
}




未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:BARSNEXT
该公式包含未来函数:REFX
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图