同花顺小刀趋势分时指标
源码
短趋势:((3*SMA((NEW-LLV(NEW,27))/(HHV(NEW,27)-LLV(NEW,27))*100,5,1)-2*SMA(SMA((NEW-LLV(NEW,27))/(HHV(NEW,27)-LLV(NEW,27))*100,5,1),3,1)-50)*1.032+50),colorred;
VAR2:=(NEW+HHV(MA(NEW,5),2)+LLV(MA(NEW,5),2))/3;
VAR3:=LLV(NEW,34);
VAR4:=HHV(NEW,34);
长趋势:EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13),COLOR00FF00;
主力持仓:EMA(100*(NEW-LLV(NEW,34))/(HHV(NEW,34)-LLV(NEW,34)),3),colorblue;