TAG:均线 预警

 网友求助:

分时形态:全天运行于均线之上或者在均线上下1%预警

突破振幅最高点预警
谢谢。

 

 

解答如下:

TODAYBARS:=BARSCOUNT(CLOSE);
分时均线:=IF(SUM(AMOUNT,TODAYBARS)/SUM(VOL,TODAYBARS)>0,SUM(AMOUNT,TODAYBARS)/SUM(VOL,TODAYBARS)/100,DYNAINFO(4));
LAST(C>分时均线)=240 OR(HHV(H,0)-LLV(L,0))/O*100<1 ;