V0:=VOL/CAPITAL*1000;
V5:=HHV(V0,38);
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1:=SMA(RSV,3,1);
VAR2:=SMA(VAR1,3,1);
BUY1:=COUNT(VAR1<16 AND VAR2<21,3)=1 ;
DRAWTEXT(BUY1 AND COUNT(BUY1,15)=1,V5,'●'),COLORRED;
{ 爱约股_通达信股票指标公式}
DRAWTEXT(BUY1 AND COUNT(BUY1,15)=1,V5*1.5,'买入点'),COLORWHITE;
买入点:BUY1 AND COUNT(BUY1,15)=1,LINETHICK0,COLORWHITE;