大智慧短线之星副图指标
源码
Var1:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
Var2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
Var3:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);
买入信号: IF(Var2<MA(Var3,6),MA(Var3,6),Var2),colorred ;
卖出信号: IF(Var1>MA(Var3,6),MA(Var3,6),Var1),colorgreen ;
强弱线: MA(Var3,6),coloryellow ,linethick2;