通达信选股指标黄金突破指标公式源码
时间:2019-10-17 10:46 来源:股窜网 作者:gucuan
通达信选股指标黄金突破选股指标公式源码
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);
{股窜网 WWW.GUCUAN.COM}
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;
赞 (0)