网友求助:
要求横盘一个半小时以上就预警。涨跌波动在1.5%至-1.5%之内,不要拉升。
解答如下:
TODAYBARS:=BARSCOUNT(C);
分时均线:=IF(SUM(AMOUNT,TODAYBARS)/SUM(VOL,TODAYBARS)>0,SUM(AMOUNT,TODAYBARS)/SUM(VOL,TODAYBARS)/100,DYNAINFO(4));
LAST(ABS(CLOSE-分时均线)/分时均线<0.001.5)>=90 AND DYNAINFO(8)>0;