大智慧K线趋势副图指标
源码
N:=38;
Var10:=("Z399001$CLOSE"-LLV("Z399001$LOW",40))/(HHV("Z399001$HIGH",40)-LLV("Z399001$LOW",40))*100;
综指:SMA(Var10,7,1),color003388,stick;
Var1:=(C-LLV(L,n))/(HHV(H,n)-LLV(L,n))*100;
k:=SMA(Var1,7,1);
d:=SMA(k,3,1);
j:=3*k-2*d;
短期趋势:k,color00FF00;
Var2:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
kw:=SMA(Var2,36,1);
dw:=SMA(kw,12,1);
中期趋势:kw,colorwhite;
Var3:=(CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*100;
km:=SMA(Var3,90,1);
dm:=SMA(kw,36,1);
长期趋势:km,colorF00FF0;
风险区:80,pointdot,LINETHICK2,colorBLUE;
安全区:20,pointdot,LINETHICK2,color00cccc;