通达信主力:=(EMA(CLOSE,1));
专用指标:=(EMA(CLOSE,5));
hgffff3:=(EMA(CLOSE,10));
hgffff4:=(EMA(CLOSE,20));
hgffff5:=(EMA(CLOSE,30));
hgffff6:=(EMA(CLOSE,60));
hgffff7:=(IF(通达信主力-专用指标>=0,1,0));
hgffff8:=(IF(通达信主力-hgffff3>=0,1,0));
hgffff9:=(IF(通达信主力-hgffff4>=0,1,0));
通达信主力0:=(IF(通达信主力-hgffff5>=0,1,0));
通达信主力1:=(IF(通达信主力-hgffff6>=0,1,0));{通达信公式-通达信指标-www.gs6699.com}
通达信主力3:=(hgffff7+hgffff8+hgffff9+通达信主力0+通达信主力1);
aaaa:CROSS(通达信主力,hgffff6) AND NOT(REF(通达信主力3=5,1)) AND 通达信主力3=5;