“强弱线”走平上翘,出现红色线买入参考,反之“强弱线”走平出现绿色线卖出参考。
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 ,linethick1 ;