求高手把这个通达信指标出现的红色买点改成选股公式。谢谢。

2024-12-18 18:56:29
推荐回答(2个)
回答1:

V1:=LLV(L,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
X1:=CROSS(价位线,0.3);
VAR11:=3;
VAR21:=(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));
X2:=CROSS(VAR21,VAR11);
X1 OR X2;

回答2:

VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趋势:=IF(VAR6>45,VAR6-45,0);
XG:REF(趋势,1)<趋势 AND REF(趋势,1)=0;{楼上写的是OK的,这个也可以看下买点都不是非常理想!}