通达信】改版风险测评(顶底线、趋势、高安全区、投资区)-指标公式源码RSVA1:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9);VAR21:=SMA(RSVA2,9,1)+100;VAR11:=SMA(RSVA1,3,1);VAR51:=SMA(VAR11,3,1)+100;顶底线:二VAR51-VAR21+50;VAR2:=LLV(LOW,33);VAR3:=HHV(HIGH,21);VAR4:=EMA(CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100;趋势:=100-EMA(0.191*REF(VAR4,l)+0.809*VAR4,1);STICKLINE(C,100,90,4,0),COLORFFCC33;STICKLINE(C,90,80,4,0),COLORFF9933;STICKLINE(顶底线REF(顶底线,l),20,80,