参数名 缺省 最小 最大 步长 N 9 1 100 1 M1 3 2 50 1 M2 3 2 50 1 M3 3 1 20 1 Var1:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*100; Var2:=REVERSE(Var1); Var3:=SMA(Var1,,1); K: SMA(Var3,,1), , [00050001]; D: SMA(K,,1), , [00040001]; Var4:=SMA(Var2,,1); W: SMA(Var4,,1), , [00040001]; R: SMA(W,,1), , [00040001]; YY: 0, , [00020001]; HH: 80, , [00030001]; DD: -80, , [00030001]; BB: 20, , [00010001]; -20, , [00010001];
爱约股解答:
N:=9;
M1:=3;
M2:=3;
M3:=3;
VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,M1,1);
K:SMA(VAR3,M2,1);
D:SMA(K,M3,1);
VAR4:=SMA(VAR2,M1,1);
W:SMA(VAR4,M2,1);