通达信主动止盈源码副图

VAR1:=IF(DATETODAY(DATE)<9890,1,DRAWNULL);
 VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
 VAR3:=SMA(VAR2,M1,1);
 VAR4:=SMA(VAR3,M2,1);
 VAR5:=VOL/CAPITAL*100;
 VAR6:=REF(VAR5,1);
 VAR7:=1971230;
 VAR8:=IF(DATE<2342.459961*500,1,DRAWNULL);
 STICKLINE(VAR4>82 AND VAR3>89>0,0,70,2,0),COLORGREEN;
 STICKLINE(VAR4>85 AND VAR3>95>0,0,70,2,0),COLORBLUE;