通达信低吸买点及选股指标公式

2024-01-24 13:00发布

n:=20;DXD:=OSS((EMA((L+H+C*2)/4,14)-REF(EMA((L+H+C*2)/4,14),1))/REF(EMA((L+H+C*2)/4,14),1)*100,0);{一级}:=REF(BARSLAST(DXD=1),1)+1;RH:=REF(H,TS);RL:=REF(L,TS);EJHY:=(DXD>0 AND L<=RH AND H>=RH) OR (DXD>0 AND L>=RL AND H<=RH) OR (DXD>0 AND L<=RL AND H>=RL);{二级}SJHY:=COUNT(DXD,N)=3 AND EJHY;{三级}SJD:=IF(SJHY>0,3,IF(EJHY>0,2,IF(DXD>0,1,0)));TS3:=BARSLAST(SJD=1)+1;G:=BARSLAST(SJD=1)>BARSLAST(SJD=2) AND BARSLAST(SJD=2)>BARSLAST(SJD=3)AND COUNT(SJD=1,TS3)=1 AND COUNT(SJD=2,TS3)=1 AND COUNT(SJD=3,
 解锁全文需 1  财富值,免费注册即送20财富值!