通达信画线突破公式选股副图源码测试图
-
相关简介:分开两个分别添加到条件选股器里 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
-
文章来源:股海网作者:股海网发布时间:2019-10-10浏览次数:
分开两个分别添加到条件选股器里
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);
XG:上突破 OR 下突破;
获利比例:=WINNER(C)*100;
XG:获利比例>=80 AND (COST(95)-COST(5))/(COST(95)+COST(5))*100<=10;