HSV:=IF(SUM(vol/CAPITAL,20)<1,SUM(VOL/CAPITAL,20),0.998);
VAR1:=DMA(EMA(CLOSE,13),HSV);
QS:(CLOSE-VAR1)/VAR1*100;
价量线:SMA(QS,3,1);
IF(价量线>REF(价量线,1),价量线,DRAWNULL),COLORRED;
0;
{ _通达信股票指标公式}
DRAWICON(crOSS(价量线,0),L*0,9);
DRAWTEXT(CROSS(价量线,0),L*0,' 买'),COLORYELLOW,LINETHICK9;
DRAWICON(CROSS(0,价量线),H*0.3,2);
DRAWTEXT(CROSS(0,价量线),H*0.3,'止损'), COLOR00FF00,LINETHICK9;