谁帮能我把通信达的指标它改成选股公式:

2024-11-17 08:41:55
推荐回答(2个)
回答(1):

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:=STICKLINE(VAR5>REF(VAR5,1),0,VAR5,7,0 ),COLORRED;
趋势线:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
趋势:=EMA(EMA(趋势线,3),1);
{买点准备: IF(趋势线<=10,1,0);}
XG:IF(CROSS(趋势线,2),1,0);

回答(2):

趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
趋势:=EMA(EMA(趋势线,3),1);
XG:趋势线>=85 AND REF(趋势线,1)<85 AND CROSS(趋势线,趋势);

测试通过,
希望能够帮助你!