not(STRFIND(stkname,'ST',1)>0) and c>ref(c,1)*1.025 and CROSS("DMI.PDI","DMI.MDI") and count("DMI.PDI">"DMI.MDI",8)=1 and cross(v/240,ma(v,5)/240);