请高手将这个通达信指标改为选股公式,选出当天出现红柱,且10天之内也出现过红柱的股票

2024-12-02 17:53:23
推荐回答(1个)
回答1:

A1:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=EMA(A1,5);
A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
基础:=(DIFF<-0.1 AND DIFF>DEA);
红柱:=CROSS(A1,A4) AND (A5-A4)>40 AND 基础;
XG:红柱 AND COUNT(红柱,10)>=1;