请高手把下面的通达信指标改写抄底和中线买入的选股公式

2024-12-13 09:16:22
推荐回答(1个)
回答1:

EMA18:=MA(C,18),COLORYELLOW;
中线【买入】:COUNT(CLOSE1.004 AND CROSS(CLOSE,EMA18) AND EMA18>=REF(EMA18,1);
----------------------------------------------

VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR22:=SMA(VAR21,3,1);
VAR23:=SMA(VAR22,3,1);
VAR24:=SMA(VAR23,3,1);
VAR25:=CROSS(VAR23,VAR24) AND VAR23<20;
抄底:FILTER(VAR25,10)=1;