源码
N:=21;
Var1:=REF(CLOSE,1);
Var2:=(HIGH+LOW+CLOSE)/3;
SZYU1: SMA(MAX(CLOSE-Var1,0),N,1)/SMA(ABS(CLOSE-Var1),N,1)*100;
SZYU2: (Var2-MA(Var2,21))/(0.015*AVEDEV(Var2,21));
源码
N:=21;
Var1:=REF(CLOSE,1);
Var2:=(HIGH+LOW+CLOSE)/3;
SZYU1: SMA(MAX(CLOSE-Var1,0),N,1)/SMA(ABS(CLOSE-Var1),N,1)*100;
SZYU2: (Var2-MA(Var2,21))/(0.015*AVEDEV(Var2,21));