选股:= NOT(NAMELIKE('S') OR NAMELIKE('*S') OR CODELIKE('688'));
ZDF := (C - REF(C, 1)) / REF(C, 1) * 100;
亿 := AMOUNT / 100000000, COLORFF00FF;
VAR1P := AMOUNT / ((HIGH - LOW) * 2 - ABS(CLOSE - OPEN));
流入亿 := IF(CLOSE > OPEN, VAR1P (HIGH - LOW), IF(CLOSE < OPEN, VAR1P ((HIGH - OPEN) + (CLOSE - LOW)), AMOUNT / 2)) / 100000000, COLORRED;
流出亿 := IF(CLOSE > OPEN, 0 - VAR1P ((HIGH - CLOSE) + (OPEN - LOW)), IF(CLOSE < OPEN, 0 - VAR1P (HIGH - LOW), 0 - AMOUNT / 2)) / 100000000, COLOR00FF00;
额亿 := 流入亿 + 流出亿, COLORFFFF00;
WW := ((额亿 > 0.50) AND (DAY > 2));
DRAWTEXT(WW AND UPNDAY(C, 1) AND C != DYNAINFO(4) AND ZDF > 5, 流入亿 * 0.80, 'B');
BUY_SIGNAL := WW AND UPNDAY(C, 1) AND C != DYNAINFO(4) AND ZDF > 5;
DRAWICON(BUY_SIGNAL, H, 1);
STICKLINE(BUY_SIGNAL, LOW, HIGH, 3, 0), COLORGREEN;