请老师把这个公式改成通达信条件预警选股公式

2024年12月01日 13:38
有1个网友回答
网友(1):

M8:=EMA(CLOSE,8);
M13:=EMA(M8,13);
M62:=EMA(M8,55);
VAR1:=EMA(M13,62);
VAR2:=(CLOSE+HIGH+LOW)/3;
VAR3:=(EMA(VAR2,10));
VAR4:=REF(VAR3,1);
VAR5:=CROSS(VAR3,VAR4);
VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARC:=LLV(LOW,34);
VARD:=HHV(HIGH,34);
VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7));
VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5));
VARG:=IF(((COUNT((CLOSE0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0)=1;
VARH:=IF(((COUNT((CLOSE0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0)=1;
VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3));
VARK:=IF((CLOSE(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0)=1;
VAR5 OR VARG OR VARH;