通达信黄金突破选股指标公式
2021/3/4 19:18:08
AN:=10;
AA:=REF(H,AN)=HHV(H,2*AN+1);
QY:=BACKSET(AA,AN+1);
ACC:=FILTER(QY,AN) AND H=HHV(H,AN+1);
AAA1:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(ACC,1)),0.5);
AB1:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(ACC,2)),0.5);
HQSXG:=DRAWLINE(AB1,H,AAA1,H,1);
上突破:=CROSS(C,HQSXG) AND HQSXG>REF(HQSXG,1);
下突破:=CROSS(C,HQSXG) AND HQSXG<REF(HQSXG,1);
XG1:=上突破 OR 下突破;
获利比例:=WINNER(C)*100;
XG2:=获利比例>=0 AND (COST(95)-COST(5))/(COST(95)+COST(5))*100<=10;
XG:XG1 AND XG2;
投 股票网 www. tou18.cn
股市公式下载推荐