P:=3;M:=5;Q:= (MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),P,1);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),P,1);DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),P,1);:= DMP*100/Q;线:=20;:= DMM*100/Q;{ _通达信指标公式}真实波:= SMA(ABS(空头-多头)/(空头+多头)*100,M,1);VAR11:=((((HHV(HIGH,19) - CLOSE) / (HHV(HIGH,19) - LLV(LOW,19))) * 100) - 10);VAR22:=(((CLOSE - LLV(LOW,19)) / (HHV(HIGH,19) - LLV(LOW,19))) * 100);VAR33:=SMA(VAR22,9,8);红线:=SMA(VAR33,9,8);青线:=SMA(VAR11,9,8);转强:OSS