飞狐波段之王中线判势副图指标
源码
Var3:=CLOSE/OPEN;
Var4:=10*(high-ref(low,1))/ref(close,1)*Var3;
Var5:=20*(high-ref(low,9))/ref(low,9)*var3;
Var6:=(Var5-Var4);
趋势线:sum(Var6,0);
STICKLINE(Var6>0,ref(趋势线,1),趋势线,8,1),colorred;
stickline(var6<0,ref(趋势线,1),趋势线,8,0),coloryellow ;