通达信发现主力预警公式
DPZF:=INDEXC/REF(INDEXC,1)-1; GGZF:=C/REF(C,1)-1; DPDB:=SUM(GGZF-DPZF,1)*100; 发现主力:=IF(SUM(DPDB,20)>0 AND (HHV(C,20)-LLV(C,20))/LLV(C,20)<=0.2 AND INDEXC/REF(INDEXC,20)<=0.9,5,0),COLORLIBLUE; 发现时间:=BARSLAST(发现主力=5);