请高手帮忙改成选股公式,选出画红色是买入条件(通达信)

2024-12-12 20:01:35
推荐回答(2个)
回答1:

这个是出现红块的选股:

AR1:=VOL*(O+C)/2;
搏杀生命线:=SUM(AR1,88)/SUM(VOL,88);
搏杀持股线FL:=HHV(MA(C,17),2);
FS:=IF(MA(C,17)<搏杀持股线FL,(MA(C,17)-(搏杀持股线FL-MA(C,17))),搏杀持股线FL),LINETHICK1;
CG:=MA(C,17);
AR2:=MA((OPEN+CLOSE+HIGH+LOW)/4,46);
AA:(CLOSE>AR2 AND CLOSE>MA(CLOSE, 5)) OR (CMA(C,5) AND C>FS);

这个是第一次出现红块的选股:

AR1:=VOL*(O+C)/2;
搏杀生命线:=SUM(AR1,88)/SUM(VOL,88);
搏杀持股线FL:=HHV(MA(C,17),2);
FS:=IF(MA(C,17)<搏杀持股线FL,(MA(C,17)-(搏杀持股线FL-MA(C,17))),搏杀持股线FL),LINETHICK1;
CG:=MA(C,17);
AR2:=MA((OPEN+CLOSE+HIGH+LOW)/4,46);
AA:=(CLOSE>AR2 AND CLOSE>MA(CLOSE, 5)) OR (CMA(C,5) AND C>FS);
XG:REF(BARSLAST(AA)>1,1) AND AA;

回答2:

搏杀持股线FL:=HHV(MA(C,17),2),LINETHICK1,COLORYELLOW;
FS:=MA(C,17)<搏杀持股线FL;
AR2:=MA((OPEN+CLOSE+HIGH+LOW)/4,46);
AA:=(CLOSE>AR2 AND CLOSE>MA(CLOSE, 5)) OR (CMA(C,5) AND C>FS);
xg:aa;